﻿html,
body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
}

canvas {
  display: block;
  align: center;
}

.top-ribbon-element {
  display: inline-block;
  width: 24%;
  text-align: center
}



.choices {
  font-size: 20px;
}

#problem {
  display: flex;
  justify-content: center;
}

#written-portion {
  flex-grow: 1;
}

#visual-aid {
  margin: 3em;
}

.question {
  font-size: 20px;
  text-align: center;
  margin: 10px 10px 10px 10px;
}

.option {
  display: inline-block;
  width: 25%;
  padding-top: 1em;
  padding-bottom: 1em;
  text-align: center;
  margin-top: 0.1em;
  margin-bottom: 0.1em
}

.option:hover {
  background: rgb(230, 230, 230);
  border-radius: 8px;
}

#option-div {
  font-size: 20px;
}

.result-indicator {
  width: 100%;
  height: 10px;
}

.diagram {
  text-align: center;
  float: left;
}


.archive-entry {
  margin: 5px;
  border-style: solid;
  padding: 0.5em;
}

#reset-button {
  text-align: center;
  background: black;
  color: white;
  font-size: 200%;
}

#game-over {
  display: none;
}

.summary-statement .katex {
  font-size: 1.1em;
}

.score-section-element .katex {
  
}

.summary-statement {
  width: 30%;
  text-align: center;
  background-color: red;
  margin: 0.5em 0em;
  padding: 0.2em;
}

.stats-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#stats {
    margin: 5px;
  border-style: solid;
  border-color: grey;
  padding: 0.5em
}

#disclaimer {
  margin: 1em;
}

.score-section-element {
  width: 16%;
  height: 1.5em;
  text-align: center;
  margin: 0.3em 0em;
  display: inline-flex;
  align-items: center;
  justify-content: space-around;
}

#angle-section .angle-score-section-element {
  width: 33%;
}

.sub-score-section {
  
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
}

@media only screen and (orientation: portrait) { 
  #problem {
    flex-direction: column;
  }
  #written-portion {
    order: 1;
  }

  #visual-aid {
    
    order: 2;
    display: inline-block;
    text-align: center;
  }
  
  .option {
    width: 50%;
    margin-top: 0.5em;
    margin-bottom: 0.5em
  }
  
  .score-section-element {
    width: 32%;
  }
  
  .score-section-element.katex {
    font-size: 0.8em
  }
  
  /*#score-section {
    display: none;
  }*/
  /*.option .katex {
    font-size: 1.4em;
  }
  
  .question .katex{
    font-size: 1.6em;
  }*/
}
@media only screen and (orientation: landscape) { 
  #problem {
    flex-direction: vertical;
  }
  #written-portion {
    order: 2;
  }

  #visual-aid {
    
    order: 1;
  }
  
  .option {
    width: 25%;
  }
  
  .score-section-element {
    width: 16%;
  }
  
  /*.question .katex{
    font-size: 1.6em;
  }
  
  .option .katex {
    font-size: 1.4em;
  }*/
}