:root {
  --bg: #d8d8d8;
  --fg: #000;
  --font-size: calc((1vmax + 1vmin) / 1.96);
  --vdiv-font-size: calc((1vmax + 1vmin) / 1.96);
}

html {
  font-size: var(--font-size);
  height: 100%;
}

body {
  background-color: #d8d8d8;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans Mono', sans-serif;
}

.container {
  display: flex;
  flex-flow: row;
  justify-content: center;
  max-height: 100vh;
}

.vdiv {
  display: flex;
  flex-flow: column;
}

.vdiv p {
  font-size: 2em;
  font-family: Computer Modern;
  text-align: center;
}

#voltage-divider {
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 800px) {
  .container {
    flex-flow: column;
  }
}
@media screen and (max-width: 1300px) {
  .container {
    justify-items: center;
  }

  :root {
    --font-size: calc((1vmax + 1vmin) / 1.2);
    --vdiv-font-size: calc((1vmax + 1vmin) / 1.2);
  }
}

.svg-div {
  justify-content: center;
  align-items: center;
  display: flex;
}

img {
  max-width: 24em;
}
