/* MY Custom CSS */
html {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

header {
  margin-bottom: 1rem;
}

/* Slightly darker background for light theme */
:root[data-bs-theme='light'] body {
  background-color: #f0f0f0; /* You can also try #f7f7f7 or #f0f0f0 */
}


/* For Exercises List Hover Action */
.card-hover {
  position: relative;
  overflow: hidden;
}

.card-hover:hover {
  transition-duration: .5s;
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.play-button {
  color: white;
  font-size: 2rem;
}

.card-hover:hover .overlay {
  opacity: 1;
}

.table-responsive th,
.table-responsive td {
  white-space: nowrap;
  padding: 50px;
}

/* For Survey Form*/
#form-container {
  width: 90%;
  max-width: 600px; /* Adjust the maximum width as needed */
}

/* For Ticker / News Slider in Footer */
.ticker-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
    position: relative;
}

.ticker {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 40s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding-right: 150px;
    font-size: .8rem;
    color: white;
}

@keyframes scroll {
    0% {
        transform: translateX(80%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* For Header Images */

.tools-header-img {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
  url("/assets/images/header/tools-header.webp") no-repeat;
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 450px;
}

.home-header-image,
.routines-header-image,
.exercises-header-image,
.exercises-bodyweight-header-image, 
.exercises-freeweight-header-image {
  min-height: 450px;
  background-size: cover;
  background-position: center;
  font-size: .8rem;
  color: white;
  width: 100%;
}

@media (max-width: 575px) {
  .home-header-image {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
  url("/assets/images/header/xs-home-header.png") no-repeat,
  url("/assets/images/header/xs-home-header.webp") no-repeat;
}

  .routines-header-image {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/images/header/xs-routines-header.png") no-repeat,
    url("/assets/images/header/xs-routines-header.webp") no-repeat;
  }

  .exercises-header-image {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/images/header/xs-exercises-header.jpg") no-repeat,
    url("/assets/images/header/xs-exercises-header.webp") no-repeat;
  }

  .exercises-bodyweight-header-image {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/images/header/xs-bodyweight-header.jpg") no-repeat,
    url("/assets/images/header/xs-bodyweight-header.webp") no-repeat;
  }

  .exercises-freeweight-header-image {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/images/header/xs-freeweight-header.jpg") no-repeat,
    url("/assets/images/header/xs-freeweight-header.webp") no-repeat;
  }
}

@media (min-width: 576px) and (max-width: 672px) {
  .home-header-image {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
  url("/assets/images/header/s-home-header.png") no-repeat,
  url("/assets/images/header/s-home-header.webp") no-repeat;
}

  .routines-header-image {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/images/header/s-routines-header.png") no-repeat,
    url("/assets/images/header/s-routines-header.webp") no-repeat;
  }

  .exercises-header-image {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/images/header/s-exercises-header.jpg") no-repeat,
    url("/assets/images/header/s-exercises-header.webp") no-repeat;
  }

  .exercises-bodyweight-header-image {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/images/header/s-bodyweight-header.jpg") no-repeat,
    url("/assets/images/header/s-bodyweight-header.webp") no-repeat;
  }

  .exercises-freeweight-header-image {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/images/header/s-freeweight-header.jpg") no-repeat,
    url("/assets/images/header/s-freeweight-header.webp") no-repeat;
  }
}

@media (min-width: 673px) and (max-width: 880px) {
  .home-header-image {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
  url("/assets/images/header/md-home-header.png") no-repeat,
  url("/assets/images/header/md-home-header.webp") no-repeat;
}

  .routines-header-image {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/images/header/md-routines-header.png") no-repeat,
    url("/assets/images/header/md-routines-header.webp") no-repeat;
  }

  .exercises-header-image {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/images/header/md-exercises-header.jpg") no-repeat,
    url("/assets/images/header/md-exercises-header.webp") no-repeat;
  }

  .exercises-bodyweight-header-image {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/images/header/md-bodyweight-header.jpg") no-repeat,
    url("/assets/images/header/md-bodyweight-header.webp") no-repeat;
  }

  .exercises-freeweight-header-image {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/images/header/md-freeweight-header.jpg") no-repeat,
    url("/assets/images/header/md-freeweight-header.webp") no-repeat;
  }
}

@media (min-width: 881px) and (max-width: 1096px) {
  .home-header-image {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
  url("/assets/images/header/lg-home-header.png") no-repeat,
  url("/assets/images/header/lg-home-header.webp") no-repeat;
}

  .routines-header-image {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/images/header/lg-routines-header.png") no-repeat,
    url("/assets/images/header/lg-routines-header.webp") no-repeat;
  }

  .exercises-header-image {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/images/header/lg-exercises-header.jpg") no-repeat,
    url("/assets/images/header/lg-exercises-header.webp") no-repeat;
  }

  .exercises-bodyweight-header-image {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/images/header/lg-bodyweight-header.jpg") no-repeat,
    url("/assets/images/header/lg-bodyweight-header.webp") no-repeat;
  }

  .exercises-freeweight-header-image {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/images/header/lg-freeweight-header.jpg") no-repeat,
    url("/assets/images/header/lg-freeweight-header.webp") no-repeat;
  }
}

@media (min-width: 1097px) and (max-width: 1300px) {
  .home-header-image {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
  url("/assets/images/header/xl-home-header.png") no-repeat,
  url("/assets/images/header/xl-home-header.webp") no-repeat;
}

  .routines-header-image {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/images/header/xl-routines-header.png") no-repeat,
    url("/assets/images/header/xl-routines-header.webp") no-repeat;
  }

  .exercises-header-image {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/images/header/xl-exercises-header.jpg") no-repeat,
    url("/assets/images/header/xl-exercises-header.webp") no-repeat;
  }

  .exercises-bodyweight-header-image {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/images/header/xl-bodyweight-header.jpg") no-repeat,
    url("/assets/images/header/xl-bodyweight-header.webp") no-repeat;
  }

  .exercises-freeweight-header-image {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/images/header/xl-freeweight-header.jpg") no-repeat,
    url("/assets/images/header/xl-freeweight-header.webp") no-repeat;
  }
}

@media (min-width: 1301px) {
  .home-header-image {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
  url("/assets/images/header/xxl-home-header.png") no-repeat,
  url("/assets/images/header/xxl-home-header.webp") no-repeat;
}

  .routines-header-image {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/images/header/xxl-routines-header.png") no-repeat,
    url("/assets/images/header/xxl-routines-header.webp") no-repeat;
  }

  .exercises-header-image {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/images/header/xxl-exercises-header.jpg") no-repeat,
    url("/assets/images/header/xxl-exercises-header.webp") no-repeat;
  }

  .exercises-bodyweight-header-image {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/images/header/xxl-bodyweight-header.jpg") no-repeat,
    url("/assets/images/header/xxl-bodyweight-header.webp") no-repeat;
  }

  .exercises-freeweight-header-image {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/images/header/xxl-freeweight-header.jpg") no-repeat,
    url("/assets/images/header/xxl-freeweight-header.webp") no-repeat;
  }
}


/* For the sidebar nav - sticky function */
.sidebar-sticky {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 250px; /* Adjust as needed */
  overflow-y: auto;
  background-color: #333;
  color: #fff;
}

.clickable-item::before {
  content: '\2022'; /* Use a small bullet point as an indicator */
  margin-right: 5px;
}


/* For Scroll to Top Button */
#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #494545;
  color: #fff;
  cursor: pointer;
  padding: 15px;
  border-radius: 30px;
  font-size: 18px;
}

#myBtn:hover {
  background-color: #FF000C;
}

/* For Messenger Icon */
#messenger {
  position: fixed;
  bottom: 20px;
  left: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #494545;
  color: #fff;
  cursor: pointer;
  padding: 15px;
  border-radius: 30px;
  font-size: 18px;
}

#messenger:hover {
  background-color: #FF000C;
}

/* For the Scroll Top Padding for Routines */
#bodyweight-workout, #unlocking-series {
    scroll-margin-top: 80px; /* Adjust this value as needed */
}

/* BMI Calculator Responsive & Visual Styles */
@media (max-width: 991.98px) {
    main.col-lg-8 {
        padding: 0 1rem;
    }
    .card.mx-auto {
        max-width: 100% !important;
    }
}
@media (max-width: 575.98px) {
    .card-body {
        padding: 1rem 0.5rem;
    }
    h1 {
        font-size: 2rem !important;
    }
}
.table-active {
    outline: 2px solid #111;
    background-color: #e9ecef !important;
}