/* estilos.css */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #111;
  color: #fff;
  text-align: center;
}

h1 {
  margin-top: 20px;
  font-size: 2.5rem;
  color: #f4f4f4;
}
#contenedor-opciones {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
/*especificaciones de los cuadros*/
.opcion {
  width: 150px;
  height: 250px;
  overflow: hidden;
  border-radius: 15px;
  border: 3px solid #fff;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  
}

.opcion:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px #fff;
}

.opcion img{
  width: 0;
  height: 100%;
  object-fit: cover;
}
/*ni perra idea*/
.resultado {
  font-size: 2rem;
  margin-top: 40px;
  color: #f0f0f0;
  animation: escribir 2s steps(15) 1 normal both;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid white;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

@keyframes escribir {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.memes-fondo img {
  position: absolute;
  z-index: -1;
  opacity: 0.9;
}
#imagen-hetero{
  width: 300px;
  margin: auto;
  margin-top: 60px;
  
  border-radius: 10px;
  
}

#botones {
  margin-top: 80px;
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 10;
}

#botones button {
  background-color: rgb(10, 71, 38);
  color: white;
  padding: 10px 20px;
  
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
  border-color: #111;
}

#botones button:hover {
  background-color: #30dd64;
}

/* Confeti */
.confeti {
  width: 10px;
  height: 10px;
  position: absolute;
  top: 0;
  animation: caer 2s ease-out forwards;
}

@keyframes caer {
  to {
    top: 100vh;
    opacity: 0;
  }
}


/* Responsive para móviles */
@media screen and (max-width: 600px) {
  .opcion {
    width: 90%;
    height: 180px;
  }

  h1 {
    font-size: 1.5rem;
  }

  #botones {
    flex-direction: column;
    gap: 10px;
  }
}
.opcion {
  width: 180px !important;
  height: 300px !important;
}
.opcion img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}