body {
  font-family: Arial, sans-serif;
  text-align: center;
  color: white;
  background: black;
  margin: 0;
  padding-top: 0px;
}
header {
  display: flex;
  flex-wrap: wrap;   /* permite que baje si no cabe */
  height: auto;      /* en vez de fijo */
  background-color: white;
  color: black;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}
.blacksoft {
  display: flex;
  align-items: center;
} 
.centrado {
  text-align: center;
}

.nombre {
  display: none;
}
.link img {
  width: 50px;
  height: auto;
}

.links {
  color: black;
  text-decoration: none;
  margin: 0 10px;
}
#personaje {
  width: 200px;
  margin: 20px auto;
  display: block;
}
.opciones button {
  margin: 10px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 8px;
  border: none;
  background: #4CAF50;
  color: white;
  transition: 0.3s;
}
.opciones button:hover {
  background: #45a049;
}
#resultado {
  font-size: 20px;
  margin-top: 20px;
  font-weight: bold;
}
#final {
  margin-top: 20px;
}
#final img {
  max-width: 250px;
}
footer {
  text-align: center;
  padding: 10px 0;
  background-color: white;
  color: black;
  margin-top: 20px;
}
@media (max-width: 768px) {
body {
  background-color: black;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding-top: 0px; /* deja espacio para el nav fijo */
}
body {
  background-color: black;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding-top: 0px; /* deja espacio para el nav fijo */
}

header {
  display: flex;
  flex-wrap: wrap;  
  height: auto;      
  background-color: white;
  color: black;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.blacksoft {
  display: flex;
  align-items: center;
} 
.centrado {
  text-align: center;
}

.nombre {
  display: none;
}

.link img {
  width: 50px;
  height: auto;
}

.links {
  color: black;
  text-decoration: none;
  margin: 0 10px;
}

.miembros {
  margin: 15px;
  border: 2px solid gray;
  border-radius: 10px;
  display: inline-block;
  max-width: 100%;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #ffffff;
  color: #1b1b1b;
  text-align: center;
  padding: 10px 0;
  font-size: 18px;
  z-index: 1000;
}

.container {
  margin: 20px auto;
  max-width: 800px;
  padding: 20px;
  background-color: #383838;
  border: 2px solid #383838;
  border-radius: 8px;
  min-height: 400px; 
  position: relative;
}
.corner {
  position: absolute;
  font-size: 14px;
  color: #383838;
}

footer {
  text-align: center;
  padding: 10px 0;
  background-color: white;
  color: black;
  margin-top: 20px;
}
}