body{
    margin: 0px;
    padding: 0px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    height: 100vh;
}

#container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
}
/* Aseguramos que el video cubra toda la pantalla */
#fondo-video {
    position: fixed;  /* El video se quedará fijo en el fondo */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;  /* Hace que el video cubra toda el área sin deformarse */
    z-index: -1;  /* Asegura que el video quede detrás del contenido */
}

#tituloPagina{
    color: white;
    font-size: 60px;
    margin-top: -50px;
    margin-bottom:0px ;
}

#textoinicio{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 50vh;
}

#corazonllamas{
    font-size: 50px;
}

#oracioncorta{
    color: white;
}

a{
    text-decoration: none;
    color: white;
}

#divNav{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100vh;
    color: white;
}
.nav{
    color: white;
    font-size: 30px;
    margin-bottom: 60px;
    height: 60px;
    background-color: #2020208a;
    width: 300px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding-left: 20px;
    opacity: 0; /* Inicialmente invisibles */
    transform: scale(0.5); /* Inicialmente pequeños */
    transition: all 0.6s ease-out; /* Animación suave */
}

.nav:hover{
    background-color: #5350508a;
    cursor: pointer;
}
.en-vista{
    opacity: 1;
    transform: scale(1);
}

/* Estilos del Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-contenido {
    background-color: #1a1a1a;
    margin: 10% auto;
    padding: 40px;
    border: 2px solid #454749;
    border-radius: 15px;
    width: 80%;
    max-width: 600px;
    color: white;
    animation: slideDown 0.3s ease-out;
    box-shadow: 0 0 30px rgba(143, 148, 148, 0.5);
    /* Make modal content scrollable when it's too tall */
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cerrar {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.cerrar:hover,
.cerrar:focus {
    color: white;
}

/* Asegurar que únicamente el modal de "Mensaje" sea desplazable */
#modalMensaje .modal-contenido {
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}