﻿/* --------------------------------- */

/* PRELOADER */
.preloader {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    /*background: var(--navy);*/
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    background-color: navajowhite;
}
    /* lines */
    .preloader .lines {
        position: absolute;
        width: 80px;
        height: 40px;
    }
    /* line */
    .preloader .line {
        position: absolute;
        width: 80px;
        height: 10px;
        background-color: red;
        clip: rect(0, 0, 20px, 0);
    }
    /* line_1 */
    .preloader .line_1 {
        top: 0;
        -webkit-animation: slide 2s ease 0s infinite;
        animation: slide 2s ease 0s infinite;
    }
    /* line_2 */
    .preloader .line_2 {
        top: 15px;
        -webkit-animation: slide 2s ease 0.25s infinite;
        animation: slide 2s ease 0.25s infinite;
    }
    /* line_3 */
    .preloader .line_3 {
        top: 30px;
        -webkit-animation: slide 2s ease 0.5s infinite;
        animation: slide 2s ease 0.5s infinite;
    }
    /* loading_text */
    .preloader .loading_text {
        position: relative;
        top: 60px;
        text-align: center;
        width: 100%;
        color: red;
        font-size: 13px;
        font-family: sans-serif;
        letter-spacing: 3px;
        line-height: 10px;
        height: 10px;
        -webkit-animation: fade 1s ease 0s infinite;
        animation: fade 1s ease 0s infinite;
    }

@-webkit-keyframes slide {
    0% {
        clip: rect(0, 0, 20px, 0);
    }

    30% {
        clip: rect(0, 80px, 20px, 0);
    }

    50% {
        clip: rect(0, 80px, 20px, 0);
    }

    80% {
        clip: rect(0, 80px, 20px, 80px);
    }

    100% {
        clip: rect(0, 80px, 20px, 80px);
    }
}

@keyframes slide {
    0% {
        clip: rect(0, 0, 20px, 0);
    }

    30% {
        clip: rect(0, 80px, 20px, 0);
    }

    50% {
        clip: rect(0, 80px, 20px, 0);
    }

    80% {
        clip: rect(0, 80px, 20px, 80px);
    }

    100% {
        clip: rect(0, 80px, 20px, 80px);
    }
}

@-webkit-keyframes fade {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fade {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
/* --------------------------------- */
