@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans&display=swap');

/* for header*/

a{
  text-decoration: none;
}
ul{
  list-style: none;
}
.imgimg{
background-color: transparent;
}
header{
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-radius: 0px 0px 50px 50px;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 1px 10px, rgba(0, 0, 0, 0.23) 0px 1px 10px;
  z-index: 99;
  position: relative;
  backdrop-filter: blur(14px);
  
}
.logo{
  display: flex;
  align-items: center;
}
.logo img{
  width: 100px;
  margin-right: 10px;
}
.header__logo {
  color: #000000ee;
  font-weight: 600;
}
.nav__list{
  display: flex;
  align-items: center;
  
}
.nav__item{
  margin: 0 8px;
}
.nav__link{
padding: 10px;
color: #5f3816;
font-size: 1.3rem;
font-weight: 500;
border-radius: 5px;
display: block;
transition: 0.5s;
}
.nav__list:hover .nav__link{
  filter: blur(2px);
}
.nav__list .nav__link:hover{
  filter: blur(0px);
}

.header__toggle,
.header__close{
  display: none;
}
@media screen and (max-width: 768px) {
body{
  overflow-x: hidden;
}
.hydrated{
  overflow-x: hidden
}
  header{
      
      justify-content: space-between;
      padding: 5px 28px;
     
  }
  .imgimg{
    background-color: transparent;
  }
  .logo a{
      font-size: 0.9rem;
  }
  .logo img{
      width: 100px;
  }
  .header__toggle{
      display: inline;
      color: black;
      font-size: 24px;
      border-radius: 10px;
      transition: 0.5s;
  }
  .header__toggle:hover{
    background-color: #d3d7ed;
    color: #00093c;
    transform: scale(1.5);
    
  }
  .header__close{
      position: absolute;
      right: 24px;
      display: block;
      font-size: 24px;
      border-radius: 10px;
      transition: 0.5s;

  }
  .header__close:hover{
    background-color: #d3d7ed;
    color: #00093c;
    transform: scale(1.5);
  }
  .nav{
    position: fixed;
    top: 0;
    right: -100%;
    background: whitesmoke;
    color: black;
    width: 40%;
    height: auto;
    padding: 24px 0;
    z-index: 100;
    transition: 0.5s;
    border-radius: 0 0 0 50px;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
  }
  .nav__list{
      gap:0px;
      display: flex;
      flex-direction: column;
      color: black;
  }
  .nav__item{
      margin: 1rem;
  }
  .nav__link{
    transition: 0.5s;
  }
  .show{
      right: 0;
  }
  .nav__list:hover .nav__link{
    filter: blur(0px);
}
.nav__link:hover{
    filter: blur(0px);  
   
    transform: translateY(-10px);
 } 
    
}
  



/* header ends here */


html{
    background-image: url(bg5.png);
  }

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
::selection{
  color: #fff;
  background: #007bff;
}
body{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  font-family: 'Josefin Sans', sans-serif;
}

.heading {
  display: grid;
  margin-top: 1%;
  height: 70px;
  background-color: transparent;
  text-align: center;
  align-items: center;
  font-size: 2rem;
  padding: 10px;
  color: #5f3816;
  font-weight: bolder;
  letter-spacing: 2px;
}

.wrapper{
  max-width: 1290px;
}
.gallery{
  display: flex;
  flex-wrap: wrap;
}
.gallery .image{
  padding: 7px;
  width: calc(100% / 3);
}
.gallery .image span{
  display: flex;
  width: 100%;
  overflow: hidden;
  height: 15rem;
  border-radius: 10px;
}
.gallery .image img{
  width: 100%;
  vertical-align: middle;
  transition: all 0.3s ease;
}
.gallery .image:hover img{
  transform: scale(1.1);
}

.preview-box{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: #fff;
  max-width: 700px;
  width: 100%;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  border-radius: 3px;
  padding: 0 5px 5px 5px;
  box-shadow: 0px 0px 15px rgba(0,0,0,0.2);
}
.preview-box.show{
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  transition: all 0.3s ease;
}
.preview-box .details{
  display: flex;
  align-items: center;
  padding: 12px 15px 12px 10px;
  justify-content: space-between;
}
.preview-box .details .title{
  display: flex;
  font-size: 18px;
  font-weight: 400;
}
.details .title p{
  margin: 0 5px;
}
.details .title p.current-img{
  font-weight: 500;
}
.details .icon{
  color: #007bff;
  font-size: 20px;
  cursor: pointer;
}
.preview-box .image-box{
  display: flex;
  width: 100%;
  position: relative;
}
.image-box .slide{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  height: 50px;
  width: 60px;
  line-height: 50px;
  text-align: center;
  border-radius: 3px;
}
.slide.prev{
  left: 0px;
}
.slide.next{
  right: 0px;
}
.image-box img{
  width: 100%;
  border-radius: 0 0 3px 3px;
}
.shadow{
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 2;
  display: none;
  background: rgba(0,0,0,0.45);
}

@media(max-width: 1000px){
  .gallery .image{
    width: calc(100% / 2);
  }
}
@media(max-width: 600px){
  .gallery .image{
    width: 100%;
    padding: 4px;
  }
}