h1 {
 text-align: center;
}

/* needed for timer and same line boxes RESTART, HOME PAGE, HOW IT WORKS   */

#timer {
  display: inline-block;
}

.wraptimerbox {
  border: 2px solid black;
  border-radius: 3px;
  width: 4rem;
  height: 10 rem;
  background-color: beige;
  justify-content: space-between;  
  align-items: center;
  text-align: center;
  display: inline-block;
}

.samelinebox {
  margin: 4px;  
  justify-content: space-between;  
  align-items: center;
  display: flex;
}


/* needed for body and footer definition - see also html file */

* {
    margin: 0;
}
html, body {
    height: 100%;
}
.wrapper {
    min-height: 100%;
    margin: 0 auto 0; 
  background:white;
}
.footer, .push {
    height: 50px; /* .push must be the same height as .footer */
}

.footer{
  background: #C0C0C0;
  color: black; 
  }

/* creates topbox with question marks */

#topbox {
  border: 2px solid black;
  border-radius: 3px;
  margin: 2px;
  font-size: 2.5rem;
  font-weight: 700;
  height: 3rem;
  width: 17rem;								/* difference in width between 35, 45, 56 */
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  background-color: #1E90FF;
}


/*  game board - tiles */

#game-board {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.number-box {
  border: 2px solid grey;
  border-radius: 3px;
  margin: 2px;
  font-size: 2.5rem;
  font-weight: 700;
  height: 3rem;
  width: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
}

.filled-box {
  border: 2px solid black;
}

.number-row {
  display: flex;
}

/* calculation box - calc box */

#calc-board {
  display: flex;
  align-items: center;
  flex-direction: column;
}


.calc-box {
  border: 2px solid black;
  border-radius: 3px;
  margin: 2px;
  font-size: 2.5rem;
  font-weight: 700;
  height: 3rem;
  width: 17rem;								/* difference in width between 35, 45, 56 */
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  background-color: #E59866;
}

.calc-row {
  display: flex;
}

/* keyboard */

#keyboard-cont {
  margin: 1rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#keyboard-cont div {
  display: flex;
}

.second-row {
  margin: 0.5rem 0;
}

.keyboard-button {
  color: black;
  -webkit-appearance: none; 
  border-radius: 3px;
  border: 1px solid grey;   
  font-size: 1rem;
  font-weight: 700;
  padding: 0.5rem;
  margin: 0 2px;
  cursor: pointer;
  text-transform: uppercase;
}

/* pop up messages - toastr */

.toast-top-center {						/* center bottom of pop ups, needs to called before toast containers below */
   center:  0%; 
   left: 0%; 
   margin-left: 0%;  
}

#toast-container > .toast-success {			        /* text colour of success message */
    background-image: none;
//    background-color: #008C00;
    color: black;
    opacity: 1;
}

#toast-container > .toast-warning {			 	/* text colour of warning message */
    background-image: none;
/*    background-color: #FFC300;			*/ 
    color: black;
    opacity: 1;
}

#toast-container > .toast-info {				/* text colour of info message */
    background-image: none;
    background-color: #808080; 
    color: black;
    opacity: 1;
}

/* allows the image to scale to 80% of its width and height to be auto adjusted */
img {
  max-width: 80%;
  height: auto;
}