@font-face {
  font-family: "SoehneBreit";
  src: url("/assets/font/sohnebreit-buch.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SoehneBreit";
  src: url("/assets/font/sohnebreit-dreiviertelfett.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
  cursor: pointer;
}

#canvasWrap {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

#canvasWrap canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: cover;
  image-rendering: pixelated;
}

.button {
  display: block;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #344a93;
  color: #aaa;
  opacity: 0.7;
  font-family: "SoehneBreit", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  border-radius: 5px;
  padding: 8px 15px;
  font-size: 12px;
  transition: opacity 0.1s ease-in-out;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  &:hover {
    opacity: 1;
  }
}

body.interacted .button {
  opacity: 0;
}
