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

.centeredContent > section {
  width: 100%;
}

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

.row:nth-of-type(even) {
  flex-direction: row-reverse;
}
.headerLink[data-category-id="2"] {
  color: var(--secondary);
}
.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-small);
}

.centeredContent {
  width: 100% !important;
  max-width: unset;
}

.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(--title-font-size);
  line-height: var(--title-line-height);
  color: var(--secondary);
}
.videoBanner {
  height: calc(100svh - var(--menu-height) - 35px);
  width: var(--home-container);
  margin: 0 3%;
  border-radius: var(--border-radius-full);
  margin-top: 2rem;
}

h1,
#customPageTitle {
  text-align: left;
  letter-spacing: 0px;
  opacity: 1;
  color: var(--base-aux);
  width: 80%;
  margin-left: 10%;
  font-size: var(--title-font-size);
  line-height: var(--title-line-height);
}

/* FLIP CARD */

.flipCardContainer {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-bottom: 60px;
  width: var(--home-container);
  margin: 3rem 3% 0;
}

.flip-card {
  background-color: transparent;
  width: calc(100% / 3 - 30px);
  aspect-ratio: 1/1;
  perspective: 1000px;
  /* border-radius: var(--border-radius-full); */
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  /* box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); */
  border-radius: calc(var(--border-radius-full) + 5px);
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: calc(var(--border-radius-full) + 5px);
}

.flip-card-front {
  color: black;
}

.flip-card-front img {
  width: 100%;
  height: 100%;
}

.flip-card-front h1 {
  position: absolute;
  top: 0px;
}

.flip-card-back {
  background-color: var(--secondary);
  color: white;
  transform: rotateY(180deg);
}

.flip-card-back p {
  width: 80%;
  margin: 0 auto;
  text-align: left;
  font-size: var(--base-font-size);
}

/* END FLIP CARD */

ul {
  margin-left: 15px;
}

b {
  font-weight: 500;
}

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

  .row {
    flex-direction: column-reverse;
    margin: 0px 5% 0px;
    width: 90%;
  }
  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-reverse;
  }

  .col-2 {
    width: 100%;
  }

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

  .videoBanner {
    height: 100%;
    object-fit: cover;
    aspect-ratio: 388/559;
    border-radius: 0;
    width: 100%;
    margin: 36px 0% 0;
  }

  /* FLIP CARD */

  .flipCardContainer {
    display: flex;
    gap: 25px;
    flex-direction: column;
    align-items: center;
    margin: 3rem 5% 0;
    width: 90%;
    padding-bottom: 20px;
  }

  .flip-card {
    width: 100%;
    height: 31rem;
    aspect-ratio: unset;
  }

  .flip-card:hover .flip-card-inner {
    transform: unset;
  }

  .flip-card-front h1 {
    position: absolute;
    top: 20px;
    font-size: var(--title-font-size);
    line-height: var(--title-line-height);
  }

  .flip-card-back h1 {
    position: relative;
    top: 20px;
    font-size: var(--title-font-size);
    line-height: var(--title-line-height);
  }

  .flip-card-back p {
    width: 80%;
    margin: 0 auto;
    text-align: left;
    font-size: var(--base-font-size);
    top: 20px;
    position: relative;
  }

  .mobileFlip {
    background-color: white;
    color: var(--secondary);
    border: 1px solid var(--secondary);
    border-radius: var(--border-radius-full);
    position: absolute;
    width: fit-content;
    padding: 10px 22px;
    bottom: 15px;
    right: 15px;
  }

  .mobileFlip.close {
    display: block !important;
  }

  .flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
  }

  .flip-card-front img {
    width: auto;
  }

  .flip-card-front,
  .flip-card-back {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  /* END FLIP CARD */
}
