@import url("https://fonts.googleapis.com/css?family=Public+Sans:wght@100&display=swap");
html, body {
  margin: 0px !important;
  padding: 0px !important;
  border: 0px !important;
  overflow: hidden;
  height: 100%;
  width: 100%;
  position: relative;
  font-family: "Public_Sans", sans-serif;
  background:none transparent;
}
#container {
  width: 100%;
  height: 100%;
}
#container #score {
  position: absolute;
  top: 20px;
  width: 100%;
  text-align: center;
  font-size: 10vh;
  transition: transform 0.5s ease;
  color: #FFFFFF;
  transform: translatey(-200px) scale(1);
}
#container #game {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
#container .game-over {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height:2;
}
#container .game-over * {
  transition: opacity 0.5s ease, transform 0.5s ease;
  opacity: 0;
  transform: translatey(-50px);

}
#container .game-over h2 {
  margin: 0;
  padding: 0;
  font-size: 40px;
  color: #FFFFFF;
}
#container .game-over txt3 {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.2;
  color: #FFFFFF;

}
#container .game-over txt4 {
  margin: 0;
  padding: 0;
  font-size: 20px;
  line-height: 3;
  color: #FFFFFF;
  
}
#container .game-ready {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}
#container .game-ready #start-button {
  transition: opacity 0.5s ease, transform 0.5s ease;
  opacity: 0;
  transform: translatey(-50px);
  border: 3px solid #FFFFFF;
  padding: 10px 20px;
  background-color: transparent;
  color: #FFFFFF;
  font-size: 30px;
  position: relative;
  top: -100px;
}
#container #instructions {
  position: absolute;
  width: 100%;
  top: 16vh;
  left: 0;
  text-align: center;
  transition: opacity 0.5s ease, transform 0.5s ease;
  opacity: 0;
  color: #FFFFFF;
}
#container #instructions.hide {
  opacity: 0 !important;
}
#container.playing #score, #container.resetting #score {
  transform: translatey(0px) scale(1);
}
#container.playing #instructions {
  opacity: 1;
}
#container.ready .game-ready #start-button {
  opacity: 1;
  transform: translatey(0);
}
#container.ended #score {
  transform: translatey(6vh) scale(1.5);
}
#container.ended .game-over * {
  opacity: 1;
  transform: translatey(0);
}
#container.ended .game-over p {
  transition-delay: 0.3s;
}
.share-button {
    color: #FFFFFF;
    text-decoration: underline;
}
.ended .share-button {
    z-index: 1;
}
