/*variables*/
:root {
  --primary-color: #011627;
  --secondary-color: #8bc32e;
  --tertiary-color: #ff6363;
  --quaternary-color: #cf9fff;
  --quinary-color: #05e9ff;
  --default-margin: 10px;
}
/*variables end*/

/*browser styling*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/*end broswer styling*/

/*body styling*/
body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
  font-family: monospace;
}
/*end body styling*/

/*index page styling*/
/*header styling*/
header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  height: 40%;
}

.highscores-nav,
.timer {
  text-decoration: none;
  margin: 20px var(--default-margin) 20px var(--default-margin);
  font-size: 20px;
}

.highscores-nav {
  color: var(--secondary-color);
}

.highscores-nav:hover {
  color: var(--primary-color);
  background-color: var(--secondary-color);
}

.timer {
  color: var(--tertiary-color);
  margin-left: auto;
}
/*end header styling*/

/*div styling*/
.quiz-content-wrapper {
  width: 80%;
  height: 600px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 5% auto;
  border: 1px solid var(--quinary-color);
  box-shadow: 0 0 10px var(--quinary-color);
  padding: var(--default-margin) var(--default-margin);
}

.quiz-heading,
.quiz-subtitle {
  font-size: 40px;
}

.quiz-heading {
  color: white;
}

.quiz-subtitle {
  color: var(--quaternary-color);
}

.quiz-description, .high-score-text {
  font-size: 20px;
  color: #ffd580;
  margin-top: 5%;
  margin-bottom: 5%;
}

.quiz-button, .submit-button {
  font-size: 20px;
  font-family: monospace;
  color: var(--tertiary-color);
  background-color: var(--primary-color);
  border: 1px solid #add8e6;
  padding: 2px;
}

.quiz-button:hover, .submit-button:hover {
  color: var(--primary-color);
  background-color: var(--quinary-color);
  border: 1px solid var(--tertiary-color);
}

/*quiz question and answer styling within div*/
.question-and-answer{
  width: 80%;
  height: 600px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
}

.question-wrapper {
  text-align: left;
}

.question {
  font-size: 30px;
  font-family: monospace;
  color: white;
  align-items: flex-start;
}

.heading{
    text-align: left;
}

.answer-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.answer {
  list-style: none;
  font-size: 30px;
  color: var(--secondary-color);
  background-color: var(--primary-color);
  border: none;
  outline: none;
}

.answer:hover {
color: var(--tertiary-color);
}

.message-list {
width: 100%;
}

.correct-message {
    margin-top: 5%;
    width: 50%;
    border-top: 2px solid var(--quinary-color);
    color: var(--quinary-color);
    font-size: 25px;
}

.incorrect-message {
    margin-top: 5%;
    width: 50%;
    border-top: 2px solid var(--quaternary-color);
    color: var(--quaternary-color);
    font-size: 25px;
}

.code-image {
height: 20px;
}

/* fix this section styling */
.high-score-text {
margin-top: var(--default-margin);
margin-bottom: 0px;
font-size: 25px;
color: var(--secondary-color);
}

.label {
    margin-top: var(--default-margin);
    padding-bottom: 10px;
    margin-bottom: var(--default-margin);
    text-align: left;
    color: var(--quinary-color);
    font-size: 20px;
}

.submit-wrapper {
display: flex;
margin-top: var(--default-margin);
}

.form-input {
    border: 2px solid var(--quinary-color);
    display: inline;
    font-family: monospace;
    font-size: 16px;
    color: var(--primary-color);
    width: 30%;
    border-radius: 10px;
    margin-left: var(--default-margin);
    margin-right: var(--default-margin);
    background-color: white;
}

.submit-button {
    display: inline;
    font-size: 20px;
}
/*end quiz and answer styling*/
/*end div styling*/

