body {
    background-color: black;
    color: white;
    font-family: 'Courier New', monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.terminal {
    background-color: rgba(0, 0, 0, 0.85);
    border: 2px solid white;
    padding: 40px 60px;
    border-radius: 10px;
    animation: breathe 6s ease-in-out infinite;
    max-width: 800px;
}

@keyframes breathe {
    0%, 100% {
        box-shadow: 0 0 5px white;
    }
    50% {
        box-shadow: 0 0 12px white;
    }
}

.typing {
  display: inline-block; /* important so width matches text */
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid white;
  animation: typing 2s steps(8, end), blink .7s infinite step-end alternate;
}

@keyframes typing {
    from { width: 0 }
    to { width: 8ch; } /* stops exactly after 8 characters */
}

@keyframes blink {
    50% { border-color: transparent }
}

h1 {
    margin: 0 0 20px 0;
}

p {
    line-height: 1.5em;
    margin-bottom: 1em;
}

a {
    color: white;
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}

a:hover {
    color: #ccc;
    text-shadow: 0 0 5px #ccc;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
}
.menu {
    margin-top: 20px;
    list-style-type: none;
    padding-left: 0;
}

.menu li {
    margin: 8px 0;
}

.menu li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}

.menu li a:hover {
    color: #ccc;
    text-shadow: 0 0 5px #ccc;
}