@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,300;0,400;0,500;0,600;1,100;1,300&display=swap');

*{
  font-family: 'Poppins', sans-serif;
  margin: 0; padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  text-transform: capitalize;
  transition: .2s linear;
}

html{
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top:5rem ;

 &::-webkit-scrollbar{
    width: 1rem;
 }
  &::-webkit-scrollbar-track{
    background: #fff;
    
  }

  &::-webkit-scrollbar-thumb{
    background: #10221b;
    
  }
}

section{
  padding: 5rem 9%;
}

.btn{
  margin-top: 1rem;
  display: inline-block;
  border: .2rem solid #10221b;
  color: #10221b;
  cursor: pointer;
  background: none;
  font-size: 1.7rem;
  padding: 1rem 3rem;

  &:hover{
    background:#10221b ;
    color: #fff;
  }
}

.heading{
  text-align: center;
  margin-bottom:2.5rem;
  font-size:4rem ;
  color: #10221b;
}

.header{
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 2rem 9%;
  z-index: 1000;
  display: flex;
  align-items: center;

  &.active{
    background: #fff;
    box-shadow: 0.5rem 1rem rgba(0, 0, 0, .1);
  }

  .logo{
    margin-right: auto;
    font-size: 2.5rem;
    color:#10221b;
    font-weight: bolder;
  
    i{

      color: #219150;

     }
    }
}

.navbar{

  a{
    margin-left: 2rem;
    font-size: 1.7rem;
    color: #10221b;

        &:hover{
          color: #219150;
      }
    }


    #nav-close{
     font-size: 5rem;
     cursor: pointer;
     color: #10221b;
     display: none;

    }
}


.icons a,
.icons div{
  font-size: 2.5rem;
  margin-left: 2rem;
  cursor: pointer;
  color:  #10221b;
  
    &:hover{
      color: #219150;
  }
  
}

.home{
  padding: 0;

  .box{
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size:cover !important ;
    background-position:cover !important ;
    justify-content: flex-end;
    padding: 2rem 9%;

    &.second{
      justify-content: flex-start;
    }
    .content{
      width: 50rem;
    }

    span{
      font-size :4rem ;
      color: #10221b;
    }

    h3{
      font-size: 6rem;
      color: seagreen;
      padding-top: .5rem;
      text-transform: uppercase;
    }

    p{
      line-height: 2;
      color: #10221b;
      font-size: 2.2rem;
      padding: 1.5rem 0;
      margin-bottom:40px ;
    }
  }
}



.swiper-byutton-next::after,
.swiper-button-prev::after{
  font-size: 3rem;
  color: #10221b;
}
#menu_btn{
  display: none;
}


.category{

  .box-container{

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(29rem, 1fr));


      .box{
        text-align:center;
        padding: 2rem;

        img{
          height: 25rem;
          width: 25rem;
          border-radius:50%;
          margin-bottom: 1rem; 
        }
        h3{
          font-size: 2rem;
          color: #219150;
        }
        p{
          font-size: 1.5rem;
          color: #10221b;
          padding: 1rem 0;
          line-height: 2;
        }
    }
  }
}

.about{
  background:#eee ;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;

  .image{
    flex: 1 1 42rem;
    padding-right: 5rem;
    padding-bottom: 2rem;

    img{
      width: 100%;
      box-shadow: 4rem 4rem 0 rgba(0, 0, 0, .1);
    }
  }

  .content{
    flex: 1 1 42rem;

    h3{
      font-size: 3rem;
      color: #219150;
    }

    p{
      font-size: 1.5rem;
      color: #10221b;
      padding: 1rem 0;
      line-height: 2;
    }
  }
}

.packages {
  background: #eee;
}

.packages .box-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 1rem;
}

.packages .box-container .box {
  text-align: center;
  background: #fff;
  border: .2rem solid #10221b;
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
  padding: 1rem;
}

.packages .box-container .box:hover {
  background: #10221b;
}

.packages .box-container .box:hover .content > * {
  color: #fff;
}

.packages .box-container .box:hover .btn {
  border-color: #fff;
}

.packages .box-container .box:hover .btn:hover {
  background: #fff;
  color: #10221b;
}

.packages .box-container .box a{
  color: #219150;
}

.packages .box-container .box span{
  color: #219150;
  font-size: 1.7rem;
}

      .image{
        height: 25rem;
        overflow: hidden;
        padding: 2rem;
        padding-bottom: 0;
        border-radius: .5rem;

        img{
          height: 100%;
          width: 100%;
          object-fit: cover;
          border-radius: .5rem;
        }
      }

      h3{
        font-size: 2rem;
        color: #10221b;
      }

      p{
        font-size: 1.5rem;
        color: #10221b;
        padding: 1rem 0;
        line-height: 2;
      }

      .price{
        font-size: 2rem;
        color: #219150;
      }
  

      .services {
        background: #eee;
      }
      
      .services .box-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(31rem, 1fr));
        gap: 1rem;
      }
      
      .services .box-container .box {
        text-align: center;
        padding: 2rem;
        border: .2rem solid #10221b;
        border-radius: .5rem;
        background: #fff;

        &:hover{
          background: #10221b;

          img{
            filter: invert(1);
          }
          p{
            color: white;
          }
        }
      }


      .services .box-container .box img {
        max-width: 100%; 
        max-height: 200px; 
        width: auto;
        height: auto;
        display: block;
        margin: 0 auto; 
      }


      .services .box-container .box h3{
        font-size: 2rem;
        color: #219150;
      }

      .services .box-container .box p{
        font-size: 1.5rem;
        color: #10221b;
        padding: 1rem 0;
        line-height: 2;
      }



.boat{
  .slide{
    width: 35rem;
    border:.2rem solid #10221b ;
  

  .image{
    position: relative;
    overflow: hidden;
    height: 30rem;
    width: 100%;
  

    img{
      height: 100%;
      width: 100%;
      object-fit: cover;
    }
  }

  .content{
    padding: 1rem 0;
    text-align: center;


    h3{
      font-size: 2rem;
      color: #10221b;
    }
  }
}
}

























@media (max-width:1200px){

  .header{
    padding: 2rem;
  }
  section{
    padding: 3rem 2rem;
  }
}

@media (max-width:991px){

  .html{
    font-size: 55%;
    scroll-padding-top: 7rem;
  }

  .home .box{
    padding: 2rem;
    justify-content: center;
    background-position:right;

    &.second{
      justify-content: center;
      background-position:left !important;
    }
.content{
  text-align: center;
  span{
    font-size: 3rem;
  }
  h3{
    font-size: 4rem;
  }
}

  }
}

.footer {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('Pulau\ Rinca\ Nusa\ Tenggara\ Timur.jpeg') no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 2rem;
  color: #fff;
}

.footer .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 1rem;
}

.footer .box-container .box {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 0.5rem;
  border: 0.2rem solid #10221b;
}

.footer .box-container .box h3 {
  font-size: 2rem;
  padding: 1.5rem 0;
  color: #fff;
}

.footer .box-container .box a {
  display: block;
  font-size: 1.4rem;
  color: #fff;
  padding: 1rem 0;
  text-decoration: none;
}

.footer .box-container .box a i {
  color: #219150;
  padding-right: 0.5rem;
}

.footer .box-container .box a:hover {
  color: #10221b;
}

.footer .box-container .box a:hover i {
  padding-right: 2rem;
}

.footer .credit {
  text-align: center;
  margin-top: 2rem;
  font-size: 1.2rem;
  color: #fff;
}

.footer .credit span {
  color: #219150;
}

@media (max-width:768px){

  .header{
    #menu_btn{
      display: inline-block;
    }

    .navbar{
      position: fixed;
      top: 0; left:-110%;
      background: #fff;
      z-index: 10000;
      width: 35rem;
      height: 100%;
      display: flex;
      flex-flow:column ;
      align-items: center;
      justify-content: center;
      

      &.active{
        left: 0;
        box-shadow: 0 0 0 100vw rgba(0, 0, 0, .8);
      }

      a{
        margin: 1rem 0;
        font-size:3rem ;
      }
      #nav-close{
        display: block;
        position: absolute;
        top: 1rem; right:2rem;

      }
    }
  }
  .swiper-byutton-next::after,
  .swiper-button-prev::after{
    display:none;
    
}
}


@media (max-width:450px){

  .html{
    font-size: 50%;
  }
}