﻿#full-screen-loader{
    width: 100%;
    position: fixed;
    inset: 0;
    z-index: 990;
}

#loader-backdrop{
    position: absolute;
    inset: 0;
    background-color: black;
    opacity: 0.8;
    z-index: 991;
}

#loader-video {
    object-fit: cover;
    z-index: 992;
}

#loader-content-wrapper {
    position: absolute;
    inset: 0;
    display: flex;
    z-index: 993;
}

.loader-content {
    margin: auto 2rem;
    align-self: center;
    color: white;
}

.loader-content-title {
}

.loader-content-text {
    font-size: 36px;
    font-weight: bold;
    margin: 0.5rem;
    color: whitesmoke;
}

.loader-bar {
    display: block;
    position: relative;
    height: 8px;
    width: 40%;
    border-radius: 10px;
    overflow: hidden;
}

    .loader-bar:after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 0;
        background: var(--color-orange);
        animation: 6s loader-bar-progress ease-in forwards;
    }

@keyframes loader-bar-progress {
    to {
        width: 100%;
    }
}

.loader-dots {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
    margin: -1px 2rem;
    position: relative;
    background: rgba(0,0,0,0);
    box-shadow: -20px 0 rgba(0,0,0,0), 20px 0 rgba(0,0,0,0);
    box-sizing: border-box;
    animation: loader-dots-pulse 2s linear 6s infinite;
}

@keyframes loader-dots-pulse {
    33% {
        background: #FFF;
        box-shadow: -20px 0 var(--color-orange), 20px 0 #FFF;
    }

    66% {
        background: var(--color-orange);
        box-shadow: -20px 0 #FFF, 20px 0 #FFF;
    }

    100% {
        background: #FFF;
        box-shadow: -20px 0 #FFF, 20px 0 var(--color-orange);
    }
}
