/* Estilo para el video de portada */
.video-portada {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Capa oscura encima del video */
.video-portada::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 37, 97, 0.8);
    /* Negro con opacidad del 50% */
    z-index: 0;
    /* Asegura que la capa oscura esté debajo del texto */
}

/* Estilo para la imagen con resplandor */
.hero-text img {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.9));
    /* Resplandor blanco respetando la forma */
}

.video-portada video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    /* Coloca el video detrás del contenido */
}

/* Contenedor de texto centrado sobre el video de portada */
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 1;
    padding: 20px;
    width: 100%;
}

.hero-text h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    /* Sombra al texto */
}

.hero-text p {
    font-size: 1.25rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    /* Sombra ligera para el subtítulo */
}

/* Estilo para las secciones de contenido */
.section-content {
    padding: 60px 0;
}


/* Componente de perfil de empleado */
.employee-profile {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: white;
    max-width: 800px;
    margin: 20px auto;
}

.photo-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    min-width: 50%;
}

.employee-photo {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.info-container {
    flex: 2;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.info-container h2 {
    margin-bottom: 10px;
    font-size: 24px;
}

.info-container p {
    font-size: 16px;
    margin: 5px 0;
}

.info-container p strong {
    font-weight: bold;
}

.legal-info {
    font-size: 12px !important;
}

.img-check {
    width: 40px;
}

.response-message {
    padding: 20px 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.response-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #9e9e9e;
}

.query-date {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #9e9e9e;
}

.txt-center {
    text-align: center;
}

.items-center {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/********************************************/

@media (max-width: 768px) {

    /*********** Cositas del employee  ************/
    .response-message {
        display: block;
        text-align: center;
        padding: 0;
    }

    .response-message p {
        margin-top: 10px;
    }

    .info-container {
        text-align: center;
    }

    .employee-profile {
        flex-direction: column;
        align-items: center;
    }

    .photo-container {
        margin-bottom: 20px;
    }

    /********************************************** */
}