@font-face {
  font-family: elite;
  src: url(/fonts/specialelite-regular-webfont.woff2);
}

header,
footer,
.nav-links {
  background: white;
}

.nav-links li a {
  color: black;
}

.nav-links li a:hover {
  color: #01ff19;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 10;
}

footer p {
  color: black;
}

.material-icons {
}

#logo {
  color: black;
}

.extra_bold {
  animation: blink 2s linear infinite;
}

@keyframes blink {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 1;
  }
}

#fast_div section {
  flex-direction: row;
  padding: 20px;
  font-size: 0.8em;
  color: white;
  background-color: black;
  border-radius: 25px;
  border-color: #01ff19;
  border-style: solid;
  border-width: 4px;
  margin-top: 40px;
  max-width: 600px;
}

#fast_div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-left: 20px;
  margin-right: 20px;
  gap: 40px;
}

.proj_a {
  color: #01ff19;
}

.proj_a:hover {
  color: #f500a0;
}

.mappe {
  display: flex;
  place-content: center;
  width: 150px;
  height: 105px;
  margin: 0 auto;
  margin-top: 50px;
  position: relative;
  background-color: #01ff19;
  border-radius: 0 6px 6px 6px;
  box-shadow: 4px 4px 7px #f500a0;
  border-color: white;
  color: black;
}

input,
h3 {
  font-family: elite;
}

input {
  font-size: 13pt;
}

body {
  margin: 0;
  padding: 0;
  background: #000;
}

main {
  display: grid;
  padding-bottom: 50vh;
}

#terminal {
  padding-top: 0;
  margin-top: 0;
  font-size: 14pt;
  justify-self: left;
  width: 80vw;
  height: 100%;
  font-family: monospace;
  color: #01ff19;
  z-index: 3;
  padding-left: 2rem;
}

#glitch,
.cross1,
.cross2 {
  cursor: pointer;
}

#main {
  height: 50vh;
  display: flex;
  flex-direction: column;
}

input {
  background: inherit;
  color: inherit;
  border: transparent;
  border-bottom: 1px solid #f500a0;
}

#go {
  cursor: pointer;
}

.sections {
  display: none;
}

.show {
  display: block;
  color: #f500a0;
}

#section_2 {
  padding-bottom: 150px;
}

.glitch_container {
  position: fixed;
  width: 35%;
  aspect-ratio: 580/440;
  top: 37%;
  left: 64%;
  z-index: 100;
}

.glitch_sprite {
  background-image: url(pics/web_glitch/glitch_help.svg);
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
}

.opacity {
  animation: opacity 5s step-end infinite;
}

@keyframes opacity {
  0% {
    opacity: 0.1;
  }

  5% {
    opacity: 0.7;
  }

  30% {
    opacity: 0.4;
  }

  45% {
    opacity: 0.6;
  }

  76% {
    opacity: 0.4;
  }

  90% {
    opacity: 0.8;
  }

  1%,
  7%,
  33%,
  47%,
  78%,
  93% {
    opacity: 1;
  }
}

/* footer {
  position: fixed;
  bottom: 0px;
  padding-bottom: 15px;
  margin: 0;
  z-index: 100;
} */

#helpopup {
  flex-direction: row;
  padding: 20px;
  font-size: 0.8em;
  color: #000;
  background-color: white;
  border-radius: 25px;
  width: fit-content;
  height: fit-content;
  position: fixed;
  top: 5%;
  left: 15%;
  z-index: 300;
}

#fast_popup {
  flex-direction: row;
  padding: 20px;
  font-size: 0.8em;
  color: #000;
  background-color: white;
  border-radius: 25px;
  border-color: #f500a0;
  border-style: solid;
  border-width: 4px;
  width: 230px;
  height: fit-content;
  position: fixed;
  top: 5%;
  left: 10%;
  z-index: 999;
}

#helpopup em {
  color: #f500a0;
}

#helpopup img {
  max-height: 500px;
  display: flex;
  place-self: center;
}

#helpopup p {
  max-width: 80ch;
  padding-bottom: 7px;
}

.cross1,
.cross2 {
  color: red;
  font-size: 3em;
  background-color: transparent;
  border: none;
}

/* tablet */
@media only screen and (max-width: 760px) {
  * {
    overflow-x: hidden;
  }

  #terminal {
    font-size: 10pt;
    justify-self: left;
    width: 100%;
    padding: 15px;
  }

  .glitch_container {
    width: 55%;
    top: 57%;
    left: 55%;
  }

  #helpopup {
    left: 0;
  }

  #helpopup img {
    width: 60%;
  }

  #helpopup div {
    overflow-y: scroll;
  }
}

/* mobile */
@media only screen and (max-width: 640px) {
  * {
    overflow-x: hidden;
  }

  #terminal {
    padding-top: 32%;
    padding-left: 5px;
  }

  #command {
    width: 12ch;
  }

  #glitch {
    position: absolute;
  }

  .glitch_container {
    width: 55%;
    position: fixed;
    top: 8%;
    left: 15%;
    z-index: 700;
  }

  #helpopup {
    top: 0;
    margin-top: 10px;
    padding-top: 0px;
    padding-bottom: 10px;
  }

  #helpopup img {
    display: none;
  }

  #helpopup h2 {
    padding-top: 5px;
  }

  .cross {
    font-size: 2em;
  }
}
