body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/*------------------------------ header ------------------------------*/

.header {
  display: flex;
  width: 100%;
  height: 95px;
  justify-content: space-around;
  align-items: center;
  position: inherit;
  z-index: 10;
}

.header img {
  height: 70px;
}

.header .links {
  background-color: #272727;
  padding: 8px;
  border-radius: 20px;
}

.header .links a {
  padding: 15px 20px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
}

.header .links a:hover {
  text-decoration: underline;
}

.redes i {
  color: #e2e2e2;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 8px;
  margin: 3px;
  border-radius: 50%;
  transition: background 0.7s ease;
}

.redes .fa-whatsapp:hover {
  background: #25d366;
}
.redes .fa-facebook:hover {
  background: #1562c7;
}
.redes .fa-instagram:hover {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.redes .fa-x-twitter:hover {
  background: #000;
}
/* ------------------------------ Primera seccion ------------------------------*/

.primera {
  height: 570px;
  background-image: linear-gradient(
      to left,
      rgba(0, 0, 0, 0.7),
      rgba(0, 0, 0, 0.7)
    ),
    url(../img/background2.jpg);
  background-size: cover;
}

.sectionText {
  height: 370px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.text h1 {
  color: #fff;
  font-size: 50px;
}
/* ------------------------------ Segunda seccion ------------------------------*/

.segunda {
  height: 730px;
  width: 100%;
  background-color: #ffffff;
  margin-top: -50px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.cardsContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
  margin-bottom: 15px;
}

.cardsContainer .card {
  background-color: #272727;
  margin: 10px;
  width: 300px;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px;
  border-radius: 15px;
}

.card h1 {
  color: #fff;
}

.card p {
  color: #d8d8d8;
}

.central-text {
  padding-left: 20px;
  padding-right: 20px;
}
/* ------------------------------ Tercera section ------------------------------*/
.tercera {
  height: 400px;
  background-image: linear-gradient(
      to left,
      rgba(0, 0, 0, 0.7),
      rgba(0, 0, 0, 0.7)
    ),
    url(../img/background3.jpg);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.text3 {
  text-align: center;
}

.text3 h1 {
  font-size: 50px;
  color: #fff;
}

.text3 h4 {
  color: #a5a5a5;
  font-size: 20px;
}

.text3 button {
  background-color: #1562c7;
  border: 2px solid #1562c7;
  height: 50px;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.text3 button:hover {
  background-color: inherit;
  border: 2px solid #1562c7;
}

.text3 button a {
  text-decoration: none;
  font-size: 18px;
  padding: 10px;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 1px;
}

.text3 button a:hover {
  color: #1562c7;
}

/* -- ----------------------------- Cuarta sección ----------------------------- -- */
.cuarta {
  height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.text4 {
  display: flex;
}

.text4 .target {
  text-align: center;
  margin: 20px;
  max-width: 400px;
  background-color: #b4b4b4;
  color: #000000;
  padding: 13px;
  border-radius: 10px;
}

.target span {
  font-size: 40px;
}

/*------------------------------ footer ------------------------------*/

.footer {
  background-color: #0f0f0f;
  color: #fff;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ------------------------------ Responsive section ------------------------------*/

.header-responsive {
  display: none;
}

.nav-responsive {
  display: none;
}

@media (max-width: 740px) {
  .header {
    display: none;
  }

  .header-responsive {
    display: flex;
    justify-content: space-between;
    height: 100px;
    align-items: center;
    background-color: #0f0f0f;
    position: inherit;
    z-index: 10;
  }

  .header-responsive img {
    height: 100px;
  }

  .header-responsive .bars {
    background-color: inherit;
    color: #fff;
    border: none;
    margin: 15px;
  }

  .header-responsive .bars span {
    font-size: 35px;
  }

  .nav-responsive {
    background-color: #131313;
    position: absolute;
    height: 270px;
    width: 100%;
    display: flex;
    flex-direction: column;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2;
  }

  .nav-responsive.active {
    display: block;
  }

  .nav-responsive .a {
    text-decoration: none;
    color: #fff;
    border-bottom: 0.5px solid #fff;
  }

  .nav-responsive span {
    font-size: 30px;
    color: #747474;
  }

  .nav-responsive .links {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
  }

  .redes-nav {
    width: 100%;
    text-align: center;
  }

  .redes-nav i {
    color: #e2e2e2;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px;
    margin: 10px;
    border-radius: 50%;
    border-bottom: none !important;
  }
}

@media (max-width: 1100px) {
  .cardsContainer {
    flex-wrap: wrap;
  }

  .segunda {
    height: auto;
  }
}

@media (max-width: 525px) {
  .text3 h1 {
    font-size: 35px;
    padding: 10px;
  }

  .cardsContainer {
    margin-top: 25px;
    margin-bottom: 40px;
  }

  .central-text {
    margin-top: 35px;
  }
}

@media (max-width: 700px) {
  .text4 {
    display: block;
  }

  .cuarta {
    height: auto;
  }
}
