@import 'reset.css';
@font-face {
  font-family: "Ekstra";
  src: url("../fonts/Ekstra-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Ekstra";
  src: url("../fonts/Ekstra-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Ekstra";
  src: url("../fonts/Ekstra-RegularItalic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: block;
}
@font-face {
  font-family: "Ekstra";
  src: url("../fonts/Ekstra-MediumItalicm.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: block;
}
:root {
  font: normal 400 10px/1.3 "Ekstra", sans-serif;
  --white: #FFF;
  --bg1: linear-gradient(180deg, #1B401B 0%, #001400 100%);
  --bg2: linear-gradient(180deg, #033B6D 0%, #001338 100%);
  --bg3: linear-gradient(180deg, #001338 0%, #3F1403 100%);
  --bg4: linear-gradient(180deg, #9B5410 0%, #3B1101 100%);
  --bg: var(--bg1);
  user-select: none;
}

button {
  outline: none;
  background: transparent;
  border: none;
}

html, body {
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}

em {
  font-style: italic;
}

* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html[lang=da] [lang=en] {
  display: none;
}
html[lang=da] .language-ctrl [data-lang=en] {
  --alpha: 0.4;
}

html[lang=en] [lang=da] {
  display: none;
}
html[lang=en] .language-ctrl [data-lang=da] {
  --alpha: 0.4;
}

body {
  background: var(--bg);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.stage {
  margin: 0 3.90625vw;
  padding: 4.1666666667vh 0;
}

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

@keyframes bounce {
  0% {
    transform: translateY(-100%);
  }
  15% {
    transform: translateY(-120%);
  }
  30% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(-100%);
  }
}
.intro .stage {
  position: relative;
  font-size: 2.8125vw;
  line-height: 1.2777777778;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 29.6875vw 0.390625vw 29.6875vw;
  gap: 0 6.09375vw;
}
.intro .stage svg {
  display: block;
  fill: var(--white);
  width: 6.25vw;
  height: auto;
  position: absolute;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  animation-name: bounce;
  animation-timing-function: ease-in-out;
  left: calc(50% - 3.125vw);
  top: -10.1041666667vh;
}
.intro .stage .divider {
  background: var(--white);
}

.coin main {
  padding: 4.1666666667vh 0;
}

.coin-container {
  margin: 0;
}

button {
  --alpha: 1.0;
  color: rgba(255, 255, 255, var(--alpha));
  border: 2px solid rgba(255, 255, 255, var(--alpha));
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2.5vh;
  border-bottom: 1px solid var(--white);
  margin-bottom: 5vh;
}

.language-ctrl {
  text-transform: uppercase;
  font-size: 1.40625vw;
  line-height: 1.5555555556;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1.5625vw;
  line-height: 1;
}
.language-ctrl button {
  width: 6.25vw;
  flex-grow: 0;
  flex-shrink: 0;
  aspect-ratio: 1.3333333333;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagination {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 3.75vw;
}
.pagination svg {
  width: 3.59375vw;
  height: auto;
  fill: var(--white);
}

#design, #faq, #comment {
  display: none;
}

#page[data-page=design] #design {
  display: block;
}

#page[data-page=faq] #faq {
  display: block;
}

#page[data-page=comment] #comment {
  display: block;
}

.faq-inner, .comment-inner {
  display: grid;
  grid-template-columns: 6.25vw 1fr;
  gap: 1.5625vw;
}

.design-inner {
  display: grid;
  grid-template-columns: 6.25vw 37.5vw 6.25vw 37.5vw;
  gap: 1.5625vw;
}
.design-inner .col-1 {
  display: flex;
  flex-direction: column;
}
.design-inner .col-3 {
  grid-column: 4;
}

.columns {
  margin-top: 2em;
  column-count: 2;
  column-gap: 9.375vw;
  column-fill: balance;
  height: 60.2083333333vh;
}
.columns div, .columns p {
  break-inside: avoid-column;
}

.facts-grid {
  margin-top: 2em;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9.375vw;
}

#design .col-3,
#faq .col-2,
#comment .col-2 {
  font-size: 1.40625vw;
  line-height: 1.5555555556;
}

p {
  margin: 0 0 1.2em 0;
}

.title, h1 {
  display: inline;
  font-weight: 500;
  font-size: 2.34375vw;
  line-height: 1.3333333333;
}

.title + h1::before {
  content: " - ";
}

h1 + * {
  margin-top: 1em;
}

h2 + p {
  margin-top: 0.5em;
}

h2 {
  font-weight: 500;
  font-size: 1.875vw;
  line-height: 1.4166666667;
}
h2 + h2 {
  margin-top: 0.5em;
}

.page-ctrl {
  position: fixed;
  left: 3.90625vw;
  bottom: 4.375vh;
  width: 45.3125vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5625vw;
  font-size: 1.40625vw;
}
.page-ctrl button {
  aspect-ratio: 4.6666666667;
}

#faq .page-ctrl button, #comment .page-ctrl button {
  grid-column: 1;
}

/* entire container, keeps perspective */
.flip-container {
  perspective: 1000px;
  width: 100%;
  aspect-ratio: 1/1;
  /* flip speed goes here */
  /* back, initially hidden pane */
}
.flip-container .flipper {
  transform-style: preserve-3d;
  position: relative;
}
.flip-container .front, .flip-container .back {
  width: 100%;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-self: center;
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
}
.flip-container img {
  display: block;
  height: auto;
  margin: auto;
}
.flip-container .front {
  z-index: 2;
  /* for firefox 31 */
  transform: rotateY(0deg);
}
.flip-container .back {
  transform: rotateY(180deg);
}

/* flip the pane when hovered */
#design[data-side=back] .flip-container .flipper {
  transform: rotateY(180deg);
}
#design[data-side=back] .thumbnails img[data-side=front] {
  opacity: 0.4;
}
#design[data-side=back] .col-3 .front {
  display: none;
}

#design[data-side=front] .thumbnails img[data-side=back] {
  opacity: 0.4;
}
#design[data-side=front] .col-3 .back {
  display: none;
}

.coin-index {
  font-size: 4.375vw;
  line-height: 1.2;
}

.thumbnails {
  display: flex;
  flex-direction: column;
  gap: 2.0833333333vh;
  margin-top: 4vh;
}
.thumbnails img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 1;
}

.animated .thumbnails img {
  transition: opacity 0.4s;
}
.animated .flipper {
  transition: 0.8s;
}

html:not(.disable-touch-ui) .thumbnails, html:not(.disable-touch-ui) .flip-container {
  opacity: 0;
}
html:not(.disable-touch-ui) .images-loaded .thumbnails, html:not(.disable-touch-ui) .images-loaded .flip-container {
  transition: opacity 0.4s;
  opacity: 1;
}

.show-control-panel #control-panel {
  display: block;
}

#control-panel {
  display: none;
  position: fixed;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  padding: 30px 30px;
  font-size: 1.4rem;
}
#control-panel label {
  font-size: 1.2rem;
  flex-shrink: 0;
}
#control-panel input[type=range] {
  display: block;
  width: 100%;
  margin: 0.5em 0 0 0;
}
#control-panel input[type=text] {
  text-align: right;
  background: none;
  border: none;
  outline: none;
  color: white;
}
#control-panel input[type=text]::after {
  content: "px";
  color: white;
}
#control-panel > div + div {
  margin-top: 1.2em;
}
#control-panel > div > div {
  display: flex;
  justify-content: space-between;
}

:root {
  --divider: 700px;
}

#touch-ui {
  position: fixed;
  inset: 0 0 0 0;
  display: grid;
  grid-template-rows: var(--divider) 1fr;
}

#coins {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
}
#coins a {
  flex-grow: 0;
  display: block;
}
#coins[data-case="7"] a:nth-child(13) {
  flex-basis: 28%;
}
#coins[data-case="7"] a:nth-child(15) {
  flex-basis: 28%;
}
#coins[data-case="17"] a:nth-child(16) {
  flex-basis: 27%;
}
#coins[data-case="17"] a:nth-child(19) {
  flex-basis: 27%;
}

#screen {
  flex-grow: 1;
  position: relative;
}
#screen button {
  outline: none;
  border: none;
}

#toggle-lang {
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 25%;
}

#flip-coin {
  position: absolute;
  top: 25%;
  left: 0;
  width: 60%;
  height: 45%;
}

#change-page {
  position: absolute;
  top: 70%;
  left: 0;
  width: 60%;
  height: 30%;
}

#paginate {
  position: absolute;
  top: 0%;
  right: 0;
  width: 25%;
  height: 25%;
}

.disable-touch-ui #touch-ui {
  display: none;
}
.disable-touch-ui a, .disable-touch-ui button {
  cursor: pointer;
}
a, button {
  cursor: none;
}

.show-touch-ui a, .show-touch-ui button {
  cursor: pointer;
}
.show-touch-ui #coins {
  background: rgba(255, 127, 148, 0.8);
}
.show-touch-ui #coins a,
.show-touch-ui #screen button {
  outline: solid 2px greenyellow;
  outline-offset: -3px;
}
.show-touch-ui #screen {
  background: rgba(127, 255, 212, 0.593);
}

/*# sourceMappingURL=application.css.map */