:root {
  --red: hsl(358, 86%, 52%);
}

@font-face {
  font-family: Bauhaus;
  src: url(Bauhaus-Regular.ttf);  
}

body *, body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: Bauhaus;
  user-select: none;
}

.pc {
  display: inline;
}

.mobile {
  display: none;
}

.container {
  width: 100vw;
  height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;
}

#sketch {
  height: 85vh;
  width: 85vh;

  min-width: 0;
  min-height: 0;
  
  touch-action: none;
}

.credits {
  font-size: 1.5rem;
  width: 100vw;
  position: absolute;
  bottom: 1vh;

  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}


.instructions {
  position: absolute;
  font-size: 1.5rem;
  width: 100vw;
  text-align: center;
  top: 1vh;
  color: var(--red);
}

#download {
  color: var(--red);
  text-decoration: none;
  cursor: pointer;

  padding-left: 0.25rem;
  padding-right: 0.25rem;
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
  border: 1px solid var(--red);
  border-radius: 2px;
}

@media only screen and (max-width: 480px) {
  .credits {
    font-size: 0.75rem;
    bottom: 5vh;
  }

  .instructions {
    font-size: 2rem;
    top: 10vh;
  }

  .mobile {
    display: inline;
  }

  .pc {
    display: none;
  }

  #sketch {
    width: 95vw;
    height: 95vw;
  }
}
