* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

@font-face {
  font-family: 'myFont';
  src: url('sign-handwriting_demo-version.ttf');
}

@font-face {
  font-family: 'fontTitle';
  src: url('CrayonHandRegular2016Demo.ttf');
}

body {
  width: 100vw;
  height: 100vh;
  background: white;
  background-image: linear-gradient(#B2B6DC 0.1vmin, transparent 0.1vmin), linear-gradient(90deg, #B2B6DC 0.1vmin, transparent 0.1vmin);
  background-size: 4vmin 4vmin;
  
}

.hidden {
  display: none !important;
}

.shown {
  display: flex !important;
}

.screen {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h1 {
  font-size: 10vmin;
  font-family: 'fontTitle';
}

.btn {
  font-size: 4vmin;
  font-weight: 900;
}

.btn-menu {
  width: 50vmin;
  font-family: 'myFont';
  background: transparent;
  border: 0.5vmin solid #000000;
  aspect-ratio: 4/1;
}

.game {
  position: relative;
  width: 100%;
  height: 100%;
  background: white;
}

canvas {
  height: 90%;
  background-image: linear-gradient(#B2B6DC 0.1vmin, transparent 0.1vmin), linear-gradient(90deg, #B2B6DC 0.1vmin, transparent 0.1vmin);
  background-size: 4vmin 4vmin;
  box-shadow: 1vmin 1vmin 4vmin #0000008A;
}

.btn-left, .btn-right {
  background-image: linear-gradient(#B2B6DC 0.1vmin, transparent 0.1vmin), linear-gradient(90deg, #B2B6DC 0.1vmin, transparent 0.1vmin);
  background-size: 4vmin 4vmin;
  position: absolute;
  bottom: 5vmin;
  width: 20vmin;
  aspect-ratio: 1/1;
  border: 0.1vmin dashed black;
}

.btn-left {
  box-shadow: 1vmin 1vmin 4vmin #0000008A;
  left: 5vmin;
}

.btn-right {
  box-shadow: -1vmin 1vmin 4vmin #0000008A;
  right: 5vmin;
}