*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:'Roboto', sans-serif;
    text-decoration: none;
}
html{
    background-color: #E7F3E7;
}

body{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Barra */
header {
    position: fixed; /* relative */
    width: 100%;
    top: 0;
    left: 0;
    background:#E7F3E7;


    z-index: 2;
}


/* Header */
.contenedor__superior{
    max-width: 1200px;
    left: 300px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px; /* 0 */


    z-index: 2;
}

.logo img{
    width: 370px;
    height: 110px;
    margin-bottom: -12px;
}

/* Nav */

.contenedor{
    position: fixed;
    width: 100%;
    height: 50px;
    background: #339D2F;
    padding: 0 20px; /* <--- Responsive, opcional aun falta por terminar */



    z-index: 2;
}

.menu{
    max-width: 1200px;
    margin: auto;
    height: 100%;
}

nav{
    height: 100%;
}

nav > ul {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;

}

nav  ul  li{
    height: 100%;
    list-style: none;
    position: relative;
}

nav > ul > li > a{
    width: 100%;
    height: 100%;
    display: flex;
    color: white;
    align-items: center;
    padding: 16px;
    font-size: 16px;
    transition: all 300ms ease;
}

nav > ul > li > a:hover{
    background: #096F05;
    color: #fff;
    transform: scale(1.1);
    padding-left: 30px;
    padding-right: 30px;
    font-size: 14px;
    
    /*width: 150px;
    
    background: #0074c7;
    transform: scale(1.3);*/
}

nav li ul a{
    width: 3;
}

nav{
    width: 90%;
    margin: auto;
}

.activo{
    background: #096F05;
    color: #fff;
    transform: scale(1.1);
    padding-left: 30px;
    padding-right: 30px;
    font-size: 14px;
}

/* Menu productos y servicios*/

nav ul li ul {
    width: 200px;
    display: flex;
    flex-direction: column;
    background: white ;
    position: absolute;
    top: 50px;  /* <--- Danilo es el unico que sabe para que funciona*/
    left: -5px;
    padding: 14px 0px;
    visibility: hidden;
    opacity: 0;
    box-shadow: 0px 0px 10px 0px rgb(0, 0, 0, 0.5);
    z-index: 10px;
    transition: all 300ms ease;
}

nav ul li:hover ul {
    visibility: visible;
    opacity: 1;
    top: 50px;
}

nav ul li ul li a{
    display: block;
    color: #000;
    padding: 6px;
    padding-left: 14px;
    margin-top: 10px;
    font-size: 14px;
    transition: all 300ms ease;
}

nav ul li ul li a:hover{
    background: #096F05;
    color: #fff;
    transform: scale(1.1);
    padding-left: 30px;
    font-size: 14px;
}    


/* ------------------- Responsive ----------------------- */

.menu_cont{
    font-size: 26px;
    color: #fff;
    cursor: pointer;
    width: 26px;
    height: 100%;
    display: none;
    align-items: center;
}

.label_cont{
    width: 26px;
    height: 100%;
    display: none;
}

#check{
    display: none;
}

@media screen and (max-width: 720px) {
    .contenedor__superior{
        height: 65px;
    }

    .logo img{
        margin-bottom: -2px;
        width: 200px;
        height: 70px;
    }

    .contenedor__superior{
        padding: 10px;
    }
    nav ul{
        flex-direction: column;
        background-color: #339D2F;
        position: fixed;
        left: 0;
        top: 110px;
        width: 100%;
        height: 0px;
        transition: all 300ms ease;
        z-index: 100;
        opacity: 0;
        visibility: hidden;
    }

    nav ul li a:hover{
        transform: scale(1);
    }

    
    nav ul li:hover ul{
       display: none;
    }

    nav ul li:first-child a{
        background-position: 20px;
    }

    .activo{
        transform: scale(0.9);
    }

    .label_cont{
        display: block;
    }

    .menu_cont{
        display: flex;
    }

    #check:checked ~ nav > ul{
        height: 300px;
        visibility: visible;
        opacity: 1;
    }
 
}


section {
  margin-top: 270px;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: #E7F3E7;
}
.container {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  margin-bottom: 20px;
}
.form-group {
  width: 100%;
  margin-top: 20px;
  font-size: 20px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 5px;
  font-size: 18px;
  border: 1px solid rgba(128, 128, 128, 0.199);
  margin-top: 5px;
}

textarea {
  resize: none;
}
button[type="submit"] {
  width: 100%;
  border: none;
  outline: none;
  padding: 20px;
  font-size: 24px;
  border-radius: 8px;
  color: #096F05;
  text-align: center;
  cursor: pointer;
  margin-top: 10px;
  transition: 0.3s ease background-color;
}
button[type="submit"]:hover {
  background-color: rgb(214, 226, 236);
}
#status {
  width: 90%;
  max-width: 500px;
  text-align: center;
  padding: 10px;
  margin: 0 auto;
  border-radius: 8px;
}
#status.success {
  background-color: rgb(211, 250, 153);
  animation: status 4s ease forwards;
}
#status.error {
  background-color: rgb(250, 129, 92);
  color: white;
  animation: status 4s ease forwards;
}
@keyframes status {
  0% {
    opacity: 1;
    pointer-events: all;
  }
  90% {
    opacity: 1;
    pointer-events: all;
  }
  100% {
    opacity: 0;
    pointer-events: none;
  }
}








/* -----------------------------------  BOTON WHATSAPP ---------------------------------------------- */

   .btn-wsp{
    position:fixed;
    width:80px;
    height:80px;
    line-height: 83px;
    box-shadow: 0px 1px 10px rgba(0,0,0,0.3);
    z-index:100;
    background:#fff;
    color:#25d366;
    border-radius:50px;
    text-align:center;
    transition: all 300ms ease;
    bottom:35px;
    right:35px;
    font-size:55px;
}
.btn-wsp:hover{
    background: #25d366;
    color: #fff;
}

/*  -----------------------------------  // BOTON WHATSAPP ------------------------------------------- */







