.titulo-seccion1 {
  text-align: center;
}

.texto-seccion1 {
  text-align: center;
}

.size-icon {
  font-size: 2rem;
}

/* ===============================================================================================
EFECTO PARALLAX
===============================================================================================  */
.section-background {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  height: 100vh;
  width: 100%;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.parallax {
  /* background-image: url("../img/3.png"); */
  --opacidad-negro: 0.5;
  background-image: linear-gradient(
      rgba(0, 0, 0, var(--opacidad-negro)),
      rgba(0, 0, 0, var(--opacidad-negro))
    ),
    url("../img/3.png");
}

/* ===============================================================================================
SLIDER - CARUSEL
===============================================================================================  */
.titulo-carusel {
  font-size: 2.5rem;
  font-weight: bold;
}

.texto-casusel {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 50px;
}

.image-carusel {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  top: 22%;
  /* right: 15%; */
  /* bottom: 1.25rem; */
  /* bottom: 15%; */
  /* padding-top: 5rem; */
  /* padding-bottom: 1.25rem; */
  /* color: #fff; */
  text-align: center;
}

.contenedor-vistas{
    aspect-ratio: 4/3;
    position: relative;
  }

  .vista1, .vista2{
    position: absolute;
    inset: 0;
  }
  .vista2{
    /* background-color: #8aa755; */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .vista1{
    transform: rotateY(0deg);
    transition: transform .25s linear .25s;
    display: flex;
    align-items: center;
  }
  
  .contenedor-vistas:hover .vista1{
    transform: rotateY(90deg);
    transition: transform .25s linear;
  }
  
  .vista2{
    transform: rotateY(90deg);
    transition: transform .25s linear;
  }
  
  .contenedor-vistas:hover .vista2{
    transform: rotateY(0);
    transition: transform .25s linear .25s;
  }

  .contenedor-vistas img {
    position: absolute;
    inset: 0;
  }
  .contenedor-vistas .vista1 h1{
    position: absolute;
    width: 100%;
  }

  span, h1{
    color: #000;
    font-size: 18px;
    margin: 0;
  }
  h1{
    font-size: 30px;
  }

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .borde-seccion{
    border-style: solid;
    border-color: #8aa755;
    border-width: 5px;
  }

@media only screen and (max-width: 540px) {
  .titulo-carusel {
    font-size: 1.5rem;
    font-weight: bold;
  }

  .texto-casusel {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 50px;
  }
}

@media only screen and (max-width: 992px) {
}
