/*
En css se llaman los elementos de la siguiente manera:

1. Por etiquetas

body {por etiquetas}

.clases {las clases se llaman con punto}

#id {los id se llaman con #}

Los id solo puede haber uno por página*/

body {
    margin: 0;
    font-family: 'Raleway', sans-serif;}

    header .contenedor {
    display: flex;
    justify-content: space-between;}

    header .lista-menu {
        display: flex;
    }

    header ul li {
        list-style: none;
        margin-right: 15px;
    }
/*AQUI ESTA EL ICONO DEL LOGO*/

    .contactos img {
        position: relative;
        margin: 30px 20px;
        height: 45px;
        width: 60px;
        vertical-align: middle;
    }

/*datos de contactos arriba*/

    .contactos {
        display: flex;
    }

    .contact-header a{
        text-decoration: none;
        color: white;
    }

    .contact-header{
        display: flex;
        flex-direction: column;
    }

    .contact-header ul{
        margin: 5px;
    }

    .logo-grande img{
        height: 25vh;
        margin: 0 auto;
        vertical-align: middle;
    }

    a {text-decoration: none;}

    .contenedor {
        max-width: 100%;
        width: 100%;
        margin: auto;
    }

    header {
        background:
        linear-gradient(rgba(22,54,33,.9), rgba(80,191,118,.6)),
        url(imagenes/fondo-principal.jpg);
        height: 100vh;
        background-size: cover;
    }

   #contenedor-titulos-flex {
       display: flex;
       justify-content: center;
       margin: 20vh 0vh;
       width: 100%;
   }

   h1 {
       font-size: 65px;
       font-weight: bolder;
       color: #f1ca1a;
       text-align: center;
   }

   h2 {
    font-size: 65px;
    font-weight: bolder;
    color: #f1ca1a;
    text-align: center;
   }

   header .lista-header {
       font-size: 20px;
       color: white;
       font-weight: lighter;
       text-align: center;
   }

   .contenedor-titulos{
       text-align: center;
   }

   .contenedor-titulos a, #principal a, #que-esperas a, #catalogos a, #contacto input[type="submit"] {
       font-size: 15px;
       color: white;
       background: rgb(22, 54, 33);
       padding: 15px 25px;
       margin: 5%;
       width: 175px;
       display: inline-block;
       text-align: center;
   }



   header .lista-header li {
    padding: 5px;
}

nav ul li a, .contact-header {
    color: white;
}

/* ----------Seccion Principal------------ */

#principal {
    margin-top: 10vh;
    margin-bottom: 10vh;
}

h2 {
    text-align: center;
    font-size: 55px;
    font-weight: normal;
}

h3 {
    text-align: center;
    font-size: 55px;
    font-weight: normal;
}

#principal .contenedor-principal {
    display: flex;
    justify-content: space-around;
    margin: 5% 5%;
}

#principal .texto{
    font-size: 18px;
    width: 90%;
    margin: 30px;
}

.contaminacion img{
    max-width: 20%px;
    width: 100%;
    vertical-align: middle;
}

/* ---------------SECCION PRODUCTOS-------------------- */

.contenedor-productos {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    color: white;
}

.producto {
    width: 27%;
    padding: 34px 30px 38px 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    position: relative;
}

.producto h4 {
    font-size: 30px;
    margin: 0px;
    text-align: center;
}

.producto ul {
    margin-bottom: 20px;
    height: 27vh;
}

/*esta es la altura de los cuadros donde van los productos*/

.producto li{
    margin: 10px 5px;
}


/*se pueden generar los degradados y las sombras desde apps de codigos en internet
CSS colr gradient generator y CSS box shadow generator */

.contenedor-productos .menta {
    background: rgb(59,212,174);
    background: linear-gradient(180deg, rgba(59,212,174,1) 0%, rgba(79,160,140,1) 35%, rgba(65,133,116,1) 100%); 
    -webkit-box-shadow: 7px 7px 22px 4px rgba(0,0,0,0.75);
    -moz-box-shadow: 7px 7px 22px 4px rgba(0,0,0,0.75);
    box-shadow: 7px 7px 22px 4px rgba(0,0,0,0.75);
}

.contenedor-productos .gris{
    background: rgb(190,190,190);
    background: linear-gradient(0deg, rgba(190,190,190,1) 0%, rgba(227,227,227,1) 35%, rgba(60,60,59,1) 100%);
    -webkit-box-shadow: 7px 7px 22px 4px rgba(0,0,0,0.75);
    -moz-box-shadow: 7px 7px 22px 4px rgba(0,0,0,0.75);
    box-shadow: 7px 7px 22px 4px rgba(0,0,0,0.75);
}

.trama {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}

.icono {
    float: right;
    position: relative;
    z-index: 99;
}

.contenedor-productos li {
    position: relative;
    z-index: 10;
}

/*SECCION TECNOLOGIAS//// COMO LO HACEMOS*/


#tecnologia .textos{
    
    max-width: 1100px;
    margin: 5vh auto;
    text-align: center;
    font-size: 18px;
}

.contenedor-tecnologia{
    display: flex;
    flex-wrap: wrap;
    margin: auto;
}

.contenedor-tecnologia .item {
    width: 28%;
    text-align: center;
}

.contenedor-tecnologia ul li{
    list-style: none;
}

.contenedor-tecnologia ul li:nth-child(2){
    font-size: 20px;
    font-weight: bolder;
    margin-top: 1vh;
    margin-bottom: 2vh;
}

.contenedor-tecnologia ul li:nth-child(3){
    line-height: 30px;
}

.item img{
    width: 60px;
}


button.owl-prev, button.owl-next {
    font-size: 40px !important;
}

span{
    color: rgb(22, 54, 33);
}

/*SECCION CATALOGO*/

#catalogos{
    background: #f9fafc;
}


.contenedor-catalogo {
    display: flex;
    justify-content: space-around;
}

.catalogo {
    width: 40%;
    box-shadow: 1px 1px 14px #ccc;
}

#catalogos h4 {
    font-size: 23px;
    margin-bottom: 15px;
}

#catalogos p {
    color: #5a6169;
    line-height: 24px;
    font-size: 16px;
}

.catalogo img{
    width: 100%;
}

.contenido{
    background: white;
    padding: 20px;
}

/*QUE ESPERAS*/

#que-esperas{
    background: linear-gradient(rgba(22,54,33,.9), rgba(80,191,118,.6));
    text-align: center;
    padding: 5vh 0;
    margin-top: 5vh;
}

#que-esperas h3 {
    font-size: 35px;
    color: white;
}



/* seccion de contacto*/

#contacto form {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 75%;
    margin: auto;
}

input[type="text"], input[type="email"] {
    width: 45%;
    margin-bottom: 15px;
    padding: 18px 0;
    border: 0;
    border-bottom: 2px solid rgb(80,191,118);
    font-size: 17px;
}

textarea {
    padding: 18px 0;
    margin-bottom: 15px;
    border: 0;
    border-bottom: 2px solid rgb(80,191,118);
    font-size: 17px;
    width: 100%;
}

#contacto input[type="submit"]{
    width: 170px;
    margin: auto;
}

.contacto-info {
    display: flex;
    justify-content: space-around;
    margin-top: 60px;
}

.contacto-info img {
    width: 28px;
    vertical-align: middle;
    margin-right: auto;
    
}


/*FOOTER*/


footer {
    background: #2f2f2f;
    padding: 40px 0;
    text-align: center;
    margin-top: 40px;
}

footer .contenedor {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

footer img {
    height: 45px;
    margin: 0 40px;
    transform: rotate(0);
    transition: 0.4s;
}

footer img:hover {
    transform: rotate(360deg);
    transition: 0.4s;
}

footer p {
    color: white;
    margin-top: 40px;
}

html {
    scroll-behavior: smooth;
}



/*instagram volador*/

#instagram img{
    height: 75px;
    margin: 0 40px;
    z-index: 1000;
    transform: rotate(0);
    transition: 0.4s;
}

#instagram{
    position: fixed;
    top: 90%;
    right: 5%;
}




/* RESPONSIVE*/

.menu-icon {
    display: none;
}


@media (max-width: 800px) {
    
    .contact-header li{
        display: none;
    }

    .logo {
        display: block;
        float: left;
        margin-top: 15px;
    }

    .menu-icon {
        display: block;
        float: right;
        width: 40px;
        height: 35px;
        margin: 30px;
    
    }
    
    header nav {
            position: absolute;
            top: 83px;
            left: 0;
            height: 270px;
            background: rgb(22, 54, 33);
            width: 100%;
            display: none;
    }

    header nav ul {
        flex-direction: column;
    }

    header nav ul li {
        margin-bottom: 15px;
    }
    

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 20px;
    }

    .lista-header p{
        font-size: 13px;
        margin-left: 20px;
        margin-right: 20px;
    }

    .contenedor-principal{
        flex-direction: column;
    }

    #principal img{
        width: 100%;
    }

    .contenedor-productos {
        flex-direction: column;
    }

    .producto {
        width: 80%;
        padding: 34px 30px 70px 30px;
    }

    .icono {
        margin-top: 23px;
    }

    h3 {
        font-size: 43px;
    }

    .contenedor-tecnologia {
        flex-direction: column;
    }

    #tecnologia .item {
        width: 80%;
    }

    .item ul {
        padding: 0;
    }

    .contenedor-catalogo {
        flex-direction: column;
    }

    .catalogo {
        width: 100%;
        margin-bottom: 40px;
    }

    #contacto form {
        width: 100%;
        flex-direction: column;
    }

    input[type="text"], input[type="email"] {
        width: 100%;
    }

    .infocontacto {
        display: flex;
        flex-direction: column;
    }

    #instagram img {
        height: 75px;
        margin: -35px;
    }
    

}
