/******************************************
/* CSS
/*******************************************/

/* Box Model Hack */
*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  width: 100vw;
  height: 100%;
  background-color: #C63C51;
}

html, body {
  overflow-x: hidden;
}

/******************************************
/* LAYOUT
/*******************************************/

nav,
main,
.mainTop,
ul, 
li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  list-style: none;
}

main {
  height: 900px;
}

header,
nav {
  height: 100%;
}

header ul {
  width: 92.5%;
}

.descriptionContainer {
  width: 75%;
  height: 700px;
}

.description {
  color: white;
  font-size: 48px;
}
.description a {
  text-decoration: underline;
}

.mainTop {
  height: 250px;
  justify-content: space-evenly;
}

.mainMiddle,
.questionChoices {
  height: 600px;
}

#isCorrect {
  margin-top: 50px;
}


header,
nav {
  height: 200px;
}

nav,
ul {
  gap: 20px;
}

.mainTop {
  gap: 10px;
}

.choices {
  width: 500px;
  height: 100px;
  text-align: center;
}

header ul,
li {
  display: flex;
  flex-direction: row;
}

.pages {
  flex: 1 1 0;
}

.pages,
.pages li {
  height: 75px;
  text-align: center;
}




/******************************************
/* ADDITIONAL STYLES
/*******************************************/

body,
#button {
  font-family: 'Atma', 'Helvetica', sans-serif;
}

header {
  background-color: #522258;
}

.pages {
  font-size: 24px;
}

main {
  background-color: #C63C51;
}

h1,
h2,
.otherCategories,
#question {
  text-align: center;
  font-size: 32px;
  color: white;
}

#isCorrect {
  color: white;
}

/* LI CLICK STYLE FROM W3 SCHOOLS https://www.w3schools.com/howto/howto_css_animate_buttons.asp */

li {
  cursor: pointer;
  outline: none;
  color: #fff;
  background-color: #8C3061;
  border: none;
  border-radius: 15px;
  box-shadow: 0 9px #999;
}

li:hover {
  background-color: #73274F;
}

li:active {
  background-color: #73274F;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}

#correct {
  color: #522258;
  font-weight: 700;
  font-size: 40px;
  text-shadow: 1px 1px 1px #FFF;
}

#incorrect {
  color: #ED7F79;
  font-weight: 700;
  font-size: 40px;
  text-shadow: 1px 1px 1px #000;
}

h6 {
  display: none;
}

a {
  text-decoration: none;
}

#button {
  width: 175px;
  height: 50px;
  background-color: #ED6F68;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 20px;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

#button:hover {
  background-color: #ED7F79;
}

#button:active {
  background-color: #ED7F79;
  transform: scale(0.95);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

#questionChoices {
  font-size: 24px;
}

@media screen and (max-width: 520px) {
  main {
    height: 1200px;
  } 
  .mainTop {
    height: 500px;
  }
  .choices {
    width: 350px;
  }
}

@media screen and (max-width: 460px) {
  .pages {
    font-size: 16px;
  }
}

@media screen and (max-width: 375px) {
  .choices {
    width: 300px;
  }
}