/* Match the page colour so no white shows when iOS bounces past the edges. */
body.ftk-page {
  background-color: #0b1a26;
}

/*
 * The section is its own full-screen scroll area. Its background stays still while the content
 * scrolls inside it, which works on iOS where background-attachment: fixed and fixed layers do not.
 */
.ftk-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 3rem 0;
  text-align: center;
  background-color: #0b1a26;
  background-size: cover;
  background-position: center;
}

/* Leave room for the site sidebar on desktop. */
@media (min-width: 1200px) {
  .ftk-menu {
    left: 300px;
  }
}

.ftk-title {
  color: #f3e3b5;
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 2px 2px 0 #000;
  margin-bottom: 2rem;
}

.ftk-group {
  max-width: 640px;
  margin: 0 auto 1.5rem auto;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 12px;
}

.ftk-group h5 {
  color: #f3e3b5;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.ftk-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.ftk-button {
  flex: 1 1 160px;
  padding: 0.9rem 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #f3e3b5;
  background: #5a2e1a;
  border: 2px solid #c9a15b;
  border-radius: 8px;
  box-shadow: 2px 2px 0 #000;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.ftk-button:hover {
  background: #7a3f24;
}

.ftk-button:active {
  transform: translateY(2px);
}

.ftk-button.playing {
  background: #1f6e8c;
  border-color: #9fe3ff;
  color: #fff;
}

.ftk-language {
  display: inline-flex;
  margin-bottom: 1.5rem;
  border: 2px solid #c9a15b;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 2px 2px 0 #000;
}

.ftk-language-button {
  padding: 0.4rem 1rem;
  font-weight: 600;
  color: #f3e3b5;
  background: rgba(0, 0, 0, 0.55);
  border: none;
  cursor: pointer;
}

.ftk-language-button + .ftk-language-button {
  border-left: 2px solid #c9a15b;
}

.ftk-language-button.active {
  background: #5a2e1a;
  color: #fff;
}

.ftk-hint {
  display: none;
  font-size: 0.75em;
  font-weight: 400;
  opacity: 0.8;
  text-transform: none;
  letter-spacing: normal;
}

html[lang="da"] .ftk-hint {
  display: block;
}

.ftk-menu[data-view="menu"] .ftk-only-flow,
.ftk-menu[data-view="flow"] .ftk-only-menu {
  display: none;
}

.ftk-view-button {
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  font-weight: 600;
  color: #f3e3b5;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid #c9a15b;
  border-radius: 8px;
  box-shadow: 2px 2px 0 #000;
  cursor: pointer;
}

.ftk-view-button:hover {
  background: #5a2e1a;
}

.ftk-flow {
  max-width: 640px;
  margin: 0 auto;
}

.ftk-flow-heading {
  color: #f3e3b5;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 2px 2px 0 #000;
  margin: 1.5rem 0 0.75rem 0;
}

.ftk-step {
  padding: 1rem;
  text-align: left;
  color: #f3e3b5;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid #c9a15b;
  border-radius: 12px;
}

.ftk-decision {
  border-color: #9fe3ff;
  border-style: dashed;
}

.ftk-step-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.ftk-step-number {
  flex: 0 0 2rem;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
  color: #fff;
  background: #5a2e1a;
  border-radius: 50%;
}

.ftk-decision .ftk-step-number {
  background: #1f6e8c;
}

.ftk-step p {
  margin-bottom: 0.5rem;
  color: #e6dcc0;
}

.ftk-step .ftk-buttons {
  margin-top: 0.75rem;
}

.ftk-branches {
  margin: 0;
  padding-left: 1.25rem;
}

.ftk-arrow {
  color: #f3e3b5;
  font-size: 1.75rem;
  line-height: 1;
  margin: 0.25rem 0;
  text-shadow: 2px 2px 0 #000;
}
