html, body {
  overflow: hidden;
  margin: 0;
  background-color: black;
  height: 100%;
  width: 100%;
}

:root {
  --pause_purple: rgb(144, 64, 150, 0.95);
}

@font-face {
  font-family: 'Agency';
  src: local('Agency'), url(./agencyfb_reg.ttf) format('truetype');
  /* other formats include: 'woff2', 'truetype, 'opentype',
                            'embedded-opentype', and 'svg' */
}

.container {
  display: flex;
  height: 100%;
  width: 100%;
  position: absolute;
  justify-content: center;
  align-items: center;
  font-family: 'Agency';
  overflow: hidden;
}

canvas {
  position: absolute;
  box-sizing: border-box;
  /* border: 1px solid red; */
  z-index: 1;
}

.htmlElements {
  position: absolute;
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  z-index: 10;
  padding: 2%;
}

.music_note {
  display: flex;
  position: absolute;
  top: 3%;
  left: 2%;
  cursor: pointer;
}

.music_note:hover {
  opacity: 0.75;
}

.score_container {
  display: flex;
  position: absolute;
  top: 2%;
  right: 2%;
  color: white;
  font-size: 5vh;
  font-weight: 500;
}

.mult_container {
  display: flex;
  position: absolute;
  top: 10%;
  right: 2%;
  color: white;
  font-size: 6vh;
  font-weight: 500;
}

.lives_container {
  display: flex;
  position: absolute;
  bottom: 2%;
  left: 2%;
  color: white;
  font-size: 5vh;
  font-weight: 500;
}

.press_space {
  display: flex;
  position: absolute;
  justify-content: center;
  width: 20vw;
  left: 0;
  right: 0;
  top: 46vh;
  margin-left: auto; 
  margin-right: auto; 
  color: white;
  font-size: 4vh;
  font-weight: 500;
}

.overScreen {
  position: absolute;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  z-index: 20;
  justify-content: center;
  align-items: center;
  background-color: var(--pause_purple);
  gap: 1%;
}

.final_score {
  color: white;
  font-size: 10em;
  font-weight: 900;
}

.high_score {
  color: white;
  font-size: 5em;
  font-weight: 900;
}

.restart {
  background-color: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 2em;
  font-weight: 400;
  cursor: pointer;
  margin-top: 1vh;
}

.restart:hover{
  opacity: 0.75;
}