html:before {
  background: url(../images/annie-spratt-bGdiuIyN3Rs-unsplash.jpg);
  background-size: cover;
  background-position: center center;
  filter: blur(4px);
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  /*transform: scale(1.1);*/
  overflow: hidden;
}
:root,
html {
  font-family: "Poppins", sans-serif;
  height: 100%;
  width: 100%;
  margin: 0;
  position: absolute;
  z-index: 1;
  overflow: hidden;
  font-size: 62.5%; /*equivelent of 10px for use with REM*/
}

html::after{background: url(../images/noise.jpg);
  content: "";
  height: 100%;
  left: 0;
  opacity: .05;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 201;
 }

h1 {
  font-size: 3.3rem;
  line-height: 1;
}

h2 {
  font-size: 2.6rem;
  line-height: 1;
}

h3 {
  font-size: 2rem;
  line-height: 1.444;
}

h4 {
  font-size: 1.6rem;
  line-height: 1.444;
}

body {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  font-size: 1.6rem;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5);
}

#main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70%;
  min-width: 50%;
  flex: 1 0 auto;
  background: rgba(0, 0, 0, 0.5);
  width: 100vw;
  overflow: hidden;
}

#container {
  width: 50vw;
  height: 50vh;
  background: rgba(48, 70, 89, 0.9);
  margin: 0 auto;
  padding: 1rem;
  border: rgba(48, 70, 89, 0.9) 1px solid;
  border-radius: 5px;
  position: relative;
}
#container .prompt {
  font-size: calc(1.3rem + 1vw);
  font-family: "Courier Prime", monospace;
  color: whitesmoke;
  width: 95%;
  margin: 0 auto;
  min-height: 50%;

  height: 50vh;
}
.typing {
  position: relative;
  height: 80%;
  overflow-y: auto;
  overflow-x: hidden;
}
.typing:after {
  content: "|";
  position: absolute;
  color: whitesmoke;
  margin-left: 5px;
  animation: blink 0.8s infinite ease;
}
@media (prefers-reduced-motion) {
    .animation {
        animation: blink 1.5s infinite ease;
    }
  }


.button-container {
  bottom: 0;
  position: absolute;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  padding-right: 20px;
}
button {
  background-color: transparent;
  border: 0.1em solid whitesmoke;
  color: whitesmoke;
  width: calc(12rem + 2.6vw);
  display: block;
  margin: -6rem auto 0 auto;
  position: relative;
  border-radius: 0.12em;

  text-decoration: none;
}
button:hover {
  color: #000000;
  background-color: #ffffff;
}

button:disabled{
    background-color: grey;
    border-color: rgb(94, 94, 94);
    color:rgb(94, 94, 94)
}

header {
  text-align: center;
  color: #fff;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.5);
  margin: 0;
  width: 100vw;
}
footer {
  width: 100%;
  color: whitesmoke;
  background: rgba(48, 70, 89, 0.9);
  flex-shrink: 0;
  
  text-align: center;
  font-size: 1.3rem;
}

footer p {
  padding: 1rem;
  margin: 0 auto;
  width:50vw;
  
}

/* Works on Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color:whitesmoke rgb(32, 46, 58);
  }
  
  /* Works on Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 5px;
  }
  
  *::-webkit-scrollbar-track {
    background:  rgb(32, 46, 58);
  }
  
  *::-webkit-scrollbar-thumb {
    background-color: whitesmoke;
    border-radius: 5px;
    border: 1px solid whitesmoke;
  }

  a{color: #fff}

@keyframes blink {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

body:not(.user-is-tabbing) button:focus,
body:not(.user-is-tabbing) input:focus,
body:not(.user-is-tabbing) select:focus,
body:not(.user-is-tabbing) textarea:focus,
body:not(.user-is-tabbing) a:focus,
body:not(.user-is-tabbing) div:focus {
  outline: none;
}

.ajs-message{background-color: rgba(48, 70, 89, 0.9);color: white;text-align: center;border: rgba(48, 70, 89, 0.9) 1px solid;border-radius: 5px;}
