* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

hr {
  height: 20px;
  background-color: #2ea8d3;
}

.btn-wa img {
  height: 75px;
  position: fixed;
  right: 20px;
  bottom: 20px;
  transition: 0.4s;
}

.btn-arr img {
  height: 75px;
  position: fixed;
  right: 20px;
  bottom: 110px;
  transition: 0.4s;
}

.btn-wa img:hover {
  height: 79px;
  transition: 0.4s;
}

.btn-arr img:hover {
  height: 79px;
  transition: 0.4s;
}

/* cabecera */

.container-he {
  width: 100vw;
  height: 610px;
  background-image: url("../Imagenes/eq/cabecera.png");
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.container-he img {
  width: 500px;
}

.flex-1 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flex-1 h1 {
  font-family: "Barlow", sans-serif;
  font-weight: 900;
  font-size: 100px;
  color: white;
  text-align: right;
}

.flex-1 a {
  font-family: "Lato", sans-serif;
  font-weight: 500;
  font-size: 25px;
  text-decoration: none;
  color: black;
  background-color: #cdd62c;
  margin-top: 20px;
  padding: 15px 50px;
  border-radius: 30px;
  transition: 0.4s;
}

.flex-1 a:hover {
  transition: 0.4s;
  font-size: 27px;
  background-color: #005da4;
}

/* sec-1 */

.sec-1 {
  width: 100vw;
  height: 820px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.sec-1 img {
  width: 820px;
  height: 522px;
}

.sec-1 p {
  height: 508px;
  width: 807px;
  font-family: "lato", sans-serif;
  font-size: 30px;
  text-align: justify;
}

/* sec-2 */

.sec-2 {
  background-color: #00365f;
  width: 100vw;
  height: 930px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.sec-2 h1 {
  font-family: "lato", sans-serif;
  font-size: 40px;
  color: white;
}

.sec-2 p {
  margin-top: 10px;
  font-family: "lato", sans-serif;
  font-size: 30px;
  font-weight: 200;
  color: white;
}

.sec-2 img {
  margin-top: 10px;
  height: 360px;
}

.flex-2 {
  height: 655px;
  display: flex;
  flex-direction: column;
}

.flex-3 {
  height: 655px;
  display: flex;
  flex-direction: column;
}

/* footer */

footer {
  height: 625px;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

footer h1 {
  margin-top: 20px;
  margin-bottom: 20px;
  color: #00365f;
  font-family: "lato", sans-serif;
  font-weight: 400;
}

footer a {
  font-family: "lato", sans-serif;
  font-size: 30px;
  color: white;
  text-decoration: none;
  background-color: #00365f;
  padding: 20px 40px;
  border-radius: 40px;
  transition: 0.4s;
}

footer a:hover {
  background-color: #005da4;
  font-size: 32px;
  transition: 0.4s;
}

.sp-1 {
  text-align: center;
}

.flex-4 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flex-5 {
  width: 100vw;
  display: flex;
  justify-content: space-around;
}

.flex-5 h1 {
  font-size: 25px;
}

/* Responsive */

@media (max-width: 1366px) {
  /* sec-1 */

  .sec-1 {
    padding: 60px;
    margin: auto;
    width: 100vw;
    height: auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
  }

  .sec-1 img {
    width: 700px;
    height: 522px;
  }

  .sec-1 p {
    height: 508px;
    width: 807px;
    font-family: "lato", sans-serif;
    font-size: 22px;
    text-align: justify;
    padding: 0 20px;
  }

  /* sec-2 */

  .sec-2 {
    background-color: #00365f;
    width: 100vw;
    height: 800px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
  }

  .sec-2 h1 {
    font-family: "lato", sans-serif;
    font-size: 30px;
    color: white;
  }

  .sec-2 p {
    margin-top: 10px;
    font-family: "lato", sans-serif;
    font-size: 22px;
    font-weight: 200;
    color: white;
  }

  .sec-2 img {
    margin-top: 10px;
    height: 360px;
  }

  .flex-2 {
    height: 555px;
    display: flex;
    flex-direction: column;
  }

  .flex-3 {
    height: 555px;
    display: flex;
    flex-direction: column;
  }

  .btn-wa img {
    height: 60px;
    position: fixed;
    right: 40px;
    bottom: 20px;
    transition: 0.4s;
  }

  .btn-arr img {
    height: 60px;
    position: fixed;
    right: 40px;
    bottom: 110px;
    transition: 0.4s;
  }
}

@media (max-width: 800px) {
  .container-he {
    width: 100vw;
    height: 550px;
    background-image: url("../Imagenes/eq/cabecera.png");
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: space-around; */
  }

  .container-he img {
    width: 250px;
  }

  .flex-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .flex-1 h1 {
    font-family: "Barlow", sans-serif;
    font-weight: 900;
    font-size: 80px;
    line-height: 80px;
    color: white;
    text-align: center;
  }

  .flex-1 a {
    font-family: "Lato", sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    color: black;
    background-color: #cdd62c;
    margin-top: 20px;
    padding: 12px 35px;
    border-radius: 15px;
    transition: 0.4s;
  }

  .flex-1 a:hover {
    transition: 0.4s;
    font-size: 18px;
    background-color: #005da4;
  }

  .sec-1 {
    padding: 40px;
    margin: auto;
    width: 100vw;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .sec-1 img {
    margin-bottom: 20px;
    width: 400px;
    height: auto;
  }

  .sec-1 p {
    height: 320px;
    width: 380px;
    font-family: "lato", sans-serif;
    font-size: 14px;
    text-align: justify;
    padding: 0 20px;
  }

  /* sec-2 */

  .sec-2 {
    padding-top: 0;
    background-color: #00365f;
    width: 100vw;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .sec-2 h1 {
    font-family: "lato", sans-serif;
    font-size: 18px;
    color: white;
  }

  .sec-2 p {
    margin-top: 10px;
    font-family: "lato", sans-serif;
    font-size: 20px;
    font-weight: 200;
    color: white;
  }

  .sec-2 img {
    margin-top: 10px;
    height: 180px;
  }

  .flex-2 {
    height: 350px;
    display: flex;
    flex-direction: column;
  }

  .flex-3 {
    height: 350px;
    display: flex;
    flex-direction: column;
  }

  /* footer */

  footer {
    height: 450px;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
  }

  footer h1 {
    width: 90vw;
    font-size: 24px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #00365f;
    font-family: "lato", sans-serif;
    font-weight: 400;
  }

  footer a {
    font-family: "lato", sans-serif;
    font-size: 25px;
    color: white;
    text-decoration: none;
    background-color: #00365f;
    padding: 20px 40px;
    border-radius: 25px;
    transition: 0.4s;
  }

  footer a:hover {
    background-color: #005da4;
    font-size: 28px;
    transition: 0.4s;
  }

  .sp-1 {
    text-align: center;
  }

  .flex-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .flex-5 {
    width: 100vw;
    display: flex;
    justify-content: space-around;
  }

  .flex-5 h1 {
    font-size: 18px;
  }
}

@media (max-width: 432px) {
  .container-he {
    width: 100vw;
    height: 400px;
    background-image: url("../Imagenes/eq/cabecera.png");
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: space-around; */
  }

  .container-he img {
    width: 180px;
  }

  .flex-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .flex-1 h1 {
    font-family: "Barlow", sans-serif;
    font-weight: 900;
    font-size: 50px;
    line-height: 60px;
    color: white;
    text-align: center;
  }

  .flex-1 a {
    font-family: "Lato", sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    color: black;
    background-color: #cdd62c;
    margin-top: 20px;
    padding: 12px 35px;
    border-radius: 15px;
    transition: 0.4s;
  }

  .flex-1 a:hover {
    transition: 0.4s;
    font-size: 18px;
    background-color: #005da4;
  }

  /* Sec 1 */

  .sec-1 {
    padding: 40px;
    margin: auto;
    width: 100vw;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .sec-1 img {
    margin-top: 40px;
    margin-bottom: 0px;
    width: 300px;
    height: auto;
  }

  .sec-1 p {
    height: 320px;
    width: 300px;
    font-family: "lato", sans-serif;
    font-size: 14px;
    text-align: justify;
    padding-bottom: 20px;
  }

  /* sec-2 */

  .sec-2 {
    padding-top: 0;
    background-color: #00365f;
    width: 100vw;
    height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .sec-2 h1 {
    font-family: "lato", sans-serif;
    font-size: 16px;
    color: white;
  }

  .sec-2 p {
    margin-top: 10px;
    font-family: "lato", sans-serif;
    font-size: 16px;
    font-weight: 200;
    color: white;
  }

  .sec-2 img {
    margin-top: 10px;
    height: 160px;
  }

  .flex-2 {
    height: 350px;
    display: flex;
    flex-direction: column;
  }

  .flex-3 {
    height: 350px;
    display: flex;
    flex-direction: column;
  }

  /* footer */

  footer {
    margin-top: 40px;
    height: 450px;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
  }

  footer h1 {
    width: 80vw;
    font-size: 16px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #00365f;
    font-family: "lato", sans-serif;
    font-weight: 400;
  }

  footer a {
    font-family: "lato", sans-serif;
    font-size: 25px;
    color: white;
    text-decoration: none;
    background-color: #00365f;
    padding: 20px 40px;
    border-radius: 25px;
    transition: 0.4s;
  }

  footer a:hover {
    background-color: #005da4;
    font-size: 28px;
    transition: 0.4s;
  }

  .sp-1 {
    text-align: center;
  }

  .flex-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .flex-5 {
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .flex-5 h1 {
    font-size: 12px;
    text-align: center;
  }

  .btn-wa img {
    z-index: 1;
    height: 50px;
    position: fixed;
    right: 20px;
    bottom: 20px;
    transition: 0.4s;
  }

  .btn-arr img {
    z-index: 1;
    height: 40px;
    position: fixed;
    right: 28px;
    bottom: 80px;
    transition: 0.4s;
  }

  .btn-wa img:hover {
    height: 55px;
    transition: 0.4s;
  }

  .btn-arr img:hover {
    height: 45px;
    transition: 0.4s;
  }
}

@media (max-width: 375px) {
  .container-he {
    width: 100vw;
    height: 400px;
    background-image: url("../Imagenes/eq/cabecera.png");
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: space-around; */
  }

  .container-he img {
    width: 180px;
  }

  .flex-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .flex-1 h1 {
    font-family: "Barlow", sans-serif;
    font-weight: 900;
    font-size: 50px;
    line-height: 60px;
    color: white;
    text-align: center;
  }

  .flex-1 a {
    font-family: "Lato", sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    color: black;
    background-color: #cdd62c;
    margin-top: 20px;
    padding: 12px 35px;
    border-radius: 15px;
    transition: 0.4s;
  }

  .flex-1 a:hover {
    transition: 0.4s;
    font-size: 18px;
    background-color: #005da4;
  }

  /* Sec 1 */

  .sec-1 {
    padding: 40px;
    margin: auto;
    width: 100vw;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .sec-1 img {
    margin-top: 40px;
    margin-bottom: 0px;
    width: 300px;
    height: auto;
  }

  .sec-1 p {
    height: 320px;
    width: 300px;
    font-family: "lato", sans-serif;
    font-size: 14px;
    text-align: justify;
    padding-bottom: 20px;
  }

  /* sec-2 */

  .sec-2 {
    padding-top: 0;
    background-color: #00365f;
    width: 100vw;
    height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .sec-2 h1 {
    font-family: "lato", sans-serif;
    font-size: 16px;
    color: white;
  }

  .sec-2 p {
    margin-top: 10px;
    font-family: "lato", sans-serif;
    font-size: 16px;
    font-weight: 200;
    color: white;
  }

  .sec-2 img {
    margin-top: 10px;
    height: 160px;
  }

  .flex-2 {
    height: 350px;
    display: flex;
    flex-direction: column;
  }

  .flex-3 {
    height: 350px;
    display: flex;
    flex-direction: column;
  }

  /* footer */

  footer {
    margin-top: 40px;
    height: 450px;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
  }

  footer h1 {
    width: 80vw;
    font-size: 16px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #00365f;
    font-family: "lato", sans-serif;
    font-weight: 400;
  }

  footer a {
    font-family: "lato", sans-serif;
    font-size: 25px;
    color: white;
    text-decoration: none;
    background-color: #00365f;
    padding: 20px 40px;
    border-radius: 25px;
    transition: 0.4s;
  }

  footer a:hover {
    background-color: #005da4;
    font-size: 28px;
    transition: 0.4s;
  }

  .sp-1 {
    text-align: center;
  }

  .flex-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .flex-5 {
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .flex-5 h1 {
    font-size: 12px;
    text-align: center;
  }

  .btn-wa img {
    z-index: 1;
    height: 50px;
    position: fixed;
    right: 20px;
    bottom: 20px;
    transition: 0.4s;
  }

  .btn-arr img {
    z-index: 1;
    height: 40px;
    position: fixed;
    right: 28px;
    bottom: 80px;
    transition: 0.4s;
  }

  .btn-wa img:hover {
    height: 55px;
    transition: 0.4s;
  }

  .btn-arr img:hover {
    height: 45px;
    transition: 0.4s;
  }
}
