:root {
  --color-bg: #FED142;
  --color-bg-light: #F8DF8F;
  --color-text-main: #010101;
  --color-primary: #F03901;
  --wrapper-height: 85vh;
  --image-max-width: 320px;
  --font-family: "HK Grotesk";
  --font-family-header: "Sansita Swashed";
}

/* Basic page style resets */
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}

/* Import fonts */
@font-face {
  font-family: HK Grotesk;
  src: url("https://cdn.glitch.me/605e2a51-d45f-4d87-a285-9410ad350515%2FHKGrotesk-Regular.otf?v=1603136326027")
    format("opentype");
}
@font-face {
  font-family: HK Grotesk;
  font-weight: bold;
  src: url("https://cdn.glitch.me/605e2a51-d45f-4d87-a285-9410ad350515%2FHKGrotesk-Bold.otf?v=1603136323437")
    format("opentype");
}

/* 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 #010101;
}

.footer a:link,
a:visited {
  font-family: HK Grotesk;
  font-style: normal;
  font-weight: normal;
  font-size: 1.1rem;
  color: #000;
  text-decoration: none;
  border-style: none;
}
.footer a:hover {
  background: var(--color-primary);
}

.footer .links {
  padding: 0.5rem 1rem 1.5rem;
  white-space: nowrap;
}

.divider {
  padding: 0 1rem;
}

/* Page structure */
body {
  margin: 0;
  font-family: var(--font-family);
  font-size: 1.1rem;
  line-height: 1.2;
  background-color: var(--color-bg);
  position: relative;
}

body::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  background-image: url('img/oz-background-2.svg');
  opacity: .5;
  z-index: -1;
}


.wrapper {
  min-height: var(--wrapper-height);
  place-items: center;
  padding: 3rem 2rem 0;
}
.content {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
}

/* Typography */
p {
  margin: 0 0 1rem 0;
  line-height: 1.5 !important;
}
h1,
h2,
h3,
h4,
h5 {
  margin: 2rem 0 .8rem;
  font-family: var(--font-family-header);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-text-main);
}
h1 {
  margin-top: 1rem;
  margin-bottom: 1.75rem;
  font-size: 5rem;
  display: inline-flex;
  color: var(--color-text-main);
}
h2 {
  font-size: 4rem;
}
h3 {
  font-size: 2rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
small,
.text_small {
  font-size: 0.8rem;
}
ul > li,
ol > li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
  font-size: 1rem;
}
ul {
  padding: 0 0 0 18px;
  margin: 0;
}
ul.no-bullet {
  list-style-type: none;
}

/* Link styles */
a:link,
a:visited {
  text-decoration: none;
  border-bottom: 2px solid var(--color-text-main);
  color: var(--foreground);
  transition: background 0.2s linear;
  font-weight: 600;
}
a:hover {
  background: var(--color-primary);
  position: relative;
}
a:hover::after {
  content: '';
  background: url(/img/roo.svg) no-repeat;
  background-size: contain;
  height: 1rem;
  width: 1rem;
  position: absolute;
  right: -1rem;
  bottom: 0;
}

/* Title style adjustments */
.title-lg {
  color: var(--color-text-main);
  font-family: HK Grotesk;
  font-style: normal;
  font-weight: bold;
  line-height: 1.5;
}
.title-md {
  font-size: 56px;
}

/* Layout: Home */
.home {
  justify-content: left;
}
.illo-container {
  display: flex;
  justify-content: flex-end;
}
.illustration {
  max-width: 180px;
  max-height: var(--image-max-width);
  margin-top: 1rem;
  margin-right: 2rem;
  background: rgb(0 0 0 / 50%);
  padding: 1rem;
  border-radius: 50%;
  box-shadow: 0 0 0 2px;
  transform: rotate(16deg);
}

/* Post */
.post {
  place-items: normal;
}
.postTitle {
  font-size: 3rem;
  color: #000;
  line-height: 1.3;
  margin-bottom: 2rem;
}
.controls {
  margin: 3rem 0 2rem;
}

/* Callout */
.mum-callout {
  border: 4px solid var(--color-text-main);
  padding: 2.5rem 1rem 1rem;
  position: relative;
  background: var(--color-bg-light);
  border-radius: 8px;
  margin-bottom: 1rem;
  line-height: 2;
}

span.mum-callout-level {
  background: var(--color-text-main);
  border-bottom-right-radius: 8px;
  color: white;
  font-size: .85rem;
  left: 0;
  padding: 0.25rem 0.5rem;
  position: absolute;
  text-transform: uppercase;
  top: 0;
}

/* Header */
header.header {
  background-color: var(--color-text-main);
  height: 5rem;
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
}

.header .logo {
  font-size: 1rem;
  line-height: 0;
  width: 5rem;
  padding: 0.5rem;
  border-radius: 50%;
  background: var(--color-bg);
  box-shadow: 0 0 0 4px #f8df8f;
}

.header .logo:hover {
  background: var(--color-primary);
  box-shadow: 0 0 0 10px var(--color-text-main);
}

.logo a,
.logo a:hover,
.log a:visited {
  background: transparent;
  border-bottom: none;
  text-decoration: none;
}

.header .title {
  font-family: 'Sansita Swashed', cursive;
  color: var(--color-bg-light);
  font-size: 2rem;
  margin-left: 1rem;
}
