/*
Colores:
    Naranjas: 
        #f57440
        #fabda4
    Azules:
        #66beee
        #a5d6f1
    Verdes:
        #93e143
        #aade76
    Grises:
        #eeefff
Fuentes:
    Calibri: 
        Estandar
        Bold
        Italic
*/

/***********ESTILOS GENERALES***********/

*{
    box-sizing: border-box;
}
body{
    font-family: Calibri;
    background-color: #eeefff;
}
a, li, ul, div, body, nav, header, footer, label{
    margin: 0;
    padding: 0;
}

/***********CEABECERA***********/

.header{
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    container-type: inline-size;
    container-name: header;
    height: 110px;
    box-shadow: 0 10px 10px #66beee;
}
.header__open-nav-button{
    color: #f57440;
    font-size: 3rem;
    position: absolute;
    right: 10px;
}
.header__checkbox{
    display: none;
}
.header__nav{
    display: none;
    background-color: #fff;
    position: absolute;
    height: 100vh;
    width: 100vw;
    top: 0;
    z-index: -1;
}
.header__nav-list{
    display: flex;
    flex-direction: column;
    height: 40vh;
    margin: auto;
    justify-content: space-evenly;
}
.header__checkbox:checked ~ .header__nav{
    display: flex;
}
.header__logo{
    max-width: 100%;
    width: 65px;
    margin: 10px 20px;
}
.header__nav-item{
    list-style: none;
    align-self: center;
}
.header__nav-item a{
    text-decoration: none;
    font-size: 20px;
}
.nav-item__servicios{
    color: #f57440;
}
.nav-item__nosotros, .nav-item__productos, .nav-item__blog{
    color: #000;
}
.nav-item__productos, .nav-item__servicios{
    cursor: default;
}
.nav-item__nosotros:hover,.nav-item__servicios:hover,.nav-item__blog:hover{
    color: #f57440;
}
.nav-item__contacto{
    background-color: #f57440;
    color: #fff;
    padding: 16px 36px;
    border-radius: 10px;
}

.container__dropdown{
    display: inline-block;
    position: relative;
    justify-items: center;
}

.dropdown-content__products{
    display: none;
    position: absolute;
    width: 320%;
    overflow: auto;
    background-color: #eee;
    z-index: 10;
}
.container__dropdown:hover .dropdown-content__products{
    display: block;
}
.dropdown-content__products a{
    display: block;
    color: #000;
    padding: 28px;
    text-decoration: none;
    font-size: 20px;
}
.dropdown-content__products a:hover{
    background-color: #ddd;
}

.dropdown-content{
    display: none;
    position: absolute;
    width: 320%;
    overflow: auto;
    background-color: #eee;
    z-index: 10;
}
.container__dropdown:hover .dropdown-content{
    display: block;
}
.dropdown-content a{
    display: block;
    color: #000;
    padding: 28px;
    text-decoration: none;
    font-size: 20px;
}
.dropdown-content a:nth-child(5){
    color: #f57440;
}
.dropdown-content a:hover{
    background-color: #ddd;
}

/*-----CABECERA QUERIES-----*/

@container header (min-width: 700px){
    .header__nav{
        position: sticky;
        top: 0;
        height: auto;
        width: auto;
        justify-content: space-between;
        display: block;
    }
    .header__logo{
        margin-left: 100px;
    }
    .header__nav-list{
        flex-direction: row;
        height: auto;
        width: auto;
        gap: 62px;
        margin-right: 100px;
    }
    .header__open-nav-button{
        display: none;
    }
    .nav-item__contacto{
        position: relative;
        top: 0px;
        transition-property: top;
        transition-duration: 0.5s;
        transition-delay: 0;
    }
    .nav-item__contacto:hover{
        top: -10px;
    }
}

@container header (max-width: 700px){
    
    .header__nav-item a{
        text-decoration: none;
        font-size: 16px;
    }
    .dropdown-content, .dropdown-content__products{
    width: 180%;
    }
    .dropdown-content a{
    display: block;
    color: #000;
    padding: 15px;
    text-decoration: none;
    font-size: 16px;
    }
    .dropdown-content__products a{
    display: block;
    color: #000;
    padding: 15px;
    text-decoration: none;
    font-size: 16px;
    }
}

/***********CUERPO***********/

/*MAIN*/

.queries-main{
    container-type: inline-size;
    container-name: main;
}
.main{
    display: flex;
    justify-content: center;
    margin-top: 90px;
}
.img1{
    width: 450px;
}
.container__text1{
    justify-content: center;
    align-items: center;text-align: center;
    width: 450px;
    margin-left: 80px;
}
h1{
    color: #66beee;
    font-size: 58px;
    text-align: justify;
    width: 240px;
}
.text1{
    font-size: 20px;
    text-align: justify;
}
.button1{
    background-color: #f57440;
    border: none;
    border-radius: 8px;
    font-size: 20px;
    padding: 18px 10px;
    margin-top: 20px;
}
.button1 a{
    color: #fff;
    text-decoration: none;
    padding: 18px 40px;
}

/*-----MAIN QUERIES-----*/

@container main (max-width: 700px){
    .main{
        margin-top: 40px;
    }
    .img1{
        width: 150px;
    }
    .container__text1{
        justify-content: center;
        align-items: center;text-align: center;
        width:160px;
        margin-left: 20px;
    }
    h1{
        font-size: 22px;
        width: 120px;
    }
    .text1{
        font-size: 14px;
    }
    .button1{
        font-size: 14px;
        padding: 12px 5px;
        margin-top: 20px;
    }
    .button1 a{
        padding: 18px 20px;
    }
}

/*PRIMERA SECCIÓN*/

.queries-section1{
    container-type: inline-size;
    container-name: section1;
}
.section1{
    margin-top: 170px;
}
.subtitle1{
    justify-self: center;
    font-weight: 400;
    letter-spacing: 12px;
    margin-bottom: 90px;
}

.subsection1, .subsection2, .subsection3{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
}
.container__text2, .container__text4{
    background-color: #66beee;
    max-width: 780px;
    min-width: 700px;
    border-radius: 10px;
    margin-right: 60px;
    padding: 22px;
}
.container__text3{
    background-color: #f57440;
    max-width: 780px;
    min-width: 700px;
    border-radius: 10px;
    margin-left: 60px;
    padding: 22px;
}
.subsubtitle1, .subsubtitle2, .subsubtitle3{
    display: flex;
    color: #fff;
    justify-self: center;
    font-size: 33px;
    margin: 0;
    padding-top: 7px;
}
.text2, .text3, .text4{
    display: flex;
    text-align: center;
    justify-self: center;
    color: #fff;
    font-size: 20px;
    padding: 0 50px 0 50px;
}
.spacer1, .spacer2, .spacer3{
    width: 130px;
}

/*-----PRIMER SECCIÓN QUERIES-----*/

@container section1 (max-width: 700px){
    .section1{
        margin-top: 100px;
    }
    .subtitle1{
        letter-spacing: 6px;
        margin-bottom: 30px;
        font-size: 19px;
        margin-left: 20px;
    }
    
    .subsection1, .subsection2, .subsection3{
        margin-top: 20px;
    }
    .container__text2, .container__text4{
        min-width: 0px;
        width: 340px;
        margin-right: 0px;
        padding: 5px;
        margin-left: 10px;
    }
    .container__text3{
        min-width: 0px;
        max-width: 200px;
        width: 300px;
        margin-left: 10px;
        margin-right: 10px;
        padding: 5px;
    }
    .subsubtitle1, .subsubtitle2, .subsubtitle3{
        font-size: 19px;
        margin: 0;
        padding-top: 5px;
    }
    .subsubtitle2{
        width: 200px;
        margin-left: 20px
    }
    .text2, .text3, .text4{
        font-size: 14px;
        padding: 0 20px 0 20px;
    }
    .spacer1, .spacer2, .spacer3{
        width: 130px;
    }
}

/*SEGUNDA SECCIÓN*/

.queries-section2{
    container-type: inline-size;
    container-name: section2;
}
.section2{
    display: flex;
    margin-top: 150px;
    min-width: 100vw;
    min-height: 280px;
    align-items: center;
    justify-content: center;
}
.photo1{
    width: 330px;
}
.container__text5{
    max-width: 420px;
    margin-right: 60px;
}
.text5{
    color: #f57440;
    padding: 26px;
    text-align: center;
    border-radius: 6px;
    font-size: 26px;
}

/*-----SEGUNDA SECCIÓN QUERIES-----*/

@container section2 (max-width: 700px){
    .section2{
        margin-top: 20px;
    }
    .photo1{
        width: 150px;
        margin-right: 20px;
    }
    .container__text5{
        max-width: 400px;
        margin-right: 20px;
    }
    .text5{
        padding: 0px;
        font-size: 14px;
        margin-left: 10px;
    }
}

/*TERCER SECCIÓN*/

.queries-section3{
    container-type: inline-size;
    container-name: section3;
}
.section3{
    margin-top: 180px;
    margin-bottom: 200px;
}
.container__subtitle1{
    background-color: #93e143;
    min-width: 700px;
    justify-self: center;
    border-radius: 10px;
}
.subtitle4{
    justify-self: center;
    font-weight: 400;
    letter-spacing: 12px;
    margin-bottom: 80px;
    padding: 35px 0;
    color: #fff;
}

.container__faq1, .container__faq2, .container__faq3{
    justify-self: center;
}
.faq1, .faq2, .faq3, .faq4{
    font-size: 20px;
    border: none;
    font-weight: bold;
}
.container__answer1, .container__answer2, .container__answer3{
    width: 800px;
    justify-self: center;
    background-color: #ddd;
    display: none;
}
.answer1, .answer2, .answer3{
    padding: 25px 70px;
    font-size: 20px;
    text-align: justify;
}
hr{
    width: 900px;
    height: 1.2px;
    background-color: #66beee;
    margin-top: 25px;
}

/*-----TERCER SECCIÓN QUERIES-----*/

@container section3 (max-width: 700px){
    .section3{
        margin-top: 40px;
    }
    .container__subtitle1{
        min-width: 0px;
        width: 330px;
    }
    .subtitle4{
        font-size: 17px;
        letter-spacing: 6px;
        margin-bottom: 20px;
        padding: 20px 0;
        padding-left: 5px;
    }
    .faq1, .faq2, .faq3, .faq4{
        font-size: 14px;
    }
    .container__answer1, .container__answer2, .container__answer3, .container__answer4{
        width: 300px;
    }
    .answer1, .answer2, .answer3, .answer4{
        padding: 15px 35px;
        font-size: 14px;
    }
    hr{
        width: 300px;
        height: 1px;
        margin-top: 15px;
    }
}

/***********PIE DE PÁGINA************/

.footer{
    background-color: #66beee;
    margin-bottom: 0;
    padding-top: 40px;
    container-type: inline-size;
    container-name: footer;
}
.container__line-top{
    display: flex;
    margin-left: 170px;
}
.list1, .list2{
    list-style: none;
    color: #fff;
}
.footer__line{
    width: 2px;
    height: 240px;
    background-color: #fff;
    margin-top: 20px;
    margin-left: 90px;
    margin-right: 60px;
}
.list2--item{
    display: flex;
    align-self: center;
}
.list1--item{
    display: flex;
    text-decoration: none;
    color: #fff;
    margin-bottom: 80px;
    font-weight: 500;
    letter-spacing: 5px;
}
.item--servicios{
    font-weight: 500;
    letter-spacing: 5px;
}
.list2--item{
    text-decoration: none;color: #fff;
    color: #fff;
    margin-bottom: 30px;
}

.container__line-bottom{
    display: flex;
    margin-left: 210px;
}
.container3{
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.container3__logo{
    width: 45px;
    height: 45px;
    margin-right: 60px;
}
.container3__text{
    color: #fff;
}
.container4{
    position: relative;
    left: 900px;
    bottom: 20px;
}
.container4__logo{
    margin: 20px;
    width: 30px;
}
.container4__text{
    position: relative;
    right: 50px;
    color: #fff;
}

/*-----FOOTER QUERIES-----*/

@container footer (max-width: 700px){
    .footer {
        background-color: #93e143;
    }
    
    .container__line-top{
        margin-left: 30px;
    }
    .footer__line{
        margin-left: 30px;
        margin-right: 30px;
        margin-top: 0;
        height: 260px;
    }
    .container__line-bottom{
        margin-left: 0;
    }
    .container3__logo{
        width: 45px;
        height: 45px;
        margin-right: 20px;
        margin-left:20px ;
    }
    .container4{
        left: 0;
    }
    .container4__logo{
        margin: 0px;
        width: 30px;
        margin-top: 30px;
        margin-left: 20px;
    }
    .container4__text{
        position: relative;
        right: 150px;
        color: #fff;
        margin-top: 50px;
    }
}