:root {
  --cbg: #472C2F;
  --cbg2: #633D41;
  --dirtgreen: #051403;
  --gray: #faf7f8;
}

@font-face {
  font-family: Mondwest;
  src: url(../fonts/Mondwest.otf)
}

html {
  background-color: var(--dirtgreen);
}

* {
  font-family: Mondwest;
}

body {
  height: 100vh;
  display: flex;
  place-items: center;
}

p,li {
  font-size: .7rem;
}

#screen {
  background-color: var(--cbg2);
  width: 640px;
  height: 480px;
  margin: auto;
  z-index: 0;
  border: 15px inset black;
}

#content {
  height: 430px;
}

#bottom {
  background-color: var(--cbg);
  width: 640px;
  height: 50px;
}

.file {
  position: relative;
}

.file img {
  height: 45px;
  width: 40px;
}

.file p {
  text-align: center;
  max-width: 40px;
  margin-top: 0;
  margin: 0;
  color: white;
}

#log {
  top: 50px;
  left: 30px;
}

#notes {
  top: 100px;
  left: 30px;
}

#hopper {
  top: -80px;
  left: 550px;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: none;
  opacity: 0;
  pointer-events: none;
  align-items: center;
  justify-items: center;
}

.overlay:target {
  display: flex;
  opacity: 1;
  z-index: 50;
  pointer-events: all;
}

.editor {
  position: relative;
  background-color: var(--gray);
  height: 300px;
  width: 250px;
  margin: auto;
  z-index: 1;
  border: 6px solid black;
  overflow-y: scroll;
  text-align: justify;
}

.editor p,h2,li {
  margin: 10px;
}

.editor li {
  margin-left: 0;
}

.editor h2 {
  font-size: 1rem;
  border-bottom: 3px solid black;
}

.editor header a {
  color: black;
  text-decoration: none;
  font-size: 1rem;
  position: absolute;
  top: 8px;
  right: 0;
  margin-right: 10px;
}

.editor header a:hover {
  color: white;
  background-color: black;
}

#logoff {
  position: relative;
  height: 200px;
  width: 250px;
  margin: auto;
  z-index: 1;
  border: 6px solid black;
  background-color: var(--cbg);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#logoff p:nth-child(1), #logoff a {
  color: white;
  text-align: center;
  font-size: 1.25em;
}

#navicon p {
  z-index: 1;
  font-size: 2rem;
}

