* {
  box-sizing: border-box;
}

video {
  max-width: 100%;
}

section a {
  border-bottom: 1px solid rgba(0, 0, 0, 0.35) !important;
}

body {
  font-size: 1em;
  line-height: 1.25em;
  margin: 0;
  padding: 0;
  font-size: 17px;
  line-height: 24px;
  background: #e0e0e0;
  background: #fffff2;
  background: lemonchiffon;
  font-family: "SF Pro Display", "-apple-system", "BlinkMacSystemFont",
    "San Francisco", "Helvetica Neue", "Helvetica", "Ubuntu", "Roboto", "Noto",
    "Segoe UI", "Arial", sans-serif;
  text-transform: lowercase;
}
main {
  margin: 0 auto;
  max-width: 50em;
  padding: 0 1em;
  margin-bottom: 2.5em;
}
main.double {
  max-width: 54em;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5em;
  margin: 2.5em auto;
}
main.double.simple {
  grid-template-columns: 1fr;
}
ol {
  margin: 0;
  padding: 0;
  padding-left: 1em;
}
ol li {
  padding-left: 1em;
  margin: 0;
}
ol li:first-of-type {
  margin-top: 0;
}
li {
  margin: 1.5em 0;
}
li::marker {
  margin-right: 1em;
}
figure {
  margin: 0;
  padding: 0;
  margin-top: 1em;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3 {
  font-weight: normal;
}
h1 {
  margin-bottom: 0.5em;
  margin-top: 0;
  padding: 1.5em 0 0;
}
h2 {
  font-size: 1.25em;
  line-height: 1.25;
}
h3 {
  /* font-size: 1em; */
  font-size: 1.25em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding-bottom: 0.75em;
  /* margin-bottom: 1em; */
  margin-bottom: 0;
  margin-top: 5em;
}
/* span {
    background: white;
} */
hr {
  border: 0;
  margin: 0;
  height: 2em;
  /* margin: 1.5em 0 2.5em; */
}
hr.visible {
  border-top: 1px solid rgba(0, 0, 0, 1);
  height: 0;
  padding-top: 1.75em;
  /* margin-bottom: 1.5em; */
}
/* hr:after {
    position: absolute;
    content: "* * *";
    color: black;
} */
.gray {
  opacity: 0.5;
}
a {
  color: black;
}
nav#left {
  position: fixed;
  top: 2.5em;
  left: 2.5em;
}
nav#left a {
  opacity: 0.3;
  transition: 0.25s all ease;
  text-decoration: none;
}
nav#left a:hover {
  opacity: 0.5;
}
a#dove {
  text-decoration: none;
  opacity: 0.25;
  position: fixed;
  top: 1em;
  left: 1em;
  transition: 0.25s all ease;
}
a#dove:hover {
  opacity: 0.5;
}
blockquote {
  padding: 0;
  margin: 0;
  margin: 1.5em 0;
  font-style: italic;
  /* border-left: 1px solid rgba(0, 0, 0, 0.2);
  padding-left: 1.5em; */
}
cite {
  font-style: normal;
}
blockquote {
  margin: 1.5em 0;
  /* line-height: 23px; */
}
blockquote:first-of-type {
  margin-top: 0;
}
img {
  mix-blend-mode: multiply;
}
figure {
  max-width: 50em;
  margin: 0 auto;
}
ul {
  padding-left: 1em;
}
ul li {
  margin: 0;
  padding-left: 1em;
}
.small-text {
  font-size: 0.75em;
  line-height: 1.25;
}
#outro {
  margin-top: 100vh;
  padding-bottom: 2.5em;
}
#info {
  position: fixed;
  bottom: 2.5em;
  left: 2.5em;
}
figcaption {
  font-size: 0.75em;
  margin-bottom: 1.5em;
  margin-top: 0.5em;
}
a#very {
  display: inline-block;
  border-radius: 0;
  background: url("https://veryinteractive.net/images/very-interactive.svg");
  height: 1.5em;
  width: 1.5em;
  background-repeat: no-repeat;
  vertical-align: -4px;
  margin-right: 0.75em;
}
#very-footer {
  padding: 3em;
  padding-bottom: 4em;
  margin-top: -8em;
}
.works {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1em;
  /* -webkit-flex-flow: row; */
  /* justify-content: space-around; */
  font-size: 0.75em;
  line-height: 1.25;
}
.works .pic {
  aspect-ratio: 1;
  position: relative;
}
.works .pic img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.works .pic .name {
  position: absolute;
  bottom: 0.5em;
  left: 0.5em;
  /* mix-blend-mode: difference; */
  display: inline-block;
  z-index: 2;
  background: #bfbfb6;
  color: black;
}
a.work {
  text-decoration: none;
  display: inline-block;
  text-align: center;
  aspect-ratio: 1;
  /* height: 12em;
    width: 12em; */
  flex: 1;
  height: auto;
  padding: 2em;
  border: 1px solid rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s all ease;
}
a.work:hover {
  border-color: rgba(0, 0, 0, 1);
}
.before-after {
  opacity: 0.25;
  text-decoration: underline;
}
.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);
}
.week-info {
  /* font-weight: bold; */
}
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 {
  /* list-style-type: "→ "; */
  font-weight: normal;
}

nav#class-menu details[open] > summary {
  /* list-style-type: "↓ "; */
  /* opacity: 0.35; */
  /* filter: blur(1px); */
}

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 {
  font-weight: normal !important;
  margin: 0 !important;
}

.dont-break {
  break-inside: avoid;
  /* padding-top: 1em; */
  padding-top: 1em;
  /* border-top: 1px solid rgba(0, 0, 0, 0.2); */
}

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

/* nav#class-menu details .inside {
  margin-left: 15px;
} */

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;
  /* height: 100vh;
  width: 100vw; */
  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;
  }
}
