@font-face {
  font-family: "Roobert";
  src: url(../fonts/RoobertPRO-Regular.otf) format("opentype");
  src: url(../fonts/RoobertPRO-Regular.ttf) format("truetype");
  src: url(../fonts/RoobertPRO-Regular.woff2) format("woff2");
  font-weight: 400;
}
@font-face {
  font-family: "Roobert";
  src: url(../fonts/RoobertPRO-SemiBold.otf) format("opentype");
  src: url(../fonts/RoobertPRO-SemiBold.ttf) format("truetype");
  src: url(../fonts/RoobertPRO-SemiBold.woff2) format("woff2");
  font-weight: 700;
}
:root {
  font-family: "Roobert", sans-serif;
  color-scheme: light dark;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

html,
canvas {
  height: -webkit-fill-available;
  width: -webkit-fill-available;
}

@keyframes moveBackground {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -1920px 0;
  }
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  place-items: center;
  height: 100vh;
  width: 100vw;
  background-color: black;
}
body * {
  font-family: "Roobert", sans-serif;
  color: white;
}

button, a {
  position: absolute;
  outline: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  background-color: transparent;
}
button img, a img {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

button:focus,
button:focus-visible {
  outline: none;
}

.loader {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: transparent;
  font-size: 18px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gameContainer {
  position: absolute;
  margin: auto;
  height: 177.66666dvw;
  width: 100dvw;
  max-height: 100dvh;
  max-width: 56.25dvh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.gameContainer__bg {
  position: absolute;
  margin: auto;
  height: 177.66666dvw;
  width: 100dvw;
  max-height: 100dvh;
  max-width: 56.23dvh;
  background-image: url(../img/bg/flappy.jpg);
  background-repeat: repeat-x;
  background-size: 1920px 100%;
  animation: moveBackground 30s linear infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 8;
}

canvas {
  border: 0;
  outline: none;
  position: relative;
  z-index: 9;
}

.score__after {
  font-size: 7.5vh;
  position: absolute;
  top: 44.7%;
  color: #212121;
  left: 21.3%;
  font-weight: 900;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.score__after.active__font {
  font-size: 13.3vw;
}

.home__button {
  top: 56.2%;
  left: 20.8%;
  width: 26.5%;
  height: 5.3%;
  border-radius: 100px;
}

.start__button {
  top: 56.2%;
  left: 52.7%;
  width: 26.5%;
  height: 5.3%;
  border-radius: 100px;
}

.home____after__button {
  top: 54.6%;
  left: 20.8%;
  width: 26.5%;
  height: 5.3%;
  border-radius: 100px;
}

.repeat__button {
  top: 54.6%;
  left: 52.8%;
  width: 26.5%;
  height: 5.3%;
  border-radius: 100px;
}

.button__inactive {
  background: rgba(0, 0, 0, 0.3);
}/*# sourceMappingURL=style.css.map */