body {
    font-family: "DM Sans", Sans-Serif;
    background: #ffffff;
    overflow-x: hidden;
}

p {
    margin: 0;
    text-align: left;
}

.background-hash {
    font-family: "Roboto Mono", monospace;
    opacity: 0;
    position: absolute;
    color: rgba(180, 180, 180, 0.4);
    font-weight: 300;
    user-select: none;
}

#header {
    display: flex;
    top: 0;
    right: 0;
    gap: 8px;
    padding: 24px;
    align-items: center;
    justify-content: space-between;
}

#header img {
    height: 22.5px;
}

#header span {
    font-family: "Roboto Mono", monospace;
    font-size: 12px;
    color: rgb(151, 151, 151);
}

#main-text {
    width: fit-content;
    margin: 60px auto 20px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#main {
    width: fit-content;
    font-size: 2.5rem;
    color: #000000;
}

#number {
    display: flex;
    align-items: center;
    width: fit-content;
    font-size: 5rem;
    color: #000000;
    font-weight: 200;
    gap: 24px;
}

#sub {
    display: flex;
    font-size: 1.15rem;
    color: rgb(143, 143, 143);
    width: fit-content;
}

.dot-container {
    display: flex;
    transform: translateY(-5px);
    width: fit-content;
    margin-left: 10px;
}

.dot {
    opacity: 0;
    animation: dotsBlink 1.5s infinite;
    font-weight: 500;
    font-size: 1.4em;
    margin-right: 4px;
}

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

.dot:nth-child(2) {
    animation-delay: 0.3s;
}

.dot:nth-child(3) {
    animation-delay: 0.6s;
}

#error-text {
    max-width: 100%;
    white-space: pre-wrap;
    color: #000000;
}

@keyframes dotsBlink {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background: #1b1b1b;
    }

    #main, #number {
        color: #ffffff;
    }

    #sub {
        color: rgb(180, 180, 180);
    }

    #header span {
        color: rgb(200, 200, 200);
    }
    
    #header img {
        filter: invert(1);
    }

    #error-text {
        color: #fafafa;
    }

    .background-hash {
        color: rgba(255, 255, 255, 0.15);
    }
}