html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
:root {
  --font-size: 19px;
  --border-radius: calc(var(--s) / 3);
  --s: 1.5rem;
  --s-container: 50rem;
  --c-link: var(--c-fg);
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --c-bg: #e3e3e3;
    --c-fg: darkslategray;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --c-bg: #232323;
    --c-fg: slategray;
  }
}
html {
  color: var(--c-fg);
  background-color: var(--c-bg);
  font-size: var(--font-size);
}
html,
body {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: calc(var(--s) / 2);
}
h1,
p {
  margin-top: 0;
  margin-bottom: calc(var(--s) / 1.5);
}
a {
  color: var(--c-link);
}
random-artwork-viewer {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  :is(iframe) {
    width: 100%;
    height: 100%;
    border: 1px solid var(--c-fg);
    border-radius: var(--border-radius);
  }
}
article {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(var(--s) / 4);
  justify-content: space-between;
  padding: calc(var(--s) / 4);
  /* max-width: var(--s-container); */
  align-self: center;
  width: 100%;
}
location-data {
  padding: calc(var(--s) / 2);
  border: 1px solid var(--c-fg);
  border-radius: var(--border-radius);
  display: grid;
  gap: calc(var(--s) / 2);
}
progress {
  width: 100%;
  max-width: calc(var(--s) * 10);
}
menu {
  padding: 0;
  margin: 0;
  :is(ul) {
    margin: 0;
    padding: calc(var(--s) / 4);
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border: 1px solid var(--c-fg);
    border-radius: var(--border-radius);
  }
  :is(a) {
    padding: calc(var(--s) / 5) calc(var(--s) / 3);
    display: inline-flex;
  }
}
