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

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

* {
  font-family: Mondwest;
}

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

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

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

#dragbar {
  height: 15px;
  background-color: var(--bordergray);
  display: flex;
}

#dragbar p {
  margin-top: 0;
  font-size: 1em;
  font-weight: bold;
}

#dragbar a {
  text-decoration: none;
  color: black;
}

#navbar {
  height: 30px;
  display: flex;
  background-color: var(--edgegray);
}

#bafo {
  width: 90px;
  display: flex;
}

#back {
  width: 45px;
}

#back p {
  text-align: right;
  font-size: 3em;
}

#forward {
  width: 45px;
}

#address {
  width: 550px;
  display: flex;
}

#search {
  width: 430px;
  background-color: var(--gray);
  height: 15px;
  margin-left: 25px;
  margin-top: auto;
  margin-bottom: auto;
  border: 2px solid var(--bordergray);
  display: flex;
  place-items: center;
}

#search p {
  font-size: .7em;
  margin-left: 10px;
}

/* THE ACTUAL CONTENT */

#content {
  height: 385px;
  /*background-image: url('../images/hopper/starbg.gif');*/
  overflow-y: scroll;
}

#content main {
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-left: 10px;
  margin-right: 10px;
}

.left {
  grid-column: 1;
}

.right {
  grid-column: 2;
}

.all {
  grid-column: 1 / span 2;
}

h1 {
  text-align: center;
}

.likes ul {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  max-height: 150px;
}


/* THE BOTTOM */

#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;
}

.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;
}

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

.editor header a {
  color: black;
  text-decoration: none;
  font-size: 1rem;
  position: absolute;
  top: 0;
  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;
}
