@import url("variables.css");

body {
    background-color: var(--second-color);
    height: 100vh;
}

body.loaded {
    background-color: var(--third-color);
}


#page-wrap {
    opacity: 0;
}

.loaded #page-wrap {
    opacity: 1;
}

@keyframes stripe {
    0% {
        left: 0;
        width: 0px;
    }

    25% {
        left: 0;
        width: 100%;
    }

    50% {
        left: 100%;
        width: 0px;
    }

    75% {
        left: 0;
        width: 100%;
    }

    100% {
        left: 0;
        width: 0px;
    }
}

#loader,
#loader-after {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.7s, visibility 0.7s, z-index 0.7s;
}

#loader {
    background-color: var(--fifth-color);
    z-index: 61;
}

#loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    z-index: -1;
}

#loader-after {
    background-color: var(--second-color);
    z-index: 62;
}

.no-js #loader {
    display: none;
}

.loader-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 90px;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s ease;
    z-index: 70;
}

.loader-content.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content>* {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.stripe-loader {
    width: 100%;
    height: 90px;
}

.stripe {
    height: 30px;
    width: 0;
    background: #ffffff;
    position: relative;
    margin: 0;
}

.stripe:first-child {
    animation: stripe 1.5s cubic-bezier(0.694, 0.048, 0.335, 1) infinite;
    animation: stripe 1.5s cubic-bezier(0.694, 0.048, 0.335, 1) infinite
}

.stripe:nth-child(2) {
    -webkit-animation: stripe 1.5s cubic-bezier(0.694, 0.048, 0.335, 1) 0.1s infinite;
    animation: stripe 1.5s cubic-bezier(0.694, 0.048, 0.335, 1) 0.1s infinite
}

.stripe:nth-child(3) {
    -webkit-animation: stripe 1.5s cubic-bezier(0.694, 0.048, 0.335, 1) 0.2s infinite;
    animation: stripe 1.5s cubic-bezier(0.694, 0.048, 0.335, 1) 0.2s infinite
}

#loader-after {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--second-color);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.7s, visibility 0.7s, z-index 0.7s;
    z-index: 62
}

#loader-after.is-hidden {
    opacity: 0;
    visibility: hidden;
    z-index: -1
}

.flipX video::-webkit-media-text-track-display {
    transform: matrix(-1, 0, 0, 1, 0, 0) !important;
}

.flipXY video::-webkit-media-text-track-display {
    transform: matrix(-1, 0, 0, -1, 0, 0) !important;
}

.flipXYX video::-webkit-media-text-track-display {
    transform: matrix(1, 0, 0, -1, 0, 0) !important;
}

@keyframes blinkWarning {
    0% {
        color: red;
    }

    100% {
        color: white;
    }
}

@-webkit-keyframes blinkWarning {
    0% {
        color: red;
    }

    100% {
        color: white;
    }
}

.blinkWarning {
    -webkit-animation: blinkWarning 1s linear infinite;
    -moz-animation: blinkWarning 1s linear infinite;
    animation: 1s linear infinite;
}