@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');
*{
    margin: 0;
    font-family: Poppins;
    font-size: 12px;
}
body{
    background-color: black;
    background-size: cover;
    overflow:auto;
    user-select: none;
    min-height: 0;
}
body::-webkit-scrollbar{
    display: none;
}
.thumbnail::-webkit-scrollbar{
    display: none;
}
a{
    transition: 0.3s;
}
a:hover{
    font-size: 15px;
    color: rgb(51, 50, 50);
    font-weight: 500;
}
button{
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 100px;
    font-size: 15px;
    background-color: #eee5;
    color: rgb(0, 0, 0);
    letter-spacing: 2px;
    border: none;
    transition: 0.5s;
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    padding: 10px;
    position: relative;   
}

header ul{
    display: flex;
    width: fit-content;
    list-style-type: none;
    
}

header ul a {
    display: block;
    margin: 0 10px;
    letter-spacing: 2px;
    cursor: pointer;
    animation: navAnimation 2s linear forwards;
    text-decoration: none;
    color: white;

}

header .logo{
    font-weight: bold;
    color: #eee;
    font-size: 2rem;
    animation: navAnimation 2.5s linear forwards;
}

header .menu{
    color: white;
    text-transform: uppercase;
    list-style: none;      
}

.slider{
    position: relative; 
    height: 100vh;
    margin-top: -60px;
}
.list{
    width: 100%;
    height: 100%;
    position: relative;
}
.list .item{
    width: 100%;
    height: 100%;   
    position: absolute;
    inset: 0 0 0 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.5ms;
}

.list .item::after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom:0;
    background-image: linear-gradient(to right,#000 10%, transparent);
}

.content{
    position: absolute;
    left: 5%;
    top: 20%;
    width: 70vw;
    max-width: 90%;
    z-index: 1;
}
h1{
    color: hsla(0, 1%, 65%, 0.9);
    font-size: 6rem;
    letter-spacing: 0.5rem;
    width: 100rem;
}

p{
    color: rgb(255, 255, 255);
    font-size: 18px;
    margin-bottom: 30px;
}

img{
    width: 100%;
    height: 100%; 
    object-fit: cover;
}


.item.active{
    opacity: 1;
    z-index: 10;
    transition: 0.5s;
}

@keyframes navAnimation {
    to{width:  50%;}
    from {width: 0% ; overflow: hidden;}
}

@keyframes showContent {
    to{
        transform: translateY(0);
        filter: blur(0)
        opacity(1);
        overflow: hidden;
    }
}

.item.active p,
.item.active h1,
.more{
    transform: translateY(30px);
    filter: blur(20px);
    animation: showContent .3s .2s ease-in-out 1 forwards;
}

.item.active{
    animation-delay: 1s;
}

button:hover{
    background-color: #eee;
}

.thumbnail{
    position: absolute;
    bottom: 20px;
    z-index: 11;
    display: flex;
    gap: 10px;
    width: 100%;
    padding-left: 2rem;
    box-sizing: border-box;
    overflow-y: hidden;
    scroll-behavior: smooth;
}



.thumbnail .item{
    width: 150px;
    height: 220px;
    filter: brightness(.5);
    transition: .5s;
    flex-shrink: 0;
    cursor: pointer;

}
.thumbnail .item:hover{
    filter: brightness(1);
}

.thumbnail .item::after{
    content: ' ';
    border-radius: 10px;
    width: 150px;
    height: 220px;
    right: 0;
    position: absolute;
    background-image: linear-gradient(to top ,#000 5%, transparent 50%);
}

.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.thumbnail .item.active{
    filter: brightness(1);
}
.thumbnail .item.active::after{
    content: ' ';
    width: 100%;
    height: 100%;
    position: absolute;
} 

.thumbnail .item .content{
    position: absolute;
    inset: auto 10px 10px 10px;
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@media screen and (max-width: 678px) {
    .thumbnail{
        justify-content: start;
    }
    .slider .list .item .content h2{
        font-size: 60px;
    }
    .arrows{
        top: 10%;
    }
    .content h1{
        font-size: 3.5rem;
        letter-spacing: 0.5rem;
        
    }
}


