html,
body {
  margin: 0;
  overflow: auto;
  height: 100%;
}
#page {
  display: flex;
  flex-direction: column;
  height: 100%;
}
#content {
  display: flex;
  flex-direction: row;
  flex: 1 1 auto;
}
#container {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
#header {
  background-color: #f7a043;
}
#left-side, #right-side {
  background-color: #f7a043;
}
#footer {
  background-color: #f7a043;
}
#gameCanvas {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  /*background-image: url('/img/lucy-whiteboard.jpg');*/
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
#controls {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: #f7a043;
  padding: 5px 0 5px 0;
}
#score-container, #matches-container {
  font-size: 30px;
  font-family: 'Poppins', sans-serif;
  color: white;
  background-color: #e5374e;
}
#score-container > div, #matches-container > div {
  margin: 10px;
}
#version {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 8px;
  display: none;
}

#back-to-games {
  background-color: #7ba859;
}
#back-to-games:hover {
  background-color: #e5374e;
}
#back-to-games > div {
  margin: 10px;
}
#back-to-games a {
  font-size: 30px;
  font-family: 'Poppins', sans-serif;
  color: white;
  text-decoration: none;
}

#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 50px;
  height: 50px;
  margin: -25px 0 0 -25px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
  display: none;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

