/*Slides section*/
.slide-section {
    height: 500px;
    background: #000000;
}

.slide-section-container {
    position: relative;
}

.slide-item {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: none;
}

.slide-item-image {
    width: 100%;
    height: 500px;
    max-width: 1200px;
    object-fit: fill;
    display: block;
}

.slide-item-description {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: absolute;
    background: #000000b6;
}

.slide-item-description-text {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: var(--font-roboto);
    font-size: 26px;
    color: var(--text-inverse-color);
    padding: 1em 2.5em;
    position: relative;
    animation-duration: 2s;
    animation-name: slidein;    
}


/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: var(--text-inverse-color);
    font-weight: 600;
    font-size: 26px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background: var(--text-background-color);
}

.active {
    display: flex;
}

@media only screen and (max-width: 768px) {
    .slide-item-description-text {
        font-size: 20px;
    }
}

@media only screen and (max-width: 600px) {
    .slide-section {
        height: 350px;
    }

    .slide-section-container {
        max-width: 700px;
    }

    .slide-item-image {
        height: 350px;
        max-width: 700px;
    }

    .banner6 {
        content: url('../public/images/PLATINUM__BANNER6_MOVIL.jpg');
        transition: 0.3s;
    }

    .banner8 {
        content: url('../public/images/PLATINUM__BANNER8_MOVIL.jpg');
        transition: 0.3s;
    }

    .banner9 {
        content: url('../public/images/PLATINUM__BANNER9_MOVIL.jpg');
        transition: 0.3s;
    }

    .slide-item-description-text {
        font-size: 18px;
        transition: 0.3s;
    }

    .prev,
    .next {
        font-size: 20px;
    }
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 0.6s;
}

@keyframes fade {
    0% {
        opacity: .2
    }

    25% {
        opacity: .4
    }

    50% {
        opacity: .6
    }

    75% {
        opacity: .8
    }

    100% {
        opacity: 1
    }

}

@keyframes slidein {

    0% {
        left: -100%;
        opacity: 0;
    }

    25% {
        opacity: .1;
    }

    50% {
        opacity: .2;
    }

    75% {
        opacity: .4;
    }

    100% {
        left: 0;
        opacity: 1;
    }
}