*{
    margin: 0;
    padding: 0;
    color: white;

}

/* Nav bar */
.nav{
    background-color: #cecdcd;
    box-shadow: 2px 5px 7px black;
    z-index: 999;
    position: sticky;
    top:0; left:0

}

ul{
    width:100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
 

}

li{
    height: 50px;
}

li a{
    height: 100%;
    color: black;
    padding: 0 20px;
    display: flex;
    align-items: center; 
    text-decoration: none;
    font-weight: 600;
}

li:first-child{
    margin-right: auto;
}

li a:hover{
    background-color: rgb(137, 120, 168);
}

.mobile{
    width:250px;
    height: 100vh;
    background-color: #cecdcd2a;
    backdrop-filter: blur(10px);
    position: fixed;
    top:0;right:0;
    display:none;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    z-index: 999;
}

.menuBar{
    display: none;
}

/* End Nav bar */

/* 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;
}

.slider .list .item::after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left:0; bottom: 0;
    background-image: linear-gradient(
        to top, #000 30%, 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(8px);
    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: 0px;
    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%;
    border-radius: 20px;  
    object-fit: cover;
}

.thumbnail .item.active{
    filter: brightness(1.2);
}

.thumbnail .item .content{
    position: absolute;
    inset: auto 10px 10px 10px;

}












@media(max-width: 800px){
    /* Nav bar */
 .Mobile-screen{
    display: none;
 }
 .menuBar{
    display: block;
 }

.mobile li{
        width:100%
}
 /* End Nav bar */
 /*slider*/
     .thumbnail{
        justify-content: start;
    }

    .slider .list .item .content h2{
        font-size: 60px;
    }

    .arrows{
        top:10%;

    }
/* End slider*/
}

@media(max-width: 400px){
     /* Nav bar */
    .mobile{
        width: 100%;
    }
    .mobile li{
        width:100%
    }
     /* End Nav bar */


    /*slider*/
    .thumbnail{
        justify-content: start;
        bottom:-17px
    }

    .slider .list .item .content h2{
        font-size: 40px;
    }

    .arrows{
        top:10%;

    }
/* End slider*/
}

@media(max-width: 340px){

    /*slider*/
    .thumbnail{
        justify-content: start;
        bottom:-17px
    }

    .slider .list .item .content h2{
        font-size: 40px;
    }

    .arrows{
        top:10%;

    }
/* End slider*/


}



