*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Open Sans", sans-serif;
}

body{
    color: #fff;
    background-color: #fff;
}


section{
    padding: 70px 10% 60px;
}

.home{
    position: relative;
    height: 100vh;
    width: 100%;
    background: linear-gradient(to bottom,rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3)), url(../assets/img/cave.jpg);
    background-size: cover;
    background-position: bottom center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.home-text h5{
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: #fff;
}

.home-text h1{
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color:#f1683a;
}

.home-text p{
    font-size: 1rem;
    font-weight: 500;
    line-height: 30px;
    color: #ffffffd3;
    margin-bottom: 35px;

}

.btn{
    display: inline-block;
    padding: 13px 30px;
    background-color: #ffffff6c;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 5px;
}

.btn:hover{
    transform: translateX(5px);
    border: 2px solid;
    background: transparent;
    color: #f1683a;
}

/* ALAM JUDUL */

.alam {
    display: flex;
    justify-content: center;
    padding-top: 2rem;
    padding-left: 5rem;
    gap: 1rem;
    width: 80rem;
    color: #0B2447;
}
.alam-judul h1{
    font-size: 22px;
    font-weight: 600;
    color: #0B2447;
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-left: 18rem;
    text-align: center;

}

.alam-judul h5{
    font-size: 20px;
    font-weight: 300;
    line-height: 1.2;
    margin-top: 15px;
    margin-bottom: 10px;
    margin-left: 18rem;
    text-align: center;
    color: #f1683a;
}

.alam-judul p{
    font-size: var(--p-font-);
    font-weight: 400;
    line-height: 30px;
    color: #0B2447;
    margin-left: 18rem;
    text-align: center;
}
/* END ALAM JUDUL */

/* CONTENT ALAM */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* css slider */
.slider{
    height: 100vh;
    margin-top: -50px;
    position: relative;
}
.slider .list .item{
    position: absolute;
    inset: 0 0 0 0;
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}
.slider .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* background destinasi */
.slider .list .item::after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background-image: linear-gradient(
        to top, #818FB4 20%, transparent
    );
}

.slider .list .item .content{
    position: absolute;
    left: 10%;
    top: 20%;
    width: 500px;
    max-width: 80%;
    z-index: 1;
}

.slider .list .item .content p:nth-child(1){
    text-transform: uppercase;
    letter-spacing: 10px;
}

.slider .list .item .content h2{
    font-size: 100px;
    margin: 0;
}
.slider .list .item.active{
    opacity: 1;
    z-index: 10;
}
@keyframes showContent {
    to{
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}
.slider .list .item.active p:nth-child(1),
.slider .list .item.active h2,
.slider .list .item.active p:nth-child(3){
    transform: translateY(30px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s .7s ease-in-out 1 forwards;
}
.slider .list .item.active h2{
    animation-delay: 1s;
}
.slider .list .item.active p:nth-child(3){
    animation-duration: 1.3s;
}
.arrows{
    position: absolute;
    top: 30%;
    right: 50px;
    z-index: 100;
}
.arrows button{
    background-color: #eee5;
    border: none;
    font-family: monospace;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    font-size: x-large;
    color: #eee;
    transition: .5s;
}
.arrows button:hover{
    background-color: #eee;
    color: black;
}
.thumbnail{
    position: absolute;
    bottom: 50px;
    z-index: 11;
    display: flex;
    gap: 10px;
    width: 100%;
    height: 250px;
    padding: 0 50px;
    box-sizing: border-box;
    overflow: auto;
    justify-content: center;
}
.thumbnail::-webkit-scrollbar{
    width: 0;
}
.thumbnail .item{
    width: 150px;
    height: 220px;
    filter: brightness(.5);
    transition: .5s;
    flex-shrink: 0;
}
.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.thumbnail .item.active{
    filter: brightness(1.5);
}
.thumbnail .item .content{
    position: absolute;
    inset: auto 10px 10px 10px;
}
@media screen and (max-width: 678px) {
    .thumbnail{
        justify-content: start;
    }
    .slider .list .item .content h2{
        font-size: 60px;
    }
    .arrows{
        top: 10%;
    }
}
/* END CONTENT ALAM */

