*,
*::before,
*::after {
  box-sizing: border-box;
  user-select: none;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

body {
  /* background-color: #f3b9cd; */
  background: rgb(254, 190, 222);
  background: linear-gradient(
    0deg,
    rgba(254, 190, 222, 1) 37%,
    rgba(255, 255, 255, 1) 100%
  );
  margin: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  min-height: 100vh;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

.overlay2{
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: 31;
}

.overlay {
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: 30;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: x-large;
  background-color: #ffffff80;
}

.world {
  /* background-color: #ffedf6; */
  overflow: hidden;
  position: relative;
}

.score {
  position: absolute;
  font-size: 8vmin;
  z-index: 10;
  right: 1vmin;
  top: 1vmin;
}

.hide {
  display: none;
}

.ground {
  --left: 0;
  position: absolute;
  width: 300%;
  bottom: 0;
  left: calc(var(--left) * 1%);
}

.clouds {
  --left: 0;
  position: absolute;
  width: 300%;
  top: 0;
  left: calc(var(--left) * 1%);
}

.buildings {
  --left: 0;
  position: absolute;
  width: 300%;
  bottom: 10%;
  left: calc(var(--left) * 1%);
}

.boukou {
  /* border: 1px solid; */
  --bottom: 0;
  position: absolute;
  left: 2%;
  height: 35%;
  bottom: calc(var(--bottom) * 1%);
}

.obstacle {
  /* border: 1px solid; */
  position: absolute;
  z-index: 1;
  left: calc(var(--left) * 1%);
  height: 25%;
  bottom: 0;
}

.footer {
  width: 100%;
}

.logo {
  user-select: none;
  height: 150px;
}
@media only screen and (max-width: 600px) {
  .logo {
    margin-bottom: 15vh;
  }
}

.game-container {
  display: flex;
  justify-items: center;
  align-items: center;
  flex-grow: 1;
}
