/* Importa la fuente desde Google Fonts (opcional) */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* Aplica la fuente a todo el cuerpo del documento */
body {
    font-family: 'Roboto', sans-serif;  /* Cambia 'Roboto' por la fuente que prefieras */
    font-size: 16px;  /* Tamaño de fuente base */
    line-height: 1.6;  /* Altura de línea para mejorar la legibilidad */
    color: #333;  /* Color del texto */
}

/* Estilo para los encabezados */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;  /* Asegúrate de que los encabezados usen la misma fuente */
    font-weight: 700;  /* Usar el peso de fuente más grueso */
    color: #222;  /* Un color ligeramente más oscuro para los encabezados */
}


/* Estilo para los enlaces */
a {
    color: #007bff;  /* Color del enlace */
    text-decoration: none;  /* Sin subrayado */
}

a:hover {
    text-decoration: underline;  /* Subrayado al pasar el cursor por encima */
}

/* Estilo para los párrafos */
p {
    margin-bottom: 1em;  /* Espaciado inferior entre párrafos */
}

/* Estilo para los botones */
button {
    font-family: 'Roboto', sans-serif;  /* Asegúrate de que los botones usen la misma fuente */
    background-color: #007bff;  /* Color de fondo del botón */
    color: white;  /* Color del texto del botón */
    border: none;  /* Sin borde */
    padding: 10px 20px;  /* Relleno del botón */
    cursor: pointer;  /* Cambia el cursor al pasar por encima */
}

button:hover {
    background-color: #0056b3;  /* Color de fondo al pasar el cursor por encima */}

    video {
        min-width: 95%;
        min-height: 95%;
        width: auto;
        height: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 4.8; /* Reduce la opacidad del video */
    }
    
    .video-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 50%;
        background-color: rgba(169, 191, 254, 0.5); /* Overlay semi-transparente */
    }

    .video-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr !important;
        grid-template-rows: 1fr 1fr !important;
        width: 100% !important;
        height: 100% !important;
    }

    .video-grid video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .modal {
        display: none; /* Hidden by default */
        position: fixed; /* Stay in place */
        z-index: 1; /* Sit on top */
        left: 0;
        top: 0;
        width: 100%; /* Full width */
        height: 100%; /* Full height */
        overflow: auto; /* Enable scroll if needed */
        background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    }
    
    .modal-content {
        background-color: #fefefe;
        margin: 15% auto; /* 15% from the top and centered */
        padding: 20px;
        border: 1px solid #888;
        width: 80%; /* Could be more or less, depending on screen size */
    }
    
    .cerrar-modal {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
    }
    
    .cerrar-modal:hover,
    .cerrar-modal:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }
    
    .error-messages {
        color: red;
        margin-top: 10px;
    }

    
    