body {
  font-family: "Comic Sans MS",  sans-serif;
  text-align: center;
  margin: 20px;
  background-color: rgb(203, 203, 203);
  color: white;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;

}
.container{
  background-color: #006430;
  border: 5px solid #7F4B00;
  box-shadow: 3px 3px 5px black, inset 3px 3px 5px black;
  height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  position: relative;
}
h1{
  font-size: 50px;
}
p{
  font-size: 20px;
}
#options{
  align-items: center;
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);

}
#options button{
  font-size: 30px;
  width: 50%;
}
#back{
  display: none;
  margin-bottom: 10px;
}

.outline{
  color: white;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

#easy { background-color: rgb(255, 255, 71); }
#easy:hover { background-color: yellow; }
#medium { background-color: rgb(255, 184, 52); }
#medium:hover { background-color: orange; }
#hard { background-color: rgb(255, 42, 42); }
#hard:hover { background-color: red; }

#game-container {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);

  display: none;
}
input {
  width: 50px;
  border: 1px solid black;
}
.math {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex: 0 0 auto;
}
.math span {margin: auto 5px;}


button {
  margin: 10px 0px;
  padding: 8px 16px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  color: white;
  background-color: #7F4B00;
  box-shadow: 2px 2px 2px black;
}
button:hover {
  background-color: #a46000;
  transition: ease-in-out 0.3s;
}

@media (max-width: 500px) {
  #ans-btn{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #ans-btn button{width: 50%;}
  h1{
    font-size: 30px;
  }
}
@media (max-height: 500px) {
  h1{font-size: 20px;
  margin-top: 0;}
  p{
    font-size: 16px;
  }
  #options button{
    font-size: 16px;
  }
}