body {
  /* font-family: 'Press Start 2P', cursive; */
  font-family: 'Press Start 2P', 'Ubuntu Mono', monospace;
  background: #4477ff;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

input {
  width: calc(85% - 20px);
  margin-left: 20px;
  border: 1px solid white;
  background-color: black;
  color: white;
  border-radius: 5px;
  font-size: 16px;
  font-family: 'Press Start 2P', 'Ubuntu Mono', monospace;
  padding: 6px;
}

textarea {
  width: calc(85% - 20px);
  margin-left: 20px;
  border: 1px solid white;
  background-color: black;
  color: white;
  border-radius: 5px;
  font-size: 16px;
  font-family: 'Press Start 2P', 'Ubuntu Mono', monospace;
  padding: 6px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  image-rendering: pixelated;
}

.hidden {
  display: none !important;
}

.underline {
  text-decoration: underline;
}

#rightButton {
  position: fixed;
  width: 15vw;
  height: 100vh;
  left: 85vw;
  bottom:50px;
  z-index: 500;
}

#leftButton {
  position: fixed;
  width: 15vw;
  height: 100vh;
  left: 0px;
  bottom: 50px;
  z-index: 500;

}

#messageOverlay {
  z-index: 9999;
  position: fixed;
  width: 110%;
  height: 110%;
  left: -5%;
  top: -5%;
  background-color: rgba(0,0,0,.5);
  visibility: hidden;
  opacity: 0;
  transition: opacity 500ms;
}

#messageOverlay.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 500ms;
}

.messageBox {
  position: fixed;
  width: 90%;
  height: 70%;
  top: 15%;
  left: 5%;
  transform: scale(0.001, 0.001);
  background-color: #000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: transform 500ms;
}

.messageBox.active {
  transform: scale(1, 1);
  transition: transform 500ms;
}

.messageText {
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
  width: 100%;
  margin: 5px;
  overflow-y: auto;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;   
}

::-webkit-scrollbar-thumb {
  background: #444; 
}

::-webkit-scrollbar-thumb:hover {
  background: #444; 
}

.messageCloseButton {
  color: #fff;
  border: 1px solid;
  border-radius: 5px;
  background-color: #000;
  padding: 10px;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 10px;
}

.boundingBox {
  position: absolute;
  margin-top: 20vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.titleText > img {
  margin-top:20px;
  max-width: 100%;
  object-fit: contain;
  -webkit-filter: drop-shadow(20px 20px 20px #444);
  filter: drop-shadow(10px 8px 5px #444);
}

#background-container {
  background: linear-gradient(270deg, #d0f4ff, #b6d4ec, #9dc6e6, #b7d0d4, #ced7d7);
  position: fixed;
  left: 0px;
  top: 0px;
  height: 100%;
  width: 100%;
  background-size: 1000% 1000%;
  overflow: hidden;
  -webkit-animation: AnimationName 120s ease infinite;
  -moz-animation: AnimationName 120s ease infinite;
  animation: AnimationName 120s ease infinite;
}

#scenery-container {
  position: fixed;
  left: 0px;
  bottom: -10%;
  width: 600%;
  height: 50%;
  background: url('./backgrounds/hills.svg') center repeat-x;
  background-size: auto 60%;
  overflow: hidden;
  z-index: -1;
  filter: brightness(1.2);
}

@-webkit-keyframes AnimationName {
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}
@-moz-keyframes AnimationName {
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}
@keyframes AnimationName {
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}

#level-container {
  position: fixed;
  top: 0px;
  left: 0px;
  height: 100%;
  background: none;
}

.sprite {
  position: absolute;
  display: flex;
  justify-content: flex-start;
  width: 48px;
  height: 100px;
  background-image: url('./images/stand.png');
  background-repeat: no-repeat;
  background-size: 50px 100px;
  background-position-y: 5px;
  background-position-x: 2px;
  z-index: 999;
  overflow: visible;
  image-rendering: pixelated;
  bottom: 34px;
  left: 20vw;
}

.sprite-hidden {
  left: 0px;
  top: 0px;
  display: none;
}

.floor {
  position: fixed;
  left: 0px;
  bottom: 0px;
  height: 35px;
  width: 100vw;
  background-image: url(./images/ground.png);
  background-repeat: repeat-x;
  /* background-position: 0, 0; */
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.navlink {
  width: 20vw;
  color: #310;
  text-align: center;
  height: 18px;
  margin-top: 10px;
  padding-top: 2px;
  z-index: 9998;
}

#navselector {
  position: fixed;
  left: calc(2.5vw);
  bottom: 2px;
  width: 22vw;
  height: 22px;
  border: 2px solid #310;
  border-radius: 4px;
  z-index: 999;
  background-color: rgba(255,255,255,0.3);
}

.pages {
  width: 500vw;
  height: 100%;
  display: flex;
  flex-direction: row;
}

.page {
  width: 100vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title-container {
  /* position: relative; */
  width: 100%;
  max-width: 500px;
  margin-top: 15%;
  /* top: 15%; */
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 60%;
}

.title-container > img {
  max-width: 80%;
  -webkit-filter: drop-shadow(20px 20px 20px #444);
  filter: drop-shadow(10px 8px 5px #444);
  margin-bottom: 15px;
}

.title-container > img.small-title {
  max-width: 50%;
  margin-right: 20%;
  margin-bottom: 10px;
}

@media screen and (max-width: 500px) {
  .title-container > .subheader {
    font-size: 3vw;
    white-space: nowrap;
    max-width: 70%;
  }
}

.page-info {
  width: 100%;
  height: 100%;
  max-width: 85%;
  overflow-y: auto;
  overflow-x: hidden;
}

@media screen and (max-width: 500px) {
  .page-info {
    font-size: 3.75vw;
  }
}

.obstacle-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 15px;
}

.obstacle {
  width: 48px;
  height: 48px;
}

.github {
  background: url('./images/github.png');
  background-position: center center;
  background-color: #ccc;
  border: 2px solid black;
  background-size: 41px;
  background-repeat: no-repeat;
  background-position: 3px 3px;
  padding: 0px;
  margin: 0px;
  border-radius: 5px;
  z-index: 5;
  image-rendering: pixelated;
  cursor: pointer;
  box-shadow: inset 0.2em 0.2em 0.2em 0 rgba(255,255,255,0.5), inset -0.2em -0.2em 0.2em 0 rgba(0,0,0,0.5);
}

.linkedin {
  background: url('./images/linkedin.png');
  background-position: center center;
  background-color: #bbb;
  border: 2px solid black;
  background-size: 41px;
  background-repeat: no-repeat;
  background-position: 3px 3px;
  padding: 0px;
  margin: 0px;
  border-radius: 5px;
  z-index: 5;
  image-rendering: pixelated;
  cursor:pointer;
  box-shadow: inset 0.2em 0.2em 0.2em 0 rgba(255,255,255,0.5), inset -0.2em -0.2em 0.2em 0 rgba(0,0,0,0.5);
}

.mail {
  background: url('./images/mail.png');
  background-position: center center;
  background-color: #eee;
  border: 2px solid black;
  background-size: 41px;
  background-repeat: no-repeat;
  background-position: 3px 3px;
  padding: 0px;
  margin: 0px;
  border-radius: 5px;
  z-index: 5;
  image-rendering: pixelated;
  cursor:pointer;
  box-shadow: inset 0.2em 0.2em 0.2em 0 rgba(255,255,255,0.5), inset -0.2em -0.2em 0.2em 0 rgba(0,0,0,0.5);
}

.brewersfriend {
  background: url('./images/mug.png');
  background-position: center center;
  background-color: #345;
  border: 2px solid black;
  background-size: 41px;
  background-repeat: no-repeat;
  background-position: 3px 3px;
  padding: 0px;
  margin: 0px;
  border-radius: 5px;
  z-index: 5;
  image-rendering: pixelated;
  cursor:pointer;
  box-shadow: inset 0.2em 0.2em 0.2em 0 rgba(255,255,255,0.5), inset -0.2em -0.2em 0.2em 0 rgba(0,0,0,0.5);
}