@font-face {
  font-family: 'pixels';
  src: url('BoldPixels.ttf');
}

html, body {
  height: 100%;
  overflow-y: auto;
  font-family: 'pixels'; 
}

h1 {
	font-family: 'pixels';
	font-style: normal;
	color: white;
  text-align: center;
	font-size: 42px;
	margin: 0px;
}

h6, h4, h2, p, a {
	font-family: 'pixels';
	font-style: normal;
	color: white;
	text-align: center;
}

th, td {
  font-family: 'pixels';
  font-style: normal;
  color: white;
  background-color: rgba(0,0,0,0.25);
  text-align: center;
  padding: 5px;
}

.quizWelcome {
  margin-top: 50px;
  text-align: center;
}

#startButton {
  color: white;
  font-family: 'pixels';
  background-color: #880808;
  padding: 10px;
  font-size: 56px;
  text-align: center;
  border: none;
}

#startButton:hover {
  background-color: #EE4B2B;
  font-size: 64px;
}

#nextButton {
  position: sticky;
  font-family: 'pixels';
  margin: 10px 30px 50px;
  color: white;
  background-color: #880808;
  border: 5px outset;
  border-color: gray;
  transition: border-color 3s ease-in;
  font-size: 56px;
  text-align: center;
}

#nextButton:hover {
  background-color: #EE4B2B;
  font-size: 57px;
}

#skipButton {
  position: absolute;
  font-family: 'pixels';
  opacity: 0.25;
  left: 10px;
  bottom: 100px;
  color: white;
  background-color: #880808;
  border: 5px outset;
  border-color: gray;
  font-size: 56px;
  text-align: center;
}

#skipButton:hover {
  background-color: #EE4B2B;
  font-size: 57px;
}

#readyButton {
  position: sticky;
  font-family: 'pixels';
  left: 10px;
  bottom: 10%;
  color: white;
  background-color: #880808;
  border: 5px outset;
  border-color: gray;
  font-size: 56px;
  text-align: center;
}

#readyButton:hover {
  background-color: #EE4B2B;
  font-size: 57px;
}
.quiz-intro {
  position: relative;
  text-align: center
}

#intContainer {
  font-family: 'pixels';
  font-size: 36px;
  color: white;
  margin: 10px auto 10px;
}

.intTxt {
  margin: 12px;
}

#questionContainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#question {
  flex: 1 1 80%;
  font-family: 'pixels';
  font-size: 48px;
  color: white;
  margin: 25px auto;
}

#timerContainer {
  flex-shrink: 0;
  font-family: 'Lucida Console';
  font-size: 36px;
  color: white;
  border: 1px solid white;
  margin: 20px 30px;
  padding: 10px;
  width: min-content;
}

#quizContainer {
  margin: 10px 50px 10px;
  display: flex;
  flex-wrap: wrap;
	justify-content: center;
  align-items: center;
  max-width: 100%;
}

#buttCont {
  padding-bottom: 70px;
}

/* answer buttons */
.multChoice {
  font-family: 'pixels';
  background-color: rgb(255, 255, 255)(0, 0, 0);
  position: relative;
  border: 3px solid;
  border-color: gray;
  transition: 
    border-color 3s ease-in;
  max-width: 400px;
  font-size: 24px;
  padding: 20px;
  margin: auto 15px;
}

.multChoice:hover {
    background-color: rgba(255, 255, 255, 0.75);
    font-size: 25px;
}

/* Pulse for angry objects */
.angPulse {
  border-color: gray;
  animation: angColor 2s infinite alternate;
}

@keyframes angColor {
  0% {
    border-color: gray;
  }
  50% {
    border-color: #523333;
  }
}

.angShake {
  animation: 
    angColor 1s infinite alternate,
    shake 3s infinite;
}

@keyframes shake {
  0% {
    transform: translate(0px,2px);
  }
  1% {
    transform: translate(0,0)
  }
  49% {
    transform: translate(0,0)
  }
  50% {
    transform: translate(2px,0px);
  }
  51% {
    transform: translate(0,0);
  }
  100% {
    transform: translate(0,0);
  }
}

#result {
  font-family: 'pixels';
  font-size: 48px;
  color: white;
  margin: 25px auto;
}

.background {
  transition: background-color 0.5s ease;
  position: fixed;
  left: 0;
  right: 0;
  z-index: -1;
  display: block;
  background-color: black;
  background-size: cover;
  background-repeat: no-repeat;
  min-width:100%;
  min-height:100%;
}

footer {
  display: flex;
  width: 100vw;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  bottom: 0;
  margin: 5px 10px;
}

.settings {
  display: flex;
  flex-direction: column;
  align-items: right;
  margin-right: 25px;
}

.sliders {
  display: flex;
  flex-direction: column;
}

#sfxVolume {
  width: 200px;
  height: 8px;
  background: #333;
  border-radius: 5px;
  outline: none;
  margin: 5px 0;
}

label[for="sfxVolume"] {
  color: white;
  font-family: 'pixels';
  font-size: 15px;
  margin-right: 10px;
  vertical-align: middle;
}

#musVolume {
  width: 200px;
  height: 8px;
  background: #333;
  border-radius: 5px;
  outline: none;
  margin: 5px 0;
}

label[for="musVolume"] {
  color: white;
  font-family: 'pixels';
  font-size: 15px;
  margin-right: 10px;
  vertical-align: middle;
}

#settingsButton {
  height: 20px;
  width: 20px;
  margin-right: auto;
  margin-bottom: 25px;
  padding: 10px;
  border: 1px solid black;
  filter: invert();
}

#settingsButton:hover {
  filter: invert(0%);
  background-color: rgba(240, 248, 255, 0.25);
}

#studioTag {
  margin: 10px;
  padding: 5px;
  background-color: rgba(24, 24, 24, 0.5);
}

#hover4tip {
  font-size: 25px;
  margin: 5px;
  padding: 5px;
  background-color: rgba(24, 24, 24, 0.5);
}

#hover4tip:hover {
    filter: invert(0%);
    background-color: rgba(240, 248, 255, 0.25);
}