/* Estilos generales */
@font-face {
    font-family: 'LeagueSpartan';
    src: url('../Font/LeagueSpartan-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'OpenSans-Bold';
    src: url('../Font/OpenSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'OpenSans-Light';
    src: url('../Font/OpenSans-Light') format('truetype');
    font-weight: bold;
    font-style: normal;
}

.fondo {
    background-image: url('../../assets/images/fondo_legales.webp');
}

/* Espacio debajo del header */
.form-container {
    margin-top: 200px; /* Ajusta la distancia del header */
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    max-width: 700px; /* Ancho máximo del contenedor */
    margin-left: auto;
    margin-right: auto;
}


.form-container2 {
    margin-top: 200px; /* Ajusta la distancia del header */
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    max-width: 900px; /* Ancho máximo del contenedor */
    margin-left: auto;
    margin-right: auto;
}




/* Estilos generales */
.iframe-container {
    width: 100%;
    overflow-x: hidden;
}

.iframe-container iframe {
    width: 100%;
    border: none;
    height: 600px;
}


/* Ajustes para tabletas y pantallas medianas */
@media  (max-width: 786px) {
    .iframe-container iframe {
        height: 800px; /* Ajusta el tamaño para tabletas */
        width: 90%; /* Aumentar el ancho para tabletas */
    }
}

/* Ajustes específicos para móviles */
@media (max-width: 767px) {
    .form-container {
       
        margin-left: 40px;
        margin-right: 40px;
    }
    .form-container2 {
       
        margin-left: 40px;
        margin-right: 40px;
    }
    
    .iframe-container iframe {
         /* Ajusta el tamaño del iframe para móviles */
        width: 100vw; /* Asegura que ocupe todo el ancho de la pantalla en móviles */
        max-width: 100%;
    }
}

/* Estilos de botones y texto en blanco */
.nav a, .menu-trigger span {
    color: white;
}

.nav a:hover, .menu-trigger span:hover {
    color: #ccc; /* Color cuando se hace hover */
}
.text-res {
    margin-bottom: 20px;
    justify-content: center;
    width: 100%;
}

.text-res h1 {
    margin-top: 50px;
    font-family: 'LeagueSpartan';
    text-align: left;

    width: 100%;
}

.text-res h3 {
    font-family: 'OpenSans-Bold';
    text-align: left;
    margin-top: 40px;
    padding-top: 85px;
    width: 100%;
}

.text-res p {
    font-family: 'OpenSans-Light', sans-serif;
    hyphens: auto; /* Permite la inserción automática de guiones largos */
    text-align: justify; /* Justifica el texto para ocupar todo el ancho */
    word-wrap: break-word; /* Rompe las palabras cuando es necesario para ajustarse al ancho */
}

.text-res p strong {
    font-family: 'OpenSans-Bold';
}



.wolf {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.wolf h1{
    font-family: 'LeagueSpartan';
    color: #F4D03F;
    text-align: center;
    width: 100%;
}
/* Responsive adjustments */
@media (max-width: 768px) {

    .wolf h1{
        font-family: 'LeagueSpartan';
        color: #F4D03F;
        text-align: center;
        width: 80%;
        font-size: 1.8rem;
    }
    .text-res h3 {
 
        padding-top: 0px;
        
    }
}