body {
  background-color: whitesmoke;
  font-family: 'Roboto', sans-serif;
  margin-left: 5%;
  margin-right: 5%;
  margin: 0 auto;
  max-width: 75em;
}

#answers p, .alert, .confirmation, .highlighted, input:checked + label, nav a {
  color: whitesmoke;
}

.tooltip .tooltiptext, label, section, input, button {
  padding: .5em;
}

#correctAnswer, #playerAnswer, #answers p, select {
  border-radius: .25em;
}

#correctAnswer, #playerAnswer, figure img, img {
  box-shadow: 0.25em 0.25em 0.1em #00000030;
}

#answers, #answers p, #quiz-results p {
  text-align: left;
}

.tooltip, .infoIcon img, header {
  position: relative;
}

.tooltip .tooltiptext, h1, section {
  text-align: center;
}

.infoIcon img:hover, button:hover, #answers label:hover {
  cursor: pointer;
}

#answers, div {
  display: grid;
}

#background, footer {
  position: fixed;
}

#answers p, .highlighted {
  background-color: #353535;
}

.tooltip .tooltiptext, .tooltip .tooltiptext::after {
  position: absolute;
  left: 50%;
}

.quiz-button, .primary-button {
  background-image: linear-gradient(180deg, #ffffff00 0%, #d7be6a 100%);
}

.tooltip:hover .tooltiptext, figure:hover cite {
  visibility: visible;
}

.hidden, input[type="radio"] {
  display: none;
}

.tooltip .tooltiptext, cite {
  visibility: hidden;
}

.tooltip .tooltiptext, input {
  border-radius: .5em;
}

.infoIcon img, hr {
  border: none;
}

footer, img {
  width:100%;
}

label, button {
  border-radius: 1em;
}

div, button {
  margin: .5em;
}

figure img, img {
  border: solid 0.125em #353535;
}

header, header div {
  display: flex;
  justify-content: flex-end;
}

#notes {
  text-align: left;
}

#correctAnswer {
  border: #9FD983 .15em solid;
  background-color: #9FD983;
}

#playerAnswer {
  border: #F44336 .15em solid;
  background-color: #F44336;
  opacity: 75%;
}

#background {
  top: 0;
  left: 0;
  z-index: -1;
  min-width: 100%;
  min-height: 100%;
  opacity: 10%;
}

#answers {
  margin: 2% 10% 2% 10%;
}

#answers-container {
  margin: 1% 5% 1% 5%;
}

#answers p {
  border: #353535 solid .5em;
}

.quiz-button {
  border:#353535 solid .25em;
  font-weight: bold;
}

.tooltip {
  display: inline-block;
}

.tooltip .tooltiptext {
  background-color: black;
  color: #fff;
  z-index: 1;
  width: 25em;
  bottom: 100%;
  margin-left: -13em;
}

.tooltip .tooltiptext::after {
  content: " ";
  top: 100%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}

.infoIcon img {
  width: 1.5em;
  box-shadow: none;
  top: .5em;
}

.alert {
  background-color:#8E2D2D;
  border: .1em solid#8E2D2D;
}

.helpMessage {
  background-color: #FFC30B;
}

.confirmation {
  background-color: #1E5631;
  border: .1em solid #1E5631;
}

cite {
  font-size: small;
}

header {
  right: 24%;
  margin-left: 40%;
}

footer {
  border: #353535 solid .1em;
  bottom: 0;
  font-size: x-small;
}

select {
  width: 14em;
  padding: .25em;
}

h1 {
  font-size: xx-large;
}

input[type="radio"] {
  margin: 1em -1em 1em 0em;
}

input:checked + label {
  background:  #353535;
}

section {
  border: ridge .2em #353535;
  box-shadow: .25em .25em .1em #00000030;
  margin: 2% 20% 2% 20%;
  background-color: #589ec3ed;
}

input {
  border-style: inset;
}

button {
  font-size: medium;
}

button:hover, #answers label:hover {
  background-color: lightgray;
}

hr {
  width: 75%;
  border-top: .5em double #353535;
}

h1, h2 {
  color: #353535;
}

nav {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  background-color: #353533;
  list-style-type: none;
  min-height: 2.25em;
  padding: 0.5em;
  margin: 0.125em;
}

article, nav, section {
  border-radius: 0.3125em;
}

article, img {
  margin-bottom: 0.125em;
  margin-left: auto;
  margin-right: auto;
}

nav a {
  text-decoration: none;
  padding: 0.4375em;
  display: block;
}

article {
  display: flow-root;
  list-style-position: inside;
  padding: 0.1875em;
}

p {
  padding: 0.6250em;
}

a:hover {
  text-decoration: underline;
}

.nav-links {
  display: flex;
  margin-top: auto;
  margin-bottom: auto;
  text-align: left;
}

.menu-toggle {
    display: none;
}

a:hover {
  text-decoration: underline;
}

.menu-toggle:hover {
  cursor: pointer;
}

.nav-vl {
  display: none;
}

@media (max-width: 51em) {
  nav {
    display: flex;
    justify-content: left;
    position: relative;
  }

  article {
    display: grid;
  }

  a:hover {
    background-color: #555;
    border-radius: 0.3125em;
  }

  section, div {
    margin: 0;
    padding: .25em;
  }

  footer {
    position: relative;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 0.3125em;
    margin: 0.4375em;
  }

  .menu-toggle span {
    display: block;
    width: 2.0625em;
    height: 0.25em;

    background: whitesmoke;
    border-radius: 0.1875em;
  }

  .menu-toggle span:not(:last-child) {
    margin-bottom: 0.3125em;
  }

  .nav-vl {
    display: inline;
    border-left: 0.1875em solid whitesmoke;
  }

  .nav-hide {
    display: none;
  }
}

@media (max-width: 33em) {
  header {
    display: grid;
  }

  nav {
    flex-direction: column;
  }

  #inputs img {
    width: 1.5em;
    border: none;
  }

  nav, .nav-links {
    flex-direction: column;
  }

  .nav-vl {
    display: none;
  }
}