:root {
  --board-border-line-width: 5px;
  --board-margin: 16px;
  --title-height: 40px;
  --title-margin-top-bottom: 20px;
}

body {
  background: #e1fc7f30;
  font-family: Arial, sans-serif;
  /* overflow: hidden; */
}

.control-button {
  border-radius: 50%;
  font-size: 48px;
  height: 96px;
  margin: 4px;
  opacity: 0.5;
  width: 96px;
}

.control-row {
  display: flex;
  margin: 8px 0;
}

.control-row.flex-end {
  justify-content: flex-end;
}

.control-row.space-between {
  justify-content: space-between;
}

.entity {
  max-height: 100px;
  max-width: 100px;
  position: absolute;
}

.dotgothic16-regular {
  font-family: 'DotGothic16', sans-serif;
  font-weight: 400;
  font-style: normal;
}

.kablammo-title {
  font-family: 'Kablammo', system-ui;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: 'MORF' 0;
  font-weight: 400;
}

#app {
  overflow: hidden;
}

#board {
  /* background-color: aquamarine; */
  border: var(--board-border-line-width) solid black;
  height: calc(
    100vh - var(--title-margin-top-bottom) - var(--title-height) -
      max(var(--title-margin-top-bottom), var(--board-margin)) -
      var(--board-margin) - 2 * var(--board-border-line-width)
  );
  margin: var(--board-margin);
  position: relative;
  /* overflow: hidden; */
}

#controls {
  bottom: calc(100vh / 5);
  position: absolute;
  width: 100vw;
}

#gameover {
  display: none;
  margin-left: auto;
  margin-right: auto;
  max-width: 500px;
  width: 100%;
}

#instructions {
  font-size: 18px;
  position: absolute;
  text-align: center;
  top: 350px;
  width: 100%;
}

#knife {
  left: 150px;
  top: -20px;
}

#pineapple {
  bottom: 0px;
  left: 200px;
}

#score {
  font-size: 24px;
  margin: 0 16px;
  position: absolute;
  right: 10px;
  top: 20px;
}

#title {
  height: var(--title-height);
  margin: var(--title-margin-top-bottom) 0;
  text-align: center;
}

.flash {
  animation: flash 0.5s alternate infinite;
}

@keyframes flash {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
