.navbar-custom {
  background-color: #000;
}
.footer {
  font-size: 11px;
  padding-bottom: 80px;
}
.small_font {
  font-size: 11px;
}
#loader {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 18px;
  z-index: 1050; /* Ensures it is above other elements */
  opacity: 0; /* Start hidden */
  visibility: hidden; /* Ensures the loader is not clickable or interactive */
  transition: opacity 100ms ease-in-out, visibility 0ms linear 100ms; /* Delayed visibility change */
}
#loader.show {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s, 0s; /* Immediate visibility and opacity change */
}
#loader.hide {
  opacity: 0;
  transition-delay: 0s, 100ms; /* Opacity transition first, then visibility */
}
#timer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 22, 132, 0.8);
  color: white;
  text-align: center;
  padding: 8px;
  font-size: 12px;
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 100ms ease-in-out, visibility 0ms linear 100ms;
}
#timer.show {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s, 0s;
}
#timer.hide {
  opacity: 0;
  transition-delay: 0s, 100ms;
}
.metric-card {
  background-color: #f8f9fa; /* Light background color */
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  min-height: 150px; /* Set a minimum height for consistency */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.metric-card .metric-header {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.metric-card .metric-value {
  font-size: 2.5rem;
  color: #007bff; /* Primary color */
  flex-grow: 1;
}

.metric-card .metric-value .small-metric {
  font-size: 14px;
  color: #007bff; /* Primary color */
}

.exercise-card {
  text-decoration: none;
  color: inherit;
}

.exercise-card .card {
  transition: background-color 0.3s ease;
}

.exercise-card .card:hover {
  background-color: #f0f8ff; /* Light background color on hover */
  cursor: pointer;
}