body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
}

.contenido-header 
{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 0 20px;
}

.header
{
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/fondo1.webp);
    background-size: cover;
    background-position: center center;
    padding: 10px;
    text-align: center;
}

.video-container
{
    display: flex;
    position: relative;
    width: 100%;
    height: 100%; 
    overflow: hidden;
    object-fit: cover;
}

.video-container video 
{
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-fit: cover; /* El video se ajusta al contenedor sin distorsión */
    border: none; /* Eliminar bordes */
    margin: 0;
}

.video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Ajusta la opacidad para más o menos oscuridad */
    pointer-events: none; /* Evita que el pseudo-elemento interfiera con la interacción */
}


.mobile-menu
{
    table
    {
        display: none;
    } 
    img
    {
        width: 50px;
    }
}

.texto-slogan h1 
{
    font-size: 24px;
    color: lightgray;
    line-height: 1.5;
    max-width: 80%;
    text-align: left;
    padding: 0 10%;
    margin-top: 20px auto;
}

.tabla-servicios
{
    width: 100%;
    line-height: 1.7;
    border-collapse: collapse;
    margin-top: 20px;
    text-align: justify;
    font-size: 20px;
    color: black;
    display: block;
    margin-bottom: 20px;
}

.tabla-servicios td
{
    padding: 20px;
    vertical-align: 20px;
}

.tabla-servicios td:first-child
{
    font-weight: 20px;
    width: 33%;
}

.tabla-servicios td:nth-child(2)
{
    width: 33%;
}

.tabla-servicios td:nth-child(3)
{
    width: 33%;
}

.barra 
{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px;
    z-index: 1;
}

.navegacion 
{
    display: flex;
}

.navegacion a 
{
    color: #FFFFFF;
    text-decoration: none;
    font-size: 19px;
    padding: 10px 15px;
    background: none;
    border-radius: 5px;
    transition: background 0.5s;
}

.contenedor-secciona
{
    background-color: rgb(171, 190, 196);
}

.contenedor-seccion
{
    background-color: rgb(171, 190, 196);
    padding: 10px;
}

.contenedor-cont
{
    background-color: rgb(171, 190, 196);
}

.texto-nosotros
{
    margin-top: 40px;
    text-align: justify;
    line-height: 1.7;
}

.texto-nosotros p
{
    font-size: 18px;
    margin-bottom: 20px;
}

.texto-nosotros strong
{
    font-size: 20px;
    color: black;
    display: block;
    margin-bottom: 20px;
}

.navegacion a:hover 
{
    background: #8c52ff;
}

.seccion 
{
    margin: 50px 20px;
    text-align: center;
    text-align: left;
}

.contacto-contenedor 
{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.formulario-contacto 
{
    flex: 1;
    min-width: 300px;
    padding: 20px;
    background: rgb(171, 190, 196);
    border-radius: 10px;
    margin-right: auto;
}

.formulario-contacto label 
{
    display: block;
    margin: 10px 1px 5px;
    font-weight: bold;
}

.formulario-contacto input,
.formulario-contacto textarea 
{
    width: calc(100% - 20px); 
    padding: 10px;
    margin-bottom: 10px;
    border: rgb(171, 190, 196);
}

.formulario-contacto button 
{
    background: #8c52ff;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.formulario-contacto button:hover 
{
    background: #6038ae;
}

.info-contacto 
{
    flex: 1;
    min-width: 300px;
    padding: 20px;
    border-radius: 10px;
}

.info-contacto h3 
{
    margin-top: 10px;
}

.redes-sociales 
{
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.redes-sociales a 
{
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000;
    font-weight: bold;
}

.redes-sociales img 
{
    width: 30px;
    height: 30px;
}

.footer 
{
    font-size: 15px;
    background: #222;
    color: #fff;
    text-align: center;
    padding: 30px;
    position: relative;
    box-sizing: border-box;
    width: 100%; 
    margin: 0;
}

.redes-sociales
{
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.redes-sociales a
{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
}

.redes-socialesb
{
    display: flex;
    justify-content: center;
    gap: 150px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.redes-socialesb a
{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
}

.redes-socialesb img
{
    width: 150px;
    height: 150px;
    margin-right: 7px;
}

.redes-socialesb img:hover {
    transform: scale(1.2); /* Efecto de agrandar al pasar el mouse */
}

.redes-sociales span {
    margin-top: 5px;
    font-size: 14px; /* Tamaño del texto debajo del icono */
    color: #333;
}

.redes-sociales img
{
    width: 50px;
    height: 50px;
    margin-right: 7px;
}

.redes-sociales a:hover
{
    opacity: 0.7;
}

@media (max-width: 768px) 
{
    .barra {
        flex-direction: column;
        align-items: center;
    }

    .navegacion 
    {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .navegacion a 
    {
        display: block;
        width: 80%;
        text-align: center;
        margin: 5px 0;
    }

    .texto-slogan h1 
    {
        font-size: 20px;
        max-width: 90%;
        padding: 0 5%;
        margin: 10px auto;
    }

    .contacto-contenedor 
    {
        flex-direction: column;
    }
}