@charset "UTF-8";

@media only screen {
  body {
    color: #bfc7a9;
    min-width: 297mm;
  }

  html {
    background-color: #1d1d1d;
  }

  .page-container {
    display: grid;
  }

  .page,
  .page-number {
    align-self: center;
    grid-row: 1;
  }

  .page-number {
    font-size: xx-large;
  }
}

@media screen {
  .page {
    background-color: #fff;
    box-shadow: 2px 2px 5px 1px rgba(240, 240, 240, .25);
    filter: drop-shadow(2px 2px 5px rgba(240, 240, 240, .75));
    margin: 20px;
    padding: 0;
  }
}

@page {
  margin: 0;
  size: A4 landscape;
}

a,
a:visited {
  color: #eee;
}

body,
header,
html,
svg {
  margin: 0;
  padding: 0;
}

body,
html {
  height: auto !important;
}

fieldset,
h1,
h2,
h4,
img,
input,
label,
legend {
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}

fieldset {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 6px;
  width: fit-content;
}

fieldset:has(>input#reset:disabled)~fieldset {
  display: none;
}

h1.header,
img.logo {
  display: inline-block;
}

h4 {
  color: #eee;
  text-decoration-line: underline;
  text-underline-offset: 2px;
}

header {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  margin: 0 16px;
}

header>button {
  text-wrap: nowrap;
}

header>span {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
}

img.logo {
  height: 56px;
  width: 56px;
}

main {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 16px;
}

span.frame {
  display: inline-block;
  background-color: #333;
  margin: auto 0;
  padding: 0 4px;
  height: fit-content;
}

span.frame:not(:last-child) {
  margin-right: 4px;
}
