body {
  font-family: 'Press Start 2P', cursive;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.contenedor {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}

h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#canvas {
  background-color: #000;
  border: 4px solid #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

.instrucciones {
  padding: 15px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  width: 300px;
  color: #ffffff;
  font-size: 0.9rem;
}

.boton {
  margin-top: 20px;
  padding: 10px 20px;
  background: #ff6f61;
  border: none;
  border-radius: 5px;
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.boton:hover {
  background: #ff8a70;
}

.hidden {
  display: none;
}

@media (max-width: 768px) {
  body {
      flex-direction: column;
      justify-content: flex-start;
      padding: 20px;
      height: auto;
  }

  .contenedor {
      flex-direction: column;
      gap: 10px;
  }

  #canvas {
      width: 100%;
      height: auto;
  }

  .instrucciones {
      width: 100%;
      font-size: 0.8rem;
  }

  .boton {
      width: 100%;
      font-size: 0.9rem;
  }
}
