@media screen and (max-height: 640px) {
    .container.container-single{
        padding-top: 3px !important;
    }
}
#gamebox {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 440px;
    width: 700px;
    background-color: cadetblue;
    position: relative;
}

#scoreAndTime {
  width: 700px;
  /*height: 70px;*/
  height: 100px;
  padding: 10px;
  position: relative;
}

#bestScoreBoard {
  position: absolute;
  /*top: 10px;*/
  left: 10px;
  padding: 4px 5px 0px 0px;
  /*font-size: 24px;*/
  font-size: 30px;
  color: #ccc;
}

#bestScore {
    text-align: center;
    padding:  5px 0px 0px 0px;
    /*font-size: 24px;*/
    font-size: 30px;
    font-weight: bold;
    color: #ccc;
}

#scoreBoard {
  position: absolute;
  left: 310px;
  padding: 4px 5px 0px 0px;
  /*font-size: 24px;*/
  font-size: 30px;
  color: #ccc;
}

#score {
    text-align: center;
    padding:  5px 0px 0px 0px;
    font-weight: bold;
    color: #fff;
    font-size: 54px;
}

#remain{
  position: absolute;
  right: 10px;
  padding: 4px 5px 0px 0px;
  /*font-size: 24px;*/
  font-size: 30px;
  color: #ccc;
}

#timer {
  color: red;
  text-align: center;
  /*font-size: 24px;*/
  font-size: 30px;
  font-weight: bold;
  padding:  5px 0px 0px 0px;
  font-weight: bold;
}

#selectBoard {
    width: 700px;
    /*height: 30px;*/
    height: 60px;
    /*padding: 10px 0px;*/
    padding: 10px;
}

form {
    /*font-size: 16px;*/
    font-size: 20px;
}

select {
    /*font-size: 16px;*/
    font-size: 20px;
    border: 1px solid gray;
    box-shadow: 0 0 5px lightgray;
    background-color: #eee;
}

option {
    /*font-size: 20px;*/
    font-size: 28px;
    text-align: right;
}

#formOne {
    float: left;
    padding-left: 10px;
    color: #fff;
}

#formTwo {
    float: right;
    padding-right: 10px;
    color: #fff;
}

.selectForbid {
    pointer-events: none;
    background-color: #333;
}

#flashcard {
    width: 700px;
    height: 120px;
    padding: 50px 0;
    text-align: center;
    /*font-size: 50px;*/
    font-size: 80px;
    color: green;
}

p#question{
    margin: 0px;
    line-height: 60px;
    font-size: 50px;
    font-weight: bold;
}

#answerContainer {
  width: 400px;
  padding: 5px 0;
  height: 124px;
  text-align: center;
  display: none;
  margin: auto;
}

#answer {
    font-size: 26px;
    padding: 5px 10px;
    display: block;
    margin: 0px auto 40px;
    border-radius: 8px;
    background-color: #f8f8f8;
    color: #000;
    width: 200px;
}

#submit-button, #next-button, #reset-button {
    padding: 5px 12px;
    font-size: 24px;
    border-radius: 8px;
    background: green;
    color: #fff;
    border: 1px solid #333;
}

#result {
    font-size: 24px;
    padding: 0px;
}

#gameover{
    display: none;
    position: absolute;
    /*left: 0;*/
    top: 0;
    /*top: 15px;*/
    /*width: 100%;*/
    width: 700px;
    /*height: 100%;*/
    /*height: 360px;*/
    /*height: 600px;*/
    height: 450px;
    /*padding-top: 100px;*/
    /*padding-top: 180px;*/
    padding-top: 120px;
    font-family: Arial;
    /*font-size: 32px;*/
    font-size: 40px;
    color: green;
    background: rgba(28, 28, 28, 0.95);
    text-align: center;
    font-weight: bold;
}
#finalScore, #corrects, #wrongs {
    display: inline-block;
}

span.correct{
    color: green;
}

span.wrong{
    color: red;
}

#start {
    display: block;
    margin: 16px auto;
    margin-top: 40px;
    width: 120px;
    padding: 6px;
    background-color: #00BB00;
    font-family: Arial;
    font-size: 32px;
    color: red;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
}
#start:hover {
    background-color: #9f8b77;
}

input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.msg.over{
    color: #fff;
}

.stats{
    /*font-size: 20px;*/
    font-size: 36px;
    color: #fff;
}

.stats p{
    margin: 20px 0px 0px 0px;
}

#finalScore {
    font-size: 46px;
}

#corrects, #wrongs {
    font-size: 36px;
}