#customPageTitle {
  display: none;
}
h1 {
  opacity: 0;
  margin-top: 40px;
  margin-bottom: 20px;
}
.centeredContent > section {
  width: 95%;
  margin: 0 auto;
}

.centeredContent > section {
  width: 100%;
}

section.bannerTop img {
  width: 100%;
}

.bannerTop img {
  width: 100%;
}

.bannerTopDesk {
  display: block;
}

.bannerTopMobile {
  display: none;
}

.bannerTop {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: auto;
}

.textAboutBannerTop {
  width: 45%;
  float: left;
  position: absolute;
  display: flex;
  flex-direction: column;
  margin-left: 10%;
  margin-bottom: 3rem;
}

.titleBannerTop {
  font-size: 40px;
  line-height: 48px;
  font-weight: 500;
}

.titleColor {
  color: #4200c1;
}

.titleItalic {
  font-style: italic;
}

.textBannerTop {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  width: 69%;
}

section.bannerMiddle {
    background: linear-gradient(135deg, #4200C1 20%, #000000 150%);
    width: 100%;
    height: auto;
    position: relative;
    border-radius: 70px 70px 0 0;
    display: flex;
    /* justify-content: center; */
    align-items: center;
    top: -60px;
    margin-bottom: 24rem;
}

.diente1 {
    position: absolute;
    width: auto;
    max-width: 380px;
    top: -20%;
    left: 0%;
}

.diente2 {
    position: absolute;
    width: auto;
    max-width: 660px;
    top: -50%;
    right: -2%;
}

.imgBannerMiddleMobile {
    display: none;
}

.imgBannerMiddle {
    display: block;
}

.info2 {
    background: #4200C1;
    width: 92%;
    display: flex;
    position: absolute;
    border-radius: 70px;
    bottom: -43%;
    margin-left: 4%;
    overflow: visible;
    height: auto;
    justify-content: space-between;
    align-items: center;
    padding: 70px 0;
}

.imgBannerMiddle {
    width: 100%;
    margin-left: 10%;
}

.tittleBannerMiddle {
    color: #00DDD2;
    letter-spacing: 2px;
}

.subTittleBannerMiddle {
    color: white;
    font-size: 54px;
    line-height: 60px;
    width: 50%;
    text-align: center;
    margin: 0 auto;
}

.info1 {
    text-align: center;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 100px;
    height: 800px;
    justify-content: center;
    align-items: center;
    bottom: 4rem;
    position: relative;
}

.textAboutBannerMiddle {
    color: white;
    position: absolute;
    width: 29%;
    right: 20%;
}

.secondBanner {
    width: 50%;
}

.titleBannerMiddle {
    font-size: 40px;
    line-height: 48px;
}

.titleBannerMiddle span {
    color: #00DDD2;
}

.textBannerMiddle {
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
}

.cards-section {
    display: flex;
    width: 92% !important;
    gap: 30px;
    justify-content: center;
    margin-bottom: 60px !important;
}

.card {
    background: white;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    padding: 40px;
    text-align: left;
    position: relative;
    justify-content: flex-start;
    width: 440px;
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 25px;
  right: 25px;
}

.card h2 {
    color: #4200C1;
    font-size: 40px;
    line-height: 48px;
    font-weight: 500;
    margin-top: 25%;
    margin-bottom: 60px !important;
}

.card h3 {
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
}

.row {
  display: flex;
  flex-direction: row;
  /* width: var(--web-container); */
  margin: 0px auto 40px;
}

.row:nth-of-type(even) {
  flex-direction: row-reverse;
}
.row:last-child {
  margin-bottom: 0px;
}
.row:nth-of-type(odd) .col-2:nth-child(2) .info.onViewport {
  opacity: 0;
  -webkit-animation: fade-in-left 0.5s cubic-bezier(0.39, 0.575, 0.565, 1) 0.2s
    both;
  animation: fade-in-left 0.5s cubic-bezier(0.39, 0.575, 0.565, 1) 0.2s both;
}
.row:nth-of-type(even) .col-2:nth-child(2) .info.onViewport {
  opacity: 0;
  -webkit-animation: fade-in-left 0.5s cubic-bezier(0.39, 0.575, 0.565, 1) 0.2s
    both;
  animation: fade-in-left 0.5s cubic-bezier(0.39, 0.575, 0.565, 1) 0.2s both;
}

.col-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
}

.imgContainer,
.img {
  width: 100%;
  display: block;
  border-radius: var(--border-radius);
}

.centeredContent {
  width: 100% !important;
  max-width: unset;
  overflow: visible;
  /* margin-bottom: 50rem; */
  margin: 0 auto;
}

.info {
  opacity: 0;
  width: 71%;
  font-size: var(--base-font-size);
  line-height: var(--base-line-height);
}

.row:nth-of-type(odd) .col-2:nth-child(2) .info.onViewport {
  animation: fade-in-right 0.5s cubic-bezier(0.39, 0.575, 0.565, 1) 0.2s both;
  -webkit-animation: fade-in-right 0.5s cubic-bezier(0.39, 0.575, 0.565, 1) 0.2s
    both;
}
.centeredContent h2 {
  margin-bottom: 30px;
  /* text-transform: uppercase; */
  width: 100%;
  max-width: unset;
  /* font-weight: var(--custom-titles-font-weight); */
  /* font-size: var(
  --group-font-size); */
  /* line-height: var(
  --group-line-height); */
}
.videoBanner {
  height: calc(100svh - var(--menu-height));
  width: 100%;
  object-fit: cover;
}

h1,
#customPageTitle {
  text-align: left;
  text-transform: uppercase;
  font-family: var(--secondary-font);
  letter-spacing: 2px;
}

/* figure.tr-4.observer.onViewport {
    -webkit-animation: fade-in-left 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) 0.2s both;
    animation: fade-in-left 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) 0.2s both;
};

.textAboutBannerTop.observer.onViewport {
    -webkit-animation: fade-in-left 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) 0.2s both;
    animation: fade-in-left 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) 0.2s both;
} */


/* section.bannerMiddle.observer.onViewport {
  -webkit-animation: fade-in-right 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) 0.2s both;
  animation: fade-in-right 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) 0.2s both;
} */

/* section.cards-section {
  -webkit-animation: fade-in-left 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) 0.2s both;
    animation: fade-in-left 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) 0.2s both;
} */

/* .info1.observer.onViewport {
  -webkit-animation: fade-in-left 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) 0.2s both;
    animation: fade-in-left 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) 0.2s both;
}

.info2.observer.onViewport {
  -webkit-animation: fade-in-right 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) 0.2s both;
  animation: fade-in-right 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) 0.2s both;
} */

@keyframes fade-in-left {
  0% {
      opacity: 0;
      transform: translateX(-40px);
  }
  100% {
      opacity: 1;
      transform: translateX(0);
  }
}

@keyframes fade-in-right {
  0% {
      opacity: 0;
      transform: translateX(40px);
  }
  100% {
      opacity: 1;
      transform: translateX(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

.diente1.observer.onViewport,
.diente2.observer.onViewport {
  animation: float 2s ease-in-out infinite;
}

.diente1.observer.onViewport {
  animation-delay: 0s;
}

.diente2.observer.onViewport {
  animation-delay: 2s;
}


/* === Imagenes que entran de izquierda a derecha === */
figure.observer.onViewport,
img.observer.onViewport,
.card img.observer.onViewport {
  animation: fade-in-left 0.6s ease-out forwards;
}

/* === Textos que entran de derecha a izquierda === */
.textAboutBannerTop.observer.onViewport,
.textAboutBannerMiddle.observer.onViewport,
.info1.observer.onViewport,
.info2.observer.onViewport,
.card h2.observer.onViewport,
.card h3.observer.onViewport {
  animation: fade-in-right 0.6s ease-out forwards;
}


@media screen and (max-width: 1100px) {
  .centeredContent {
    /* margin: 0 auto !important; */
  }

  .row {
    flex-direction: column;
  }
  h1 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: calc(var(--h1-font-size) - 5px);
    line-height: calc(var(--h1-line-height) - 5px);
  }
  .row:nth-of-type(even) {
    flex-direction: column;
  }

  .col-2 {
    width: 100%;
  }

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

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

@media screen and (max-width: 768px) {
  .centeredContent.customPageCenteredContent.font1 {
    width: 100% !important;
    margin: 0;
    /* margin-bottom: 45rem; */
  }

  .bannerTop {
    
flex-direction: column;
  }

  .bannerTopDesk {
    display: none;
  }

  .bannerTopMobile {
    display: block;
  }

  .textAboutBannerTop {
    width: 90%;
    bottom: 23vh;
    align-items: center;
    margin-left: 5%;
    margin-bottom: 0;
  }

  .titleBannerTop {
    font-size: 29px;
    line-height: 37px;
    color: #4200c1;
    margin-bottom: 25px !important;
  }

  .titleColor {
    color: var(--base);
  }

  .titleItalic {
    font-style: normal;
  }

  .textBannerTop {
    width: 100%;
    font-size: 13px;
  }

  .diente2 {
    max-width: 350px;
    top: -25%;
    right: 12%;
  }

  .info1 {
    height: 485px;
    margin-top: 60px;
    margin-bottom: 50px;
    bottom: 0rem;
  }

  .tittleBannerMiddle {
    text-align: center;
    font-size: 13px;
  }

  .subTittleBannerMiddle {
    font-size: 30px;
    line-height: 36px;
    width: 85%;
  }

  .imgBannerMiddle {
    display: none;
  }

  .imgBannerMiddleMobile {
    display: block;
    width: 100%;
    border-radius: 40px;
    object-fit: contain;
  }

  .info2 {
    flex-direction: column;
    padding: 20px 0;
    border-radius: 40px;
    height: 710px;
    bottom: -100%;
    width: 90%;
    margin-left: 5%;
  }

  .textAboutBannerMiddle {
    width: 90%;
    right: 4%;
    bottom: 6%;
  }

  .secondBanner {
    width: 90%
  }

  .titleBannerMiddle {
    font-size: 30px;
    line-height: 36px;
  }

  .diente1 {
    max-width: 350px;
    bottom: -143%;
    top: unset;
    z-index: 1;
    left: unset;
    right: 47%;
  }

  section.bannerMiddle {
    margin-bottom: 36rem;
  }

  .cards-section {
    flex-direction: column;
    width: 90% !important;
  }

  .card {
    width: auto;
  }

  .card h2 {
    margin-top: 35%;
    margin-bottom: 40px  !important;
  }

  .card img {
    top: 20px;
    right: 20px;
  }
}

@media (min-width: 1540px) and (max-width: 1919.98px) {
  .info1 {
    bottom: 5rem;
  }
}

