/*
 Theme Name:   eMag
 Description:  eMag KA2 Communication
 Author:       Jérôme Labarbe
 Author URI:   https://d-fuzion.com
 Template:     twentytwentyone
 Version:      1.0.0
 License:      GNU General Public License v3 or later
 License URI:  http://www.gnu.org/licenses/gpl-3.0.html
 Tags:
 Text Domain:  twentytwentyonechild
*/

/* ============================================
   PRELOADER / SPINNER
   ============================================ */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: var(--blanc);
    color: var(--color1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    overflow: hidden;
    font-size: 0.9rem;
}

.logged-in .preloader {
    display: none;
}

.spinner-loading {
    width: 180px;
    height: 180px;
    position: relative;
    display: flex;
}

.logopreload {
    display: flex;
    align-content: center;
    flex-wrap: wrap;
}

.double-bounce1,
.double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--gris);
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    animation: zoom-in-zoom-out 1.6s ease infinite;
}

@keyframes zoom-in-zoom-out {
    0% {
        transform: scale(0, 0);
    }
    50% {
        transform: scale(1.5, 1.5);
    }
    100% {
        transform: scale(0, 0);
    }
}
