html {
  box-sizing: border-box;
  font-size: 16px;
  font-family: franklin-gothic-urw,sans-serif;
/* font-weight: 400; */
font-style: normal;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body, ol, ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

h1, h2, h3, h4, h5, h6, p {}
ol, ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

:root {
  --bg: black;
  --bg-light: #222;
  --fg: #fff;
  --border: #bb0;
  --link: #0ae;
  --link-visited: #05e;
  --font-normal: 14pt;
}

@media screen and (prefers-color-scheme: light) {
  :root {
    --bg: #fff;
    --bg-light: #ddd;
    --fg: black;
    --border: #fff;
  }
}


main {
  margin: 0 auto;
  max-width: 1200px;
  min-height: 50vh;
  padding: 10px;
  padding-bottom: 80px;
}
footer {
  padding: 10px;
  text-align: right;
  position: absolute;
  bottom: 20px;
  width: 100%; 
  height: 80px;     
}

body {
  margin: 0;
  padding: 0;
  font-size: var(--font-normal);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg);
  color: var(--fg);
  position: relative;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6,
button,
.block {
  user-select: none;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
    monospace;
}

a {
  color: var(--link);
}

a:visited {
  color: var(--link-visited);
}

input,
select,
button {
  background-color: var(--bg-light);
  color: var(--fg);
  border-style: none;
  /* border-color: var(--border); */
  border-radius: 5px;
  padding: 6px;
  margin: 6px;
  font-size: var(--font-normal);
}

input {
  text-align: right;
}

input[type="number"] {
  width: 60px;
}

select {
  max-width: stretch;
  max-width: -moz-available;

  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

textarea {
  background-color: var(--bg-light);
  color: var(--fg);
  font-size: 1.2rem;
}

form > label {
  display: block;
  margin-block-start: 16px;
}

form label input {
  display: inline-block;
}

nav ul {
  padding-inline-start: 0px;
}

nav ul li {
  display: inline-block;
  list-style: none;
}

nav ul li a {
  padding: 16px;
  display: inline-block;
}

.appView {
  padding: 8px;
  margin: 8px;
  border: 1px solid var(--border);
  border-radius: 5px;
}

@media only screen and (max-width: 480px) {
  .appView {
    padding: 0;
    margin: 0;
    border: 0;
  }
}

.appView > h2 {
  margin-top: 0;
  font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
    monospace;
}

.hidden {
  display: none !important;
}

.groupItem {
  padding-bottom: 1.2rem;
  padding-top: 1.2rem;
}

.groupName {
  font-size: 1.5rem;
}

.quantitySelector ul {
  padding-inline-start: 0px;
  display: table;
}

.quantitySelector ul li {
  list-style: none;
  display: table-row;
}

.quantitySelector ul li > * {
  text-align: right;
  display: table-cell;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 2fr));
  align-items: flex-start;
  align-content: center;
  max-width: 1200px;
  margin: 0 auto;
}
.fullButton {
  display: block;
}
.editBox {
  display: inline-block;
}

.editBox.mash,
.editBox.mash > label,
.editBox.additions,
.editBox.additions > label,
.editBox.water,
.editBox.water > label {
  display: inline-flex;
  flex-direction: column;
}

.contentTextArea {
  min-height: 100px;
  overflow: hidden;
  resize: none;
  border: 0;
  padding: 8px;
}

.headerElement {
  display: inline-block;
  margin-inline-start: 10px;
  margin-inline-end: 10px;
}

.postfix {
  margin-inline-end: 8px;
}

.multiTextEntry textarea {
  display: block;
  width: 88%;
  max-width: 600px;
}

.keyValue {
  display: block;
  border-bottom: 1px solid grey;
}
.keyValue .key {
  font-size: 1.5rem;
}

.keyValue .key::after {
  content: ":";
  font-size: 1.5rem;
}
.keyValue .value {
  font-size: 0.8rem;
}

code {
  white-space: pre-wrap;
  word-wrap: break-word;
}

.fakeLink {
  cursor: pointer;
  color: var(--link);
  text-decoration: underline;
}

.fakeLink:visited {
  cursor: pointer;
  color: var(--link-visited);
  text-decoration: underline;
}


@font-face {
  font-family: "BabelStone Flags";
  src: url("/BabelStoneFlags.woff2") format("woff2"),
       url("/BabelStoneFlags.woff") format("woff");
}
.flag{
  font-size: 4rem;
  text-shadow: -1px 0 grey, 0 1px grey, 1px 0 grey, 0 -1px grey;
  font-family: 'BabelStone Flags', 'BabelStone Flags SVG', 'BabelStone Flags Dual', "Open Sans";

}


