@font-face { font-family: "Meslo LG"; src: local("Meslo LG S"), url("ressource/MesloLGS-Regular.ttf") format("truetype"); font-style: normal; }

body{
  background: white;
  padding: 0;
  margin: 0;
  font-family: "Meslo LG";
}

.help{
  display: none;
}

.center:hover .help{
  display: block;
}

.return{
  position: fixed;
  top : 5px;
  left: 20px;
  font-size: 30px;
  font-family: "Meslo LG";
  text-decoration: blink;
}

.return a{
  text-decoration: none;
  color: black;
}

.level{
  position: fixed;
  top : 20px;
  right: 20px;
  font-size: 17px;
  font-family: "Meslo LG";
  text-decoration: blink;
}

.center{
  position: absolute;
  margin: auto;
  padding: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 400px;
  height: 80px;
  overflow: hidden;
}

.center .input-block{
  margin: 0 5px;
  height: 40px;
  background: none;
  text-align: center;
  font-size: 20px;
  font-family: "Meslo LG";
  border : 2px solid black;
  box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
  color : black;
  position: relative;
  overflow: hidden;
}

.center input{
  padding: 0;
  width: 100%;
  height: 40px;
  background: none;
  text-align: center;
  font-size: 20px;
  font-family: "Meslo LG";
  border : none;
  position: absolute;
  z-index:1;
  top: 0;
  left: 0;
}

.input{
  padding: 5px 0;
  width: 100%;
  height: 30px;
  position: absolute;
  z-index:2;
  top: 0;
  left: 0;
  background: white;
}

.center p {
  font-size: 14px;
  font-style: italic;
  color: #444;
  text-align: center;
}

body .level1{
  background: white;
}

/* Level up animation*/

body.levelUp{
  background: white;
  animation: levelUpAnimation 200ms linear infinite;
}

@keyframes levelUpAnimation {
  50% {
    background: black;
  }
}

body.level10{
  background: white;
  animation: level10Animation 400ms linear infinite;
}

@keyframes level10Animation {
  50% {
    background: pink;
  }
  75% {
    background: red;
  }
  25% {
    background: yellow;
  }
}

.level10message{
  display: none;
  padding: 10px 0;
  position: fixed;
  top: 50%;
  left: 50%;
  height: 110px;
  width: 400px;
  color: black;
  font-size: 40px;
  text-align: center;
  text-align: center;
  margin: -60px 0 0 -200px;
  background: white;
  z-index: 1;
  border: 2px solid black;
}

.level10 .level10message{
  display: block;
}

.level20message{
  display: none;
  padding: 10px 0;
  position: fixed;
  top: 50%;
  left: 50%;
  height: 110px;
  width: 400px;
  color: black;
  font-size: 40px;
  text-align: center;
  text-align: center;
  margin: -60px 0 0 -200px;
  background: white;
  z-index: 1;
  border: 2px solid black;
  animation: level20messageAnimation 700ms linear alternate-reverse infinite;
  background: red;
}

.level20 .level20message{
  display: block;
}

@keyframes level20messageAnimation {
  from { -webkit-transform: rotate(-20deg); }
    to { -webkit-transform: rotate(20deg); }
}


.cursor{
  padding: 1px;
  background: black;
  -webkit-animation: blink 2s step-end infinite;
  animation: blink 2s step-end infinite;
}

@-webkit-keyframes blink {
  0% { opacity: 1.0; }
  50% { opacity: 0.0; }
  100% { opacity: 1.0; }
}

@keyframes blink {
  0% { opacity: 1.0; }
  50% { opacity: 0.0; }
  100% { opacity: 1.0; }
}

@media screen and (max-width: 640px) {
  
  .center{
    width: 100%;
  }

}