.animation-container {
    --bg-color: #ffffff;
    --text-grey: #b0b0b0;
    --text-black: #000000;
    --font-family: 'Sixtyfour', monospace;
    --row-height: 1.5em;
    /* Adjust as needed */
    --font-size: 4rem;
    /* relatively large font */
}

html.dark .animation-container {
    --text-grey: #828282;
    --text-black: #ffffff;
}

.animation-container {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-family: var(--font-family);
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    width: 100%;
}

.animation-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    user-select: none;
}

.animation-container .row {
    font-size: var(--font-size);
    white-space: pre;
    /* Ensure spaces are preserved and monospace grid holds */
    line-height: var(--row-height);
    text-align: center;
    display: flex;
    gap: 0.1ch;
}

.animation-container .char {
    display: inline-block;
    width: 1ch;
    text-align: center;
    transition: color 0.1s ease;
}

.animation-wrapper > .grey-row .char {
    color: var(--text-grey);
}

.animation-wrapper > .main-row .char {
    color: var(--text-grey);
}

.animation-wrapper > .main-row .char.revealed {
    color: var(--text-black);
}


/* Make sure container handles mobile somewhat gracefully, though design is large */
@media (min-width: 1601px) {
    .animation-container {
        --font-size: 4.5rem;
    }
}
@media (max-width: 1600px) {
    .animation-container {
        --font-size: 4.1rem;
    }
}
@media (max-width: 1400px) {
    .animation-container {
        --font-size: 3.2rem;
    }
}
@media (max-width: 1180px) {
    .animation-container {
        --font-size: 2.4rem;
    }
}
@media (max-width: 960px) {
    .animation-container {
        --font-size: 2.2rem;
    }
}
@media (max-width: 768px) {
    .animation-container {
        --font-size: 2rem;
    }
}
@media (max-width: 480px) {
    .animation-container {
        --font-size: 0.8rem;
    }
}