/* Set font family of quiz*/
html,body{
    font-family: 'Didot', sans-serif;
    height:100%;
  }
  
  #highScores button{
    margin:5px 0;
  }
  
  #highScores div div{
    padding: 5px;
    font-weight:600;
  }
  
  #highScores div div:nth-child(odd){
    background-color:beige;
  }
  
  
  #positionWrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100% - 110px)
  }
  
  section{
    max-width: 50%;
    margin: 0 auto;
  }
  
  #controls{
    background-color: green;
  }
  
  
  #info{
    max-width:980px;
    margin: 0 auto;
    color: white;
    display:flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    padding: 16px 30px;
  }
  
   /* high score styling */

  
  #scores{
   
    left:40px;
    background-color: yellowgreen;
    color: black;
  }
  
  #timer{
    
    right:40px;
  }
  
  #intro{
    text-align:center;
  }
  
   /* Start button styling */

  button{
    background-color:yellowgreen;
    color:white;
    border: none;
    padding:15px;
    border-radius: 10px;
    cursor:pointer;
  }
  
  #intro button:hover{
    background-color: green;
  }
  
   /* Quiz section styling */

  #quizSection #title{
    font-weight:700;
  }
  
  
  #quizSection button{
    background-color:green;
    border-radius:5px;
    color:white;
    margin: 3px 0;
    padding: 5px 5px ;
    cursor:pointer;
    display: block;
    width: 100%;
    text-align: left;
  }
  
  #quizSection button:hover{
    background-color: plum;
  }

   /* Score Styling*/

  #scoreIndicator p, {
    margin:0;
    margin-top:10px;
    }

  #scoreIndicator {
    border-top: 1px solid #999;
    color: purple;
    font-size: 1.3em;
    margin: 0;
    font-style: italic;
    font-weight:700;
    margin: 10px auto;
  }
  
  
  #records input, #records button{
  margin-top:5px;
  }
  
  .disable{
    pointer-events:none;
    }

  .hide{
    display:none;
  }
  
  .invisible{
    visibility:hidden;
  }
  

   /* Adaptability to various screen sizes */

  
  @media only screen and (min-width: 768px) {
  
    #positionWrapper{
      min-height: calc(100% - 82px)
    }
  
    #finish #records{
      display:flex;
      align-items: center;
    }
  
    #info{
      flex-direction:row;
    }
  
    #quizSection{
      min-width:420px;
    }
  
    #quizSection ol{
      min-width:100%;
    }
  
    #finish #records input, #finish #records button{
        margin-left:10px;
      }
    

  }