#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
}


.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
}
.secondHeader{
  background: var(--base);
  color: white;
}
.box{
  background: var(--base);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 3rem 0;
}
.box .textBox{
  width: 52%;
}
.linksWrapper li:not(.active):hover::before {
  filter:invert(1)
}
.linksWrapper li.active{
  filter:invert(1);
  color:black
}
.linksWrapper li:not(.active) {
  color: var(--white) !important;
}

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

.bkgImg img {
  width: 100%;
  height: 100%;
}
.boxContainer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 65%;
  gap: 20px;
  margin: auto;
  padding: 3rem 0 4rem;
}
.boxInfo {
  width: calc((100% - 80px) / 5);
  display: flex;
  gap: 15px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.boxInfo img {
    transition:0.3s all ease;
    width: 100%;
    aspect-ratio: 188/365;
}
.boxInfo:hover img {
    transform: translateY(-10px);
}
 .linksWrapper{
      background:var(--base) !important;
  }
@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)
  }

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

  .col-2 {
    width: 100%
  }

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

  .centeredContent h2 {
    margin-bottom: 1rem;
  }

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

  .locationsContainer {
    flex-direction: column
  }

  .locationTitle {
    font-size: 25px;
    line-height: 30px;
  }

  .ourLocation {
    margin: 4rem auto;
    gap: 3rem;
  }

  .locationsContainer {
    display: flex;
    gap: 3rem;
  }

  .locationName {
    font-size: 25px;
    line-height: 30px;
  }

  .locationAddress {
    font-size: 18px;
    line-height: 21px;
    margin-bottom: 0;
  }
}

@media screen and (max-width: 768px) {
  .secondHeader{
    width:100%;
    padding: 0 5%;
    box-sizing: border-box;
  }
  .container {
    flex-direction: column;
    width: 90%;
    gap: 0;
    margin-bottom: 20px;
  }

  .locationContainer {
    width: 100%;
}
.box .textBox {
  width: 76%;
  margin: 1rem;
  font-size: 14px;
}
  .textBox {
    width: 100%;
    flex-direction: column;
    font-size: 16px;
    margin: 3rem auto;
    line-height: 24px;
  }
.boxContainer{
  flex-direction:column;
  width: 50%;
}
  .boxInfo{
     width: 100%;
  }
  .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%
  }

  .imagesContainer {
    width: 100%
  }

  .infoDescription {
    width: 100%
  }

  .textInfo {
    width: 100%
  }

  .bkgImg {
    height: auto;
  }

  .bkgImg .imgMobile {
    display: block;
  }

  .bkgImg .imgDesktop {
    display: none;
  }

  .infoContainer {
    display: flex;
    flex-direction: column;
    margin: 1.5rem auto;
  }

  .titleBox {
    font-size: 20px;
    width: 100%;
    line-height: 32px;
  }

  .articleBox {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .article {
    width: 100%;
  }

  .bottomInfo {
    bottom: 50px
  }

  .bottomTitle {
    font-size: 30px;
    line-height: 30px;
    width: 90%;
  }

  .bottomText {
    font-size: 14px;
    line-height: 17px;
    font-weight: 100;
    width: 82%;
  }

  .statsInfo {
    display: flex;
    flex-direction: column;
    margin: 0 auto 2rem;
  }

  .statItem {
    margin: 5rem auto;
  }

  .statNumber {
    font-size: 50px;
  }

  .statName {
    font-size: 30px
  }
}