* {
  box-sizing: border-box;
  font-family: 'Press Start 2P', cursive;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  background: black;
}

#container {
  position: relative;
  display: inline-block;
}

#health-bar {
  position: absolute;
  display: flex;
  width: 100%;
  align-items: center;
  padding: 40px;
}

#player-health {
  position: relative;
  height: 30px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  border-top: 4px solid white;
  border-left: 4px solid white;
  border-bottom: 4px solid white;
}

#player-health .bar {
  background-color: #dc2626;
  height: 100%;
  width: 100%;
}

#player-health .health {
  position: absolute;
  background: #fde047;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
}

#enemy-health {
  position: relative;
  height: 30px;
  width: 100%;
  border-top: 4px solid white;
  border-bottom: 4px solid white;
  border-right: 4px solid white;
}

#enemy-health .bar {
  background-color: #dc2626;
  height: 100%;
  width: 100%;
}

#enemy-health .health {
  position: absolute;
  background: #fde047;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

#canvas {
  display: block;
  margin-top: 20px;
  width: 1024px;
  height: 576px;
  background-color: lightgray;
}

.timer__label {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
}

#displayText {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
/*  background-color: rgba(0, 0, 0, 0.5);*/
  color: white;
  font-size: 3em;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

#timer {
  font
  text-align: center;
  background-color: black;
  width: 100px;
  height: 50px;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  color: white;
  border: 4px solid white;
}

#menu {
  position: absolute;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
}

#tutorial {
  position: absolute;
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.75);
}

#beginButton {
  padding: 16px 26px;
  border-radius: 0;
  background: white;
  border: black 3px solid;
  color: black;
  cursor: pointer;
}

#startButton {
  padding: 16px 26px;
  border-radius: 0;
  background: white;
  border: black 3px solid;
  color: black;
  cursor: pointer;
  position: absolute;
  bottom: 100px;
}