/* ============================================
 * Topic: Fitness
 * File:  fitness.css
 *
 * Override any base styles below.
 * This <style> block is injected LAST in the HTML,
 * so it wins the CSS cascade at equal specificity.
 * ============================================ */

/* CSS Variables */
:root {
  /* backgrounds */
  --bg-color: #f4631b;
  --bg-image: linear-gradient(180deg, #f4631b 0%, #fd974a 100%);
  /* text */
  --text-color: #ffffffd4;
  --text-size: 14px;
  --text-link-color: #ffffffc3;
  scrollbar-color: #11111119 transparent;
}

/* Shared styling for cards */

.card-base {
  background-color: rgba(255, 255, 255, 0.9);
  border: 2px solid white;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
  animation: itemReveal 0.7s cubic-bezier(0.33, 1, 0.68, 1) 0.1s backwards;
  transition: background-color 0.3s, border-color 0.3s, transform 0.2s;  
}

.card-base:hover {
  transform: translateY(-2px);
  background-color: #fff;
}

/* AD-CARD */

.ad-card {
  padding: 20px;
  border-radius: 12px;
}

.ad-card__website-link {
  color: #0b38ed;
}

.ad-card__label {
  color: rgb(86 34 8);
}

.ad-card__title {
  color: rgb(86 34 8);
}

.ad-card__description {
  color: rgba(46, 17, 2, 0.569);
}

/* NAV BUTTON */

.nav-button {
  color: #562208;
  border-radius: 999px;
  padding: 10px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 24px;
  font-weight: 500;
  position: relative;
  padding-right: 12px;
}

.nav-button:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -17px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 1px;
  background: rgba(0, 0, 0, 0.131);
  pointer-events: none;
}

.nav-button__icon .arrow{
  fill: #fff;
}

.nav-button__icon .bg{
  fill: #f4631b;
}


.logo {
  animation: itemReveal 0.5s cubic-bezier(0.33, 1, 0.68, 1) backwards;
}

.logo__text {
  font-size: 40px;
  text-transform: uppercase;
}

.subtitle {
  animation: itemReveal 0.7s cubic-bezier(0.33, 1, 0.68, 1) 0.1s backwards;
}