/**! Pour le background */

:root {
    --gradient-color-1: #0152a1; /* Couleur principale par défaut */
    --gradient-color-2: #d59821; /* Couleur secondaire par défaut */
}

/* body fuse-splash-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(18, 18, 18, 0.7);
    color: black;
    z-index: 9999;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1);
} */

/* Zoom avant le rebond */

/* @keyframes zoomAndMove {
    0%,
    20%,
    50% {
        opacity: 0;
        transform: translateY(150%) scale(0.5);
    }
    80% {
        transform: translateY(0) scale(1.5);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
    }
} */

/* #card-splash {
    animation: zoomAndMove 1s linear forwards;
} */
/* L'animation dure 0.8 seconde avec un effet de sortie en douceur */

/* body fuse-splash-screen img {
    width: 120px;
    max-width: 120px;
} */

/* body fuse-splash-screen .spinner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    width: 56px;
} */

/* body fuse-splash-screen .spinner > div {
    width: 12px;
    height: 12px;
    background-color: #1e96f7;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: fuse-bouncedelay 1s infinite ease-in-out both;
    animation: fuse-bouncedelay 1s infinite ease-in-out both;
}

body fuse-splash-screen .spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

body fuse-splash-screen .spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
} */

/* @-webkit-keyframes fuse-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0)
    }
    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes fuse-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
} */

/* body:not(.fuse-splash-screen-hidden) {
    overflow: hidden;
}

body.fuse-splash-screen-hidden fuse-splash-screen {
    visibility: hidden;
    opacity: 0;
} */

/* @media screen and (max-width: 600px) {
    #card-splash {
        width: 26rem;
        max-height: 38rem;
    }
} */

body fuse-splash-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background:linear-gradient(to left, #2D93D4, #000000); ES SAiNT JEOIRE */
    /* background: linear-gradient(
        to right,
        var(--gradient-color-1),
        var(--gradient-color-2),
        var(--gradient-color-1)
    ); */
    background-color: var(--gradient-color-1);
    color: #f9fafb;
    z-index: 999999;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

body fuse-splash-screen img {
    /* width: 120px; */
    max-width: 200px;
}

body fuse-splash-screen .spinner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    width: 56px;
    margin: 0 auto;
}

body fuse-splash-screen .spinner > div {
    width: 15px;
    height: 15px;
    background: linear-gradient(
        to bottom,
        var(--gradient-color-1),
        var(--gradient-color-2),
        var(--gradient-color-1)
    );
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: fuse-bouncedelay 1s infinite ease-in-out both;
    animation: fuse-bouncedelay 1s infinite ease-in-out both;
}

body fuse-splash-screen .spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

body fuse-splash-screen .spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes fuse-bouncedelay {
    0%,
    80%,
    100% {
        -webkit-transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1);
    }
}

@keyframes fuse-bouncedelay {
    0%,
    80%,
    100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

body:not(.fuse-splash-screen-hidden) {
    overflow: hidden;
}

body.fuse-splash-screen-hidden fuse-splash-screen {
    visibility: hidden;
    opacity: 0;
}
