html,
body {
  overflow-x: hidden;
}

body {
  width: 100%;
  background-color: #f2d0a4;
}

.hero-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("assets/gym1.jpg");
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero-text {
  color: #ffffff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
}

.hero-container {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(./assets/gym1.jpg);
  height: 100vh;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0);
  opacity: 0;
}

.overlay:hover {
  opacity: 0.3;
}

.text {
  display: none;
}

.overlay:hover .text {
  display: inline-block;
}

.button-join {
  padding: 1em 2em;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #2caf60;
  transition: all 1000ms;
  font-size: 15px;
  position: relative;
  overflow: hidden;
  outline: 2px solid #2caf60;
}

#button-join:hover {
  color: #ffffff;
  transform: scale(1.1);
  outline: 2px solid #70caa6;
  box-shadow: 4px 5px 17px -4px #269158;
}

#button-join::before {
  content: "";
  position: absolute;
  left: -50px;
  top: 0;
  width: 0;
  height: 100%;
  background-color: #2caf60;
  transform: skewX(45deg);
  z-index: -1;
  transition: width 1000ms;
}

#button-join:hover::before {
  width: 250%;
}

.benefit ul div div li {
  margin: 0 40px 20px 0;
}

#li3 {
  margin: 40px 40px 20px 0;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  color: #080705;
  border-bottom: 10px solid black;
  font-weight: 700 !important;
  padding: 0.25rem 0;
  background-color: #a4303f;
}

.navbar-nav>li:hover {
  border-bottom: 1px solid #080705;
  color: white !important;
}

.navbar-light .navbar-nav .nav-link {
  color: #080705;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: #080705;
}

.navbar-light .navbar-nav .nav-link.active {
  color: white !important;
}

.navbar-nav>.active {
  color: white;
  border-bottom-color: white;
  border-bottom: 1px solid;
}

.navbar-nav {
  z-index: 1;
}

@media (max-width: 767px) {
  .desktop-carousel {
    display: none;
  }

  .mobile-carousel .carousel-inner .carousel-item img {
    max-height: 260px;
    max-width: 100%;
    object-fit: contain;
  }
}

@media (min-width: 768px) {
  .mobile-carousel {
    display: none;
  }
}

#myCarousel {
  max-width: 500px;
  margin: 0 auto;
}

.carousel-item {
  height: 0;
  padding-top: 100%;
}

.carousel-item img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0.5;
  z-index: 5;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  height: 100%;
}

.featurette-divider {
  margin: 5rem 0;
}

.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.05rem;
}

.featurette-img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.padleft {
  padding-left: 5%;
}

.padright {
  padding-right: 5%;
}

.pagination-outer {
  text-align: center;
}

.pagination {
  display: inline-flex;
  position: relative;
  border: 2px solid #333;
}

.pagination li a.page-link {
  color: #333;
  background-color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 37px;
  height: 38px;
  width: 42px;
  padding: 0;
  margin: 0;
  border: none;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease 0s;
}

.pagination li:first-child a.page-link {
  border-radius: 2px 0 0 2px;
}

.pagination li:last-child a.page-link {
  border: none;
  border-radius: 0 2px 2px 0;
}

.pagination li a.page-link:hover,
.pagination li a.page-link:focus,
.pagination li.active a.page-link:hover,
.pagination li.active a.page-link {
  color: #fff;
  background: #a4303f;
  border-color: #333;
}

.pagination li a.page-link:before,
.pagination li a.page-link:after {
  content: "";
  background-color: #a4303f;
  height: 100%;
  width: 100%;
  opacity: 0;
  border-bottom: 2px solid #333;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  transition: all 0.4s ease 0s;
}

.pagination li a.page-link:after {
  background-color: #a4303f;
  height: 0;
  border: none;
}

.pagination li.active a.page-link:before,
.pagination li a.page-link:focus:before {
  opacity: 0;
}

.pagination li a.page-link:focus:after,
.pagination li.active a.page-link:after {
  opacity: 1;
  height: 100%;
}

footer {
  background-color: #c8d6af;
  color: black;
}

.square-image {
  height: 100%;
  width: auto;
}

#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  font-size: 24px;
  color: #000;
  background-color: #fff;
  border-radius: 0%;
  padding: 10px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 9999;
}

#back-to-top:hover {
  color: #fff;
  background-color: #000;
  transition: background-color 0.2s ease-in-out;
}

#back-to-top i {
  font-size: inherit;
  line-height: inherit;
}

.mobile-intro {
  display: none;
}

.customcol {
  width: calc((100% / 12 * 6) - 10px);
}

@media (max-width: 1024px) {
  .customcol {
    width: auto;
  }
}

@media (max-width: 992px) {
  .navbar-toggler {
    position: relative;
    top: -22px;
  }

  .navbar-brand .img2 {
    z-index: 1;
    position: relative;
    top: 5px !important;
    height: 90px;
    width: auto;
  }

  .navbar-brand .img1 {
    z-index: 1;
    position: relative;
    top: 5px !important;
    margin-left: 1rem !important;
    height: 90px;
    width: auto;
  }

  .navbar-collapse {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: #a4303f;
    padding: 10px;
    overflow-y: auto;
  }

  .navt1 {
    display: none;
  }

  .top140 {
    top: 140px !important;
  }
}

@media (max-width: 769px) {
  .navbar-toggler {
    position: relative;
    top: -22px;
  }

  .navbar {
    max-width: 7696px;
  }

  .responsive-img {
    height: calc(50vw) !important;
    max-height: 300px !important;
  }

  .hero-shot {
    display: none;
  }

  .mobile-intro {
    display: block;
  }

  .hero-container {
    height: 65vh;
  }

  .float-end {
    float: none !important;
    margin-right: 0 !important;
  }
}

@media (max-width:500px) {
  .navbar-brand {
    margin-left: 1rem !important;
  }

}

@media (max-width: 376px) {
  .navbar-brand {
    margin-left: 10px !important;
  }

  .navbar-brand .img1 {
    margin-left: 10px !important;
  }

  .navbar-brand .img2 {
    height: 80px;
    width: 80px;
  }

  .navbar-brand .img1 {
    height: 80px;
    width: 110px;
  }

  .navbar-brand .img3 {
    height: 80px;
    width: 80px;
  }

  .navbar-brand .img4 {
    height: 80px;
    width: 110px;
  }
}

.responsive-img {
  height: calc(75vw) !important;
  max-height: 400px !important;
  display: block;
  margin: 0 auto;
}