/* The autocomplete + ChatGPT did most of this I cannot be bothered to do CSS lol */

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: white;
  color: black;
  transition: background-color 0.3s, color 0.3s;
}
body.dark-mode {
  background-color: black;
  color: white;
}

.imageBtn {
  image-rendering: pixelated;
}

#menu-button {
    position: fixed;
    top: 50%;
    transform: translateY(-50%) translateY(20px);
    left: 50%;
    transform: translateX(-50%) translateY(-50%) translateY(72px); /* if also centering horizontally */
    cursor: pointer;
    background-color: transparent;
}
#pause-button {
    position: fixed;
    top : 50px;
    left: 50px;
    cursor: pointer;
    background-color: transparent;
}

.canvas {
    display: flex;
    justify-content: center;
    align-items: center;
}
body.dark-mode canvas {
    border: 1px solid white;
}


#darkModeToggle {
    position: fixed;
    top: 70px;
    right: 70px;
    background: black;
    border: transparent;
    padding: 10px;
    color: white;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 5px;
}

body.dark-mode #darkModeToggle {
  background: white;
  color: black;
}

#theme-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5em;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-color);
}

.back-button {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 1.5em;
  background: red;
  border: none;
  cursor: pointer;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
}

body.dark-mode .back-button {
  background: rgb(199, 0, 0);
}


@font-face {
  font-family: 'flappy-font';
  src: url('flappy-font.ttf') format('truetype');
}
