/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}
/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}
/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}
/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}
/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}
/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}
/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}
/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}
/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* @link https://utopia.fyi/space/calculator?c=320,17,1.2,1240,26,1.25,5,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,xl,12 */
:root {
  --space-3xs: clamp(0.25rem, calc(0.18rem + 0.33vw), 0.44rem);
  --space-2xs: clamp(0.56rem, calc(0.48rem + 0.43vw), 0.81rem);
  --space-xs: clamp(0.81rem, calc(0.66rem + 0.76vw), 1.25rem);
  --space-s: clamp(1.06rem, calc(0.87rem + 0.98vw), 1.63rem);
  --space-m: clamp(1.63rem, calc(1.34rem + 1.41vw), 2.44rem);
  --space-l: clamp(2.13rem, calc(1.73rem + 1.96vw), 3.25rem);
  --space-xl: clamp(3.19rem, calc(2.6rem + 2.93vw), 4.88rem);
  --space-2xl: clamp(4.25rem, calc(3.47rem + 3.91vw), 6.5rem);
  --space-3xl: clamp(6.38rem, calc(5.2rem + 5.87vw), 9.75rem);

  /* One-up pairs */
  --space-3xs-2xs: clamp(0.25rem, calc(0.05rem + 0.98vw), 0.81rem);
  --space-2xs-xs: clamp(0.56rem, calc(0.32rem + 1.2vw), 1.25rem);
  --space-xs-s: clamp(0.81rem, calc(0.53rem + 1.41vw), 1.63rem);
  --space-s-m: clamp(1.06rem, calc(0.58rem + 2.39vw), 2.44rem);
  --space-m-l: clamp(1.63rem, calc(1.06rem + 2.83vw), 3.25rem);
  --space-l-xl: clamp(2.13rem, calc(1.17rem + 4.78vw), 4.88rem);
  --space-xl-2xl: clamp(3.19rem, calc(2.04rem + 5.76vw), 6.5rem);
  --space-2xl-3xl: clamp(4.25rem, calc(2.34rem + 9.57vw), 9.75rem);

  /* Custom pairs */
  --space-s-l: clamp(1.06rem, calc(0.3rem + 3.8vw), 3.25rem);
}
/* @link https://utopia.fyi/type/calculator?c=320,17,1.2,1240,24,1.25,5,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,xl,12 */
:root {
  --step--2: clamp(0.74rem, calc(0.66rem + 0.39vw), 0.96rem);
  --step--1: clamp(0.89rem, calc(0.78rem + 0.55vw), 1.20rem);
  --step-0: clamp(1.06rem, calc(0.91rem + 0.76vw), 1.50rem);
  --step-1: clamp(1.28rem, calc(1.07rem + 1.04vw), 1.88rem);
  --step-2: clamp(1.53rem, calc(1.25rem + 1.42vw), 2.34rem);
  --step-3: clamp(1.84rem, calc(1.46rem + 1.90vw), 2.93rem);
  --step-4: clamp(2.20rem, calc(1.70rem + 2.54vw), 3.66rem);
  --step-5: clamp(2.64rem, calc(1.97rem + 3.36vw), 4.58rem);
}
:root {
    /* Common */
    --font-family: ui-rounded, 'Hiragino Maru Gothic ProN', Quicksand, Comfortaa, Manjari, 'Arial Rounded MT', 'Arial Rounded MT Bold', Calibri, source-sans-pro, sans-serif;

    /* Brand */
    --color-1: #bdd0c4;
    --color-2: #9ab7d3;
    --color-3: #f5d2d3;
    --color-4: #f7e1d3;
    --color-5: #dfccf1;
}
body {
  font-family: var(--font-family);
  font-size: var(--step-0);
  line-height: 1.4;
}
h1,
h2,
h3 {
  line-height: 1;
}
h1 {
  font-size: var(--step-5);
}
h2 {
  font-size: var(--step-4);
}
h3 {
  font-size: var(--step-3);
}
p {
  max-width: 50ch;
}
h1,
h2,
h3 {
  max-width: 30ch;
}
form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-s);
}
section {
  display: flex;
  flex-direction: column;
  min-block-size: 100vh;
  padding: var(--space-m);
  gap: var(--space-m);
}
section > * {
  margin-block: 1rem;
}
section > :first-child:not(.section-body) {
  margin-block-start: 0;
  margin-block-end: var(--space-m);
}
section > :last-child:not(.section-body) {
  margin-block-end: 0;
  margin-block-start: var(--space-m);
}
section > .section-body {
  margin-block: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: center;

  background-color: white;
  padding: var(--space-m);
  border-radius: var(--space-m);
  border: 3px solid black;

  .number-highlight{
    background-color: hsl(60, 70%, 80%); 
    padding-block: 0.4rem;
  }
}
section > .section-body > * {
  margin-block: 0;
}
section > .section-body > * + * {
  margin-block-start: var(--space-m);
}
section:nth-child(4n + 1) {
  background-color: var(--color-1);
}
section:nth-child(4n + 2) {
  background-color: var(--color-2);
}
section:nth-child(4n + 3) {
  background-color: var(--color-3);
}
section:nth-child(4n + 0) {
  background-color: var(--color-4);
}
section > .section-body > picture {
  align-self: center;
}