@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;

}


/* LINKOVI */
header {
    min-height: 10vh;
    width: auto;
    background-color: rgb(18, 14, 36);
    background-position: center;
    background-size: cover;
    position: relative;
}
.linkovi {
    position: absolute;
    top: 30px;
    right: 80px;
    list-style: none;
    padding: 10px; 
    
}

ul li {
    display: inline-block;
    margin-right: 10px;
    
}

a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    padding: 8px;

    position: relative;
    overflow: hidden;
}

.link1::after,
.link2::after,
.link3::after,
.link4::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgb(186, 189, 46);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.link1:hover::after,
.link2:hover::after,
.link3:hover::after,
.link4:hover::after {
    transform: scaleX(1);
}

.linksl{
    width: 6%;
    position: relative;
    margin-left: 20px;
    margin-top: 15px;
}

h1{
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: normal;
  margin-top: 40px;
}


/* DATUMI I REZERVACIJA */


.button{
 display: flex;
 justify-content: center;
 margin: 0 auto;
 background: #7fc142;
color: #fff;
border-radius: 10px;
cursor: pointer;
}


.book{
  padding: 40px ;
  background:  rgb(18, 14, 36);
  color: #fff;
  width: 70%;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  
}
.book h2{
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 28px;
  display: flex;
  text-align: center;
  justify-content: center;
  padding-bottom: 20px;

}
.book h2 span{
  color:  rgb(186, 189, 46);

}






/* GALERIJA */

.img-gallery{
  width: 70%;
  margin: 50px auto 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap:30px;
}
.img-gallery img{
width: 100%;
cursor: pointer;
}
.img-gallery img:hover{
  transform: scale(0.9) ;
  border-radius: 20px;
  box-shadow: 0 32px 75px rgba(78, 81, 100, 0.2);
  transition: 0.3s;
  
}

.full-img {
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.full-img img{
  width: 50%;
}
.full-img span {
  position: absolute;
  top: 5%;
  right: 5%;
  font-size: 30px;
  color: #fff;
  cursor: pointer;


}
.grid a{

    background-color: #7fc142;
    color: white;
    padding: 20px 20px;
    display: block;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    align-items: center;
  

}




/* FOOTER */
footer{
    background-color: rgb(18, 14, 36);
    height: auto;
    width: auto;
    font-family: "Open Sans";
    color: #fff;
    margin-top: 30px;
  
  }
  .footer-content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
  
  }
  .footer-content h3{
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: capitalize;
    line-height: 3rem;
    padding-top: 40px;
  
  }
  .socials{
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0 3rem 0;
  
  }
  .socials li{
    margin: 0 10px;
  
  }
  .socials a{
    text-decoration: none;
    color: #fff;
  }
  .socials a i{
    font-size: 1.1rem;
    transition: color .4s ease;
  
  }
  .socials a:hover i{
    color: aqua;
  }
  
  .footer-bottom{
    background-color: rgb(18, 14, 36);
    width: auto;
    padding-bottom: 20px ;
    text-align: center;
  
  }
  .footer-bottom p{
    font-size: 14px;
    word-spacing: 2px;
    text-transform: capitalize;
  }
  .footer-bottom span{
    text-transform: uppercase;
    opacity: 0.4;
    font-weight: 200;
    
  
  }


@media screen and (max-width: 1440px) {
  .grid {
    grid-template-columns: repeat(1, 1fr); 
    width: auto; 
    margin: 10px;
  }

  .book {
    width: auto; 
  }

  header {
    min-height: auto;
    padding: 10px;
    text-align: center;
  }
  .linkovi {
    position: static;
    display: block;
    text-align: center;
    margin-top: 10px;
    margin-right: 0;
  }
  ul li {
    display: block;
    margin-right: 0;
    margin-bottom: 10px;
  }
  .linksl {
    margin: 0 auto;
    display: block;
    width: 20%;
  }

  .full-img img {
    width: 90%;
}

a input{
  justify-content: center;
  display: flex;
  margin: 0 auto;
}
}


