*{
    box-sizing: border-box;
}

body{
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

html{
    scroll-behavior: smooth;
}


/*----MAIN NAV----*/
.header{
    background-color: #eef;
    margin: 0;
    border: none;
    position: sticky;
    top: 0;
    font-family: 'Poppins';
    padding: 20px 5% 10px 5%;
    transition: padding 300ms ease, background-color 300ms ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 20;
}

.header.sticky{
    background-color: #fff;
    padding-bottom: 5px;
    padding-top: 5px;
}

.header__open-nav-button{
    color: #48e;
    font-size: 3rem;
    font-weight: 600;
    position: absolute;
    align-self: end;
    right: 10px;
    z-index: 1;
    cursor: pointer;
}

.header__checkbox{
    display: none;
}

.header__checkbox:checked ~ .header__button-container {
    display: flex;
}


.header__checkbox:checked ~ .header__navbar {
    display: flex;
}

.header__navbar{
    display: none;
    justify-content: space-around;
    text-align: center;
    flex-direction: column;
    gap: 0;
}

.header__navbar ul{
    display: flex;
    justify-content: center;
    font-size: 1em;
    gap: 40px;
    padding-left: 0;
    align-items: center;
    flex-direction: column;
}

.header__logo-container{
    max-height: 70px;
    max-width: 200px;
    top: 0;
    margin: 0;
}

.header__logo{
    object-fit: contain;
    margin: 0;
    max-width: 80%;
    min-width: 10%;
}

.header__navbar li{
    list-style: none;
}

.header__navbar a{
    text-decoration: none;
    color: #000;
}




/*----- HEADER QUERIES -----*/

@media screen and (min-width: 1080px){
    .header{  
        padding: 10px 5% 10px 5%;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
        gap: 0px;
    }

    .header.sticky{
        background-color: #fff;
        padding-bottom: 3px;
        padding-top: 3px;
        box-shadow: 0 1px 10px #000;
    }

    .header__open-nav-button{
        display: none;
    }

    .header__navbar{
        display: flex;
        flex-direction: row;    
    }

    .header__navbar ul{
        flex-direction: row;
        justify-content: space-around;
        gap: 70px;
    }

    .header__navbar a, .header__button{
        font-size: 16px;
    }


    .header__button{
        text-wrap: nowrap;
        padding: 10px 70px;
    }

    .header__logo-container{
        max-width: 200px;
        text-align: center;
    }

    .header__logo{
        max-width: 90%;
        min-width: 30%;
    }
}


@media screen and (max-width: 400px) {
    div{
        font-size: 12px;
    }
}

/*----- HEADER ENDS -----*/


/*----- MIAN SECTION ------*/

.main{
    background-image: url();
}


.main__wrapper{
    display: flex;
    justify-content: center;
    width: 100%;
    height: 400px;
}

.main__text-container{
    max-width: 100%;
    text-align: center;
    margin-top: 100px;
}

.main__text-container h1{
    color: #201f1f;
    font-size: 2rem;
    margin: 0;
    font-weight: 400;
}

.main__text-container span{
    font-weight: 700;
}

.main__text-container h2{
    font-weight: normal;
}


/*----- MAIN SECTION QUERIES -----*/

@media screen and (min-width: 1080px) {
    .main__wrapper{
        display: block;
        height: 550px;
        text-align: left;
        filter: drop-shadow(0 0 5px #0003);
    }

    .main__text-container{
        max-width: 100%;
        text-align: center;
        margin-top: 100px;
    }

    .main__text-container h1,.main__text-container h2{
        margin-right: 400px;
    }

    .main__text-container h1{
        font-size: 80px;
    }

    .main__text-container h2{
        font-size: 40px;
    }
}


/*----- MAIN SECTION ENDS -----*/

/*----- MODULO SECTION*/

.modulos__wrapper{
    background-color: #eef;
    text-align: center;
}

.modulos__wrapper h4{
    padding-top: 30px;
    font-size: 2rem;
}

.modulo-container{
    background-color: #eef;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    margin-left: 20px;
    margin-right: 20px;
    border-bottom: 1px solid #201f1f;

}

.modulo__title-container, .modulo__list-container{
    margin-left: 10px;
    margin-bottom: 50px;
}


.modulo__item{
    margin-bottom: 10px;
    text-align: left;
}

.modulo__item span{
    font-weight: 700;
}

.relaciones__conscientes{
    color: #165fcd;
}

/*---- MODULO SECTION QUERIES -----*/

@media screen and (min-width: 900px) {
    .modulos__wrapper{
        background-color: #eef;
    }

    .modulo-container{
        flex-direction: row;
        border-radius: 0;
        margin-left: 100px;
        margin-right: 100px;
        border-top: none;
        justify-content: start;
        text-align: left;
    }
    
    .modulo__title-container{
        width: 40%;
        margin-left: 70px;
    }

    .modulo__text-container{
        max-width: 50%;
    }

    .modulo__list{
        margin-top: 40px;
    }
}

/*----- MODULO SECTION ENDS -----*/


/*----- INSCRIPTION SECTION -----*/

.inscription__wrapper{
    background-color: #baeaff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.inscription__text-container{
    margin-bottom: 70px;
}

.inscription__text-container h4{
    text-align: center;
    font-size: 1.7rem;
}


.inscription__button{
    color: #000000;
    border:2px solid #000;
    padding: 10px 100px 10px 100px;
    border-radius: 10px;
    letter-spacing: 0px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Poppins';
    background-color: RGBA(255, 255, 255, 0);
    min-width: 50%;
    max-width: 200px;
    line-height: 1.7;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    max-width: 100%;
    margin-bottom: 20px;
}

.inscription__button:hover{
    background-color: #165afd;
}

/*----- INSCRIPTION QUERIES -----*/

@media screen and (min-width: 900px) {

    .inscription__button{
        font-size: 20px;
    }
}


/*----- FOOTER -----*/

.footer{
    background-color: #212121;
    height: 100px;
}

.footer__wrapper{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.footer__logo-container{
    max-width: 100px;
    max-height: 100px;
}

.fooer__logo{
    max-width: 100%;
    height: auto;
}

.footer__links-container{
    display: flex;
    gap: 20px;
}

.footer__links-container a{
    text-decoration: none;
    color: #fff;
    font-size: 14px;
}

.footer__socialmedia-container{
    display: flex;
    align-items: center;
    justify-content: center;
}




/*----- FOOTER QUERIES -----*/
@media screen and (min-width: 900px) {
    .footer__links-container a{
        font-size: 16px;
    }
}


/*----- FOOTER ENDS -----*/