:root {
  --info-bg : lavender;
  --info-fg : navy;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/IBMPlexMono-Regular.ttf") format("truetype");
}
html {
  font-size: 12px;
}
* {
  box-sizing: border-box;
  font-size: 1rem;
  margin: 0;
}
html, body {
  padding: 0;
  margin: 0;
  font-family: "IBM Plex Mono", serif;
}
body {
  background: black;
  color: white;
  padding: 1rem;
}
.flex {
  display: flex;
  flex-flow: row wrap;
}
.project-tile {
  display: block;
  background: #222;
  color: white;
  width: 200px;
  height: 200px;
  padding: 10px;
  margin: 1px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  flex-flow: column;
  transition: background 0.2s;
  position: relative;
}
.project-tile:hover{
  background: #6c39c8;
/*  background: skyblue;*/
}
.inactive {
  pointer-events: none;
  opacity: 0.5;
}
a {
  color: currentColor;
  text-decoration: none;
}
.external:after {
  content: ' →';
}
.external:hover {
  text-decoration: underline;
}
.project-body {
  width: 100vw;
  height: 100vh;
  position: fixed;
}
.gum-main-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
}
.info {
  position: fixed;
  top: 0;
  display: flex;
  background-color: var(--info-bg);
  color: var(--info-fg);
  width: 100vw;
  left: 0;
  padding: 1em;
  border-bottom: 1px solid var(--info-fg);
}
.info > * {
/*  margin-right: 1rem;*/
}
.info > *::after {
  content: '——————';
  padding: 1em;
}
.info > *:last-child::after {
  content: '';
}
.preview {
  pointer-events: none;
  border: none;
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 0.5s;
}
.preview.loaded {
  opacity: 1;
}
.in-iframe .info, .no-info .info {
  display: none;
}
.image-container {
  height: calc(100% - 5em);
  position: absolute;
  width: calc(100% - 2em);
  bottom: 1em;
}
.thumbnail {
  mix-blend-mode: screen;
  filter: invert(100%) saturate(0);
/*  position: absolute;*/
/*  top: 50px;*/
/*  width: calc(100% - 50px);*/
  width: 100%;
  height: 100%;
  object-fit: contain;

/*  flex-shrink: 2;*/
}
