.card-subtitle {
  border-bottom: 0.5px solid var(--bs-accent-one);
}

.tab-container {
  gap: 12px;
}

.tab-desc {
  max-width: 620px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nav.tab-container {
  overflow-x: auto;
  flex-wrap: nowrap;
}

.nav.tab-container::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.nav.tab-container {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.movement-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  justify-content: center;
  height: 100%;
  padding: 1rem 2rem;
  border-radius: 8px;
  background: white;
  overflow: hidden;
  cursor: pointer;
  color: var(--bs-primary);
}

.movement-tab .progress {
  height: 4px;
  border-radius: 4px;
}

.movement-tab p {
  color: inherit;
}

/* .movement-tab img {
  opacity: .6;
} */

.movement-tab {
  width: 130px;
  position: relative;
}

.movement-tab .progress {
  display: none;
}

.movement-tab.active {
  border: 1.2px solid var(--bs-secondary-2);
  background: var(--accent_1-200);
  color: var(--bs-primary);
}

.movement-tab.active .progress {
  display: flex;
}

.movement-tab p {
  white-space: nowrap;
}

.movement-tab.active img {
  opacity: 1;
}

.tab-icon {
  height: 32px;
  width: 32px;
}

.tab-media {
  overflow: hidden;
}

.tab-media img {
  width: 100%;
  object-fit: cover;
  height: 376px;
  border-radius: 1rem;
}

.animate .tab-title,
.animate .tab-desc {
  animation: slide-down-text .6s ease 1 forwards;
}

.animate .tab-media img {
  animation: slide-down .6s ease 1 forwards;
}

.progress {
  --bs-progress-bar-transition: width 0.2s ease;
  margin: 0 6px;
}

@keyframes progress {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

@keyframes slide-down {
  0% {
    transform: translateY(-100px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes slide-down-text {
  0% {
    transform: translateY(-30px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.progress-update {
  -webkit-animation: progress 5s linear infinite forwards;
  animation: progress 5s linear infinite forwards;
}

@media (max-width:904px) {
  .movement-tab {
    min-width: 120px;
    border: 0.5px solid var(--bs-secondary-2);
    color: var(--bs-primary);
  }

  .movement-tab img {
    opacity: 1;
  }

}

@media (max-width:600px) {
  .movement-tab {
    padding: 0.5rem 2rem;
    min-width: 94px;
    height: 74px;
  }
}