/* carousel */

.carousel{
    width: 100%;
    height: 80vh;
    margin-top: 134px;
    overflow: hidden;
    position: relative;
}

.carousel .list .item{
    width: 180px;
    height: 250px;
    position: absolute;
    top: 80%;
    transform: translateY(-70%);
    left: 70%;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    background-position: 50% 50%;
    background-size: cover;
    z-index: 100;
    transition: 1s;
}

.carousel .list .item:nth-child(1),
.carousel .list .item:nth-child(2){
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
}

.carousel .list .item:nth-child(3){
    left: 67%;
}

.carousel .list .item:nth-child(4){
    left: calc(67% + 200px);
}

.carousel .list .item:nth-child(5){
    left: calc(67% + 400px);
}

.carousel .list .item:nth-child(6){
    left: calc(67% + 600px);
}

.carousel .list .item:nth-child(n+7){
    left: calc(67% + 800px);
    opacity: 0;
}

.list .item .content{
    position: absolute;
    top: 50%;
    left: 100px;
    transform: translateY(-50%);
    width: 400px;
    text-align: left;
    color: #fff;
    display: none;
}

.list .item:nth-child(2) .content{
    display: block;
}

.content .title{
    font-size: 100px;
    text-transform: uppercase;
    color: #14ff72cb;
    font-weight: bold;
    line-height: 1;

    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.content .name{
    font-size: 100px;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1;
    text-shadow: 3px 4px 4px rgba(255, 255, 255, 0.8);

    opacity: 0;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
}

.content .des{
    padding: 5px 15px;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 18px;
    margin-left: 5px;
    background-color: #0000005b;
    transition: .5s;
    opacity: 0;
    animation: animate 1s ease-in-out 0.9s 1 forwards;
}

.buton{
    padding: 5px 15px;
    cursor: pointer;
    font-size: 16px;
    color:white;
    background-color: #0a3d6293;
    border: 1px solid transparent;
    border-radius: 10px;
    opacity: 0;
    transition: .5s;
    animation: animate 1s ease-in-out 0.9s 1 forwards;
}

.buton:hover {
    color: black;
    border: 1px solid #ffffff;
    background-color: white; /* Darker shade on hover */
}



.content .btn{
    margin-left: 5px;

    opacity: 0;
    animation: animate 1s ease-in-out 1.2s 1 forwards;
}

.content .btn a{
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border: 2px solid #fff;
}

.content .btn a:nth-child(1){
    margin-right: 15px;
}

.content .btn a:nth-child(2){
    background: transparent;
    color: #14ff72cb;
    border: 2px solid #fff;
    transition: 0.3s;
}

.content .btn a:nth-child(2):hover{
    background-color: #14ff72cb;
    color: #fff;
    border-color: #14ff72cb;
}

@keyframes animate {
    
    from{
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }

    to{
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}

/* Carousel */


/* next prev arrows */

.arrows{
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}

.arrows button{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #0a3d6293;
    color: #fff;
    border: none;
    outline: none;
    font-size: 16px;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
    cursor: pointer;
}

.arrows button:hover{
    background: #fff;
    color: #000;
}


/* .carousel .timeRunning{
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 4px;
    background-color: #ffffff;
    left: 0;
    top: 0;
    animation: runningTime 7s linear 1 forwards;
}

@keyframes runningTime {
    
    from{width: 0%;}
    to{width: 100%;}

} */


/* Responsive Design */

.slider{
    position: relative;
    width: 100vw;
    height: 80vh;
    overflow: hidden;
}

.slide{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.4s linear;
}

.slide img{
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
}

.active{
    opacity: 1;
}


.slide .inner{
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #eee;
    padding: 10px 20px;
}

.slide .inner a{
    font-size: 20px;
    color: white;
    text-decoration: none;
}

.slide.active .inner{
   opacity: 1;
   max-width: 70%;
}


.indicators{
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.indicators button{
    padding: 10px 10px;
    font-size: 25px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #eee;
    border: 0;
}

.slider_s{
    position: relative;
}

button{
    cursor: pointer;
}

@media (max-width: 450px) {
  .slider{
    height: 35vh;
}


.indicators button {
    padding: 5px 5px;
    font-size: 10px;
    }

    .slide .inner {
    bottom: 15px;
    left: 5px;
    padding: 5px 10px;
    }

    .slide .inner a{
         font-size: 14px;
    }
}


@media screen and (max-width: 999px){
    
    header{
        padding-left: 50px;
    }

    .list .item .content{
        left: 50px;
    }

    .content .title, .content .name{
        font-size: 70px;
    }

    .content .des{
        font-size: 16px;
    }

}

@media screen and (max-width: 690px){
    header nav a{
        font-size: 14px;
        margin-right: 0;
    }

    .list .item .content{
        top: 40%;
    }

    .content .title, .content .name{
        font-size: 45px;
    }

    .content .btn button{
        padding: 10px 15px;
        font-size: 14px;
    }
    /* .carousel{
        margin-top: -107px;
    } */

    .carousel .list .item{
    transform: translateY(80%);

}

.carousel{
    height: 35vh;
    }

    .arrows{
    right: 5%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 30px;
    align-items: center;
}

.content .des{
    margin-top: 220px;
    font-size: 16px !important;
    margin-left: -20px;
    transition: .5s;
    opacity: 0;
    animation: animate 1s ease-in-out 0.9s 1 forwards;
}
}


