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

.texto{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 35%; /* Ocupa todo el espacio de la imagen */
	background-color: rgba(255,255,255,0.5); /* Fondo semi-transparente */
	color: black;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.texto h5{
	font-size: 35px;
	padding-top: 10px;
}

.texto a{
	font-size: 25px;
	color: black;
}


/* ====== 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);
  }
}


