/* || Global */

* {
  box-sizing: border-box;
}

:root {
  --dark-violet: #4a154b;
  --mid-violet: #651f65;
  --light-violet: #7f297f;
  --button-border-col: #fff5e6;
  --header-text-col: #acfa70;

  --step--2: clamp(0.7813rem, 0.7409rem + 0.1795vw, 0.88rem);
  --step--1: clamp(0.9375rem, 0.871rem + 0.2955vw, 1.1rem);
  --step-0: clamp(1.125rem, 1.0227rem + 0.4545vw, 1.375rem);
  --step-0-05: clamp(1.125rem, 0.9524rem + 0.767vw, 1.5469rem);
  --step-1: clamp(1.35rem, 1.1991rem + 0.6705vw, 1.7188rem);
  --step-2: clamp(1.62rem, 1.4038rem + 0.9608vw, 2.1484rem);
  --step-3: clamp(1.944rem, 1.6406rem + 1.3483vw, 2.6855rem);
  --step-4: clamp(2.3328rem, 1.9138rem + 1.8621vw, 3.3569rem);
  --step-5: clamp(2.7994rem, 2.2279rem + 2.5396vw, 4.1962rem);

  --space-3xs: clamp(0.3125rem, 0.2869rem + 0.1136vw, 0.375rem);
  --space-2xs: clamp(0.5625rem, 0.5114rem + 0.2273vw, 0.6875rem);
  --space-xs: clamp(0.875rem, 0.7983rem + 0.3409vw, 1.0625rem);
  --space-s: clamp(1.125rem, 1.0227rem + 0.4545vw, 1.375rem);
  --space-m: clamp(1.6875rem, 1.5341rem + 0.6818vw, 2.0625rem);
  --space-l: clamp(2.25rem, 2.0455rem + 0.9091vw, 2.75rem);
  --space-xl: clamp(3.375rem, 3.0682rem + 1.3636vw, 4.125rem);
  --space-2xl: clamp(4.5rem, 4.0909rem + 1.8182vw, 5.5rem);
  --space-3xl: clamp(6.75rem, 6.1364rem + 2.7273vw, 8.25rem);

  --space-xs-s: clamp(0.875rem, 0.6705rem + 0.9091vw, 1.375rem);
}

.nowrap {
  white-space: nowrap;
}

hr {
  margin: var(--space-2xs) 0;
}

html {
  font-family: "Rubik", sans-serif;

  -webkit-font-smoothing: antialiased;
  background-image: linear-gradient(
    to bottom right,
    var(--dark-violet),
    var(--mid-violet),
    var(--light-violet)
  );
  scroll-behavior: smooth;
}

html:before {
  content: "";
  width: 100%;
  height: 100%;
  position: fixed;
  background-image: linear-gradient(
    to bottom right,
    var(--dark-violet),
    var(--mid-violet),
    var(--light-violet)
  );
  z-index: -1;
}

body {
  font-size: var(--step-0);
}

/* || Page container */
#title {
  margin-bottom: var(--space-s);
}

.sidebar-cta {
  display: flex;
  gap: var(--space-xs);
}

@media (min-width: 300px) and (max-width: 500px) {
  #container {
    width: 90%;
    margin: 0 auto;
  }
}

@media (min-width: 501px) and (max-width: 800px) {
  #container {
    width: 85%;
    margin: 0 auto;
  }
}

@media (min-width: 801px) {
  #container {
    width: 75%;
    max-width: 1000px;
    margin: 2rem auto;
    display: grid;
    grid-gap: 0rem;
    grid-template-columns: 0.45fr minmax(10px, 1fr);
  }

  aside {
    margin-right: 2rem;
  }

  .sidebar-cta {
    flex-direction: column;
  }

  #title {
    grid-column: auto / span 3;
  }
}

/* || Sections */

section {
  padding-bottom: var(--space-xs);
}

.sticky {
  position: sticky;
  top: 0;
}

.CTA {
  padding: 1rem 0rem 0rem 0rem;
}

.spacer {
  width: 12px;
}

#footer img {
  padding-right: 16px;
  vertical-align: middle;
}

#overview img {
  width: 100%;
  border-radius: 16px;
  margin-top: 1rem;
}

/* || Typography */

h1 {
  color: #fff5e6;
  -webkit-text-stroke-width: 1;
  -webkit-text-stroke-color: rgba(7, 102, 35, 0.91);
  font-family: "Rubik Glitch";
  font-size: var(--step-3);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}

h2 {
  color: #ffffff;
  font-size: var(--step-2);
  font-weight: 700;
  margin-top: var(--space-3xs);
  text-align: right;
}

h3 {
  color: var(--header-text-col);
  font-size: var(--step-1);
  margin: var(--space-s) 0;
}

h4 {
  color: white;
  margin: 0;
  font-weight: 500;
  line-height: 1.6rem;
}

h5 {
  color: var(--header-text-col);
  font-weight: 900;
  margin-block-start: 1.5rem;
  margin-block-end: 0rem;
  text-transform: uppercase;
}

h6 {
  color: white;
  font-weight: 500;
  margin-bottom: 0.5rem;
  line-height: 1.2rem;
  font-style: italic;
}

p,
summary,
details {
  color: white;
  font-family: Rubik;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2rem;
}

a,
summary {
  color: var(--header-text-col);
}

a:hover {
  color: #ffffff;
  text-decoration: none;
}

/* || Lists */

ul {
  list-style-type: none;
  padding-inline-start: 0;
  margin-top: 0;
}

li {
  padding-bottom: var(--space-2xs);
  padding-left: var(--space-s);
  color: #ffffff;
}

/* || Links */

.nav-link {
  color: var(--header-text-col);
  font-family: "Rubik", sans-serif;
  font-weight: 800;
  text-decoration: none;
}

.nav-link:hover,
summary:hover {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: var(--header-text-col);
}

details {
  padding-bottom: 15px;
}

/* || Buttons */

.button {
  border-radius: 8px;
  color: #000000;
  background-color: var(--header-text-col);
  cursor: pointer;
  display: inline-block;
  font-weight: 500;
  height: auto;
  min-height: 60px;
  list-style: none;
  margin: 0;
  outline: none;
  padding: var(--space-2xs) var(--space-xs-s);
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: color 100ms;
  vertical-align: baseline;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  margin-top: var(--space-xs);
  margin-bottom: var(--space-3xs);
}

.secondary {
  border-style: solid;
  border-color: var(--header-text-col);
  color: #ffffff;
  background-color: transparent;
}

.secondary:hover,
.secondary:focus {
  background-color: var(--header-text-col);
  color: #000000;
}

.primary {
  border-style: none;
  background-color: var(--header-text-col);
  color: #000000;
  font-weight: bold;
  font-size: var(--step-0-05);
}

.primary:hover,
.primary:focus {
  background-color: #000000;
  color: var(--header-text-col);
}

/* || Misc */

hr {
  border: 0.5px solid;
  color: var(--header-text-col);
}
