@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Red+Hat+Mono:ital,wght@0,300..700;1,300..700&display=swap');

:root {
    --initial-background-blend: 4s;
}

html, body {
    margin: 0;
    height: 100vh;
    width: 100vw;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #111123;
    background-image: radial-gradient(circle, #000000, #111123);
    background-repeat: no-repeat;
    background-position: center;
    animation: background-gradient var(--initial-background-blend) forwards;
    overflow: hidden;
}

.wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

#logo {
    color: rgba(245, 245, 255, 0.8);
    font-family: "Audiowide", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 1rem;
    font-size: 4rem;
    text-shadow: 0 0 4px rgba(130, 236, 226, 0.8), 0 0 30px rgba(130, 167, 236, 0.8);

    animation: glow 8s ease-in-out alternate infinite;
    display: flex;
    flex-wrap: nowrap;

    span {
        display: inline;
        padding: 0 1rem;
        width: 4rem;
        text-align: center;
    }
}

#coming-soon {
    color: rgba(245, 245, 255, 0.3);
    font-family: "Red Hat Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    margin-top: 2rem;
}

#dots {
    .dot {
        display: inline-block;
        width: 0.2rem;
        height: 0.2rem;
        border-radius: 50%;
        margin: 0 0.5rem;
        background-color: rgba(245, 245, 255, 0.3);
        opacity: 0;
        animation: blink 1s ease-in-out alternate infinite;
    }

    .dot-1 {
        animation-delay: calc(var(--initial-background-blend) + 0s);
    }

    .dot-2 {
        animation-delay: calc(var(--initial-background-blend) + 0.3s);
    }

    .dot-3 {
        animation-delay: calc(var(--initial-background-blend) + 0.6s);
    }
}

#copyright {
    font-family: "Red Hat Mono", monospace;
    font-style: normal;
    font-weight: 200;
    text-align: center;
    color: rgba(245, 245, 255, 0.2);
    padding: 2rem;
    position: absolute;
    bottom: 0;
    box-sizing: border-box;
    width: 100%;
}

@keyframes blink {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 4px rgba(130, 236, 226, 0.8), 0 0 20px rgba(130, 167, 236, 0.8);
    }
    to {
        text-shadow: 0 0 4px rgba(130, 236, 226, 0.9), 0 0 24px rgba(130, 167, 236, 0.9);
    }
}

@keyframes background-gradient {
    from {
        background-size: 400% 400%;
    }
    to {
        background-size: 100% 100%;
    }
}

@media (max-width: 600px) {
    #logo {
        font-size: 2rem;
        span {
            width: 2rem;
        }
    }
}