body{
    margin: 0;
    padding: 0;
    background-color: black;
    color: white;
}

header{
    display: flex;
    height: 70px;
    background-color: rgba( 225, 225, 225, 0.374);
    backdrop-filter: blur(10px);
    padding: 0 50;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
}

header h1{
    font-size: 40px;
    margin-left: 20px;
}

.Search-Box{
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.Search-Box img{
    width: 20px;
    background-color: lightgray;
    padding: 5px 10px;
    margin-right: -1;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.Search-Box input{
    padding: 7.5px 30px;
    background-color: lightgray;
    border: none;
    outline: none;
    border-top-right-radius: 10px; 
    border-bottom-right-radius: 10px;
}

nav{
    display: flex;
    justify-content: space-between;
    width: 400px;

}

nav a{
    text-decoration: none;
    color: lightgray;
    font-size: 20px;
    font-weight: 700;
    padding: 0 10;
    text-shadow: 0 0 15px rgba( 0, 0, 0, 0.699 );
    transition: 0.4s;
}

nav a:hover{
    color: #ff0040;
}

.Carousel{
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
    margin-top: -70px;
}

.Carousel .List .Items{
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0 0 0 0;
}

.Carousel .List .Items img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.Carousel .List .Items .Content{
    position: absolute;
    top: 12%;
    width: 1140px;
    max-width: 80%;
    left: 40%;
    transform: translate(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    text-shadow: 0 0 15px rgba( 0, 0, 0, 0.598 );
}


.Content h1{
    font-size: 35px;
    font-weight: bold;
    text-wrap: nowrap;

}

.Details{
    display: flex;
    text-wrap: nowrap;
    margin-bottom: -40px;
}

.Details p{
    border-right: 2px solid white;
    font-size: 25px;
    font-weight: bold;
    color: #ffcc00;
    padding: 0 10px;
}

.Details p:last-child{
    border: none;
}

.Content h4{
    max-width: 400px;
    font-size: 17px;
    line-height: 15px;
    margin: 40px 0;
}

.Carousel .Buttons{
    display: flex;
}

.Download-btn{
    width: 150px;
    padding: 12px 0;
    font-weight: bold;
    border: none;
    background-color: #ffcc00;
    color: black;
    box-shadow: 5px 5px 15px rgba( 0, 0, 0, 0.566 );
    border-radius: 20px;
    margin-right: 10px;
    transition: 0.4s;
    cursor: pointer;
}

.Trailer-btn{
    width: 150px;
    padding: 12px 0;
    font-weight: bold;
    border: none;
    background-color: #ffffff;
    color: black;
    box-shadow: 5px 5px 15px rgba( 0, 0, 0, 0.566 );
    border-radius: 20px;
    margin-right: 10px;
    transition: 0.4s;
    cursor: pointer;
}

.Buttons button:hover{
    opacity: 0.7;
    box-shadow: 5px 5px 15px rgba( 0, 0, 0, 0.621 );
}

.Vid-Box{
    border: 5px solid #ffcc00;
    width: 250px;
    height: 140px;
    border-radius: 20px;
    margin-top: 20px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba( 0, 0, 0, 0.685 );
}

.Vid-Box video{
    width: 250px;
    height: 140px;
}

.Thumbnail{
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
    background-color: rgba( 211, 211, 211, 0.146 );
    backdrop-filter: blur(10px);
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.626);
}

.Thumbnail .Items{
    width: 150px;
    height: 220px;
    flex-shrink: 0;
    position: relative;
}

.Thumbnail .Items img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50px;
    mix-blend-mode: lighten;
}

.Thumbnail .Items .Thum-Content{
    position: absolute;
    bottom: 10px;
    left: 40px;
    right: 10px;
}


.Arrows{
    position: absolute;
    top: 80%;
    right: 50%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}

.Arrows button{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: rgba( 211, 211, 211, 0.881 );
    color: rgba(0, 0, 0, 0.726);
    font-size: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.4s;
}

.Arrows button:hover{
    background-color: lightgray;
    box-shadow: 0 0 15px rgba( 0, 0, 0, 0.612 );
}

.Carousel .List .Items:nth-child(1){
    z-index: 1; 
}

.Carousel .List .Items:nth-child(1) .Content{
    filter: blur(20px);
    opacity: 0;
    animation: ShowContent .5s 1s linear forwards;
}

@keyframes  ShowContent {
    to{
        filter: blur(0);
        opacity: 1;
    }
}


.Carousel.Next .List .Items:nth-child(1) img{
    width: 150px;
    height: 220px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 100%;
    animation: ShowImages .5s linear 1 forwards;
}

@keyframes ShowImages{
    to{
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

.Carousel.Next .Thumbnail{
    animation: EffectNext .5s linear 1 forwards ;
}

@keyframes  EffectNext{
    from{
        transform: translateX(150px);
    }
}

.Carousel.Prev .List .Items:nth-child(2){
    z-index: 200;
}

.Carousel.Prev .List .Items:nth-child(2) img{
    position: absolute;
    bottom: 0;
    left: 0;
    animation: OutFrame 0.5s linear 1 forwards;
}

@keyframes OutFrame{
    to{
        width: 150px;
        height: 220px;
        bottom: 50px;
        left: 50%;
        border-radius: 50px;
    }
}

.Carousel.Prev .List .Items:nth-child(2) .Content{
    animation: ContentOut 1.5s linear 1 forwards;
}

@keyframes ContentOut{
    to{
        filter: blur(20px);
        opacity: 0;
    }
}

.Carousel.Next .Arrows button,
.Carousel.Prev .Arrows button{
    pointer-events: none;
}

.Carousel .Time{
    position: absolute;
    z-index: 999;
    width: 0;
    height: 5px;
    background-color: #ff0040;
    left: 0;
    top: 0;
}

.Carousel.Next .Time,
.Carousel.Prev .Time{
    animation: RunningTime 2s linear 1 forwards;
}

@keyframes RunningTime{
    from{width: 100%;}
    to{width: 0%;}
}

@media screen and (max-width:678px){
    
    .Carousel.List.Items.Content{
        padding: 0;
    }

    .Carousel.List.Items.Content h1{
        font-size: 50px;
    }

    .Details p{
        font-size: 17px;
    }

    .Content{
        margin: 10px 0;
    }

    nav{
        display: none;
    }
    
    .Vid-Box{
        margin-top: 15px;
    }

    .header{
        padding: 0 10px;
    }
    
    .Content{
        top: 10%;
    }

    .Thumbnail{
        top: 75%;
    }

    .Arrows{
        left: 20%;
    }


}

@media screen and (max-width: 678px) {
    .carousel .list .item .content{
      padding-right: 0;
    }
    .carousel .list .item .content h1{
      font-size: 40px
    }
    .details p{
      font-size: 17px;
    }
    .content h4{
      margin: 10px 0;
    }
    .vid-box{
      margin-top: 20px;
    }
    nav{
      display: none
    }
    header {
      padding: 0 10px;
    }
    .content{
      top: 10%;
    }
    .thumbnail{
      top: 75%;
    }
    .arrows{
      left: 15%;
    }
  }