.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  height: 30rem;
  background-image: url("../Assets/img/portada.webp");
  background-position: center;
  background-size: cover;
  background-color: rgba(0, 79, 226, 0.767);
  background-blend-mode: multiply;
}

.hero h1,
.hero p {
  text-align: start;
  text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.575);
  margin-left: 1rem;
}
.hero h1 {
  width: 20rem;
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
}
.hero p {
  font-weight: 400;
  width: 20rem;
  color: #fff;
  font-size: 1.5rem;
}

.nuestro_trabajo {
  background-color: #00a44f;
  color: #fff;
}

.nuestro_trabajo_info {
  padding: 2rem;
}

.nuestro_trabajo_info h2 {
  text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.315);
  font-weight: bold;
}

.nuestro_trabajo_info p {
  font-weight: 200;
}

.nuesto_trabajo_galeria {
  height: 18rem !important;
}

.carousel {
  opacity: 80%;
}

.img_galeria {
  width: 100%;
  height: 23rem;
  object-fit: cover;
}

.titulo {
  margin-top: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.redes {
  padding: 2rem;
  text-align: center;
}

.redes h2 {
  margin-bottom: 3rem;
}

@media (min-width: 576px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  .hero p {
    width: 30rem;
    font-size: 1.8rem;
  }

  .nuestro_trabajo_info h2 {
    font-size: 2rem;
    width: 26rem;
  }
  .nuestro_trabajo_info p {
    font-size: 1.3rem;
  }

  .colaboracion p {
    font-size: 1.2rem;
  }
}

@media (min-width: 768px) {
  .nuestro_trabajo {
    display: flex;
    flex-direction: row-reverse;
  }

  .nuestro_trabajo_info {
    padding: 3rem;
  }

  .nuestro_trabajo_info h2 {
    font-size: 2.6rem;
    width: 20rem;
  }

  .nuestro_trabajo_info p {
    font-size: 1.4rem;
    margin-top: 2rem;
  }

  .nuesto_trabajo_galeria {
    height: auto !important;
  }

  .img_galeria {
    height: 44rem;
  }
}

@media (min-width: 992px) {
  .hero {
    height: 40rem;
  }

  .hero h1 {
    width: 30rem;
    font-size: 4rem;
    margin-left: 3rem;
  }
  .hero p {
    width: 38rem;
    font-size: 2rem;
    margin-left: 3rem;
  }

  .nuestro_trabajo_info h2 {
    font-size: 2.8rem;
    width: 30rem;
  }

  .nuestro_trabajo_info p {
    margin-top: 2rem;
    font-size: 1.5rem;
  }

  .colaboracion p {
    font-size: 1.4rem;
  }

  .colaboracion a {
    font-size: 1.6rem;
  }

  .redes h2 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1200px) {
  .img_galeria {
    height: 50rem;
  }

  .nuestro_trabajo_info h2 {
    margin-top: 2rem;
    font-size: 3.5rem;
    margin-left: 3rem;
  }

  .nuestro_trabajo_info p {
    width: 35rem;
    margin-top: 2rem;
    font-size: 2rem;
    margin-left: 3rem;
  }
  .hero h1 {
    line-height: 120%;
    width: 38rem;
    font-size: 6rem;
    margin-left: 5rem;
  }
  .hero p {
    line-height: 130%;
    width: 50rem;
    font-size: 3rem;
    margin-left: 5rem;
  }
  .hero {
    height: 50rem;
  }

  .colaboracion h2 {
    font-size: 2.5rem;
  }
  .colaboracion p {
    font-size: 1.8rem;
  }
}

@media (min-width: 1400px) {
  .nuestro_trabajo_info h2 {
    width: 40rem;
  }

  .nuestro_trabajo_info p {
    width: 45rem;
  }
}
