/*
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__blog{
    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*/

h1{
    color: #f57440;
    text-align: center;
    margin-top: 150px;
    margin-bottom: 150px;
}
.span1{
    color: #66beee;
}
.span2{
    color: #93e143;
}

/***********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;
    }
}