.caja{
	
	width: 100%;
    max-width: 2000px;
	background-color: yellow;
    margin: 50px auto 0;
    /*overflow: hidden;*/
	text-align: center;
	position: relative;
}

.button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
  }

  .info-button {
    position: relative;
    width: 540px;
    height: 540px;
    text-decoration: none;
    color: white;
    border-radius: 10px;
    overflow: hidden;
    font-family: Arial, sans-serif;
  }

  .info-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
  }

  .info-button:hover img {
    transform: scale(1.05);
  }

  .info-button .overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5); /* semi-transparente */
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 16px;
  }


/* ====== Contenedor del menú desplegable ====== */
.opciones-menu {
  position: absolute;             /* Se superpone debajo */
  top: 100%;
  left: 0;
  background: #222;               /* Fondo oscuro */
  min-width: 260px;               /* Ancho mínimo */
  border-radius: 8px;             /* Bordes redondeados */
  padding: 8px 0;
  margin: 0;
  list-style: none;
  display: none;                  /* Oculto por defecto */
  box-shadow: 0 6px 18px rgba(0,0,0,0.25); /* Sombra elegante */
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

/* ====== Elementos del menú ====== */
.opciones-item {
  display: block;
  padding: 12px 18px;
  color: #eee;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.opciones-item:hover {
  background: #333;               /* Fondo al pasar */
  color: #ff9800;                 /* Texto destacado */
  padding-left: 24px;             /* Pequeño efecto de movimiento */
}

/* ====== Divisor ====== */
.opciones-divider {
  border-color: rgba(255,255,255,0.15);
  margin: 6px 0;
}

/* ====== Mostrar el menú al pasar el mouse ====== */
.nav-item:hover .opciones-menu {
  display: block;
}

/* ====== Animación suave ====== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
