/* Our default values set as CSS variables */
:root {
  --color-bg: #ffffff;
  --color-text-main: #585858;
  --color-primary: #24be5a;
  --wrapper-height: 87vh;
  --image-max-width: 300px;
  --image-margin: 3rem;
  --font-family: "'Comfortaa', cursive";
  --font-family-header: "'Comfortaa', cursive";
}

/* Basic page style resets */
* {
  box-sizing: border-box;
  font-family: "Comfortaa", cursive;
  color: var(--color-text-main);
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Comfortaa", cursive;
  color: var(--color-text-main);
}

h2 {
  font-size: 72px;
  margin-top: 0;
  letter-spacing: 0.001em;
}

/* Navigation grid */
.footer {
  display: flex;
  justify-content: space-between;
  margin: 1rem auto 0;
  padding: 1rem 0 0.75rem 0;
  width: 100%;
  flex-wrap: wrap;
  border-top: 4px solid #fff;
}

.divider {
  padding: 0 1rem;
}

body {
  font-family: "Comfortaa", cursive;
  background-color: var(--color-bg);
}

.wrapper1 {
  min-height: var(--wrapper-height);
  display: grid;
  place-items: center;
  margin: 0 1rem;
}
.content1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.content1 h2 {
  margin-top: 24px;
}
.illustration1 {
  max-width: 100%;
  max-height: var(--image-max-width);
  margin-top: var(--image-margin);
}

.wrapper2 {
  min-height: var(--wrapper-height);
  display: grid;
  place-items: center;
  margin: 0 1rem;
}
.content2 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.content2 h2 {
  /* no margin-top */
  margin-top: 84px;
}
.illustration2 {
  max-height: 128px;
}
