.slider{
    height: 85vh;
    position: relative;
    width: 100vw;
    margin: auto;
    }
.slider .list .item{
    position: absolute;
    inset: 0 0 0 0;
    overflow: hidden;
    opacity: 0;
    transition: 1s;
}
.slider .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;

}
.slider .list .item::before{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    /* background-color: black; */
    /* opacity: 0.5; */
    pointer-events: none;
}
.slider .list a{
  color: white;
}
.slider .list .item .content{
    position: absolute;
    left: 30%;
    bottom: 10%;
    width: 601px;
    max-width: 80%;
    z-index: 1;
    background-color: #00000073;
    padding: 20px;
    border-radius: 5px;
}
.slider .list .item .content h2{
  width: 40vw;
}
.slider .list .item .content p:nth-child(1){
    text-transform: uppercase;
    letter-spacing: 10px;}
    .slider .list .item .content h2{
        font-size: 50px;
        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{
        transform: translateY(30px);
        filter: blur(20px);
        opacity: 0;
        animation: showContent .5s .7s ease-in-out 1 forwards;
    }
    .slider .list .item.active p{
        animation-delay: 0.5s;
    }
    .slider{
      color: white;
    }
    #next{
      position: absolute;
        top: 50%;
        right: 50px;
        z-index: 100;
    }
    #prev{
      position: absolute;
        top: 50%;
        left: 50px;
        z-index: 100;
    }
    .arrows button{
        background-color: #eee5;
        border: none; 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: 10px;
        z-index: 11;
        display: flex;
        gap: 10px;
        width: 100%;
        height: 25px;
        padding: 0 50px;
        box-sizing: border-box;
        overflow: auto;
        justify-content: center;
        align-items: flex-end;
        color: black;
        font-weight: bold;
    }
    .thumbnail::-webkit-scrollbar{
        width: 0;
    }
    .thumbnail .item{
        width: 20px;
        height: 20px;
        filter: brightness(.5);
        transition: .5s;
        flex-shrink: 0;
        cursor: pointer;
        margin-bottom: 5px;
    }
    .thumbnail .item img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
        
    }
    .thumbnail .item.active{
        filter: brightness(1.5);
    }
    .thumbnail .item.active img {
      filter: brightness(1.5);
        border: 2px solid white;
        padding: 3px;
    }
      @media screen and (max-width: 678px) {
          .slider .list .item .content h2{
              font-size: large;
              width: 66vw;
          }
          .slider .list .item .content p{
            font-size: small;
          }
          .arrows{
              top: 10%;
          }
          .slider .list .item .content{
            left: 13%;
            bottom: 15%;
            width: 75%;
            height: auto;
        }
        
        #next{
            right: 3px;
        }
        #prev{
            left: 3px;
        }
        .thumbnail .item{
          margin-bottom: 5px;
      }
      }