* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

body {
  background-image: url("wallpapermario64.png"); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; 
  overflow-x: hidden;

  font-family: 'Georgia', serif;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
}

.titulo {
  width: 100%;
  background-color: #1f1f1f;
  font-family: 'Press Start 2P', cursive;
  color: #c4c4c4;
  padding: 1.5em 0;
  text-align: center;
  font-size: 1em;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.reproductor-manual {
  text-align: center;
  margin-top: 2em;
  margin-bottom: 2em;
  font-family: 'Press Start 2P', cursive;
}

.reproductor-manual button {
  background-color: #222;
  color: #ccc;
  border: 2px solid #555;
  padding: 0.5em 1em;
  font-size: 0.7em;
  cursor: pointer;
}

.reproductor-manual button:hover {
  color: white;
  border-color: white;
}

.contenido {
 background-color: rgba(0, 0, 0, 0.6);
  padding: 2em;
  max-width: 700px;
  border-radius: 10px;
  text-align: center;
  font-size: 1.1em;
  line-height: 1.6;
  margin-top: 2em; 
  margin-bottom: 2em;
}

.contenido p {
  margin-top: 2em;
  margin-bottom: 1.2em;
}

.imagen-intermedia {
  width: 400px;
  max-width: 95%;
  height: auto;
  margin: 2em auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.6);
  filter: grayscale(0%) brightness(0.9);
}

.pie {
  width: 100vw;
  background-color: #1f1f1f;
  text-align: center;
  padding: 1em 0;
  margin-top: 3em;
  font-family: 'Press Start 2P', cursive;
  font-size: 0.8em;
  border-top: 2px solid rgba(255,255,255,0.1);
}

.pie a {
  color: #ccccff;
  text-decoration: none;
  margin: 0 1em;
}

.pie a:hover {
  text-decoration: underline;
  color: #ffffff;
}