@font-face {
  font-family: "Madeinchina";
  src: url(fonts/madeinchina.ttf) format("truetype");
}

h1, label {
  color: white;
  font-family: 'madeinchina';
}

body {
  background-color: #5c8fc7;
  overflow: hidden;
  margin: 0;
  text-align: center;
  font-size: 16px;
}

canvas {
  display: none;
  width: 100%;
  height: 100%;
}

#hud {
  background-color: #5c8fc7;
  color: grey;
  margin: 0.1rem;
  position: absolute;
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: space-around;
}

#hud-options {
  position: absolute;
  top: 0;
  right: 0;
  /*  */
  text-transform: uppercase;
  font-family: sans-serif;
  font-size: 1rem;
  font-weight: bold;
}

#hud-options a,
#hud-options span {
  display: inline-block;
  color: white;
  padding: 0.5rem;
}

#hud-options a:hover {
  background-color: #333333;
  cursor: pointer;
}

#hud-options a#restart,
#hud-options a#hint,
#hud-options a#follow,
#hud-options span#pairs-left,
#hud-options span#tiles-left {
  display: none;
}

.text-strike {
  text-decoration: line-through;
}

#cookie {
  color: white;
  display: none;
  font-family: "Madeinchina";
  font-size: 1.8rem;
  height: 100vh;
  position: absolute;
  width: 100%;
  transform: translateY(calc(100vh - 50% - 285px));
}

#cookie .cookie-opened {
  display: none;
}

#cookie .message {
  line-height: .9;
  padding: .5em;
  max-width: 600px;
  /* clicked */
  background: whitesmoke;
  color: black;
  margin: 1rem auto;
}

#debug {
  display: none;
  position: absolute;
  bottom: 10px;
  right: 10px;
}

h1 {
  color: white;
  font-size: 2.5rem;
  font-weight: normal;
  margin: 0;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}

#levelSelect {
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;

  position: relative;

  height: 80vh;
  overflow: auto;
}

.sign {
  width: 25%;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.sign:hover {
  cursor: pointer;
}

/* turtle */
.sign:last-child {
  margin-left: auto;
  margin-right: auto;
}

.sign span {
  font-family: 'madeinchina';
  font-size: 1.8em;
  color: white;
  margin-top: 0.5em;
  margin-bottom: 1em;
}

.sign .mini {
  display: none;
  position: absolute;
}

.sign:hover .mini {
  display: block;
}
