﻿/* ========================================= */
/* ============= SPLASH SCREEN ============= */
/* ========================================= */
#occilan-splash {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--oc-color-background);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    overflow: hidden;
}

    /* ========================================= */
    /* ============== Disparition ============== */
    /* ========================================= */
    #occilan-splash.is-hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

/* ========================================= */
/* =============== Logo Texte ============== */
/* ========================================= */
.occilan-splash__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    animation: retrecir 1s ease-in-out infinite alternate;
}

/* ========================================= */
/* ================== Logo ================= */
/* ========================================= */
.occilan-splash__logo {
    width: 100%;
    max-width: 55vw;
    height: auto;
}

/* ========================================= */
/* ================= Texte ================= */
/* ========================================= */
.occilan-splash__text {
    color: var(--oc-color-text);
    font-size: 100%;
    font-weight: 700;
    letter-spacing: 2px;
    white-space: nowrap;
    font-family: 'Roboto', sans-serif;
}

/* ========================================= */
/* =============== Animation =============== */
/* ========================================= */
@keyframes retrecir {
    0% {
        transform: scale(0.5);
    }
    100% {
        transform: scale(0.4);
    }
}

/* ========================================= */
/* ================= Mobile ================ */
/* ========================================= */
@media (max-width: 600px) {

    @keyframes retrecir {
        0% {
            transform: scale(1);
        }

        100% {
            transform: scale(0.9);
        }
    }
}
