

:root {
    --fade-out-distance: 100%;
    --fade-in-distance: 100%;

    --img-pad-lg: 5%;
    --img-pad-md: 10%;
    --img-pad-sm: 30%;
}

.mobile-actions, .slides-hint {
    display: none;
}
@media only screen and (min-width: 950px) {
    .mobile-actions {
        height: 0px;
        display: block;
        position: fixed;
        z-index: 5;
        top: calc(100% - 150px);
        margin-left: calc(100% - 75px);
    }
    
    .btn-mobile {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        color: #cccac2; 
        background: #242936;
        border: 2px solid #cccac2;
        font-size: 25px;
        cursor: pointer;
    }

    .slides-hint {
        height: 0px;
        width: 220px;
        display: block;
        position: fixed;
        z-index: 5;
        top: calc(100% - 120px);
        margin-left: calc(100% - 245px);
    }
    .slides-hint-content {
        padding: 10px;
        background: rgba(255,255,255,0.7);
        box-shadow: 0px 0px 16px 8px rgba(255,255,255,0.7);
    }
}

.section-slides {
    position: relative;
    width: 100vw;
    min-height: 100vh;

    padding: 0 !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: var(--color-bg-slides);
}

.block-slide {
    width: 100%;
    height: 100vh;
    margin: auto;
    overflow: hidden;
    display: flex;
}

.section-clone {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 11;
}

.block-slide-content {
    height: 100%;
    max-height: 90%;
    width: 100%;
    max-width: 95%;
    margin: auto;
    
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    padding: 0rem;
    font-size: 2rem;
    line-height: 1.25;
    letter-spacing: 0.5px;
    text-align: justify;
    color: var(--color-font-slides);
}
.block-slide-content img {
    max-width: 100%;
    max-height: 100%;
}


.img-full img {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.img-lg img {
    width: calc(100% - 2*var(--img-pad-lg));
    max-height: calc(100% - 2*var(--img-pad-lg));
    object-fit: contain;
}
.img-md img {
    width: calc(100% - 2*var(--img-pad-md));
    max-height: calc(100% - 2*var(--img-pad-md));
    object-fit: contain;
}
.img-sm img {
    width: calc(100% - 2*var(--img-pad-sm));
    max-height: calc(100% - 2*var(--img-pad-sm));
    object-fit: contain;
}

.copy-bg {
    z-index: 5;
    filter: blur(2px);
}
.copy-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/**
 * Animations scroll down
 */

@keyframes fadeOutDown {
    0% {
        z-index: 10;
        opacity: 1;
        transform: translateY(0px);
    }

    50% {
        opacity: 0;
    }
    
    100% {
        opacity: 0;
        transform: translateY(calc(-1 * var(--fade-out-distance)));
    }
}

@keyframes fadeOutDownBg {
    0% {
        opacity: 0.0;
        transform: translate(calc(-1 * var(--fade-out-distance)), calc(-0.15 * var(--fade-out-distance)));
    }

    50% {
        opacity: 0.5;
    }
    
    100% {
        opacity: 0.0;
        transform: translate(calc(1 * var(--fade-out-distance)), calc(0.15 * var(--fade-out-distance)));
    }
}

@keyframes fadeInDown {
    0% {
        z-index: 15;
        opacity: 0;
        transform: translateY(var(--fade-in-distance)) scale(0.9);
    }
    
    50% {
        opacity: 0.4;
    }
    
    100% {
        opacity: 1;
        transform: translateY(0) scale(1.0);
    }
}

/**
 * Animations scroll up
 */

@keyframes fadeOutUp {
    0% {
        z-index: 10;
        opacity: 1;
        transform: translateY(0px);
    }

    50% {
        opacity: 0;
    }
    
    100% {
        opacity: 0;
        transform: translateY(var(--fade-out-distance));
    }
}

@keyframes fadeOutUpBg {
    0% {
        opacity: 0.0;
        transform: translate(calc(1 * var(--fade-out-distance)), calc(0.15 * var(--fade-out-distance)));
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 0.0;
        transform: translate(calc(-1 * var(--fade-out-distance)), calc(-0.15 * var(--fade-out-distance)));
    }
}

@keyframes fadeInUp {
    0% {
        z-index: 15;
        opacity: 0;
        transform: translateY(calc(-1 * var(--fade-in-distance))) scale(0.9);
    }

    50% {
        opacity: 0.4;
    }
    
    100% {
        opacity: 1;
        transform: translateY(0) scale(1.0);
    }
}