.exercise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 1rem;
}

.exercise-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  padding: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;

  &:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(61, 81, 58, 0.3);
  }

  .exercise-name {
    font-weight: bold;
    font-size: 1.125rem;
    color: white;
    transition: color 0.3s ease;
    cursor: pointer;
  }

  .exercise-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    transition: color 0.3s ease;
    cursor: pointer;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  &:hover {
    .exercise-name {
      color: #599168;
    }

    .exercise-description {
      color: rgba(255, 255, 255, 0.9);
    }
  }
}

/* Category navigation styling */
.category-link {
  position: relative;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;

  &::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: rgb(90, 163, 121);
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }

  &:hover {
    color: rgb(72, 160, 90);

    &::after {
      width: 100%;
    }
  }
  &.active {
    color: rgb(72, 160, 90);
    &::after {
      width: 100%;
    }
  }
} 
