:root {
    --backgroundColor: #cad2c5;
    --textColor: #2f3e46;
    --buttonColor: #52796f;
    --buttonHover: #354f52;
    --buttonText: #cad2c5;
    --accentColor1: #354f52;
    --accentColor2: #cad2c5;
    --accentColor3: #a7bea9;
    --borderColor: #2f3e46;
    /* pallette generated by https://coolors.co/cad2c5-a7bea9-52796f-354f52-2f3e46 */
}


body {
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
  background-color: var(--backgroundColor);
  color: var(--textColor);
  margin: auto;
  padding: 5px;
  text-align: center;
  line-height: 1.5;
}

h1 {
  font-size: 200%;
  padding: 10px;
  color: var(--accentColor1)
}

h2 {
    font-size: 150%;
    padding: 10px;
}

h3 {
    font-size: 120%;
    padding: 10px;
}

.highScoreContainer {
    border: 6px solid var(--borderColor);
    border-radius: 14px;
    z-index: 10;
    width: fit-content;
    margin: auto;
}

p {
    font-family: Arial, Helvetica, sans-serif;
}

.answerButton {
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
}

button {
  background-color: var(--buttonColor);
  color: var(--buttonText);
  padding: 10px;
  margin: 5px;
  border-radius: 7px;
}

button:hover {
  background-color: var(--buttonHover);
}

#saveScore,
#finalScore {
  padding: 10px;
}

#startText {
  margin: auto;
  text-align: center;
  padding: 20px;
}

#questionContainer {
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-start;
  max-width: 800px;
  min-width: 320px;
  margin: auto;
  /* justify-content: left; */
}

#startText {
    max-width: 800px;
}

li,
#scoreHeaderContainer {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-around;
  max-width: 250px;
  border-bottom: 2px var(--borderColor) solid;
  border-top-right-radius: 7px;
  border-top-left-radius: 7px;
}

#scoreHeaderContainer {
  font-weight: bold;
  color: var(--backgroundColor);
  background-color: var(--accentColor1);
  text-align: center;
}

.rank,
.score {
  text-align: right;
  background-color: var(--accentColor3);
}

.player {
  background-color: var(--accentColor2);
}

.highScoreContainer p {
  text-align: left;
  width: 200px;
  padding: 5px;
}

.last {
    border-bottom: 0px;
}

.last .rank  {
    border-bottom-left-radius: 7px;
}

.last .score  {
    border-bottom-right-radius: 7px;
}

#scoreHeaderContainer[class="last"]{
    border-bottom: 0px;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}