:root {
    --background-dark-mode: #191a1c;
    --text-dark-mode: #f2f2f2;
}

* {
    margin: 0;
    padding: 0;
    font-family: "VT323", monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 28px; /* Large by default */
    scroll-behavior: smooth;
    box-sizing: border-box;
}

html, body {
    height: 100vh;           /* Make sure the body fills the viewport */
    background-color: var(--background-dark-mode);
    color: var(--text-dark-mode);
}

body {
    min-width: 100vw;
    min-height: 100vh;
    padding-top: env(safe-area-inset-top); /* ensures content isn’t hidden under status bar */
}

#console {
    padding: 128px 32px;
    text-align: center;
    min-height: 100vh;
}

.link {
    color: var(--text-dark-mode);
    text-decoration: none;
    font-size: 32px;
}

.link:hover {
    color: #8b8b8b;
}

.notice {
    text-align: center;
    font-size: 36px;
}

.text-blink {
    animation: blinker 3.5s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0.25;
    }
}

/* 📱 Mobile styles */
@media (max-width: 768px) {
    * {
        font-size: 36px; /* Bigger text on tablets and phones */
    }

    .link {
        font-size: 24px;
    }

    .notice {
        font-size: 44px;
    }

    #console {
        padding: 64px 16px;
    }
}

@media (max-width: 480px) {
    * {
        font-size: 42px; /* Very large text for small phones */
    }

    .link {
        font-size: 24px;
    }

    .notice {
        font-size: 52px;
    }

    #console {
        padding: 48px 12px;
    }
}

/* Optional: button styles */
button {
    background-color: var(--background-dark-mode);
    color: var(--text-dark-mode);
    outline: none;
    padding: 12px 24px;
    border: var(--text-dark-mode) 2px solid;
    font-size: 32px;
}

button:hover {
    cursor: pointer;
    color: #8b8b8b;
}

.center {
    display: flex;              /* Enable flexbox */
    justify-content: center;    /* Horizontal centering */
    align-items: center;        /* Vertical centering */
    flex-direction: column;     /* Optional: stack items vertically */
    height: 100%;               /* Ensure it fills parent height */
}

p {
    text-align: justify;
}