/* =========================
   CSS RESET / BASE
   ========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

/* =========================
   ROOT VARIABLES
   ========================= */

:root {
  --color-text: #1f2933;
  --color-text-white: #ffffff;
  --color-bg: #ffffff;
  --color-bg-2: #e8dcc0;
  --color-bg-3: #edd1a0;
  --color-primary: #8aa653;
  --color-primary-light: #a0bf61;
  --color-primary-dark: #63763c;
  --color-secondary: #d97706;
  --color-secondary-light: #f09d3f;
  --color-secondary-dark: #a85d08;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --shadow: #0a0a1425;
  --mild: #99c580;
  --medium: #decd70;
  --robust: #b95f46;

  --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;

  --line-height-base: 1.6;
}

/* =========================
   BODY
   ========================= */

html {
  font-size: 16px;
}

body {
  min-height: 100vh;
  font-family: var(--font-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.section-class {
  padding: 2rem 1rem;
  overflow: hidden;
}
/* =========================
   TYPOGRAPHY
   ========================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.25;
  color: inherit;
}

h1 {
  font-size: 2.25rem;
}
h2 {
  font-size: 1.875rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1.125rem;
}
h6 {
  font-size: 1rem;
}

p {
  font-size: 1rem;
  margin-bottom: 1em;
}

small {
  font-size: 0.875rem;
  color: var(--color-muted);
}

.white-text {
  color: var(--color-text-white) !important;
}
/* =========================
   LINKS
   ========================= */

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =========================
   LISTS
   ========================= */

ul,
ol {
  list-style-position: inside;
}

li {
  line-height: 1.6;
}

/* =========================
   IMAGES & MEDIA
   ========================= */

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* =========================
   BUTTONS
   ========================= */

button {
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.button-primary {
  padding: 0.4rem 3rem;
  background-color: var(--color-secondary);
  border-radius: 999px;
  color: var(--color-text-white);
  transition: all 0.4s ease;
  font-size: 1.2rem;
}

.button-primary:hover {
  transform: scale(1.1);
  background-color: var(--color-secondary-dark);
}

/* =========================
   FORM ELEMENTS
   ========================= */

input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.5em 0.75em;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  color: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-primary);
}

/* =========================
   TABLES
   ========================= */

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.75em;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

/* =========================
   UTILITY
   ========================= */

hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2rem 0;
}

::selection {
  background: var(--color-primary);
  color: #fff;
}

.robust {
  background-color: var(--robust);
  color: var(--color-text-white);
}

.medium {
  background-color: var(--medium);
  color: var(--color-text-white);
}

.mild {
  background-color: var(--mild);
  color: var(--color-text-white);
}
/* === ELEMENTS === */
.title-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  /* gap: 1rem; */
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.title-line {
  margin-top: 1rem;
  margin-bottom: 1rem;
  height: 3px;
  width: 4rem;
  background-color: var(--color-primary);
}

.title-wrapper h5 {
  color: var(--color-primary);
  text-align: center;
}

.title-p {
  max-width: 40rem;
}

.title-h1-white {
  color: var(--color-text-white);
}

.title-p-white {
  color: var(--color-text-white);
}

.title-h1-white,
.title-p-white,
.title-p,
.title-wrapper h1 {
  text-align: center;
}
