* {
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
  font-family: 'Courier New', Courier, monospace;
  background: black;
  overflow: hidden;
}

canvas#matrix  {

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.contenido {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px;
  text-align: center;
}

.logo {
  max-width: 220px;
  margin-bottom: 40px;
  border-radius: 16px;
  box-shadow: 0 0 20px #0F0;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.menu a {
  background: transparent;
  border: 2px solid #0F0;
  padding: 12px 24px;
  border-radius: 8px;
  color: #0F0;
  text-decoration: none;
  font-size: 1.1em;
  transition: all 0.3s ease;
}

.menu a:hover {
  background-color: #0F0;
  color: black;
}

/* Responsive: apilar enlaces en pantallas pequeñas */
@media (max-width: 600px) {
  .menu {
    flex-direction: column;
    align-items: center;
  }

  .menu a {
    width: 80%;
    text-align: center;
  }
}
