:root {
    --mplus-rounded: 'M PLUS Rounded 1c', sans-serif;
    --nunito-sans: 'Nunito Sans', sans-serif;
    --prompt: 'Prompt', sans-serif;
    --roboto: 'Roboto', sans-serif;
    --rubik-glitch: 'Rubik Glitch', sans-serif;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

body {
    min-height: 100vh;
    box-sizing: border-box;
}

.header__completo {
    width: 100%;
    margin-bottom: -10%;
}


.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background-color: #2F3339;
    padding: 1% 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
}

.header .logo {
    display: flex;
    align-items: center;
    margin-top: 1%;
}

.logo {
    font-size: 1.5em;
    text-transform: uppercase;
    color: #ffff;
    font-weight: 700;
}

.navegation ul {
    list-style: none;
    margin: 0;
    padding: 20px;
    scrollbar-width: thin;
    /* Opciones: auto, thin */
    scrollbar-color: #888 #f1f1f1;
    /* thumb color y track color */
}

.navegation .btn-empleados{
    background-color: #2A8D2A;
    padding: 5px;
    border-radius: 5px;
    color: #ffff;
    text-decoration: none;
}


.header .navegation ul li {
    float: left;
    position: relative;
}

.header .navegation ul li a {
    font-size: 1.125em;
    color: #ffff;
    text-decoration: none;
    display: block;
    padding-right: 2.45em;
    transition: all .2s ease;
}

nav a:hover::after {
    content: '';
    position: absolute;
    bottom: -3px;
    /* Ajusta el tamaño de la línea según sea necesario */
    left: 0;
    width: 70%;
    height: 2px;
    /* Ajusta el grosor de la línea según sea necesario */
    background-color: #206C20;
}

.header .navegation ul li ul {
    position: absolute;
    right: 0;
    width: 300px;
    background-color: #2F3339;
    display: none;
    overflow-y: auto;
    /* Agregado para permitir el desplazamiento vertical */
    max-height: 300px;
    /* Ajusta según sea necesario */
    z-index: 9999;
}

.header .navegation ul li ul li a {
    font-size: 15px;
    text-transform: capitalize;
    padding: 15px;
    display: block;
}

.header .navegation ul li ul li ul {
    position: absolute;
    top: 0;
    right: 300px;
    width: 300px;
    background-color: rgba(1, 1, 1, 0.7);
}

.header .navegation ul li ul li {
    width: 100%;
}

.header .navegation ul li:hover>ul {
    display: initial;
}

#toggle,
.header label {
    display: none;
    cursor: pointer;
}

.menu {
    width: 45px;
    height: 35px;
}

.container-principal {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    margin-top: 15%;
}

.two-column-section {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 10%;
}

.text-content {
    flex: 1;
    text-align: left;
}

.image-content {
    flex: 1;
}


.image-content img {
    max-width: 100%;
    height: auto;
    display: block;
}

.text-content h1 {
    color: #2c7a4e;
    font-size: 30px;
    margin-bottom: 10px;
}

.text-content h3 {
    color: #333;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.text-content p {
    font-size: 1em;
    margin-bottom: 20px;
}




/*SECTION 2*/



.container-two {
    width: 100%;
    margin: 0 auto;
    position: relative;
    height: 780px;
    margin-bottom: 10%;
}

.container-two {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    /* Ajusta el color y la opacidad según tus preferencias */
    z-index: 1;
}

.two-column-section-2 {
    display: flex;
    align-items: center;
    gap: 40px;
    background-image: url('../assets/italia\ fondo.webp');
    background-size: cover;
    background-position: center;
    padding: 40px;
    margin-bottom: 10%;
    height: 780px;
    z-index: 2;
}

.text-content-2 {
    flex: 1;
    text-align: left;
    padding: 20px;
    border-radius: 10px;
    z-index: 3;
}

.image-content-2 {
    flex: 1;
    z-index: 3;
}

.image-content-2 img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;

}

.text-content-2 h2 {
    color: white;
    font-size: 30px;
    margin-bottom: 10px;
}

.text-content-2 h3 {
    color: white;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.text-content-2 p {
    font-size: 1em;
    margin-bottom: 20px;
    color: black;
}


/* MISION */
.container-mision {
    max-width: 1200px;
    margin: 5% auto;
    padding: 0 20px;
    text-align: center;
}

.column-mision {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 80px;
}

.column-mision .text-content h2{
    color:#2c7a4e;
    font-size: 1.5em;
    margin-bottom: 10px;
    width: 100%;
}

.text-content-mision {
    flex: 1;
    text-align: left;
    margin-top: -15%;
}



.text-content-mision h2 {
    color: #2c7a4e;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.text-content-mision h3 {
    color: #333;
    font-weight: 500;
    font-size: 1.6em;
    margin-bottom: 50px;
}

.text-content-mision p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.text-ultimate{
    margin: 10% auto;
}

.text-ultimate h2{
    color: #2c7a4e;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.text-ultimate p{
    font-size: 1em;
    margin-bottom: 20px;
    text-align: center;
}





/*COMISION*/
.comision {
    font-family: Arial, sans-serif;
    color: #333;
}

.container-comision {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
}

.container-comision h3 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 10px;
}

.container-comision>p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.directiva-grid {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.columna {
    width: 48%;
}

.cargo {
    text-align: center;
    margin-bottom: 20px;
}

.cargo h2 {
    margin: 0;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.cargo p {
    margin: 5px 0 0;
    color: #666;
}

.line {
    border-top: 1px solid #ccc;
    margin: 20px 0;
}

.vocales-fiscales {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.vocales-fiscales .cargo {
    width: 20%;
}

.suplentes {
    display: flex;
    justify-content: center;
}

.suplentes .cargo {
    width: 30%;
}

/* @media (max-width: 768px) {
    .directiva-grid {
        flex-direction: column;
    }

    .columna {
        width: 100%;
    }

    .vocales-fiscales .cargo,
    .suplentes .cargo {
        width: 100%;
    }
} */


/*FOOTER*/
.footer {
    padding: 20px;
    text-align: center;
    width: 100%;
}

.footer-gral {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.footer-gral img {
    width: 150px;
    /* Ajusta el tamaño de la imagen */
    height: auto;
}

.redes i {
    font-size: 24px;
    color: #333;
    margin-left: 15px;
    /* Espacio entre los iconos */
    cursor: pointer;
}

.redes i:hover {
    color: #0e950e;
    /* Cambia el color al pasar el ratón */
}

.footer p {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}








/*SECCION DE MEDIAQUERiES*/
@media screen and (max-width: 768px) {

    .header {
        position: fixed;
        background-color: #2F3339;
    }

    header {
        width: 100%;
    }

    .header .logo {
        display: flex;
        align-items: center;
    }

    .header .logo h1 {
        font-size: 12px;
        margin-left: 15px;
    }

    .two-column-section {
        flex-direction: column;
    }

    .text-content,
    .image-content {
        width: 100%;
        padding: 5%;
    }

    .two-column-section-2 {
        flex-direction: column;
        padding: 20px;
        height: auto;
    }

    .container-two .overlay{
        display: none;
    }

    .text-content-2,
    .image-content-2 {
        width: 100%;
    }

    .directiva-grid {
        flex-direction: column;
    }

    .columna {
        width: 100%;
    }

    .vocales-fiscales .cargo,
    .suplentes .cargo {
        width: 100%;
    }

    .text-content-mision,
    .image-content-mision {
        width: 100%;
    }

    .image-content-mision img {
        width: 100%;
        height: auto;
        max-width: 500px;
        margin: 0 auto;
    }

    .text-content-mision h3 {
        font-size: 1.2em;
    }

    .presidents,
    .vocales {
        flex-direction: column;
        align-items: center;
    }

    .vocal {
        width: 100%;
    }

    .vocal-suplente {
        width: 100%;
    }

    .footer-gral {
        flex-direction: column;
        align-items: center;
    }

    .redes {
        margin-top: 15px;
    }

    .column-mision{
        flex-direction: column-reverse;
        margin-top: 90%;
    }

    .container-mision{
        margin-top: 25%;
    }


}


@media (max-width: 950px) {
    .header label {
        display: initial;
    }

    .header {
        padding: 20px 10%;
    }

    .header__completo {
        height: 150px;
    }

    .header .navegation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(1, 1, 1, 0.7);
        display: none;
        overflow-y: auto;
        /* Agregado para permitir el desplazamiento vertical */
        max-height: 300px;
        /* Ajusta según sea necesario */
    }

    .header .navegation ul li {
        width: 100%;
    }

    .header .navegation ul li a {
        padding: 8px 30px 8px 10%;
        text-align: center;
    }

    .header .navegation ul li ul {
        position: relative;
        width: 100%;
        left: 0;
        background-color: rgba(1, 1, 1, 0.7);
    }

    .header .navegation ul li ul li {
        background-color: rgba(1, 1, 1, 0.7);
    }

    .header .navegation ul li ul li a {
        margin-left: 50px;
    }

    .header .navegation ul li ul li ul {
        position: relative;
        width: 100%;
        left: 0;
    }

    #toggle:checked~.navegation {
        display: block;
    }
}


@media (min-width: 375px) and (max-width: 640px) {
    .header {
        position: fixed;
        background-color: #2F3339;
    }

    header {
        width: 100%;
    }

    .header .logo {
        display: flex;
        align-items: center;
    }

    .header .logo h1 {
        font-size: 12px;
        margin-left: 15px;
    }

    .container-principal {
        margin-top: -15%;
    }

    .container-mision {
        margin-top: 10%;
    }

    .text-content-mision h2 {
        font-size: 1.5em;
    }

    .text-content-mision h3 {
        font-size: 1.1em;
    }

    .text-content-mision p {
        font-size: 0.9em;
    }

    .presidents,
    .vocales {
        flex-direction: column;
        align-items: center;
    }

    .vocal {
        width: 100%;
    }

    .vocal-suplente {
        width: 100%;
    }
    .container-two .overlay{
        display: none;
    }
}