/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  min-height: 90vh;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
}
body * {
  font-size: 20px;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* Tags */
h2 {
  font-size: 24px;
  width: 100%;
  font-weight: bold;
}
h3 {
  font-size: 20px;
  padding-bottom: 5px;
  width: 100%;
  font-weight: bold;
}
p {
  font-size: 20px;
}

/* BUTTONS */
button {
  margin: 10px;
  width: 400px;
  display: block;


  background-color: rgb(237, 253, 255);
  padding: 5px;
  border: 2px solid rgb(41, 106, 212);
  color: rgb(41, 106, 212);
}
button:hover {
  cursor: pointer;
  background-color: rgb(41, 106, 212);
  border: 2px solid rgb(41, 106, 212);
  color: rgb(237, 253, 255);
}
button:active {
  cursor: pointer;
  background-color: rgb(25, 59, 162);
  border: 2px solid rgb(25, 59, 162);
  color: rgb(237, 253, 255);
}


/* Credentials box (box #1)*/
#CredentialsBox {
  display: grid;
  grid-template: auto / 25% 75%;
  width: 75%;
  margin: 20px auto;
  align-items: center;

  background-color: rgb(250, 255, 255);
  padding: 5px;
  border: 2px solid rgb(41, 106, 212);
  color: rgb(6, 18, 37);
  padding: 75px;
}
#CredentialsBox h2 {
  text-align: right;
}
#CredentialsBox p {
  text-align: right;
  margin: 5px;
}
#CredentialsBox input, select {
  padding: 2px;
  font-size: 20px;
  margin: 5px;
}
#CredentialsBox button {
  grid-column: span 2;
  justify-self: center;
}

/* The Question Form Stuff (Boxes #2)*/
form {
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
fieldset {
  border: 2px solid rgb(92, 92, 92);
  padding: 25px;
  margin: none;
  width: 75%;
}
fieldset * {
  margin: 5px;
}

.correctInput {
  border: 2px solid rgb(0, 97, 0)
}
.incorrectInput {
  border: 2px solid rgb(158, 0, 0);
}

#questionForm {
  height: 90vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Final Information (Box #3)*/
#finalInformation {
  width: 75%;
  margin: 20px auto;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;

  background-color: rgb(250, 255, 255);
  padding: 5px;
  border: 2px solid rgb(41, 106, 212);
  color: rgb(6, 18, 37);
  padding: 20px 75px;
}
#finalInformation * {
  padding: 5px;
  text-align: center;
  margin: auto;
}
#finalInformation h2 {
  text-align: center;
}

#q0 {
  visibility: hidden;
}