.navbar {
    width: 85%;
    margin: auto;
    padding: 35px 0; display: flex;
    align-items: center; justify-content: center;
}
 .logo {
    width: 120px;
    cursor: pointer;
    } 
.navbar ul li{
    font-size: 20px;
    list-style: none;
    display: inline-block;
    margin: 0 20px;
    position: relative;
    }
.navbar ul li a{
text-decoration: none;
color: #fff;

}
.navbar ul li::after{ content: '';
     height: 3px; width: 0;
 background: white; position: absolute;
left: 0; bottom:-10;
transition: 0.5s;
}
.navbar ul li:hover::after{
    width: 100%;
    }
    



@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');
body{
    font-family: Poppins;
    margin: 0;
    background-color: #010101;
    color: #eee;
}
svg{
    width: 25px;
}
header{
    width: 1200px;
    max-width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    grid-template-rows: 50px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
}
header .logo{
    font-weight: bold;
}
header .menu{
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-weight: 500;
}
/* 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;
}
.slider .list .item::after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background-image: linear-gradient(
        to top, #000 40%, 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%;
    }
}









 .container {
    position: relative;
    margin-top: 50px; 
    width: 100%; 
    height: calc(100vh - 50px); 
    background-image: url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR2yb8a4FgEQcmdgZkcnCt9wpRXJ2TdVdMMTQ&s) no repeat; 
    background-size: cover;
    box-shadow: none;
    display: flex; 
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 678px) {
    .container {
        flex-direction: column;
        padding: 10px; /* Padding for smaller screens */
        height: auto; /* Allow height to adjust dynamically */
    }
}

.container .slide {
    width: 90%; /* Ensure the content inside the container is responsive */
    height:800px;
    display: flex;
    flex-wrap: nowrap; /* Prevent wrapping */
    overflow-x: auto; /* Allow horizontal scrolling for items */
    position: relative;
}

.container .slide .items {
    width: 150px;
    height: 250px;
    flex-shrink: 0;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgb(5, 5, 5);
    background-position: center;
    background-size: cover;
    margin: 0 10px;
    transition: 0.5s;
}


.container .slide .items:hover {
    height:350px ;
    width: 250px;
}

.container .items .contents {
    position: absolute;
    
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    display: none;
}

.container .slide .items:nth-child(2) .contents {
    display: block;
}

.container .contents .name {
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: bold;
    animation: animate 1s ease-in-out forwards;
}

.container .contents .des {
     margin-top: 10px;
    margin-bottom: 20px;
    animation: animate 1s ease-in-out 0.3s forwards;
}

.container .contents button {
    background-color: #eee5;
    color:#fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    animation: animate 1s ease-in-out 0.6s forwards;
}

.container .contents button:hover {
    background: white ;
    color: black;
} 

@keyframes animate {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container .button {
   
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 80px;
}

.container .button button {
    background-color: #eee5;
    color: #eee;
    width: 40px;
    height: 35px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    transition: 0.3s;
    
}

.container .button button:hover {
    background:white ;
    color: black;
} 
