body{
    font-family: italic cursive;
    background-image: url('../images/pozadina.jpg');
    display: flex;
    background-size: cover;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

a{
  text-decoration: none;
}

li{
  list-style: none;
}

.overlay{
    width: 90%;
    padding: 2%;
    height: 80%;
    background-color: #a4b494;
    border-radius: 6px;
    overflow: auto;
    overflow-x: hidden;
}

.navigation{
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 20px;
  margin-bottom: 30px;
  position: relative;
  width: 100%;
  z-index: 3;
}

.navTitle{
  display: none;
}

.arrow{
display: inline;
color: white;
}

.basicNav{
  border: 1px solid white;
  border-radius: 6px;
  margin-left: 20px; margin-right: 20px;
}

.navigation-links a{
  color : white;
}

.logo{
  max-width: 100%;
  height: auto;
  margin-right: auto;
}

.menu{
  display: flex;
  gap: 1em;
  font-size: large;
  padding: 20px;
  position: absolute; top:50%; left:50%;
  transform: translate(-50%,-50%);
}

.menu li{
  padding: 5px 14px;
}

.menu li:hover{
  font-weight: bold;
  transition: 0.3s ease;
}

.slike{
  position: relative;
}


.dropdown{
  padding: 1em 0;
  position: absolute;
  display: none;
  top: 20px;
  z-index: 1;
  background-color: #a4b494;
}



.dropdownNav{
  border-bottom: 1px solid white;
}

.dropdown li+li{
margin-top: 0;
}

.dropdown li{
  padding: 2px 5px;
}

.dropdown li:hover{
  font-weight: bold;
}

.slike:hover .dropdown{
  transition-duration: 0.5s;
  display: block;
}

input[type=checkbox] {
  display: none;
} 


.hamburger {
  display: none;
  font-size: 24px;
  user-select: none;
}


  
section{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 80%;
    height: 70%;
    margin: auto;
    position: relative; top: -20px;
    z-index: 2;
}


article{
    display: flex;
    flex-direction: column;
    width: 50%;
    position: relative;
    top: -40px;
    
}

.pictureCategories{
  display: none;
}

.title{
    font-family: italic big-caps cursive; 
    font-weight: 400;
    color: white;
    font-size: 3.5em; 
    text-align: center;
    padding: 0%;
    margin-bottom: 0;

  }

.description{
    font-size: 1em;
    color: white; 
    text-align: center;
    border-width: 1px 0 0 0;
    border-color: white;
    border-style: solid;
    padding: 15px;
  }

 .pictures{
    margin-left: auto;
    height: 100%;
    
 } 

 .picture{
    max-width: 100%;
    height: 95%;
    border: 10px solid white;
 }



.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 5px;
  height: 5%;
  margin-bottom: 20px;
}

.contact{
  font-style: bold;
}

.mail_link{
  display: flex;
  column-gap: 10px;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: rgb(64, 71, 58);
  
}


@media screen and (max-width:1250px){
  .basicNav{
    height: 20px;
  }

  .basicNav{
    white-space: nowrap;
  }

  section{
    flex-direction: column;
    align-items: center;
    justify-content:flex-start;
    height: auto;
  }

  article{
    width: 90%;
    top: -40px;
  }

  .pictures{
    margin-left: 0;
    height: 450px;
  }
}

@media screen and (max-width: 1000px){
  .menu{
    right: -20px;
  }
}

@media screen and (max-width: 768px) {
    body{
        background-color: #a4b494;
        background-image: none;
    }

    .overlay{
        width: 100%;
        height: 100%;
        padding: 2%;
    }

    .navigation{
      top:-15px;
      height: fit-content;
      background-color: #a4b494;
      z-index: 3;
      padding-bottom: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      top: 20px;
      margin-bottom: 0;
  }

  .logo{
    padding: 0;
    margin: 0;
    width: 20%;
    height: auto;
  }

  .menu{
      display: none;
      position: absolute;
      top:50%; left:50%;
      transform: translate(-50%,50%); 
      text-align: center; 
      padding: 16px 0;
      width: 100%;
      background-color: #a4b494;
      align-items: center;
      border: 1px solid white;
  }

  .basicNav{
      border: 0px;
      width: 100%;
  }

  .menu li{
    margin: auto;
  }

  input[type=checkbox]:checked ~ .navigation-links .menu{
      display: block;
  }

  .navTitle{
      display: inline;
      color: white;
      font-size: 2em;
      margin: 0;
      flex-grow: 1;
      text-align: center;
      margin-left: 10px; margin-right: 10px;
  }

  .hamburger{
      display: block;
      color: white;
  }  

.dropdown{
  width: fit-content;
  background-color: #a4b494;
  border-radius: 2px;
  position: absolute; left: 50%;
} 

.dropdown li{
  border-bottom: 0px;
  padding: 4px;
}

section{
  flex-direction: column;
  width: 100%;
  top: 5%;
  margin: 0;
  position: relative;
  justify-content: center;
  align-items: center;
  z-index: 2;
  height: auto;
}

  article{
    width: 100%;
    margin: auto;
    align-items: center;
    justify-content: center;
    top: 0;
  }

  .title{
    display: none;
  }

  .description{
    border-top: 0px;
    width: 80%;
    text-align: justify;
  }

  .pictures{
    display: none;
  }


  .pictureCategories{
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 100px;
  }

.category{
    max-width: 100%;
    height: auto;
    border: 2px solid white;
}

  figcaption{
    color: white;
  }

  footer{
    position: static;
  }
}


@media screen and (max-width: 450px){

    .pictureCategories{
      grid-template-columns: repeat(1, 1fr);
    }

    .navTitle{
      font-size: 1.5em;
      text-align: center;
    }

}

@media only screen and (min-width: 1950px) {
  .title{
    font-size: 5.5em;
  }

  .description{
    font-size: x-large
  }
}



