/* Estilos para el modal */
.modal {
    display: none; /* Oculta el modal por defecto */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 80px; /* Cambiado a 100px para que no cubra el header */
    width: 100%;
    height: 100%;
    overflow: auto; /* Permite desplazamiento si el contenido es muy largo */
    background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro semi-transparente */
    animation: fadeIn 0.5s; /* Animación de entrada */
}

.modal.fade-out {
    animation: fadeOut 0.5s; /* Animación de salida */
}

/* Contenedor del contenido del modal */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto; /* Centrado vertical y horizontal */
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    max-height: 80vh; /* Limita la altura al 90% del alto de la pantalla */
    border-radius: 10px;
    text-align: center;
    overflow: hidden; /* Permite desplazamiento interno si el contenido es muy largo */
    position: relative;
    animation: fadeIn 0.5s; /* Animación de entrada para el contenido */

    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;

    background-image: url(images/banderaOpacity.png);
    background-position: center;

    font-size: 14px;
}

.comedor{
    width: 400px;
    border-radius: 10px;
}

/* Botón para cerrar el modal */
.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;

}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Animación de entrada (fadeIn) */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Animación de salida (fadeOut) */
@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}


@media (max-width: 1000px) {
    .comedor{
        width: 250px;
    }
}


/* ----------------------------------------------
 * Generated by Animista on 2025-2-3 18:7:18
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation slide-fwd-center
 * ----------------------------------------
 */


 .slide-fwd-center {
	-webkit-animation: slide-fwd-center 0.45s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: slide-fwd-center 0.45s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}


 @-webkit-keyframes slide-fwd-center {
    0% {
      -webkit-transform: translateZ(0);
              transform: translateZ(0);
    }
    100% {
      -webkit-transform: translateZ(160px);
              transform: translateZ(160px);
    }
  }
  @keyframes slide-fwd-center {
    0% {
      -webkit-transform: translateZ(0);
              transform: translateZ(0);
    }
    100% {
      -webkit-transform: translateZ(160px);
              transform: translateZ(160px);
    }
  }
  