/* ===================================
   LOADING SCREEN / INTRODUCTION
   =================================== */

.c-introduction {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.c-introduction__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    transition: opacity 2s ease;
}

.c-introduction__bg.is-transparent {
    opacity: 0;
}

.c-introduction__content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.c-introduction__text {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
}

.c-introduction__text.is-viewed {
    opacity: 1;
    transform: translateY(0);
}

.c-introduction__text.is-hidden {
    opacity: 0;
    transform: translateY(-20px);
}

.c-introduction__text h1 {
    font-size: 6rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: #FFFFFF;
    text-transform: uppercase;
}

.c-introduction__text p {
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.4em;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

/* Loader */
.c-introduction__loader {
    margin-top: 3rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.8s ease;
}

.c-introduction__loader.is-viewed {
    opacity: 1;
    transform: translateY(0);
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: #FFFFFF;
    animation: loader-anim 1.5s ease-in-out infinite;
}

@keyframes loader-anim {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(300%);
    }
}

/* Counter */
.c-introduction__counter {
    margin-top: 2rem;
    font-family: 'Roboto', monospace;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #FFFFFF;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.8s ease 0.2s;
}

.c-introduction__counter.is-viewed {
    opacity: 1;
    transform: translateY(0);
}

.c-introduction__counter-separator {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .c-introduction__text h1 {
        font-size: 3rem;
    }

    .c-introduction__text p {
        font-size: 0.6rem;
    }

    .loader-bar {
        width: 150px;
    }
}