#customPageTitle {
  display: none
}

h1 {
  opacity: 0;
  margin-top: 40px;
  margin-bottom: 45px
}

.centeredContent>section {
  width: 95%;
  margin: 0 auto
}

.centeredContent>section {
  width: 100%
}

.row {
  display: flex;
  flex-direction: row
}

.row:nth-of-type(even) {
  flex-direction: row-reverse
}

.row:nth-of-type(odd) .col-2:first-child .info.onViewport {
  opacity: 0;
  -webkit-animation: fade-in-left 0.5s cubic-bezier(.39,.575,.565,1) 0.2s both;
  animation: fade-in-left 0.5s cubic-bezier(.39,.575,.565,1) 0.2s both
}

.row:nth-of-type(even) .col-2:first-child .info.onViewport {
  opacity: 0;
  -webkit-animation: fade-in-right 0.5s cubic-bezier(.39,.575,.565,1) 0.2s both;
  animation: fade-in-right 0.5s cubic-bezier(.39,.575,.565,1) 0.2s both
}

.bkgImg {
  width: 100%;
  display: block;
  height: 45vh;
}

.bkgImg img {
  width: 100%;
  object-fit: cover;
}

.container {
  width: 90%;
  margin: 40px auto
}
.logoImg{
  display: flex;
  justify-content: center;
  width:100%;
}
.textBox {
  width: 45%;
  margin: 3rem auto 5rem;
  line-height: 19px;
  font-size: 13px;
  font-weight: 400;
  font-family: var(--font1);
}
.textBox p{
  margin: 20px auto;
}
.leftText {
  width: 50%;
  border-right: 1px solid var(--black);
  opacity: 0;
}

.leftText img {
  margin-bottom: 20px
}

.leftText p {
  width: 70%
}

.rightText {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: end;
  gap: 40px;
  opacity: 0;
}

.info {
  width: 80%
}

.info img {
  margin-bottom: 15px
}

.imgBox {
  width: 100%;
  display: flex;
  justify-content: space-between;
  opacity: 0;
}

.imgBox img {
  width: calc((100% / 3) - 35px);
}
.leftText.onViewport {
  -webkit-animation: fade-in-left 0.6s cubic-bezier(.39,.575,.565,1) both;
  animation: fade-in-left 0.6s cubic-bezier(.39,.575,.565,1) both
}
.rightText.onViewport {
  -webkit-animation: fade-in-right 0.6s cubic-bezier(.39,.575,.565,1) both;
  animation: fade-in-right 0.6s cubic-bezier(.39,.575,.565,1) both
}
.imgBox.onViewport {
  -webkit-animation: fade-in-bottom 0.6s cubic-bezier(.39,.575,.565,1) both;
  animation: fade-in-bottom 0.6s cubic-bezier(.39,.575,.565,1) both
}

.container1 {
  display: flex;
  width: 100%;
  background-color: #F7F7F7;
  align-items: center;
  /* margin: 40px auto; */
}

.img-left {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5rem 0;
}

.img-container1 {
  width: 60%;
  aspect-ratio: 1/1;
}

.content-right {
  width: 100%;
}

.texto2 {
  /* margin-right: 10rem; */
  font-size: 14px;
  width: 80%;
  line-height: 19px;
}

.texto2 p {
  padding: 10px;
}

.textSolo {
  width: 100%;
  height: 35vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.textSolo p {
  width: 40%;
  font-size: 18px;
  color: #000000;
  line-height: 26px;
  font-family: Restora;
  font-style: italic;
  text-align: center;
  font-weight: lighter;
}

#container2 {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.Mision {
  display: flex;
  width: 100%;
  /* align-items: center; */
  height: 100%;
}

.titulos {
  opacity: unset;
  font-size: 18px;
  font-family: Idlewild;
  margin-bottom: 15px;
}

.relleno2 {
  background-color: #EFEFEF;
  width: 50%;
  display: flex;
  flex-direction: column;
  /* height: 100%; */
  justify-content: center;
  text-align: center;
}

.relleno2 p {
  padding: 0 8rem;
  margin-bottom: 25px;
  font-size: 14px;
  line-height: 19px;
}

.relleno {
  width: 50%;
  height: 100%;
}

.relleno img {
  height: 100%;
}

#container2 .Mision.fade-in-left.observer:nth-child(2) .relleno2 {
  background-color: #FFFFFF;
}

img.imageMobile {
  display: none;
}


@media screen and (max-width: 1100px) {
  .row {
      flex-direction:column
  }

  h1 {
      margin-top: 30px;
      margin-bottom: 0;
      font-size: calc(var(--h1-font-size) - 5px);
      line-height: calc(var(--h1-line-height) - 5px)
  }

  /* .content-right {
    height: 100%;
  }

  .texto2 {
    height: 300px;
  } */
  
  .row:nth-of-type(even) {
      flex-direction: column
  }

  .col-2 {
      width: 100%
  }

  .info {
      width: 92%;
      margin: 40px 0
  }

  .centeredContent h2 {
      margin-bottom: 17px
  }

  .videoBanner {
      height: 100%;
      object-fit: cover;
      aspect-ratio: 16/9
  }
}

@media screen and (max-width: 768px) {
  .container {
      flex-direction:column;
      width: 90%;
      gap: 0;
      margin-bottom: 20px;
  }

  img.imageDesktop {
    display: none;
  }

  img.imageMobile {
    display: unset;
  }

  .bkgImg {
    height: 313px;
  }

  .textBox {
      width: 100%;
      flex-direction: column;
      font-size: 12px;
      margin: 4rem auto
  }

  .leftText {
      border: none;
      border-bottom: 1px solid var(--black);
      padding-bottom: 3rem;
      width: 100%
  }

  .rightText,.rightText p,.leftText p,.info,.info p {
      width: 100%
  }

  .rightText {
      gap: 10px
  }

  .reverse {
      flex-direction: column-reverse
  }

  .imgBox {
      width: 100%;
      flex-direction: column;
      gap: 20px
  }

  .imgBox img {
      width: 100%
  }


  .textContainer {
      width: 100%
  }

  .right img {
      width: 100%;
      margin-bottom: 0
  }

  .imagesContainer {
      width: 100%
  }

  .infoDescription {
      width: 100%
  }

  .textInfo {
      width: 100%
  }

  .bkgImg img {
    height: 313px;
  }

  .container1 {
    flex-direction: column-reverse;
  }

  .texto2 {
    margin: 2rem 1rem;
    font-size: 13px;
    width: 91.5%;
  }

  .textSolo p {
    width: 90%;
    font-size: 16px;
  }

  .img-container1 {
    width: 87%;
    margin: 10px 25px;
  }

  .Mision {
    flex-direction: column-reverse;
  }

  .relleno, .relleno2 {
    width: 100%;
    height: 390px;
    text-align: left;
  }

  .relleno2 p {
    padding: 0 1.5rem;
    font-size: 13px;
    line-height: 19px;
  }

  #container2 .Mision.fade-in-left.observer:nth-child(2) {
    flex-direction: column;
  }

  #container2 .Mision.fade-in-left.observer:nth-child(2) .relleno2 {
    height: 460px;
    background-color: #EFEFEF;
  }

  .relleno {
    height: 100%;
  }

  .relleno img {
    height: 390px;
  }

  .titulos {
    font-size: 16px;
  }

  .img-left {
    margin: 1rem 0;
  }
}
