
* {
  font-family: "Roboto Mono", monospace;
  font-weight: 400;
  font-style: normal;
}

body {
	background: #fff;
  color: #000;
  padding: 2em;
  margin-bottom: 5em;
}

a {
  color: #000;
}

a.anchor {
  display: block;
  position: relative;
  top: -175px;
  visibility: hidden;
}

h1, h2, h3 {
  font-weight: 400;
}


section {
  margin: 5em 0;
}

section p {
  max-width: 800px;
}

section .project {
  margin-bottom: 3em;
}

.gallery {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.gallery > * {
  width: 100%;
}

.gallery *:nth-child(n+4) {
  display:none;
}

.gallery iframe {
  aspect-ratio: 1/1;
}

@media(min-width:768px) {
  section {
    max-width: min(1200px,calc(100% - 150px));
  }

  .gallery {
    justify-content: flex-start;
  }

  .gallery > * {
    flex-basis: calc(50% - 5px);
    max-width: calc(50% - 5px);
  }
  
  .gallery *:nth-child(n+4) {
    display: block;
  }

  a.anchor {
    top: -32px;
  }
}

@media(min-width:992px) {
  .gallery > * {
    flex-basis: calc(33.33% - 7px);
    max-width: calc(33.33% - 7px);
  }
}

.pixel {
  image-rendering: pixelated;
}

img, video {
  max-width: 100%;
}


#menu {
  position: fixed;
  top: 1em;
  right: 0;
  padding: 1.5em;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  z-index: 2;
}