body mes-preload-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* stylelint-disable-next-line declaration-block-no-redundant-longhand-properties */
    bottom: 0;
    z-index: 999999;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

body mes-preload-screen img {
    width: 120px;
    max-width: 120px;
}

body mes-preload-screen .bounces {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    width: 56px;
}

body mes-preload-screen .bounces > div {
    width: 12px;
    height: 12px;
    background-color: #21BDCA;
    border-radius: 100%;
    display: inline-block;
    /* stylelint-disable-next-line property-no-vendor-prefix */
    -webkit-animation: bouncescale 1s infinite ease-in-out both;
    animation: bouncescale 1s infinite ease-in-out both;
}

body mes-preload-screen .bounces .bounce1 {
    /* stylelint-disable-next-line property-no-vendor-prefix */
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

body mes-preload-screen .bounces .bounce2 {
    /* stylelint-disable-next-line property-no-vendor-prefix */
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

/* Removed vendor-prefixed @-webkit-keyframes as it is no longer necessary */
@keyframes bouncescale {
    0%,
    80%,
    100% {
        /* stylelint-disable-next-line property-no-vendor-prefix */
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    /* stylelint-disable-next-line rule-empty-line-before */
    40% {
        /* stylelint-disable-next-line property-no-vendor-prefix */
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

body:not(.mes-preload-screen-hidden) {
    overflow: hidden;
}

body.mes-preload-screen-hidden mes-preload-screen {
    visibility: hidden;
    opacity: 0;
}
