:root {
  --site-header-bg: white;
  --top-bar-bg: black;

  --link-text: rgb(128, 0, 0);
  --link-hover-bg: #dbd9ba;
  --light-text: white;
  --dark-text: black;

  --dark-transparent-bg: rgba(0, 0, 0, 0.6);

  --highlight-color: #dbd9ba;

  --dark-white: rgb(235, 235, 235);

  /* Effects */
  --small-bump: smallBump 0.3s ease-in-out;
}

/* Global effects */
@keyframes smallBump {
  0% {
    margin-bottom: 0px;
  }

  100% {
    margin-bottom: 5px;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* Start website hidden (will fade in) */
html {
  opacity: 0;
  /* Only font used ons ite */
  font-family: "Nunito Sans", sans-serif;
  font-weight: 500;
  scroll-behavior: smooth;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body p, section p, div p, li {
  font-size: 18px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}

/* Fade in when loaded */
html.is-loaded {
  opacity: 1;
  transition: opacity 1s ease;
  overflow-x: hidden;
}

/* Respect reduced-motion settings */
@media (prefers-reduced-motion: reduce) {

  html,
  html.is-loaded {
    transition: none;
  }
}

/* Basic site structure */
body {
  margin: 0;
}

section {
  min-height: 100vh;
}

main a,
footer a {
  color: var(--link-text);
  text-decoration: none;
}

main a:hover,
footer a:hover {
  text-decoration: underline;
}

.main {
  display: flex;
  justify-content: center;
  padding-top: 25px;
  gap: 10px;
}

/* Buttons */
.primary-btn {
  background: var(--link-text);
  width: auto;
  padding: 15px;
  text-decoration: none;
  color: white;
  flex: none;
  /* prevents flex-grow stretching */
  max-width: max-content;
  /* ensures content-sized width */
}

.primary-btn:hover {
  background: var(--link-hover-bg);
  color: var(--link-text);
  transition: 0.25s;
  text-decoration: none;
}

/* Custom list item icons */
li {
  list-style: none;
}

.fi-sc-horse {
  font-size: 18px;
  padding-right: 5px;
  padding-bottom: 2px;
}

::selection {
  background: var(--link-text);
  color: white;
}

.top-section {
  margin-top: 100px;
  overflow: 0;
}

/* Header for pages of the site */
.section-header {
  width: 100%;
  height: 150px;
  color: white;
  font-weight: bold;
  background: var(--link-text);
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* padding-left: 5%; */
  font-size: 18px;
}

/* ================================================== */
/* TAG + INFO BOX (Professional UI)                   */
/* ================================================== */

.tag,
.info-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 6px 12px;
  border-radius: 999px;

  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;

  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.03);
  color: var(--color-text);

  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

/* ---------------------------- */
/* Custom tag/info box stylings */
/* ---------------------------- */

/* Makes tags feel clickable / interactive if needed */
.tag {
  cursor: default;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tag:hover {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

/* Important text inside tag/box */
.important {
  color: var(--link-text);
  font-weight: 700;
}

/* Info box should feel more "message-like" than a tag */
.info-box {
  border-radius: 14px; /* less pill-y, more "callout" */
  padding: 10px 14px;
  line-height: 1.35;
  font-weight: 500;
  max-width: 520px;
}

/* Optional: add an icon inside your info-box */
.info-box .icon {
  font-size: 1rem;
  opacity: 0.85;
}

/* For Privacy Policy and Terms of Use pages */
.policy {
  border-radius: 15px;

  /* softer, more premium border */
  border: 1px solid rgba(0, 0, 0, 0.08);

  /* professional layered shadow */
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.06),
    0 12px 30px rgba(0, 0, 0, 0.08);

  /* optional but makes it feel like a real card */
  background: rgba(255, 255, 255, 0.92);
  padding: 24px;
  margin: 50px;
}


/* Mobile */
@media (max-width: 1000px) {
  section {
    padding: 15px;
    overflow: hidden;
  }

  .top-section {
    margin-left: 0;
    overflow: hidden;
  }

  .section-header {
    margin-left: -15px;
    padding: 0;
    font-size: 1rem;
    width: 100vw;
    justify-content: center;
    /* padding: 15px; */
  }

  .main {
    flex-direction: column;
  }

  .policy {
    margin: 5px;
  }

}