body { margin:10px;
  background:rgb(24, 34, 46);

}

@font-face {
  font-family: Dense;
  src: url('./Fonts/dense/Dense-Regular.otf');
}

#bkg video{ height: 100vh;
        width:100%;
        z-index:10;
        object-fit: cover;
        
    }
    h1{
color: white;
font-size: 170px;
font-family: Dense;

    }
   
.overlay {
  position: absolute;
  top: 0;
  font-size: 100px;
  bottom: 0;
  left: 0;
  right: 0;
  color: white;
display:flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.explore {
  font-size: 35px;


}

.subtext {
  font-family: 'Dense', sans-serif;
  font-size: 45px;
  color: white;
  margin-top: -2%;
}
.title-btn{
  border: 1px solid white;
  background:none;
  color:white;
  font-size: 18px;
  padding: 10px;
}


.title-btn:hover {
  background: white;
  color: #f8f8f8;
}
main {
  background-color: #fffcfc;
}
#grid-one-img {
  border-radius: 10%;
  padding: 15%;
  width: 100%;


}
.grid-4{

  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-template-columns: 1fr 1fr;

}

.grid-text{

color: rgb(94, 105, 128);
font-size: 14px;
font-family: 'Poppins';
margin: auto;
padding-right: 25%;

}
.headline {
  color: #d0564bd7;
  font-family: "Dense";
  font-size: 80px;
  letter-spacing: 3px;

}
.plan-link {
background: none;
color: #d0564bd7;
border: 1px solid #d0564bd7;
padding: 10px;


}

a{
  text-decoration: none;
  color: rgb(165, 160, 160);
}
.plan-link:hover{
  background-color:#d0564bd7;
    color: rgb(238, 153, 153);

}

.img-responsive {
  width: 100%;
  display: block;

}


span{
color: #d0564bd7;
font-family: "Dense";
font-size: 80px;
letter-spacing: 2px;

}
.grid-text-two{
  color: rgb(94, 105, 128);
    font-size: 14px;
    font-family: 'Poppins';
    padding: 10%;
}


.headline-two{
  text-align: center;
  color: #d0564bd7;
font-family: "Dense";
font-size: 120px;
letter-spacing: 3px;
font: bolder
;}


.h2-text {
  text-align: center;
  color:#647b94;
  font-size:48px;
  font-family:"dense", times;
}



.destinations{  
  display: grid;
grid-template-rows: 1fr;
grid-template-columns: 1fr 1fr 1fr;
gap: 30px;
margin-left: 15px;
margin-right: 15x;
min-width: 0px;
overflow: auto;

} 

#destination-img{
  width: 500px;

}


#destination-img:hover .over-des{
background-color: #233446;

}



/* hover effect  */

.layover {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
}



.des-text {
  color:#d0564bd7;
  font-size: 100px;
  font-family: "dense";
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 20px;
  background-color: #ffffff;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
  line-height: 75px;
}


.over-des {
  position: relative;
  
}

.over-des:hover .layover {
  opacity: .8;

}


.grid-text-three {
  color: rgb(94, 105, 128);
  font-size: 14px;
  font-family: 'Poppins';
  margin-top: 15px;
 padding: 3%;

}






#pic{
  border: none;
  background: rgb(252, 252, 252,);
 box-shadow: none;
 padding-left: 10%;
}

 footer{
  padding: 10px;
 height: 35px;
  color:white;
 background-color: rgb(31, 31, 61);
 display: flex;
gap: 30px;
} 



@media screen and (max-width:850px) {

  footer {
      padding: 10px;
      height: 35px;
      color: white;
      background-color: rgb(31, 31, 61);
      gap: 30px;
      display: flex;
      flex-direction: row;
      justify-content: space-around;
    }
  .grid-4 {
  
      display: grid;
      grid-template-rows: 1fr ;
      grid-template-columns: 1fr;

    }

        .grid-text {
  margin-top: -40px;
          color: rgb(94, 105, 128);
          font-size: 14px;
          font-family: 'Poppins';
          text-align: center;
          padding-left: 15%;
          padding-bottom: 30px;
        
        }



                .destinations {
                  display: grid;
                  grid-template-rows: 1fr;
                  grid-template-columns: 1fr;
      margin-left:25px;
      text-align: center;

}

.headline-two {
  padding-top: 45px;
  text-align: center;
  color: #d0564bd7;
  font-family: "Dense";
  font-size: 80px;
  letter-spacing: 3px;
  font: bolder;
}


.h2-text {
  text-align: center;
  color: #647b94;
  font-size: 24px;
  font-family: "dense", times;
}


}




@media only screen and (max-width:600px) {

.overlay{

    position: absolute;
    top: 0;
    font-size: 100px;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    display: flex;
    flex-direction: column;


}


h1, .subtext, .headline, .h2-text{
  line-height: .9;
  width: 270px;
  text-align: center;


}
 #destination-img{
  width: 320px;
 }

  .h2-text{
    margin-left: 50px;
  }


  .destinations {
display: flex;
flex-direction: column;
width: 300px;
margin-left: 45px;

 

  }


 footer {
   padding: 10px;
   height: 35px;
   color: white;
   background-color: rgb(31, 31, 61);
gap: 30px;
  display: flex;
    flex-direction: row;
    justify-content: space-around;
 }

a{
  color: #fffcfc;
  padding: 10px;
}

}
