@font-face {
  font-family: font;
  src: url(../../resources/fonts/darkforest.woff2);
}

body {
  font-family: font;
  background-color: black;
  color: red;

  overflow: hidden;
  width: 98vw;
  /* height: 98vh; */

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  --scale: min(8vh, 12vw);
}

h1 {
  font-size: calc(var(--scale) / 1.4);
  font-weight: lighter;
  text-align: center;
}

#output {
  /* flex: 1; */

  font-size: calc(var(--scale) / 3.2);
  overflow-y: auto;
}

#roll-inputs {
  display: flex;
  align-items: center;
  justify-content: center;
}

#roll-inputs > * {
  background-color: black;
  color: red;
  border: 2px solid red;
  border-radius: 10px;
  outline: none;

  font-size: var(--scale);
  width: var(--scale);
  margin: calc(var(--scale) / 8);
  padding: calc(var(--scale) / 16);
  text-align: center;
}

#go {
  font-family: font;
  background-color: black;
  color: red;
  border: 2px solid red;
  border-radius: 10px;
  outline: none;
  font-weight: lighter;

  font-size: calc(var(--scale) / 1.4);
  margin: calc(var(--scale) / 8);
  padding: calc(var(--scale) / 4);
  width: calc(var(--scale) * 7.25);
}

#go:active {
  background-color: red;
  color: black;
}

/******************************************************************************/

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}
