html {
  height: 100%;
  width: 100%;
  margin: 0;
}
body {
  margin: 0;
  height: 100%;
  width: 100%;
  background-color: rgb(185, 0, 185);
  text-align: center;
  font-size: 1.5em;
  color: rgb(0, 0, 0);
  font-family: Bitter, serif;
}
a, a:visited {
  color: inherit;
}
.popup {
  display: none;
  position:absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  z-index: 1;
  padding: 10px;
  background-color: inherit;
  border: solid black 2px;
  overflow: scroll;
}
input[type='checkbox'], input[type='radio'], select {
  accent-color: #401944;
  background: #CBC3E3;
}
input[type='submit'] {
  width: 7%;
  line-height: 130%;
  font-size: 1em;
  margin-left: 1%;
}
#formcontainer {
  width: 94%;
  margin-left: 2%;
  font-size: 0.7em;
  text-align: center;
}
#formlabels {
  display: inline-block;
  line-height: 130%;
  text-align: right;
  margin-right: 1%;
  width: 23%;
}
#formblock {
  display: inline-block;
  text-align: left;
  width: 75%;
}
p {
  width: 94%;
  margin-left: 3%;
}
#inlinelogo {
  margin-top: 20px;
  max-height: 110px;
  width: auto;
}
#logo {
  height: 50px;
  width: 50px;
  position: absolute;
  top: 10px;
  left: 10px;
}
#topright {
  margin: 0;
  position: absolute;
  top: 15px;
  right: 15px;
  height: 50px;
  text-align: right;
}
#settings {
  vertical-align: top;
}
#menu {
  width: 98%;
  left: 1%;
  margin-top: 2rem;
  padding: 0;
}
#menu a {
  text-decoration: none;
}
#menu li {
  display: inline-block;
  font-weight: bold;
  width: 10%;
  height: 1.5rem;
  text-align: center;
  line-height: 20px;
  padding: 5px 0px;
  border: solid 2px black;
}
#menu li span {
  vertical-align: center;
}
#menu li:hover {
  background-color: black;
  color: rgb(185, 0, 185);
}
#supportlist {
        text-align: left;
        margin: 0 5%;
}
#selected {
  background-color: black;
  color: rgb(185, 0, 185);
}
.story, details {
  text-align: left;
}
#firstsblock p {
  margin-left: 2.5%;
}
.story a:hover {
  text-decoration: underline;
}
.gameimage {
  float: right;
  padding-left: 20px;
  padding-bottom: 20px;
}
.songs {
  list-style-position: inside;
  text-align: left;
}
.song {
  margin-left: 2%;
}
.embed, .lyrics {
  float: left;
  width: 50%;
}
hr {
  border: 1px solid black;
  width: 95%;
}
#artfullsize {
  height: 100vh;
  width: auto;
}
.artthumb {
  margin: 10px;
}

@media (max-width: 768px) {
  body {
    font-size: 1.2em;
  }
  
  #logo {
    height: 40px;
    width: 40px;
    top: 5px;
    left: 5px;
  }
  
  #topright {
    top: 5px;
    right: 5px;
  }
  
  #topright a {
    font-size: 28px;
  }
  
  #inlinelogo {
    max-height: 80px;
    margin-top: 10px;
  }
  
  #menu {
    width: 100%;
    height: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 6rem;
    padding: 0;
  }
  
  #menu li {
    width: 18%;
    margin: 1%;
    padding: 8px 0;
    font-size: 0.9em;
  }
  
  .popup {
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
  }
  
  #formcontainer {
    font-size: 0.9em;
  }
  
  #formlabels {
    display: block;
    text-align: left;
    width: 100%;
    margin-bottom: 5px;
  }
  
  #formblock {
    display: block;
    width: 100%;
  }
  
  input[type='submit'] {
    width: 30%;
    font-size: 0.9em;
  }
  
  .gameimage {
    float: none;
    display: block;
    margin: 0 auto 20px;
    max-width: 100%;
    height: auto;
  }
  
  .embed, .lyrics {
    float: none;
    width: 100%;
  }
  
  audio {
    max-width: 100%;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  #artfullsize {
    height: auto;
    width: 100%;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 1em;
  }
  
  #menu {
    width: 100%;
    height: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 6rem;
    padding: 0;
  }
  
  #menu li {
    width: 23%;
    margin: 1%;
    padding: 0.5em 0;
    font-size: 1em;
  }
  
  #topright a img {
    height: 24px;
    width: 24px;
  }
  
  #inlinelogo {
    max-height: 60px;
  }
  
  .popup {
    font-size: 0.9em;
  }
  
  input[type='submit'] {
    width: 50%;
  }
}