@import url("https://fonts.googleapis.com/css2?family=Flavors&family=Glass+Antiqua&family=SUSE:wght@100..800&family=Tilt+Neon&family=Dancing+Script:wght@400..700&display=swap");

* {
    box-sizing: border-box;
}

body,
html {
    min-height: 100%;
    align-content: center;
}

html {
    background-color: #333;
    background: linear-gradient(#444, #222);
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "SUSE", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    font-size: clamp(0.75rem, 4vw, 1.25rem);
    color: #ffffff;
    gap: 1rem;
    text-align: center;
}

.loader {
    width: 2.5em;
    aspect-ratio: 1;
    border: .2em solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.status-container {
    min-height: 3.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    line-height: 1.6;
    letter-spacing: 0.02em;
    word-break: break-word;
    padding: 0.5rem 1rem;
}

#status-text {
    display: inline;
    color: #ffffff99;
}

.ellipsis {
    display: inline-block;
    white-space: nowrap;
    letter-spacing: 0.1em;
    margin-left: 1px;
}

.ellipsis span {
    display: inline-block;
    opacity: 0.2;
    animation: dotPulse 1.4s infinite ease-in-out;
    transform: translateY(0);
}

.ellipsis span:nth-child(1) {
    animation-delay: 0s;
}

.ellipsis span:nth-child(2) {
    animation-delay: 0.25s;
}

.ellipsis span:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 0.2;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-2px);
    }
}

.cursor {
    display: inline-block;
    font-weight: 200;
    margin-left: 2px;
    color: rgba(255, 255, 255, 0.85);
    animation: blink 0.9s steps(2, start) infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}