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

.customsInfo {
  width: 100%;
}
.titleBox {
  width: 44%;
  margin: auto;
  text-align: center;
  padding: 4rem 0;
}
.textBox{
  font-size: 14px;
  width: 50%;
  margin: auto;
  padding: 6rem 0;
  text-align: center;
}
.customImgGroups:nth-child(even){
  
flex-direction: row-reverse;
}
.customImgGroups:nth-child(even) .customLeftGroups{
  padding: 5rem 5% 5rem 12rem;
}
.customLeftGroups {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 12rem 5rem 5%;
  box-sizing: border-box;
  gap: 20px;
  border: 1px solid #CFCFCF;
}

.groupTitle {
    width: 100%;
    font-size: 25px;
    font-weight: 500;
}

.groupDescription {
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    text-align: left;
}
.customImgGroups {
  width: 100%;
  display: flex;
  position: relative;
}

.customRigthGroups {
  width: 50%;
  height: auto;
}
.customRigthGroups img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 350/306;
}

.customCenterGroups {
  display: grid;
  grid-template-columns: 3fr 1fr;
  border: 1px solid #CFCFCF;
  gap: 20px;
  padding: 1.5rem 2rem;
  width: -webkit-fit-content;
  width: fit-content;
  height: auto;
  background: var(--white);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin: auto;
  left: 0;
  right: 0;
  font-size: 16px;
  text-align: left;
}
.centerGroups {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  text-align: left;
}
.centerGroups span{
  font-weight:700
}
.centerGroups ul{
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: left;
}
.centerGroups ul li{
  list-style:none
}
.centerGroups ul li:last-child{
  font-weight:700
}
.centerGroups ul li span{
  font-weight: 700;
}
.boxContainer {
  width: 90%;
  display: flex;
  gap: 20px;
  margin: 0px auto 3rem;
}
.ground {
  width: 100%;
  text-align:center;
  position: relative;
}

.ground img{
  width: 100%;
}
.groundName{
  position: absolute;
  bottom: 20px;
  color: var(--white);
  width: 100%;
}
@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%;
    margin:auto;
    gap: 0;
    margin-bottom: 20px;
  }
  .customImgGroups:nth-child(even){
  flex-direction: column-reverse;
  }
  .boxContainer{
    flex-direction:column;
    width: 65%;
  }
  .customsContainer{
  width: 90%;
  margin: auto;
  }
  .customImgGroups{
    display: grid;
    grid-template-columns: 1fr;
  }
  .customRigthGroups{
    margin-top: 1rem;
    width:100%;
    /* order: 1; */
  }
  .customLeftGroups{
    width:100%;
    padding: 3rem 0 0rem;
    border: none;
    order: 2;
  }
  .customImgGroups:nth-child(even) .customLeftGroups{
  padding: 3rem 0 0rem;
}
  .customCenterGroups{
    position: relative;
    bottom: unset;
    top: unset;
    transform: translateY(0%);
    gap: 40px;
    padding: 2rem 3rem;
    margin: 1rem 0;
    width: 100%;
    box-sizing: border-box;
    order: 3;
  }
  .centerGroups{
    gap: 30px;
  }
  .centerGroups ul{
    gap: 30px;
  }
.customsInfo .textBox{
  width: 89%;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
}
.groupTitle {
    font-size: 20px;
}
  .groupDescription{
    font-size: 15px;
  }
  .locationContainer {
    width: 100%;
}

  .textBox {
    width: 100%;
    flex-direction: column;
    font-size: 16px;
    margin: 3rem auto 6rem;
    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: 82%;
  }

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

  .statItem {
    margin: 5rem auto;
  }

  .statNumber {
    font-size: 50px;
  }

  .statName {
    font-size: 30px
  }
}