@font-face {
  font-family: '8BitHUD';
  src: url('../../style/font/8-bit-hud.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: #1a1a1a;
  font-family: '8BitHUD', sans-serif;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#game-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

#flappy {
  width: 85vmin;
  height: 85vmin;
  max-width: 600px;
  max-height: 600px;
  border: 4px solid #fff;
  background-color: #70c5ce;
  image-rendering: pixelated;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  object-fit: contain;
}

.controls {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: 90%;
}

button {
  font-family: '8BitHUD', sans-serif;
  font-size: clamp(10px, 1.5vw, 14px);
  padding: 12px 20px;
  cursor: pointer;
  background: #333;
  color: #fff;
  border: 2px solid #fff;
  transition: all 0.2s ease-in-out;
}

button:hover {
  background: #fff;
  color: #333;
  transform: translateY(-3px);
}