/* Thanks to Flower Computer for some CSS inspiration */

:root {
  --bg-color: #e6f1e0;
  --txt-color: black;
  --forest-green: forestgreen;
  --txt-color-faded: rgba(0, 0, 0, 0.25);
  --spacing-xs: 0.44em;
  --spacing-sm: 1.11em;
  --spacing-md: 2.22em;
  --border-radius: 15px;
  --transition: all 0.33s cubic-bezier(0.175, 0.885, 0.32, 1);
}

img {
  max-width: 100%;
}

html {
  margin: 2em;
}

body,
h1,
h2,
h3 {
  font-size: 18px;
  line-height: 1.44;
  font-weight: 444;
  font-family: SF Pro Rounded, ui-rounded, -apple-system, system-ui,
    BlinkMacSystemFont, Arial, sans-serif;
  letter-spacing: -0.011em;
  background-color: var(--bg-color);
  color: var(--txt-color);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
}

a {
  color: var(--txt-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

figure {
  margin: 1.5em 0;
}

figure:first-of-type {
  margin-top: 0;
}

figure.small {
  max-width: 333px;
}

figcaption {
  font-size: 0.75em;
  margin-top: 0.5em;
  text-align: center;
}

img {
  filter: grayscale(100%);
  opacity: 0.9;
  mix-blend-mode: multiply;
  transition: 0.5s ease all;
}

img:hover,
img.normal {
  filter: grayscale(0%);
}

hr {
  border-top: 1px solid black;
  margin: 2.5em 0;
}

blockquote {
  margin: 1em 0;
  padding: 0;
  font-style: italic;
}

a.button,
#arrows a.button {
  height: 2.75em;
  width: 2.75em;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 47%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  margin-left: 0.5em !important;
  margin-top: 0.5em !important;
}

a.button:hover,
#arrows a.button:hover {
  border-color: rgba(0, 0, 0, 0.2);
}

a.arena-link {
  text-decoration: none;
  transition: 0.5s ease all;
  opacity: 0.5;
}

a.arena-link:hover {
  opacity: 1;
}

.small-text {
  font-size: 0.8em;
  letter-spacing: 0.025em;
  line-height: 1.35;
}

ul {
  margin-left: 1em;
  padding-left: 0;
}

ul.first-of-type {
  margin-top: 0;
}

ul.space li {
  margin-bottom: 1em;
}

.underline {
  text-decoration: underline;
}

a.no-underline:hover {
  text-decoration: none;
}

/* CLASS HOMEPAGE */

#center {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: -1;
  pointer-events: none;
}

#center figure {
  max-width: 450px;
  margin: 0 auto 20px;
}

#arrows {
  position: absolute;
  bottom: 2em;
  right: 2em;
  font-size: 1em;
  display: flex;
  flex-direction: row;
}

#arrows a {
  display: inline-block;
  margin-left: 0.5em;
  margin-right: 0.25em;
}

nav#class-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100vh - 4em);
}

/* CONTENT */

#content h1 {
  font-size: 3.33rem;
  line-height: 1;
  margin-bottom: 1rem;
  margin-top: 0.25em;
  margin-bottom: 1em;
}

#content h2 {
  font-size: 2.22rem;
  font-weight: 333;
  line-height: 1.1;
  margin-top: 0.25em;
  margin-bottom: 0;
}

.two-columns {
  column-count: 2;
  column-gap: 28px;
}

.three-columns {
  column-count: 3;
  column-gap: 1.25em;
}

.dont-break {
  break-inside: avoid;
}

.materials {
  margin-bottom: 2em;
}

details.simple > summary {
  list-style: none;
  opacity: 0.5;
  transition: 0.25s ease all;
  margin-bottom: 0.5em;
}
details.simple > summary:hover,
details[open].simple summary {
  opacity: 1;
  cursor: pointer;
}
details.simple > summary::-webkit-details-marker {
  display: none;
}

/* MEDIA QUERIES */

@media (max-width: 1000px) {
  .three-columns {
    column-count: 2;
    column-gap: 1em;
  }
}

@media (max-width: 850px) {
  #center {
    opacity: 0.15;
  }
}

@media (max-width: 650px) {
  #center {
    opacity: 0.15;
  }
  .three-columns {
    column-count: 1;
  }
}

/* OLD */

/* .columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 2.5em;
}
.columns-week {
  display: grid;
  grid-template-columns: 1fr 3fr;
  grid-gap: 2.5em;
}
.week {
  padding-bottom: 1em;
  margin-top: 1em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
details summary {
  cursor: pointer;
  font-weight: bold;
}
.metadata a {
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
section a {
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

nav#class-menu {
  position: absolute;
  top: 20px;
  left: 20px;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

nav#class-menu.small {
  bottom: auto;
}

#top-menu {
}

#top-menu ul {
  max-width: 400px;
}

#bottom-menu {
  padding-bottom: 20px;
  padding-top: 20px;
}

nav#class-menu details > summary {
  font-weight: normal;
}

nav#class-menu details details,
nav#class-menu details .weeks {
  margin-left: 20px;
}

nav#class-menu details .weeks {
  margin: 20px 14px;
}

nav#class-menu ul {
  padding-left: 2em;
}

nav#class-menu li::marker {
  margin-right: 0;
  padding-left: 0;
}

nav#class-menu a.week-menu {
  display: block;
  text-decoration: none;
}

nav#class-menu li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav#class-menu a.week-menu:hover {
  text-decoration: underline;
}

nav#class-menu a.home {
  display: inline-block;
  text-decoration: none;
}

nav#class-menu a.home:hover {
  text-decoration: underline !important;
}

nav#class-menu a.home .home-home {
  margin-bottom: 20px;
}

nav#class-menu a.home .weeks {
  margin-left: 14px;
  display: inline-block;
}

#content {
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
  display: inline-block;
  text-align: left;
  margin: 0;
  margin-bottom: 0px;
  padding: 0;
  column-count: 2;
  -webkit-column-gap: 28px;
  -moz-column-gap: 28px;
  column-gap: 28px;
  margin-bottom: 42px;
  margin-top: 7em;
}

#columns {
  columns: 400px 6;
  column-gap: 44px;
  padding: 22px 32px;
  margin-top: 2.5em;
}

#columns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 44px;
  padding: 22px 32px;
  margin-top: 2.5em;
}

#columns a {
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

#columns a:hover {
  border-bottom-color: rgba(0, 0, 0, 1);
}

#columns h1,
#columns h2 {
  margin-top: 1em;
  padding-top: 0;
  font-weight: bold;
  font-size: 1em;
}

#columns h2 {
  font-weight: normal;
  background: rgba(0, 0, 0, 0.1);
  display: inline-block;
  margin-top: 1.25em;
}

.highlight {
  background: rgba(0, 0, 0, 0.1);
  display: inline-block;
}

#columns figure {
  margin-bottom: 1em;
  margin-top: 0.5em;
}

#columns .item img {
  max-height: 225px;
}

img.thumb {
  width: 125px;
  float: left;
  margin-right: 1em;
  filter: grayscale(100%);
  opacity: 0.75;
}

p.reading {
  margin-top: 0;
}

.clearer {
  clear: both;
}

h1.normal,
h2.normal {
  font-weight: normal !important;
  margin: 0 !important;
  font-size: 1em;
}

.project-page h1.normal,
.project-page h2.normal {
  margin-bottom: 1em !important;
}

.project-page ol {
  margin-top: 1em;
}

.dont-break {
  break-inside: avoid;
  padding-top: 1em;
}

.dont-break.special {
  padding-top: 0;
  margin-top: 2.5em;
  margin-bottom: 2.5em;
}


nav#bottom {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 3;
}

nav#bottom-right {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 3;
}

figure.menu-toggle {
  cursor: pointer;
}

#center {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#center figure {
  max-width: 450px;
  margin: 0 auto 20px;
}

a.hidden {
  text-decoration: none;
  border: 0;
}

a.hidden:hover {
  text-decoration: underline;
}

.everything {
  margin: 20px;
  margin-top: 5em;
  font-size: 0.75em;
  line-height: 1.25;
}

.everything h1 {
  font-size: 1em !important;
  line-height: 1.25;
  margin-top: 0;
  font-weight: bold;
}

@media (max-width: 1200px) {
  nav#left {
    position: static;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 1.5em;
  }
  main {
    position: static;
    margin-bottom: 1em;
  }
  .columns-week,
  .columns {
    display: block;
  }
  .week-info {
    margin-bottom: 1em;
  }
  #dove {
    display: none;
  }
  h1 {
    padding-top: 0.75em;
  }
}

@media (max-width: 1000px) {
  #columns-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 850px) {
  #center {
    opacity: 0.15;
  }
  nav#class-menu,
  nav#bottom-right {
    position: static;
  }
  nav#class-menu {
    padding-top: 20px;
    padding-left: 20px;
  }
  nav#bottom-right {
    padding-left: 20px;
    padding-bottom: 20px;
  }
  #center {
    z-index: -1;
    pointer-events: none;
  }
  #columns {
    margin-top: 0;
    padding-top: 0;
  }
}

@media (max-width: 600px) {
  #columns-grid {
    grid-template-columns: 1fr;
  }
} */
