#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 {
  display: block;
  width: 100vw;
}

.bkgImg img {
  width: 100%;
}

.container {
  width: 90%;
  margin: 40px auto
}

.infoContainer {
  width: 90%;
  margin: 6rem auto;
  display: grid;
  grid-template-columns: 1.5fr 1.2fr;
}

.titleBox {
  font-size: 45px;
  line-height: 56px;
  font-weight: 600;
  width: 430px;
  text-transform: uppercase;
}

.textBox {
  font-size: 18px;
  line-height: 25px;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.articleBox {
  width: 100vw;
  display: flex;
  gap: 10px;
}

.article {
  position: relative;
  width: calc(100% / 3);
  transition: opacity 0.5s ease-out;
  overflow: hidden;
}

.article:hover {
  opacity: 1 black;
}

.article img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease-out;
}

.article:hover img {
  transform: scale(1.1);
  filter: brightness(30%);
}


.bottomInfo {
  width: 92%;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 25px;
  color: white;
  margin: auto;
}

.bottomTitle {
  font-size: 38px;
  line-height: 48px;
  font-weight: 600;
}

.bottomText {
  padding-top: 10px;
  overflow: hidden;
  max-height: 0px;
  width: 95%;
  font-size: 18px;
  line-height: 21px;
  opacity: 0;
  transition: 0.4s all ease-out;
}

.article:hover .bottomText {
  max-height: 200px;
  opacity: 1
}

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

.statsInfo {
  width: 70%;
  margin: 10rem auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.statItem {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.statNumber {
  font-size: 53px;
  font-weight: 600;
}

.statName {
  font-size: 36px;
  font-weight: 400;
}

.bkgImg .imgMobile {
  display: none;
}

.bkgImg .imgDesktop {
  display: block;
}

.ourLocation {
  width: 90%;
  margin: 6rem auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

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

.locationContainer {
  gap: 1rem;
  display: flex;
  flex-direction: column;
  width: calc(100%/3);
}

.locationContainer.fade-in-bottom.observer.onViewport {
  -webkit-animation: fade-in-bottom 1s cubic-bezier(.39, .575, .565, 1) both;
  animation: fade-in-bottom 1s cubic-bezier(.39, .575, .565, 1) both;
}

.locationContainer img {
  width: 100%;
  object-fit: cover;
  height: auto;
  aspect-ratio: 442/294;
}

.locationTitle {
  font-size: 35px;
  line-height: 42px;
  font-weight: 600;
  text-transform: inherit;
}

.locationName {
  font-size: 25px;
  line-height: 36px;
  font-weight: 600;
  text-transform: uppercase;
}

.locationInfo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  width: 90%;
}

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

.locationDescription {
  font-size: 16px;
  line-height: 19px;
}

@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) {
  .container {
    flex-direction: column;
    width: 90%;
    gap: 0;
    margin-bottom: 20px;
  }

  .locationContainer {
    width: 100%;
}

  .textBox {
    width: 100%;
    flex-direction: column;
    font-size: 16px;
    margin: 3rem auto;
    line-height: 24px;
  }

  .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: 30px;
    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: 83%;
  }

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

  .statItem {
    margin: 5rem auto;
  }

  .statNumber {
    font-size: 50px;
  }

  .statName {
    font-size: 30px
  }
}