/* Terminal style base */
body {
    margin: 0;
    background-color: #000000;
    color: #00ff00;
    font-family: 'Fira Code', 'JetBrains Mono', monospace;
    font-size: 16px;
    line-height: 1.4;
    height: 100vh;
    display: flex;
    overflow: hidden;
}

.terminal {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* Navigation */
.nav {
    background-color: #001100;
    width: 220px;
    padding: 1rem;
    border-right: 2px solid #00ff00;
    box-sizing: border-box;
}

.nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav ul li {
    margin-bottom: 1rem;
}

.nav ul li a {
    color: #00ff00;
    text-decoration: none;
    font-weight: bold;
    display: block;
    padding: 0.5rem 1rem;
    border-left: 4px solid transparent;
    transition: background-color 0.3s, border-color 0.3s;
}

.nav ul li a:hover,
.nav ul li a.active {
    background-color: #003300;
    border-left: 4px solid #00ff00;
}

/* Content */
.content {
    flex-grow: 1;
    padding: 2rem;
    overflow-y: auto;
    white-space: pre-wrap;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.content.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Headings */
h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.tagline {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #00cc00;
}

/* Links */
a {
    color: #00ff00;
    text-decoration: underline;
}

a:hover {
    color: #66ff66;
}

/* Scrollbar */
.content::-webkit-scrollbar {
    width: 8px;
}

.content::-webkit-scrollbar-track {
    background: #001100;
}

.content::-webkit-scrollbar-thumb {
    background-color: #00ff00;
    border-radius: 4px;
}

/* Blinking cursor effect */
@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.blinking-cursor::after {
    content: '|';
    animation: blink 1s step-start infinite;
    margin-left: 2px;
    color: #00ff00;
}

/* Button */
.btn {
    background: transparent;
    border: 2px solid #00ff00;
    color: #00ff00;
    padding: 0.5rem 1.5rem;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow:
        0 0 5px #00ff00,
        0 0 10px #00ff00;
}

.btn:hover {
    background-color: #00ff00;
    color: #000000;
    box-shadow:
        0 0 10px #00ff00,
        0 0 20px #00ff00,
        0 0 30px #00ff00;
}

/* Challenge container */
.challenge-container {
    margin-top: 1rem;
    font-size: 1rem;
    color: #00ff00;
    background: rgba(0, 255, 0, 0.1);
    padding: 1rem;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
}

.hidden {
    display: none;
}

/* Tips box */
.tips-box {
    font-size: 1.25rem;
    font-style: italic;
    color: #00ff00;
    text-shadow:
        0 0 5px #00ff00,
        0 0 10px #00ff00;
    min-height: 3rem;
    display: flex;
    align-items: center;
}

.tip-instruction {
    font-size: 0.9rem;
    font-style: normal;
    color: #009900;
    margin-top: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
}
