/******* Base Styles *******/
html, body {
  height: 100%;  
}

body {
  font-size: 2.7em;
  background: #56BFB5;  
  color: #FBD66F;
  text-align: center;
}

p {
  line-height: 0.3em;
}

button {
  background: #56BFB5;
}
/******* Main Styles *******/


#try-screen {
  display: none;
  text-align: center;
}

#try-screen, #working-screen {
  vertical-align: middle;
}

#final-score {
  font-size: 0.75em;
}

#restart-button {
  font-size: 0.65em;
  
}
/*  display: none;*/

#d1 {
  font-size: 0.85em;
}
#d2 {
  font-size: 0.85em;
  color:yellow;
}
#res {
  font-size: 0.9em;
  font-weight: bold;
  color:#FFF800;
  }
#rem {
  font-size: 0.6em;
  color:#FFF800;
  }
#texten {
  font-size: 0.85em;
  text-align: left;
  padding:8%;
}
#textar {
  font-size: 0.85em;
  text-align: right;
  padding:5%;
}

#display {
  margin: 0% auto;
  min-width: 200px;
  max-width: 400px;
  float: none;
  background: #3D84A8;
  border-radius: 10px;
  height: 550px;
}

#progressbar {
  width: 90%;
  height: 15px;
  background: white;
  border-radius: 10px;
}

#controls {
  font-size: 1.5em;
  display: flex;
  justify-content: center;
}

#controls button {
  background: #56BFB5;
  width: 80px;
  margin: 5%;
}

#tick {
  color: green;
  height: 57px;
}

#cross {
  color: red;
  height: 57px;
  margin-top: 0;
}

#score {
  font-size: 0.7em;
  float: none;
}



#math_menu {
    background-color: Green;
    position: absolute;
    z-index:2;
    width: 100%;
    height: 100%;
    left: -100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

#math_menu ul {
   margin: 0;
   padding: 35px 0px 0px 0px;
   list-style: none;
}

#math_menu ul li{
  margin: 0px 0px;
}

#math_menu ul li a {
  text-align:center;
  padding: 15px 20px;
  font-size: 28px;
  font-weight: bold;
  color: white;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid #2c3e50;
}

#math_menu.open-sidebar {
  position:relative;
  border-radius: 10px;
  left:0px;
  width:400px;
  height:600px;
}

#sidebar-toggle {
    width:5%;
	z-index:3;
    background: #76C498;
    border-radius: 3px;
    display: block;
    position: relative;
    padding: 17px 17px;
    float: left;
}

#sidebar-toggle .bar{
    display: block;
    width:120%;
    margin-bottom: 4px;
    height: 5px;
    background-color: #444444;
    border-radius: 3px;   
}

#sidebar-toggle .bar:last-child{
     
	 margin-bottom: 0;   
}



/******* Pseudoclass Styles *******/

/******* Layout Styles *******/

/******* Media Queries *******/
@media (max-width: 600px) {
  body {
    font-size: 2.4em;
  }
  
  #display {
      height: 550px;
  }
}

@media (max-width: 400px) {
  body {
    font-size: 2.4em;
  }
  
  #display {
      height: 550px;
  }
 /* #display {
    margin-top: 20%;
    min-width: 80%;
    min-height: 70%;
  }*/
}