:root {
  --primary: #1746a2;
  --accent: #4caf50;
  --bg: #f6f8fa;
  --card: #fff;
  --border: #e0e4ea;
  --text: #23272f;
  --muted: #7a7a7a;
  --shadow: 0 2px 12px rgba(23, 70, 162, 0.06);
}

html {
  scroll-behavior: smooth;
  font-size: 20px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.learn-container {
  margin-top: 10rem;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.learn-hero-image {
  width: 100%;
}

.course-overview {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.course-overview-title {
  color: var(--primary);
  font-size: 2.3rem;
}

.course-overview-text {
  text-align: center;
  color: var(--text);
  font-size: 1.2rem;
}

.section-image {
  width: 100%;
}

.course-curriculum {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5px;
  margin-bottom: 50px;
}

.curriculum-btn {
  background-color: var(--primary-color);
  color: white;
  width: 200px;
  height: 5svh;
  border-radius: 15rem;
  border: none;
  font-size: 0.9em;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.curriculum-btn {
  outline: none;
  border: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.curriculum-btn:focus,
.curriculum-btn:active {
  outline: none;
  border: none;
  box-shadow: none;
}

@media (max-width: 768px) {
  .learn-container {
    margin-top: 5rem;
    display: block;
    width: 100svw;
  }

  .learn-hero-image {
    width: 100svw;
    padding: 1rem;
  }

  .course-overview {
    padding: 1rem;
  }

  .course-overview-title {
    font-size: 1.5em;
  }

  .course-overview-text {
    font-size: 0.67em;
  }

  .section-image {
    width: 100svw;
  }
}

@media (max-width: 480px) {
  .learn-container {
    margin-top: 5rem;
    display: block;
    width: 100svw;
  }

  .learn-hero-image {
    width: 100svw;
    padding: 1rem;
  }

  .course-overview {
    padding: 1rem;
  }

  .course-overview-title {
    font-size: 1.5em;
  }

  .course-overview-text {
    font-size: 0.67em;
  }

  .section-image {
    width: 100svw;
  }
}
