html, body {
    background-color: #000000;
    color: #00ff00;
    font-family: 'Courier New', Courier, 'VT323', monospace;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.terminal {
    font-size: 2.5rem;
    text-align: center;
    line-height: 1.4;
    font-weight: bold;
}

.typing {
    overflow: hidden;
    border-right: 2px solid #00ff00;
    white-space: nowrap;
    animation: typing 2s steps(24) forwards, blink 0.7s step-end infinite;
    display: inline-block;
}

.intro {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro > .terminal {
    animation: move-up 0.6s ease 2.2s forwards;
}

.nav-menu {
    display: flex;
    justify-content: center;
    flex-direction: row;
    margin-top: 1.5rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    animation: nav-appear 0.6s ease 2.3s forwards;
}

.nav-link {
    color: #00ff00;
    font-size: 2.5rem;
    font-weight: bold;
    text-decoration: none;
    text-transform: lowercase;
    padding: 0.25rem 1rem;
    margin: 0 0.75rem;
    border-bottom: 4px solid #00ff00;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-link:hover,
.nav-link.active {
    background-color: #00ff00;
    color: #000;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: #00ff00; }
}

@keyframes move-up {
    from { transform: translateY(0); }
    to { transform: translateY(-34px); }
}

@keyframes nav-appear {
    from {
        max-height: 0;
        opacity: 0;
        transform: translateY(-14px);
    }
    to {
        max-height: 8rem;
        opacity: 1;
        transform: translateY(0);
    }
}

.page-heading {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.page-content {
    margin-bottom: 1.5rem;
}

.page-link {
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
    border-bottom: 2px solid #00ff00;
}

.page-link:hover {
    background-color: #00ff00;
    color: #000;
}

a, .btn-link {
    color: #00ff00;
}

.btn-primary {
    color: #000;
    background-color: #00ff00;
    border-color: #00ff00;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem #00ff00, 0 0 0 0.25rem #00ff00;
}

.blazor-error-boundary {
    background: #000;
    color: #00ff00;
    border: 1px solid #00ff00;
    padding: 1rem;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #00ff00;
}

#blazor-error-ui {
    background: #000;
    color: #00ff00;
    border: 1px solid #00ff00;
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    box-sizing: border-box;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        color: #00ff00;
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

    #blazor-error-ui .reload {
        color: #00ff00;
    }

.terminal-container {
    width: 100%;
    max-width: 60ch;
    margin-top: 1.5rem;
    opacity: 0;
    animation: terminal-fade-in 0.6s ease 3s forwards;
}

.terminal-scroll {
    max-height: 240px;
    overflow-y: auto;
    margin-bottom: 0.25rem;
    scrollbar-color: #00ff00 #000;
    scrollbar-width: thin;
}

.terminal-line {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.6;
    gap: 1ch;
}

.prompt {
    color: #00ff00;
    user-select: none;
    flex-shrink: 0;
}

.terminal-input {
    flex: 1;
    min-width: 0;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    color: #00ff00 !important;
    font-family: 'Courier New', Courier, 'VT323', monospace !important;
    font-size: 2.5rem !important;
    font-weight: bold !important;
    caret-color: #00ff00 !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.terminal-output-line {
    margin-left: 2ch;
    opacity: 0.85;
    font-size: 1.5rem;
}

.terminal-output {
    color: #00ff00;
}

@keyframes terminal-fade-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}