#customPageTitle {
  display: none;
}
h1 {
  opacity: 0;
  margin-top: 40px;
  margin-bottom: 20px;
}
.centeredContent > section {
  width: 95%;
  margin: 0 auto;
}

.centeredContent > section {
  width: 100%;
}

.sobreNosotros {
  font-family: var(--Syne);
  color: var(--base);
  width: 100%;
}

.bloque {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  align-items: center;
  justify-content: space-between;
  padding: 5rem 5%;
  gap: 3rem;
  flex-wrap: wrap;
}

.bloque.doble {
  position: relative;
  padding: 0;
  grid-template-columns: 1.2fr 1.5fr 1fr;
  margin-bottom: 5rem;
}

.bloque.doble2 {
  display: flex;
  padding: 5rem 0;
}

.bloque.doble3 {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  padding: 0;
  align-items: center;
  height: 645px;
  background: var(--secondary);
}

.bloque.doble3 .imagen {
  height: 100%;
}

.bloque.doble3 .imagen img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}


.textContainer {
  height: auto;
  display: flex;
  flex-direction: column;
  flex: 1;
  color: white;
  justify-content: center;
  gap: 40px;
  font-size: 14px;
  /* width: 544px; */
  min-width: 533px;
  font-weight: 400;
}

.texto5 {
  margin-left: 14%;
  width: 67%;
}

.texto5 span {
  font-weight: 700;
}

.texto5 ul {
  /* margin-left: 4%; */
  margin-left: 17px;
}

.bloque.doble3 .imagen img {
  width: auto;
  object-fit: cover;
  height: auto;
}

.texto4 {
  width: 40%;
  margin-left: 5%;
  font-weight: 400;
}

.texto4 ul {
  margin-left: 27px;
}

.bloque.doble:first-of-type {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  align-items: center;
  justify-content: space-between;
  padding: 5rem 5%;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 0rem;
}

.bannerFullScreen {
  width: 100%;
}

.logoAbout {
  position: absolute;
  width: 300px;
  top: -55px;
  right: 72px;
}

img.imgFirsBanner {
  width: 100%;
}

.bloque .texto {
  max-width: 600px;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
}

.bloque .texto h2,
.bloque .texto3 h2,
.bloque .texto4 h2 {
  font-size: 40px;
  line-height: 48px;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 400;
  font-family: var(--Delauney);
}

.bloque .texto5 h2 {
  font-size: 40px;
  line-height: 48px;
  text-transform: uppercase;
  font-weight: 400;
  font-family: var(--Delauney);
}

.bloque.rojo {
  background: red;
  color: white;
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
}

.texto2 {
    width: 30%;
    font-weight: 400;
}

.bloque.rojo .imagen {
  width: 70%
}

.bloque.rojo img {
  width: 88%;
  margin-right: 20%;
  height: auto;
  position: relative;
}

.texto2 h2 {
  font-size: 40px;
  font-weight: 400;
  line-height: 48px;
  text-transform: uppercase;
  font-family: var(--Delauney);
}

.texto2 p span,
.texto3 p span,
.texto4 p span {
  font-size: 14px;
  font-weight: 700;
}

/* .bloque .texto h2 span,
.bloque .texto3 h2 span,
.bloque .texto4 h2 span {
  color: white;
  background: var(--secondary);
  padding: 3px;
} */

.bloque .texto h2 span,
.bloque .texto3 h2 span,
.bloque .texto4 h2 span {
  /* all: unset;  */
  color: white;
  background: var(--secondary);
  padding: 5px 0 0 0;
  transition: all 0.3s ease;
}

/* .bloque .texto:hover h2 span,
.bloque .texto3:hover h2 span,
.bloque .texto4:hover h2 span {
  color: white;
  background: #E40E00;
  padding: 4px 2px 2px;
} */

.bloque .texto3 h2 {
  position: absolute;
  left: 18rem;
}

.bloque .texto3 h2 {
  position: absolute;
  left: 18rem;
  top: 162px;
}

.texto3 {
  width: 100%;
  display: flex;
  margin-top: 14rem;
  margin-left: 2rem;
  font-weight: 400;
}

.bloque.rojo .texto h2 span {
  color: white;
}

/* Comunidad final */
.bloque.comunidad {
  background: red;
  color: white;
  text-align: center;
  padding: 4rem 2rem;
}

.bloque.comunidad .boton {
  display: inline-block;
  margin-top: 2rem;
  background: white;
  color: red;
  padding: 1rem 2rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
}

/* Mobile
@media (max-width: 1100px) {
  .bloque {
    flex-direction: column;
    text-align: center;
  }

  .bloque .imagenes,
  .bloque .imagen,
  .bloque .texto {
    max-width: 100%;
  }

  .bloque.doble {
    flex-wrap: wrap;
  }

  .bloque .imagenes {
    flex-direction: column;
  }

  .bloque .texto ul {
    text-align: left;
    padding-left: 1.5rem;
  }
} */

.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;
  width: 100%;
  max-width: unset;
}
.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;
}

@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,
.bloque.doble.observer.onViewport,
.bloque.doble3.observer.onViewport {
  animation: fade-in-left 0.6s ease-out forwards;
}

/* === Textos que entran de derecha a izquierda === */
.bloque.rojo.observer.onViewport,
.bloque.doble2.observer.onViewport {
  animation: fade-in-right 0.6s ease-out forwards;
}

.bannerFullScreenMobile, .img5mobile, .img6mobile {
  display: none;
}


.bannerFullScreen,
.img5,
.img6 {
  display: block;
}

@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; */
  }

  .bloque.doble:first-of-type {
    display: flex;
    padding: 2rem 5%;
    width: 90%;
  }

  .bloque .texto h2 {
    text-align: center;
  }

  .bloque.rojo {
    flex-direction: column;
    padding: 0;
  }

  .bloque.rojo .texto2 {
    width: 90%;
    margin-top: 40px;
  }

  .bloque.rojo img {
    width: 100%;
    display: flex;
  }

  .bloque.doble {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    flex-wrap: nowrap;
    margin-bottom: 1rem;
  }

  .bloque.doble .imagen {
    display: flex;
    width: 100%;
  }

  .logoAbout {
    width: 260px;
    right: 52px;
  }

  .bloque .texto3 h2 {
    left: 0rem;
    text-align: center;
    top: 7rem;
  }

  .texto3 {
    margin: 16rem auto 0;
    width: 90%;
  }

  .texto3 p {
    margin: 0 auto;
    width: 100%;
  }

  .bannerFullScreenMobile,
  .img5mobile,
  .img6mobile {
    display: block;
    width: 100%;
  }

  .bloque .texto h2 span,
  .bloque .texto3 h2 span,
  .bloque .texto4 h2 span {
    color: white;
    background: var(--secondary);
  }

  .bloque.doble3 .imagen img {
    width: 100%;
  }

  .img5mobile {
    display: block;
    width: 100%;
    margin: 0 auto;
  }

  .bannerFullScreen,
  .img5,
  .img6 {
    display: none;
  }

  .bloque.doble2 {
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 2rem 0;
  }

  .bloque.doble2 .imagen {
    width: 90%;
    display: flex;
  }

  .bloque.doble3 {
    flex-direction: column;
    height: auto;
  }

  .texto5 {
    width: 90%;
    margin: 0px auto;
  }

  .texto5 ul {
    margin-left: 6%;
  }

  .textContainer {
    margin: 2rem 0;
    min-width: unset;
  }

  .texto4 {
    width: 90%;
    margin: 0 auto;
  }

  .bloque .texto4 h2 br {
    /* width: 100%; */
    display: none;
  }
}

.bloque.doble3 .imagen {
  /* width: 100%; */
  display: flex;
}

@media (min-width: 1540px) and (max-width: 1919.98px) {
  .info1 {
    bottom: 5rem;
  }
}
