/*Note: Comments added to explain updates made to starter code only.*/

/*ELEMENTS*/
body {
  /*Sets font to Google font throughout the page (where not overridden by class/id selector due to CSS specificity; the case for all element selectors below)*/
  font-family: 'Montserrat', sans-serif;
  font-size: 120%;
}

h1 {
  /*Increases size of h1 headers*/
  font-size: 32px;
}

a {
  /*Changes colour of links*/
  color: #085a28;
  text-decoration: none;
  transition: color 0.1s;
}

a:hover {
  /*Changes colour of hover on links*/
  color: #28a157;
}

button {
  display: inline-block;
  margin: 5px;
  cursor: pointer;
  /*Sets font of buttons to Google font*/
  font-family:'Montserrat', sans-serif;
  font-size: 100%;
  /*Sets text of buttons to left align (looks cleaner on smaller screens)*/
  text-align: left;
  /*Changes background colour of buttons*/
  background-color: #085a28;
  border-radius: 5px;
  padding: 2px 10px;
  color: white;
  border: 0;
  transition: background-color 0.1s;
}

button:hover {
  /*Changes colour of hover on buttons*/
  background-color: #28a157;
}

input[type="text"] {
  font-size: 100%;
}

ol {
  padding-left: 0px;
  max-height: 400px;
  overflow: auto;
}

li {
  padding: 5px;
  list-style: decimal inside none;
}

li:nth-child(odd) {
  /*Changes background colour of odd list item*/
  background-color: #dfece7;
}

li::marker {
  /*Bolds marker box (number) of list items*/
  font-weight: bold;
}

/*CLASSES*/
.choices button {
  display: block;
}

.wrapper {
  margin: 100px auto 0 auto;
  max-width: 600px;
}

.hide {
  display: none;
}

.start {
  text-align: center;
}

.scores {
  position: absolute;
  top: 10px;
  left: 10px;
}

.timer {
  position: absolute;
  top: 10px;
  right: 10px;
}

/*Styles submit error message (currently generated by user selecting submit button on end screen)*/
.error {
  /*Adds background colour to error message*/
  background-color: #dfece7;
}

/*IDS*/
/*Styles feedback and submit messages (currently generated by user selecting an answer and then submit button on end screen)*/
#feedback, #sbt-msg {
  /*Added bolder style to the message text*/
  font-weight: bolder;
  font-size: 120%;
  color: gray;
  margin-top: 20px;
  padding-top: 10px;
  border-top: 2px solid #ccc;
  /*Added margin to beneath the message (so there is more space between this and View Scores link)*/
  margin-bottom: 20px;
}