.home-slider-1 {
  width: 100%;
  height: 350px;
}

.swiper-button-prev, .swiper-button-next {
  color: white;
  display: none;
}

.swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  background-color: #000000;
  border: 2px solid white;
  opacity: .5;
}

.swiper-pagination-bullet-active {
  background-color: white;
  opacity: 1;
}

.home-slider-1 {
  .slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 1); /* Black with 50% opacity */
    position: relative;

    .slide-texts {
      position: absolute;
      top: 50%;
      transform: translate(0, -50%);
      z-index: 2;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      font-smoothing: antialiased; /* Older, non-standard property for potential compatibility */

      div {
        text-align: center;
        color: white;
        text-shadow: 0 0 10px black;
      }
    }

    img {
      position: absolute;
      top: 50%;
      transform: translate(0, -50%);
      z-index: 1;
      opacity: .8;
      object-fit: cover;
      height: 100%;
      width: auto;
    }
  }

  .slide-1 {
    .slide-texts {

      div {
        transition: all 1s ease-in-out;
        opacity: 0;
        font-size: 12px;
      }

      .text-1 {
        transition-delay: .5s;
        line-height: 30px;
      }
      .text-2 {
        transition-delay: 1s;
        line-height: 60px;
      }
      .text-3 {
        transition-delay: 1.5s;
        line-height: 1;
        line-height: 20px;
      }
    }
  }
  .slide-2 {
    .slide-texts {
      div {
        transition: all 1s ease-in-out;
        opacity: 0;
        font-size: 12px;
      }

      .text-1 {
        transition-delay: .5s;
        line-height: 50px;
      }
      .text-2 {
        transition-delay: 1s;
        line-height: 30px;
      }
    }
  }
  .slide-3 {
    .slide-texts {
      div {
        transition: all 1s ease-in-out;
        opacity: 0;
        font-size: 12px;
      }

      .text-1 {
        transition-delay: .5s;
        line-height: 50px;
      }
      .text-2 {
        transition-delay: 1s;
        line-height: 30px;
      }
    }
  }
  
  .swiper-slide-active {
    .slide-1 {
      .slide-texts {
        div {
          opacity: 1;
        }

        .text-1 {
          font-size: 20px;
        }
        .text-2 {
          font-size: 30px;
        }
        .text-3 {
          font-size: 20px;
        }
      }
    }

    .slide-2 {
      .slide-texts {
        div {
          opacity: 1;
        }

        .text-1 {
          font-size: 30px;
        }
        .text-2 {
          font-size: 16px;
        }
      }
    }

    .slide-3 {
      .slide-texts {
        div {
          opacity: 1;
        }

        .text-1 {
          font-size: 30px;
        }
        .text-2 {
          font-size: 16px;
        }
      }
    }
  }
}

.home-section-title {
  font-size: 30px;
  font-weight: 600;
  color: #585858;
  margin-top: 40px;
  margin-bottom: 10px;
}

.beneficio-item {
  width: 160px;
  height: 160px;

  a {
    display: inline-block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 0 6px black;

    img {
      position: absolute;
      top: 50%;
      transform: translate(0, -50%);
      width: 300px;
      height: 250px;
      object-fit: cover;
    }
  }
}

@media (min-width: 600px) {
  .beneficio-item {
    width: 300px;
    height: 250px;
  }
}

@media (min-width: 600px) {
  .home-slider-1 {
    height: 430px;
  }
}

@media (min-width: 767px) {
  .home-slider-1 {
    height: 550px;
  }
}

@media (min-width: 980px) {
  .home-section-title {
    font-size: 50px;
  }

  .swiper-button-prev, .swiper-button-next {
    display: block;
  }

  .home-slider-1 {
    height: 580px;

    .slide-1 {
      .slide-texts {
        .text-1 {
          line-height: 50px;
        }
        .text-2 {
          line-height: 100px;

        }
        .text-3 {
          line-height: 30px;
        }
      }
    }

    .swiper-slide-active {
      .slide-1 {
        .slide-texts {
          .text-1 {
            font-size: 50px;
          }
          .text-2 {
            font-size: 80px;

          }
          .text-3 {
            font-size: 30px;
          }
        }
      }

      .slide-2 {
        .slide-texts {
          .text-1 {
            font-size: 80px;
          }
          .text-2 {
            font-size: 30px;
            margin-top: 20px;
          }
        }
      }

      .slide-3 {
        .slide-texts {
          .text-1 {
            font-size: 80px;
          }
          .text-2 {
            font-size: 30px;
            margin-top: 20px;
          }
        }
      }
    }
  }
}

@media (min-width: 1024px) {
  .home-slider-1 {
    height: 580px;

    .slide-1 img {
      transform: translate(0, -50%);
      height: auto;
      width: 100%
    }
    .slide-2 img {
      transform: translate(0, -50%);
      height: auto;
      width: 100%
    }
    .slide-3 img {
      transform: translate(0, -50%);
      height: auto;
      width: 100%
    }
  }
}

@media (min-width: 1200px) {
  .home-slider-1 {
    .slide-1 img {
      transform: translate(0, -50%);
    }
    .slide-2 img {
      top: 0;
      transform: translate(0, 0%);
    }
    .slide-3 img {
      transform: translate(0, -60%);
    }
  }
}