body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #ffffff;
}


.background {
  position: fixed;
  width: 100%;
  height: 100vh;
  z-index: -1;
  top: 0;
  left: 0;
  overflow: hidden;
}
.fondo {
  width: auto;
  height: 115%; /* o cualquier porcentaje o píxeles más pequeño */
  object-fit: contain;
  display: block;
  margin: 0 auto; /* centrado horizontal */
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.icon {
  position: absolute;
  width: 60px; /* Puedes cambiar el tamaño si lo ves muy pequeño o grande */
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.icon:hover {
  transform: scale(1.2);
}

header {
  position: relative;
}

.marquesina {
  background-color: #ffffff;
  color: #1aff00;
  height: 30px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  font-family: 'Press Start 2P', monospace;
}

.marquesina p {
  white-space: nowrap;
  padding-left: 100%;
  animation: mover 20s linear infinite;
  font-size: 14px;
}

@keyframes mover {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}


nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  padding: 0 20px;
  background-color: #1aff00;
  position: relative;
}

.logo {
  font-family: 'Press Start 2P', monospace;
  font-size: 14px;
  display: flex;
  align-items: center;
}

/* Agrupa la lupa y el menú horizontalmente */
.derecha-nav {
  display: flex;
  align-items: center;
  gap: 15px; /* separación entre la lupa y las 3 rayas */
}

/* Menú hamburguesa */
.menu-hamburguesa {
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

/* Bloque de búsqueda */
.busqueda {
  display: flex;
  align-items: center;
  position: relative;
}

.icono-busqueda {
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.input-busqueda {
  display: none;
  position: absolute;
  top: 40px;
  right: 0;
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: white;
  z-index: 999;
}

.input-busqueda.activa {
  display: block;
}

/* Menú desplegable */
.menu-desplegable {
  display: none;
  position: absolute;
  top: 100px; /* justo debajo del nav */
  right: 20px;
  background-color: white;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  z-index: 999;
}

.menu-desplegable li {
  margin: 10px 0;
}

.menu-desplegable li a {
  text-decoration: none;
  color: black;
  font-family: "Press Start 2P", system-ui;
  font-size: 12px;
}

.container {
  position: fixed;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 10px;
  color: #1aff00;
  font-size: 10px;
  font-family: 'Press Start 2P', monospace;
  z-index: 10; /* Para asegurarte que esté por encima del fondo */
}










.portada-doble {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;            /* en móvil se apilan */
}

/* Tarjetas con overlay */
.imagen-container {
  position: relative;
  width: clamp(220px, 40vw, 420px);
  aspect-ratio: 3/4;     /* quita si no quieres cuadrado */
  overflow: hidden;
  cursor: pointer;
    border-radius: 20px;  /* 🔹 bordes redondeados */
}

.imagen-container img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
    border-radius: 20px;  /* 🔹 bordes redondeados */
}

.img-hover {
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 1;
}

.imagen-container:hover .img-hover { opacity: 1; }
.imagen-container:hover .img-original { opacity: .25; transition: opacity .4s ease; }


footer {
  margin-top: auto; /* empuja el footer al fondo */
  background-color: #ffffff;
  color: #1aff00;
  padding-top: 30px;
  padding-bottom: 10px;
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  text-align: left;
}