body {
  background-color: #f3efeb;
  padding: 20px;
}

::selection {
  background-color: #262626;
  color: #f3efeb;
}

h1,
p,
a,
.main {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  /* font-family: Space Mono; */
  text-rendering: optimizeLegibility;
  color: #262626;
  font-size: 1.5em;
  line-height: 1.5em;
  font-weight: 400;
}

a:hover,
.clear {
  text-decoration: none;
}

h1 {
  margin-top: 0;
  font-size: 1em;
}

.container {
  display: flex;
  align-items: flex-start;
}

.nav {
  max-width: 40vw;
  position: sticky;
  position: -webkit-sticky;
  top: 20px;
}

.main {
  flex: auto;
  padding-left: 40px;
}

dl {
  display: flex;
  max-width: 60vw;
  flex-wrap: wrap;
}

dt {
  flex-basis: 180px;
}

dd {
  margin-bottom: 1.5em;
  flex-basis: 470px;
  margin-left: 0;
}

#cv {
  display: flex;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -3;
}

@media only screen and (max-width: 600px) {
  .nav {
    position: relative;
    max-width: 100vw;
    top: 0;
  }

  .container {
    flex-direction: column;
  }

  .main {
    padding-left: 0;
    /* padding-top: 20px; */
  }
}
