img {
    image-rendering: optimizeSpeed;             /* STOP SMOOTHING, GIVE ME SPEED  */
    image-rendering: -moz-crisp-edges;          /* Firefox                        */
    image-rendering: -o-crisp-edges;            /* Opera                          */
    image-rendering: -webkit-optimize-contrast; /* Chrome (and eventually Safari) */
    image-rendering: pixelated;                 /* Universal support since 2021   */
    image-rendering: optimize-contrast;         /* CSS3 Proposed                  */
    -ms-interpolation-mode: nearest-neighbor;   /* IE8+                           */

}

@font-face {
  font-family: 'mono';
  src: url('erika.ttf');
}
@font-face {
  font-family: 'zachery';
  src: url('zachery.otf');
}
body {
  background-color: #111111;
  color: #EBEBCA;
  font-family: mono;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box {
//  display: flex;
//  flex-wrap: wrap;
//  align-items: stretch;
//  align-content: stretch;
  position: relative;
  width: min(95vw, 95vh);
  height: min(95vw, 95vh);
  align-items: center;
  justify-content: center;
}

#media img{
  object-fit: contain;
  height: 60vh;

}
.content {
  background-color: #000000dd;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: 0vw 0vw 4vw 4vw #000000cc;
//  flex: 50%;
}
@media (max-width: 800px) {
  .content {
    flex: 100%;
  }

}
button {
  font-family: erika;
}

#menu {
  position: absolute;
    height:5vmin;

    top:10px;
    right:10px;
    z-index: 999;
}

.menuTray {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;

}

#menuItems {
  display: none;
  flex-direction: row;
  justify-content: flex-end;

}
#media {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

#media img{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}

.menuTray button{
  background-color: #222222 !important;
  color: #CACACA !important;
  font-size: 2vmin !important;
  padding: 0.1em !important;
  border: 2px solid #333333 !important;
  font-family: mono !important;
}

textarea {
  font-size: 2vmin;
  background-color: #222222;
  color: #CACACA;
  font-family: mono;
  width: 100%;
  height: 8em;
}

#links {
  padding: 1%;
}

#links button{
  width: 90%;
//  height: 6em;
  font-size: 0.75em;
  background-color: #222222;
  color: #c2dbd8;
  padding: 1em;
  border: 0px;
  margin: 0.25em;
  text-align: left;
  font-style: italic;
  box-shadow: 2vw 2vw 2vw rgba(0, 0, 0, 0.9);
}

#story button{
  width: 90%;
  height: 3em;
  font-size: 1em;
  text-transform: uppercase;

  background-color: #222222;
  color: #CACACA;
  padding: 0.25em;
  border: 0px;
  margin: 0.25em;
  text-align: center;
  font-style: italic;
}

#story {
  padding: 4%;
  line-height: 150%;
}

#leader {
  color: #43514fFF;
  font-size: 1.2em;
  padding: 0.25em;
  border: 0px;
  margin: 0.25em;
  font-style: italic;
}
