body {
    background-color: #FEEED5;
    color: #000000;
    font-family: 'Times New Roman', Times, serif;
    margin: 0;
    padding: 20px;
    text-align: center;
    /* Crucial for that 90s look */
}

h1 {
    font-size: 3em;
    margin-bottom: 10px;
    font-weight: bold;
    /* Attempting a 90s gradient text effect using CSS */
    background: linear-gradient(to right, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8f00ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 0px #000000;
    /* Fallback/Addition for that "WordArt" feel */
    display: inline-block;
}

h2 {
    color: #FF0000;
    /* Bright Red */
    border-bottom: none;
    text-decoration: underline;
}

a {
    color: #0000FF;
    text-decoration: underline;
}

a:hover {
    color: #FF00FF;
    /* Magenta on hover */
}

/* The "Purple Button" from the reference */
.button {
    display: inline-block;
    background-color: #8A2BE2;
    /* BlueViolet */
    background-image: linear-gradient(#9932CC, #4B0082);
    /* Gradient to give it that "plastic" button look */
    color: #FF0000 !important;
    /* Red text on purple button, very 90s clash */
    font-weight: bold;
    font-family: Arial, sans-serif;
    padding: 10px 40px;
    margin: 10px auto;
    border-radius: 15px;
    border: 3px outset #9932CC;
    text-decoration: none;
    text-shadow: 1px 1px 0 #000;
    width: 200px;
}

.button:active {
    border-style: inset;
}

.nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
}

.warning {
    color: #FF0000;
    font-weight: bold;
    font-size: 1.2em;
    margin: 20px 0;
}

.footer {
    font-size: 0.8em;
    margin-top: 50px;
    font-family: monospace;
}

pre {
    background-color: #f0f0f0;
    border: 2px inset #999;
    padding: 10px;
    text-align: left;
    display: inline-block;
    /* Wraps tightly around content */
    margin: 0 auto;
}



h1 {
    font-size: 3em;
    margin-bottom: 10px;
    font-weight: bold;
    /* Attempting a 90s gradient text effect using CSS */
    background: linear-gradient(to right, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8f00ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 0px #000000;
    /* Fallback/Addition for that "WordArt" feel */
    display: inline-block;
}

h2 {
    color: #FF0000;
    /* Bright Red */
    border-bottom: none;
    text-decoration: underline;
}

a {
    color: #0000FF;
    text-decoration: underline;
}

a:hover {
    color: #FF00FF;
    /* Magenta on hover */
}

/* The "Purple Button" from the reference */
.button {
    display: inline-block;
    background-color: #8A2BE2;
    /* BlueViolet */
    background-image: linear-gradient(#9932CC, #4B0082);
    /* Gradient to give it that "plastic" button look */
    color: #FF0000 !important;
    /* Red text on purple button, very 90s clash */
    font-weight: bold;
    font-family: Arial, sans-serif;
    padding: 10px 40px;
    margin: 10px auto;
    border-radius: 15px;
    border: 3px outset #9932CC;
    text-decoration: none;
    text-shadow: 1px 1px 0 #000;
    width: 200px;
}

.button:active {
    border-style: inset;
}

.nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
}

.warning {
    color: #FF0000;
    font-weight: bold;
    font-size: 1.2em;
    margin: 20px 0;
}

.footer {
    font-size: 0.8em;
    margin-top: 50px;
    font-family: monospace;
}

pre {
    background-color: #f0f0f0;
    border: 2px inset #999;
    padding: 10px;
    text-align: left;
    display: inline-block;
    /* Wraps tightly around content */
    margin: 0 auto;
}

code {
    background-color: #f0f0f0;
    font-family: 'Courier New', Courier, monospace;
}

.key {
    background-color: transparent;
    border: none;
    font-family: inherit;
    padding: 0;
    font-weight: normal;
    color: inherit;
}

/* Tutorial Game Styles */
#game-container {
    background-color: #f8f8f8;
    color: #000000;
    font-family: 'Courier New', monospace;
    padding: 20px;
    border: 4px ridge #8A2BE2;
    width: 600px;
    margin: 20px auto;
    text-align: left;
    position: relative;
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.2);
}

#game-screen {
    white-space: pre;
    min-height: 100px;
    font-size: 1.2em;
    line-height: 1.2em;
}

.cursor {
    background-color: #000000;
    color: #ffffff;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.level-info {
    border-bottom: 2px solid #8A2BE2;
    margin-bottom: 15px;
    padding-bottom: 10px;
    font-weight: bold;
    color: #4B0082;
}