:root {
  --smedja: #c7945b;
  --tamna: #0b1612;
  --svsiva: #f2f2f2;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-weight: 300;
  font-size: 100%;
}

a,
a:visited {
  color: white;
  text-decoration: none;
}

.accessibility {
  background-color: black;
  position: fixed;
  z-index: 999999;
  bottom: 0;
  left: 50%;
  margin: none;
  width: 100px;
  height: auto;
  padding: 10px;
  border: solid 2px white;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border-radius: 10px 10px 0 0;
  transform: translate(-50%);
  -webkit-border-radius: 10px 10px 0 0;
  -moz-border-radius: 10px 10px 0 0;
  -ms-border-radius: 10px 10px 0 0;
  -o-border-radius: 10px 10px 0 0;
  -webkit-transform: translate(-50%);
  -moz-transform: translate(-50%);
  -ms-transform: translate(-50%);
  -o-transform: translate(-50%);
}

.accessibility button {
  background-color: black;
  border: none;
}

.accessibility button:hover {
  background-color: var(--smedja);
  border: none;
}

.accessibility button .material-icons-outlined {
  font-size: 32px;
  width: min-content;
  color: white;
}

.hero-image {
  background-image: url("../assets/bg-portrait.jpg");
  background-color: #cccccc;
  min-height: min-content;
  padding: 0 0 120px 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero-image-contrast {
  background-color: #000000;
  height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.logo {
  width: 300px;
  height: 300px;
  padding: 0 10px 10px 10px;
  color: white;
  background-color: var(--smedja);
  position: relative;
  top: 0px;
  border-radius: 0 0 20px 0;
  left: 50%;
  transform: translate(-50%);
  -webkit-transform: translate(-50%);
  -moz-transform: translate(-50%);
  -ms-transform: translate(-50%);
  -o-transform: translate(-50%);
  -webkit-border-radius: 0 0 20px 0;
  -moz-border-radius: 0 0 20px 0;
  -ms-border-radius: 0 0 20px 0;
  -o-border-radius: 0 0 20px 0;
}

.logo-contrast {
  width: 300px;
  height: 300px;
  padding: 0 10px 10px 10px;
  color: black;
  background-color: white;
  position: relative;
  top: 0px;
  border-radius: 0 0 20px 0;
  left: 50%;
  transform: translate(-50%);
  -webkit-transform: translate(-50%);
  -moz-transform: translate(-50%);
  -ms-transform: translate(-50%);
  -o-transform: translate(-50%);
  -webkit-border-radius: 0 0 20px 0;
  -moz-border-radius: 0 0 20px 0;
  -ms-border-radius: 0 0 20px 0;
  -o-border-radius: 0 0 20px 0;
}

.logo-eu {
  display: flex;
  flex-direction: row;
  padding: 15px 0;
  width: 100%;
  font-size: 0.7rem;
  border-bottom: 2px solid rgb(192, 115, 64);
}

.logo-eu img {
  width: 40px;
  height: fit-content;
}

.logo-eu p {
  margin: 0 5px;
}

.eu-text {
  height: min-content;
  padding: 0;
}

.logotxt {
  width: min-content;
  margin: none;
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translate(-50%);
  -webkit-transform: translate(-50%);
  -moz-transform: translate(-50%);
  -ms-transform: translate(-50%);
  -o-transform: translate(-50%);
}

.logotxt p {
  height: min-content;
  width: min-content;
  margin: 0;
}

.logotxt :first-child {
  font-weight: 700;
  font-size: 16px;
  width: 100%;
}

.logotxt :last-child {
  font-weight: 700;
  font-size: 40px;
}

nav {
  width: min-content;
  position: relative;
  left: 50%;
  transform: translate(-50%);
  -webkit-transform: translate(-50%);
  -moz-transform: translate(-50%);
  -ms-transform: translate(-50%);
  -o-transform: translate(-50%);
}

nav .material-icons-outlined {
  font-size: 1.1rem;
  position: absolute;
  margin: 0;
  width: min-content;
  color: white;
}

.li-container {
  display: grid;
  grid-template-columns: 40px auto;
}

nav li {
  background-color: rgba(199, 148, 91, 0.6);
  width: 250px;
  height: auto;
  margin-top: 20px;
  list-style-type: none;
  font-weight: 500;
  padding: 10px 0px 10px 20px;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

nav li a,
nav li a:visited {
  font-size: 1rem;
  text-transform: uppercase;
  padding-left: 30px;
  display: flex;
}

.li-contrast {
  background-color: black;
  color: white;
}

h1 {
  font-size: 9vw;
  font-weight: 500;
  color: var(--smedja);
  padding: 0 0 0 10%;
  margin: 0;
}

.h1-contrast {
  color: black;
}

h2 {
  font-size: 2rem;
  font-weight: 300;
  padding-left: 10%;
  margin: 0;
}

h3 {
  font-size: 2rem;
  font-weight: 300;
  padding: 0 10%;
  margin: 150px 0 0 0;
  font-weight: 500;
  text-transform: uppercase;
}

h4 {
  font-size: 2rem;
  font-weight: 300;
  padding-left: 10%;
  margin: 20px 0 0 0;
}

.section {
  width: 100%;
}

.section-container {
  padding: 50px 0;
}

.biljka img {
  width: 95%;
  height: 150px;
  object-fit: cover;
  margin-top: 100px;
  border-radius: 0 0 15px 0;
  -webkit-border-radius: 0 0 15px 0;
  -moz-border-radius: 0 0 15px 0;
  -ms-border-radius: 0 0 15px 0;
  -o-border-radius: 0 0 15px 0;
}

.uzgojtxt {
  margin: 0 8%;
  padding: 10px;
}

.sjetva {
  background-color: var(--svsiva);
  margin: 50px 0 0 0;
  padding: 50px 0 150px 0;
}

.box {
  padding: 0 10% 0 10%;
}

.box em {
  color: var(--smedja);
  font-style: normal;
  font-weight: 700;
}

.box .material-icons-outlined {
  font-size: 3rem;
  width: min-content;
  color: green;
  position: relative;
  left: 50%;
  transform: translate(-50%);
  -webkit-transform: translate(-50%);
  -moz-transform: translate(-50%);
  -ms-transform: translate(-50%);
  -o-transform: translate(-50%);
}

.box p {
  margin-bottom: 50px;
}

.video-overlay {
  z-index: 99999;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  width: 100%;
  height: 100%;
}

.video-overlay button {
  background: var(--smedja);
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  font-weight: 500;
  left: 50%;
  padding: 1em 2em;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.videowrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  margin: 30px 0;
}

.videowrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projekti {
  padding: 50px 0;
}

.projekti p {
  margin: 1rem 10%;
}

.projekti img {
  width: 100%;
}

.projekti hr {
  margin-top: 30px;
  width: 80%;
}

.kontakt {
  background-color: var(--tamna);
  padding: 50px 0;
}

.kontakt-h1 {
  color: var(--smedja);
}

.kontakt-h1-contrast {
  color: white;
}

.kontakt address {
  padding: 0 10%;
  color: var(--svsiva);
  font-style: normal;
}

.eu-footer {
  display: flex;
  flex-direction: column;
  color: white;
  align-items: center;
  padding: 10%;
}

.eu-footer img {
  width: 76px;
  height: auto;
}

.eu-footer p {
  text-align: left;
}

/* SCREEN WIDTH 600px+*/

@media only screen and (min-width: 600px) {
  .hero-image {
    background-image: url("../assets/bg-m.jpg");
  }

  .section-container {
    margin: auto;
    width: 90%;
  }

  .biljke-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    margin-top: 100px;
  }

  .biljka {
    margin: 20px;
    width: 300px;
    display: inline-block;
  }

  .biljka img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    margin: 25px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
  }

  h1 {
    font-size: 9vw;
  }

  h3 {
    padding: 0;
    font-size: 2rem;
    text-align: center;
  }

  h4 {
    padding: 0;
    margin: 20px 0 0 0;
    font-size: 48px;
    font-weight: 300;
    text-align: center;
  }
  .projekti img {
    width: 90%;
  }
}

/* SCREEN WIDTH 800px+*/

@media only screen and (min-width: 800px) {
  .hero-image {
    background-image: url("../assets/bg-l.jpg");
  }

  h1 {
    font-size: 64px;
  }

  .eu-footer {
    display: flex;
    flex-direction: row;
    color: white;
    align-items: center;
    padding: 10%;
  }

  .eu-footer p {
    text-align: left;
    padding: 0 20px;
  }

  .projekti img {
    width: 90%;
  }
}

/* SCREEN WIDTH 1000px+*/

@media only screen and (min-width: 1000px) {
  .section-container {
    width: 70%;
    margin: auto;
  }

  .box-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px;
  }

  .box {
    display: inline-block;
    width: 250px;
    height: auto;
    background-color: white;
    box-shadow: 4px 4px 15px rgb(221, 221, 221);
    padding: 20px;
    margin: 10px;
    position: relative;
    top: 0px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
  }
}

/* SCREEN WIDTH 1200px+*/

@media only screen and (min-width: 1200px) {
  .hero-image {
    background-image: url("../assets/bg-l.jpg");
  }
}
