/*
Colores:
    Naranjas: 
        #f57440
        #fabda4
    Azules:
        #66beee
        #a5d6f1
    Verdes:
        #93e143
        #aade76
    Grises:
        #eeefff
Fuentes:
    Calibri: 
        Estandar
        Bold
        Italic
*/

/***********ESTILOS GENERALES***********/

*{
    box-sizing: border-box;
}

body{
    margin: 0;
    font-family: Calibri;
    background-color: #eeefff;
}
div{
    margin: 0;
}
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{
    color: #f57440;
} 
.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*/
.queries-main{
    container-type: inline-size;
    container-name: main;
}
.main{
    display: flex;
    margin-top: 90px;
    max-width: 100vw;
    min-height: 280px;
    align-items: center;
    justify-content: center;
}
.photo1{
    width: 330px;
}
.container__text1{
    max-width: 300px;
    margin-right: 100px;
}
.subtitle1{
    color: #66beee;
    font-size: 30px;
}
.text1{
    background-color: #f57440;
    color: #fff;
    padding: 26px;
    text-align: justify;
    font-size: 20px;
    border-radius: 6px;
    width: 350px;
}

/*-----MAIN QUERIES-----*/

@container main (max-width: 700px){
    .main{
        margin-top: 30px;
    }
    .photo1{
        width: 150px;
        margin-right: 10px;
    }
    .container__text1{
        width: 200px;
        margin-right: 10px;
        margin-left: 10px;
    }
    .subtitle1{
        font-size: 22px;
        margin-left: 20px;
    }
    .text1{
        font-size: 14px;
        margin-left: 0px;
        width: 180px;
        padding: 10px;
    }
}

/*PRIMERA SECCIÓN*/

.queries-section1{
    container-type: inline-size;
    container-name: section1;
}
.section1-1, .section1-2{
    display: flex;
    margin: auto;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    container-type: inline-size;
    container-name: section1;
}
.section1-2{
    margin-top: 50px;
}
.section1__container1, .section1__container2{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #66beee;
    max-width: 690px;
    height: 200px;
    border-radius: 10px;
}
.container__text2, .container__text3{
    padding: 40px;
    text-align: justify;
    width: 500px;
}
.subtitle2, .subtitle3{
    color: #fff;
}
.text2, .text3{
    color: #fff;
    font-size: 20px;
}
.icon1, .icon2{
    width: 160px;
    position: relative;
    top: 22px;
}

/*-----PRIMERA SECCIÓN QUERIES-----*/

@container section1 (max-width: 700px){
    .section1-1{
        margin-top: 50px;
    }
    .section1-2{
        margin-top: 20px;
    }
    .section1__container1, .section1__container2{
        width: 330px;
        height: 200px;
    }
    .container__text2, .container__text3{
        padding: 20px;
    }
    .section1__container1{
        height: 240px;
    }
    .subtitle2, .subtitle3{
        font-size: 19px;
    }
    .text2, .text3{
        font-size: 14px;
    }
    .icon1, .icon2{
        width: 90px;
        top: 57px;
    }
    .icon1{
        top: 77px;
    }
}

/*SEGUNDA SECCIÓN*/

.queries-section2{
    container-type: inline-size;
    container-name: section2;
}
.section2{
    margin-top: 180px;
}
.subtitle4{
    justify-self: center;
    font-weight: 400;
    letter-spacing: 12px;
    margin-bottom: 80px;
}
.container__elements1{
    display: flex;
    justify-content: center;
    max-width: 800vw;
}
.img1{
    width: 300px;
    height: 400px;
    margin-right: 13px;
}
.container__text4{
    background-color: #f57440;
    margin-top: 0;
    width: 525px;
    justify-content: center;
    padding: 20px;
}
.subsubtitle1, .subsubtitle2, .subsubtitle3, .subsubtitle4, .subsubtitle5, .subsubtitle6{
    color: #fff;
    justify-self: center;
    font-size: 24px;
    margin-bottom: 0;
}
.text4, .text5, .text6, .text7, .text8, .text9{
    color: #fff;
    text-align: center;
    font-size: 20px;
}
.container__elements1-1{
    display: flex;
    margin-top: 13px;
}
.container__text5{
    width: 260px;
    height: 215px;
    background-color: #93e143;
    margin-right: 13px; /*!!*/
    padding: 20px;
}
.img2{
    width: 255px;
    height: 215px;
}

.container__elements2{
    display: flex;
    justify-content: center;
    max-width: 800vw;
    margin-top: 9px;
}
.container__text6{
    background-color: #66beee;
    width: 498px;
    max-height: 180px;
    padding: 20px;
}
.img3{
    width: 330px;
    height: 180px;
    margin-left: 13px;
}

.container__elements3{
    display: flex;
    justify-content: center;
    max-width: 800vw;
    margin-top: 9px;
}
.img4{
    width: 300px;
}
.container__text7{
    background-color: #f57440;
    padding: 20px;
    width: 528px;
    margin-left: 13px;
}

.container__elements4{
    display: flex;
    justify-content: center;
    max-width: 800vw;
    margin-top: 9px;
}
.container__text8{
    background-color: #93e143;
    max-width: 290px;
    padding: 20px;
    max-height: 210px;
}
.container__text9{
    background-color: #66beee;
    max-width: 280px;
    padding: 5px 10px 5px 10px;
    max-height: 210px;
}
.img5{
    width: 245px;
    height: 210px;
    margin: 0 13px 0 13px;
}

/*-----SEGUNDA SECCIÓN QUERIES-----*/

@container section2 (max-width: 700px){
    .section2{
        margin-top: 90px;
        margin-bottom: 0;
    }
    .subtitle4{
        font-size: 19px;
        max-width: 100vw;
        letter-spacing: 6px;
        margin-bottom: 30px;
    }
    .subsubtitle1, .subsubtitle2, .subsubtitle3, .subsubtitle4, .subsubtitle5, .subsubtitle6{
        font-size: 19px;
    }
    .container__elements4{
        width: 300px;
    }
    .container__text4{
        width: 340px;
        height: 140px;
        padding: 10px;
        margin-left: 10px;
    }
    .container__text5{
        margin-right: 0;
        width: 220px;
        height: 160px;
        padding: 10px;
        margin-left: 10px;
    }
    .container__text6{
        width: 340px;
        height: 140px;
        padding: 10px;
    }
    .img1, .img3, .img5{
        display: none;
    }
    .img2{
        margin-right: 10px;
        margin-top: 30px;
        height: 100px;
        width: 120px;
    }
    .img4{
        margin-left: 10px;
        margin-top: 30px;
        height: 100px;
        width: 120px;
    }
    .container__text7{
        padding: 10px;
        width: 230px;
        height: 160px;
        margin-left: 0;
        margin-right: 10px;
    }
    .text4, .text5, .text6, .text7, .text8, .text9{
        font-size: 14px;
    }
    .container__text8{
        padding: 10px;
        min-width: 170px;
        margin-left: 70px;
    }
    .container__text9{
        padding: 10px;
        min-width: 170px;
        margin-right: 10px;
    }
}

/*TERCERA SECCIÓN*/

.queries-section3{
    container-type: inline-size;
    container-name: section3;
}
.section3{
    background-color: #93e143;
    display: flex;
    justify-content: center;
    margin-top: 150px;
    max-width: 100vw;
    min-height: 40vh;
    margin-bottom: 90px;
}
.container__subtitle1{
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 720px;
}
.subtitle5{
    color: #fff;
    display: flex;
    justify-self: center;
    align-self: center;
    text-align: center;
    font-size: 35px;
}

/*-----TERCERA SECCIÓN QUERIES-----*/

@container section3 (max-width: 700px){
    .section3{
        margin-top: 80px;
        margin-bottom: 80px;
        min-height: 30vh;
    }
    .container__subtitle1{
        margin: 10px;
    }
    .subtitle5{
        font-size: 22px;
    }
}

/***********PIE DE PÁGINA************/

.footer{
    background-color: #66beee;
    margin-bottom: 0;
    padding-top: 40px;
    width: 99vw;
    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;
    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: 300px;
    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: 20px;
    }
    .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;
    }
}

