
/*GLOBAL*/

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #FAFAFA;
  font-family: 'Roboto', sans-serif;
  color: #333;
}

header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 10vh;
  background-color: #FFF;
}

h1,
h2,
h3 {
  font-family: 'Poppins', sans-serif;
  color: #FF9942;
}

h1 {
  font-size: 52px;
}

h2 {
  font-size: 42px;
}

p {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  margin: 20px 0;
}

ul {
  list-style: none;
}

/*ESTRUCTURA*/

.cssgrid {
  display: grid;
  grid-gap: 20px;

  grid-template:
    "presentacion     presentacion     presentacion"auto
    "article1         article2         article3"    300px
    /1fr              1fr              1fr;
}

.cssgrid .presentacion {
  grid-area: presentacion;
}

.cssgrid .article1 {
  grid-area: article1;
}

.cssgrid .article2 {
  grid-area: article2;
}

.cssgrid .article3 {
  grid-area: article3;
}

.cssgrid .mano {
  grid-area: mano;
}

.cssgrid .demo {
  grid-area: demo;
}

.cssgrid .article1,
.cssgrid .article2,
.cssgrid .article3 {
  display: flex;
  flex-direction: column;
  justify-content: center;

}

.cssgrid .article1 img,
.cssgrid .article2 img,
.cssgrid .article3 img {
  max-width: 120px;
  max-height: 120px;
  height: auto;
  margin: 0 auto;

}

.wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/*NAVBAR*/

.brand {
  max-height: 8vh;
  width: auto;
}

nav {
  display: flex;
  justify-content: space-around;
  width: 50%;
}

nav a {
  color: #FF9942;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  background-color: #FF9942;
  width: 25px;
  height: 4px;
  margin: 4px;
}

/*HERO*/

.hero {
  width: 100%;
  height: 50vh;
  background: url(../img/hero.jpg);
  background-size: cover;
  background-position: center center;
  position: relative;
}

.hero h1 {
  position: absolute;
  top: 20vh;
  text-shadow: 2px 2px 4px black;
}

.descarga {
  position: absolute;
  width: 100%;
  background-color: rgba(255, 153, 66, 0.6);
  bottom: 0;
  backdrop-filter: blur(5px);
  height: 94px;
}

.descarga .wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  align-content: center;
}

.descarga .wrapper div {
  padding: 20px 10px;
  color: white;
  font-size: 20px;
}

/*SECCIONES*/

.descargamovil {
  display: none;
}

div.presentacion section {
  margin: 60px 0;
}
div.presentacion p,
div.presentacion h2 {
  color: #444444;
}
article p {
  color:#FF9942
}

section.demo {
  display: flex;
  align-items: center;
  margin-top: 200px;
  background: url('../img/fondo.png');
  background-position: center center;
  background-size: cover;
}
section.demo div.mano {
  margin-bottom: -4px
}
section.demo div.texto {
  margin: 200px 0;
  max-width: 600px;
}
section.demo div.texto p {
  font-size: 28px;
  color: #444444;
}
section.demo a, button {
  background-color: #FF9942;
  padding: 15px 25px;
  border-radius: 40px;
  color: #444444;
  text-decoration: none;
}

section.quienes {
  background-color: #444444;
  padding: 50px 0 80px 0;
}
section.quienes h2,
section.quienes p {
  color: #FAFAFA;
}
section.quienes div.wrapper div {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}
section.quienes div.wrapper div img {
  width: 40px;
  height: 40px;
  margin-right: 20px;
}

section.testimonios {
  margin: 60px 0;
}
section.testimonios div.wrapper {
  display: flex;
  justify-content: space-between;
  text-align: center;
}
section.testimonios h2 {
  margin: 40px 0;
}
section.testimonios h3 {
  font-size: 120%;
}
section.testimonios p.opinion {
  font-size: 200%;
  font-style: italic;
  margin: 10px;
  text-align: left !important;
  border-top: 1px solid #FF9942;
  padding-top: 20px;
}

section.contacto {
  margin: 100px 0;
}
section.contacto h2, section.contacto p {
  margin: 60px 0;
}
form {
  margin: 0 auto;
  max-width: 800px;
}
form button {
  border: 0;
}
form input, textarea {
  display: block;
  margin: 30px 0;
  width: 100%;
  height: 30px;
  border-radius: 30px;
  border: 1px solid #CCC;
  padding: 17px;
}
textarea {
  min-height: 150px;
}
input[type="text"] {
    font-family: inherit;
}

/*FOOTER*/

footer {
  background-color: #FF9942;
  padding: 60px 0;
  height: 50vh;
  color: white;
  line-height: 260%;
}

footer h3 {
  color: white;
}

footer .wrapper {
  display: flex;
  justify-content: space-between;
}


/*MEDIAQUERIES*/

@media (max-width:1280px) {
  .wrapper {
    padding: 0 40px;
  }
}


@media screen and (max-width:1024px) {

  /*ESTRUCTURA*/

    .cssgrid {
      grid-template:
        "presentacion     presentacion     presentacion"auto
        "article1         article1         article1"    300px
        "article2         article2         article2"    300px
        "article3         article3         article3"    300px
        /1fr              1fr              1fr;
    }

  /*GLOBAL*/

    body {
      overflow-x: hidden;
    }

  /*NAVBAR*/

  nav {
    position: absolute;
    z-index: 999;
    right: 0;
    height: 90vh;
    top: 10vh;
    background-color: #444444;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
  }

  nav a {
    opacity: 0;
    text-align: center;
  }

  .burger {
    display: block;
  }

  header .nav-active {
    transform: translateX(0%);
  }

  @keyframes navLinkFade {
    from {
      opacity: 0;
      transform: translateX(50px);
    }

    to {
      opacity: 1;
      transform: translateX(0px);
    }
  }

  /*SECCIONES*/

  section.demo {
    width: 90%;
    margin: 0 auto;
  }

  section.demo div.mano {
    display: none;
  }

  section.demo div.texto {
    text-align: center;
  }

  section.quienes {
    padding: 50px 30px;
  }

  section.testimonios div.wrapper {
    flex-direction: column;
  }

}

@media screen and (max-width:700px) {

  body {
    text-align: center;
  }

  .hero h1 {
    top:14vh;
    right: 0;
  }

  h2 {
    line-height: 2.8rem;
  }

  .descarga {
    display: none;
  }

  .descargamovil {
    display: block;
    background-color: #CCC;
    height: 40vh;
    padding-top: 30px;
  }

  .descargamovil h2 {
    padding: 30px 0;
    color:#444444;
  }
  .descargamovil div {
    padding-bottom: 40px;
  }

  section.quienes div.wrapper div {
    display: block;
    padding-top: 30px;
  }

  footer {
    height: auto;
  }

  footer .wrapper {
    flex-direction: column;
  }

  footer .wrapper div {
    padding-top: 30px;
  }

}
