body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/*------------------------------ header y primera sección ------------------------------*/

.header {
  display: flex;
  width: 100%;
  height: 95px;
  justify-content: space-around;
  align-items: center;
}

.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;
}

.firstSection {
  height: 570px;
  background-image: linear-gradient(
      to left,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)
    ),
    url(../img/background1.jpg);
  background-size: cover;
}

.textSection {
  color: #fff;
  max-width: 500px;
  padding-left: 7vw;
  margin-top: 5%;
}

.text h1 {
  font-weight: 600;
  font-size: 37px;
  margin: 0;
}

.text p {
  color: #cecece;
}

/*------------------------------ boton importado ------------------------------*/
.bubbles {
  --c1: #ffffff; /* Recommendation: same background color */
  --c2: #3d6aff;
  --size-letter: 20px;
  padding: 0.5em 1em;
  font-size: var(--size-letter);
  background-color: transparent;
  border: calc(var(--size-letter) / 6) solid var(--c2);
  border-radius: 0.2em;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: 300ms cubic-bezier(0.83, 0, 0.17, 1);
}
.bubbles > a .text {
  font-weight: 700;
  color: var(--c2);
  position: relative;
  z-index: 1;
  transition: color 700ms cubic-bezier(0.83, 0, 0.17, 1);
}
.bubbles::before {
  top: 0;
  left: 0;
}
.bubbles::after {
  top: 100%;
  left: 100%;
}
.bubbles::before,
.bubbles::after {
  content: "";
  width: 150%;
  aspect-ratio: 1/1;
  scale: 0;
  transition: 1000ms cubic-bezier(0.76, 0, 0.24, 1);
  background-color: var(--c2);
  border-radius: 50%;
  position: absolute;
  translate: -50% -50%;
}
.bubbles:hover {
  & > a span {
    color: var(--c1);
  }
  &::before,
  &::after {
    scale: 1;
  }
}
.bubbles:active {
  scale: 0.98;
  filter: brightness(0.9);
}

/*------------------------------ segunda sección ------------------------------*/

.section2 {
  width: 100%;
  height: 460px;
  border-radius: 40px;
  background-color: #ffffff;
  margin-top: -50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.textSecondSection {
  max-width: 600px;
  text-align: center;
}

.iconsSection {
  display: flex;
  width: 80%;
  justify-content: space-around;
  margin-top: 40px;
}

.icons {
  margin: 5px;
  text-align: center;
}

.icons span {
  font-size: 38px;
}

.icons p {
  border-bottom: #000000 1px solid;
  padding-bottom: 10px;
  font-size: 20px;
}

/* ------------------------------ Tecera Sección ------------------------------*/
.section3 {
  width: 100%;
  background-color: #0f0f0f;
  height: 350px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.text3section {
  color: #fff;
  max-width: 40%;
}

.imgSection {
  max-width: 50%;
  margin-left: 20px;
}

.imgSection img {
  height: 260px;
}

/* Cuarta Sección */

.section4 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.text4section {
  max-width: 50%;
}

.img4section img {
  height: 400px;
}

/*------------------------------ 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: 950px) {
  .imgSection img {
    height: 200px;
  }

  .img4section img {
    height: 300px;
  }
}

@media (max-width: 770px) {
  .imgSection img {
    height: 150px;
  }

  .section3 {
    flex-direction: column;
    height: auto;
  }

  .text3section {
    max-width: 70%;
  }

  .imgSection {
    max-width: 70%;
    margin-top: 10px;
    margin-bottom: 17px;
  }
}

@media (max-width: 700px) {
  .section4 {
    flex-direction: column;
  }

  .text4section {
    max-width: 80%;
  }

  .iconsSection {
    flex-wrap: wrap;
    width: 200px;
  }

  .section2 {
    height: auto;
  }

  .section2 .textSecondSection {
    margin: 10px;
  }

  .iconsSection {
    margin: 5px;
  }
}

@media (max-width: 740px) {
  .header {
    display: none;
  }

  .header-responsive {
    display: flex;
    justify-content: space-between;
    height: 100px;
    align-items: center;
    background-color: #0f0f0f;
  }

  .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: 500px) {
  .text h1 {
    font-size: 30px;
  }
  .textSection {
    margin-top: 13%;
  }
}
