/*
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__nosotros, .nav-item__productos, .nav-item__servicios, .nav-item__blog{
    color: #000;
}
.nav-item__productos, .nav-item__servicios{
    cursor: default;
}
.nav-item__nosotros:hover,.nav-item__productos: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{
    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: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{
    width: 180%;
    }
    .dropdown-content a{
    display: block;
    color: #000;
    padding: 15px;
    text-decoration: none;
    font-size: 16px;
    }
}

/***********CUERPO***********/

/*MAIN*/

.main{
    display: flex;
    background-color: #66beee;
    margin-top: 0;
    /*position: relative;
    top: -22px;*/
    min-width: 100vw;
    min-height: 280px;
    container-type: inline-size;
    container-name: main;
}
.container__text1{
    max-width: 450px;
    margin: 60px;
    margin-left: 400px;
}
h1{
    color: #fff;
    margin-bottom: 30px;
    font-size: 44px;
}
.text1{
    color: #fff;
    font-style: italic;
    text-align: start;
    font-size: 20px;
}

/*-----MAIN QUERIES-----*/

@container main (max-width: 700px){
    .container__text1{
        max-width: 450px;
        margin: 60px;
        margin-left: 40px;
    }
    h1{
        color: #fff;
        margin-bottom: 15px;
        font-size: 22px;
    }
    .text1{
        color: #fff;
        font-style: italic;
        text-align: start;
        font-size: 16px;
    }
}

/*PRIMERA SECCIÓN*/

.queries-section1{
    container-type: inline-size;
    container-name: section1;
}
.section1{
margin-top: 160px;
width: 100vw;
justify-items: center;
}
.container__top{
    display: flex;
    margin: 50px ;
}
.container__top1, .container__top2{
    display: flex;
    justify-content: center;
    justify-items: center;
}
.container__bottom{
    display: flex;
}
.container__bottom1, .container__bottom2{
    display: flex;
}
.container__text2, .container__text3, .container__text4, .container__text5{
    width: 250px;
}
.container__text3, .container__text5{
    width: 150px;
}
.subsubtitle1, .subsubtitle2, .subsubtitle3, .subsubtitle4{
    color: #f57440;
    font-size: 28px;
} 
.text2, .text3, .text4, .text5{
    font-size: 20px;
}
.icon1, .icon2, .icon3, .icon4{
    width: 160px;
    margin-right: 65px;
}
.text__link{
    text-decoration: none;
}

/*-----PRIMER SECCIÓN QUERIES-----*/

@container section1 (max-width: 700px){
    .section1{
        margin-top: 50px;
    }
    .container__top{
        display: block;
        margin: 15px ;
        margin-right: 15px;
    }
    .container__top2{
        justify-content:left;
    }
    .container__bottom{
        display: block;
        margin-right: 0px;
    }
    .container__text2, .container__text3, .container__text4, .container__text5{
        width: 100px;
    }
    .container__text2, .container__text4{
        margin-right: 80px;
    }
    .container__text3, .container__text5{
        width: 50px;
    }
    .subsubtitle1, .subsubtitle2, .subsubtitle3, .subsubtitle4{
        font-size: 19px;
    } 
    .text2, .text3, .text4, .text5{
        font-size: 16px;
    }
    .icon1, .icon2, .icon3, .icon4{
        width: 80px;
        margin-right: 5px;
    }
}

/*SEGUNDA SECCIÓN*/

.queries-section2{
    container-type: inline-size;
    container-name: section2;
}
.section2{
    margin-top: 120px;
}
.subtitle1{
    justify-self: center;
    color: #f57440;
    font-size: 52px;
    margin-bottom: 0;
}
.text6{
    justify-self: center;
    font-size: 20px;
}
form{
    display: flex;
    margin-top: 40px;
    justify-content: center;
    justify-items: center;
}
.container__form{
    justify-items: center;
    align-items: center;
    width: 800px;
}
label{
    display: block;
}
.form-segment{
    width: 700px;
}
input{
    width: 700px;
    height: 60px;
    font-family: Calibri;
    font-size: 20px;
}
textarea{
    width: 700px;
    height: 200px;
    font-family: Calibri;
    font-size: 20px;
}
.text-form{
    color: #f57440;
    margin-bottom: 10px;
    margin-top: 40px;
    letter-spacing: 8px;
    font-size: 20px;
}
.button-submit{
    width: 180px;
    height: 50px;
    margin-top: 45px;
    border: none;
    border-radius: 6px;
    background-color: #f57440;
    color: #fff;
    padding: 0;
    font-size: 20px;
    transition-property: margin;
    transition-duration: 0.5s;
    transition-delay: 0s;
}
.button-submit:hover{
    margin-top: 36px;
}

/*-----SEGUNDA SECCIÓN QUERIES-----*/

@container section2 (max-width: 700px){
    .section2{
        margin-top: 90px;
    }
    .subtitle1{
        font-size: 22px;
    }
    .text6{
        margin-left: 15px;
        font-size: 14px;
    }
    form{
        margin-top: 5px;
        margin-left: 0px;
    }
    .container__form{
        width: 300px;
    }
    .form-segment{
        width: 260px;
    }
    input{
        width: 250px;
        height: 25px;
        font-family: Calibri;
        font-size: 14px;
    }
    textarea{
        width: 250px;
        height: 100px;
        font-family: Calibri;
        font-size: 14px;
    }
    .text-form{
        margin-bottom: 5px;
        margin-top: 15px;
        letter-spacing: 4px;
        font-size: 14px;
    }
    .button-submit{
        width: 130px;
        height: 40px;
        margin-top: 25px;
        font-size: 18px;
    }
}

/*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;
}
.subtitle2{
    justify-self: center;
    font-weight: 400;
    letter-spacing: 12px;
    margin-bottom: 80px;
    padding: 35px 0;
    color: #fff;
}

.container__faq1, .container__faq2, .container__faq3, .container__faq4{
    justify-self: center;
}
.faq1, .faq2, .faq3, .faq4{
    font-size: 20px;
    border: none;
    font-weight: bold;
}
.container__answer1, .container__answer2, .container__answer3, .container__answer4{
    width: 800px;
    justify-self: center;
    background-color: #ddd;
    display: none;
}
.answer1, .answer2, .answer3, .answer4{
    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: 80px;
    }
    .container__subtitle1{
        min-width: 0px;
        width: 330px;
    }
    .subtitle2{
        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;
    }
}