@font-face {
  font-family: Roboto;
  src: url(fonts/Roboto-Light.ttf);
}

* {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
  font-family: Roboto;
  font-size: var(--text-size);
  background-color: var(--background-color);
  color: var(--text-color);
}

a {
  user-select: none;
}

a:visited,
a:active {
  color: var(--visited-link-color);
}

.mobile {
  display: none;
}

.pc {
  display: inline-block;
}

.container {
  width: 100vw;
  height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#sketch {
  height: 95vh;
  width: 95vh;

  touch-action: none;
}

.instructions {
  width: 100vw;

  display: flex;
  flex-direction: row;
  justify-content: center;
  user-select: none;

  font-size: var(--text-size);
  margin-bottom: calc(var(--text-size) / 4);
}

#text:before {
  content: "\00a0";
}

.footer {
  position: absolute;
  left: 0;
  bottom: 1vh;
  width: 100vw;

  font-size: var(--text-size);

  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.footer a {
  margin-left: 1vh;
  margin-right: 1vh;
}

@media only screen and (max-width: 600px) {
  .pc {
    display: none;
  }

  .mobile {
    display: inline-block;
  }

  body {
    font-size: var(--mobile-text-size);
  }

  #sketch {
    height: 100vw;
    width: 100vw;
  }

  .instructions {
    top: 1vh;
    font-size: var(--mobile-text-size);
    margin-bottom: var(--mobile-text-size);
  }

  .footer {
    transform: none;
    width: 100vw;
    bottom: 2vh;
    left: initial;
    font-size: 1rem;
  }

  .footer a {
    margin-left: 4vh;
    margin-right: 4vh;
  }
}