/*
 Template Name : Travel Agency Wavy Template
 Author : Musfiq Rubel
 Version : 1.0
*/

*{
    margin: 0;
    padding: 0;
    
}

body{
  font-family: 'Poppins', sans-serif;
}


#home{
    width: 100%;
    height: 100vh;
    position: relative;
    background: url(../images/bg.svg);
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
   }

   #home .wave{
       width: 100%;
       height: 143px;
       
       position: absolute;
       bottom: 0;
       left: 0;
       background: url(../images/wave.png);
       opacity: 0.4;
       animation: animate 10s linear infinite;
       animation: animate 10s linear;
   }
   #home .wave:before{
       content:'';
       width: 100%;
       height: 143px;
     
       position: absolute;
       background: url(../images/wave.png);
     
       top: 0;
       left: 0;
       opacity: 0.4;
       animation: reverse-animate 10s linear infinite;
       animation: reverse-animate 10s linear ;
   }
   #home .wave:after{
       content:'';
       width: 100%;
       height: 143px;
      
       position: absolute;
       background: url(../images/wave.png);
     
       top: 0;
       left: 0;
       opacity: 0.4;
       animation-delay: 6s;
       animation: animate 20s linear infinite;
       animation: animate 20s linear ;
   }

   @keyframes animate {
       0%{
           background-position: 0; 
       }
       100%{
           background-position: 1360px; 
       }
   }
   @keyframes reverse-animate {
       0%{
           background-position:1360px; 
       }
       100%{
           background-position: 0; 
       }
   }

#next-tour{
    
    height: auto;
    margin: 100px;
   
}

#tour-plan-header{
    width: 100%;
    height: 100px;
    margin: 10px;
    padding: 10px;
    
    box-shadow: 10px 10px 10px palevioletred;
}

.nav-link{
    color:#FC88AE !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 900  !important;
    letter-spacing: 5px !important;
    margin: 20px !important;
  }

  #home-content{
    
    text-align: center;
  }




  

#diamond-grid-album ul{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    width: 600px;
     width: 450px; 
     width: 510px; 
    height: 150px;
     height: 60px; 
     height: 105px; 
}

#diamond-grid-album ul li{
    list-style: none;
    position: absolute;
    width: 200px;
     width: 150px; 
     width: 150px; 
     width: 170px; 
     width: 175px; 
    height: 200px;
     height: 150px; 
     height: 170px; 
     height: 175px; 
    background: #FC88AE;
    margin: -100px;
    transform: rotate(45deg);
    transition: .5s;
    overflow: hidden;
    opacity: 0.7;
} 



#diamond-grid-album ul li:hover{
    opacity: 1;
}

#diamond-grid-album ul li .bgImg{
   width: 100%;
   height: 100%;
   transform: rotate(-45deg) ;
   transform: rotate(-45deg) scale(1.42);
} 

#diamond-grid-album ul li.item1{
    top: 0;
    left: 0;
}
#diamond-grid-album ul li.item2{
    bottom: 0;
    left: 25%;
}
#diamond-grid-album ul li.item3{
    top: 0;
    left: 50%;
}
#diamond-grid-album ul li.item4{
    bottom: 0;
    left: 75%;
}
#diamond-grid-album ul li.item5{
    top: 0;
    left: 100%;
}
#diamond-grid-album ul li.item1 .bgImg{
    background: url(../images/img1.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    transition-duration: 1000ms;
    transition-property:all;
    transition-timing-function: ease-in-out;
    animation: animate-grid1 5s ease-in-out;
    animation-iteration-count:1;
    animation-fill-mode: forwards;
}
#diamond-grid-album ul li.item2 .bgImg{
    background: url(../images/img2.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    transition-duration: 1000ms;
    transition-property: all;
    transition-timing-function: ease-in-out;
    animation: animate-grid2 5s ease-in-out;
    animation-delay: 5s;
    animation-iteration-count:1;
    animation-fill-mode: forwards;
}
#diamond-grid-album ul li.item3 .bgImg{
    background: url(../images/img3.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    transition-duration: 1000ms;
    transition-property: all;
    transition-timing-function: ease-in-out;
    animation: animate-grid3 5s ease-in-out;
    animation-delay: 10s;
    animation-iteration-count:1;
    animation-fill-mode: forwards; 
}
#diamond-grid-album ul li.item4 .bgImg{
    background: url(../images/img4.jpg)center center;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
#diamond-grid-album ul li.item5 .bgImg{
    background: url(../images/img5.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
   
}
    
@keyframes animate-grid1{
    0%{
       
        background: url(../images/img1.jpg);
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        opacity: 0.7;
        
    }
    100%{
        background: url(../images/img6.jpg) ;
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        opacity: 1;
       
        
    }
}
@keyframes animate-grid2{
    0%{
       
        background: url(../images/img2.jpg);
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        opacity: 0.7;
    }
    100%{
        background: url(../images/img7.jpg) ;
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        opacity: 1;
       
   
    }
}
@keyframes animate-grid3{
    0%{
       
        background: url(../images/img3.jpg);
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        opacity: 0.7;
    }
    100%{
        background: url(../images/img8.jpg) ;
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        opacity: 1;
       
   
    }
}
