@charset "UTF-8";

/* ===============
Loading Screen
=================*/

#loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #faf7f5;
    transition: opacity 0.9s ease, visibility 0.9s ease;
}

#loading-screen.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-screen__text {
    text-align: center;
    margin: 0;
}

.loading-screen__line {
    display: block;
    font-size: 1.8rem;
    font-weight: 400;
    color: #373737;
    letter-spacing: 0.1em;
    line-height: 2.0;
}

.loading-screen__line--logo {
    margin-top: 24px;
    font-size: 1.4rem;
    letter-spacing: 0.18em;
    color: #8b7d6b;
}

.loading-screen__char {
    display: inline-block;
    opacity: 0;
    transform: scale(0.7);
    animation: loading-char-rise 0.7s ease forwards;
}

@keyframes loading-char-rise {
    from {
        opacity: 0;
        transform: scale(0.7);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 1023px) {
    .loading-screen__line {
        font-size: 1.4rem;
        line-height: 1.9;
        padding: 0 32px;
    }

}
