@font-face {
  font-family: "Diatype";
  src: url(/assets/fonts/diatype-medium-mono.woff2) format("woff2");
}
@font-face {
  font-family: "Diatype";
  font-weight: bold;
  src: url(/assets/fonts/diatype-bold-mono.woff2) format("woff2");
}
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  background: white;
}

pre {
  font-size: 12px;
}

html {
  font-size: 18px;
  line-height: 1.2;
  font-family: "Diatype", serif;
}

figure {
  margin: 0;
  padding: 0;
}

h1, h2, h3, p {
  margin: 0;
}

img,
video {
  width: 100%;
  display: block;
  background-color: snow;
}

hr {
  margin: 2rlh 0;
  border: none;
  outline: none;
  border-top: 2px dashed black;
}

.OverflowGrid {
  display: block;
  height: 100%;
  position: relative;
  opacity: 1;
  transition: opacity 0.5s;
}
.OverflowGrid[busy] {
  opacity: 0;
}
.OverflowGrid {
  --column-count: 4;
}
@media (max-width: 1500px) {
  .OverflowGrid {
    --column-count: 3;
  }
}
@media (max-width: 1000px) {
  .OverflowGrid {
    --column-count: 2;
  }
}
@media (max-width: 500px) {
  .OverflowGrid {
    --column-count: 1;
  }
}

.OverflowGrid-container {
  display: grid;
  height: 100%;
  overflow: hidden;
  position: relative;
}
@media (max-width: 500px) {
  .OverflowGrid-container {
    overflow: scroll;
  }
}

.OverflowGrid-column {
  position: relative;
  display: none;
}
.OverflowGrid-column.is-visible {
  display: block;
}

.OverflowGrid-columnContainer {
  background-color: white;
}

.Page {
  padding: 1rlh 2ch;
}

.Header {
  padding-top: 1rlh;
  text-align: center;
}

.Footer {
  padding-bottom: 1rlh;
  text-align: center;
}
.Footer img {
  background: none;
  max-width: 75%;
  margin: auto;
  margin-top: -2rlh;
}
.Footer img:not([src]) {
  display: none;
}

.Folder-header {
  cursor: pointer;
}
.Folder-header:hover {
  color: blue;
}

.Folder-body {
  padding-left: 2ch;
  margin: 0.5rlh 0;
}

.Folder-header {
  display: flex;
  justify-content: space-between;
  gap: 1ch;
}

.Folder-title {
  word-break: break-all;
}

.Folder-meta {
  word-break: keep-all;
}

.File-figure {
  margin: 0.5rlh 0;
  display: grid;
  gap: 0.5rlh;
  cursor: pointer;
}
.File-figure:hover {
  color: blue;
}
.File-figure:first-child img, .File-figure:first-child video {
  padding-top: 0.25rlh;
}

.File-caption {
  display: flex;
  justify-content: space-between;
  gap: 2ch;
}

.File-titleWrapper {
  position: relative;
  flex: 1;
}

.File-title {
  display: flex;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.File-name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  min-width: 0;
}

.File-size {
  word-break: keep-all;
  line-height: 1;
}

.Lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: none;
  flex-direction: column;
  z-index: 5;
}
.Lightbox[open] {
  display: flex;
}
.Lightbox[busy] .Lightbox-figureContainer {
  opacity: 0;
  transition-duration: 0s;
}

.Lightbox-nav {
  padding: 1rlh;
  display: flex;
  justify-content: space-between;
}

.Lightbox-button {
  cursor: pointer;
}
.Lightbox-button:hover {
  color: blue;
}

.Lightbox-figure {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.Lightbox-figureContainer {
  flex: 1;
  position: relative;
  opacity: 1;
  transition: opacity 0.5s;
}
.Lightbox-figureContainer img, .Lightbox-figureContainer video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rlh;
  background: transparent;
}

.Lightbox-caption {
  padding: 1rlh;
}

/*# sourceMappingURL=main.css.map */
