/*
  RESETS
*/
* {
  box-sizing: border-box;
  margin: 0;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
}

input,
textarea,
select,
button {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  background: none;
}

/*
	FONTS
*/
@font-face {
  font-family: "Swiss 721";
  src: url("../fonts/4199e20e-24ed-4c43-a55b-de1e284b8747.woff2") format("woff2"), url("../fonts/a0d96998-ae55-41cf-bd2a-5bfd2f736c06.woff") format("woff");
  font-weight: normal;
  font-display: swap;
}
html {
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "Swiss 721", Helvetica, sans-serif;
  font-size: 21px;
  line-height: 26px;
}
@media (max-width: 899px) {
  body {
    font-size: 20px;
    line-height: 24px;
  }
}

.header, .footer, .sans {
  text-transform: none;
}

.footer {
  font-weight: normal;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  line-height: inherit;
  font-weight: normal;
}
@media (max-width: 899px) {
  h1, h2, h3, h4, h5, h6 {
    font-size: 15px;
    line-height: 18px;
    margin-bottom: 2px;
  }
}
@media (min-width: 900px) {
  h1, h2, h3, h4, h5, h6 {
    font-size: 17px;
    line-height: 20px;
    margin-bottom: 2px;
  }
}

:root {
  --app-height: 90vh;
}
@media (min-width: 900px) {
  :root {
    --app-height: 100vh;
  }
}

html {
  scroll-behavior: smooth;
}
@media (min-width: 900px) {
  html {
    scroll-padding-top: 170px; /* height of sticky header */
  }
}

@media (min-width: 900px) {
  .mob-only {
    display: none !important;
  }
}

@media (max-width: 899px) {
  .desktop-only {
    display: none !important;
  }
}

p {
  margin-bottom: 1em;
}

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

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

body {
  color: #EAD094;
  background-color: #FFFDFA;
}
@media (max-width: 899px) {
  body {
    overflow-x: hidden;
  }
}

a {
  text-underline-offset: 2px;
}
@media (min-width: 900px) {
  a {
    text-underline-offset: 4px;
  }
}

.announcement {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  min-height: 50px;
  background: #EAD094;
  color: #FFFDFA;
  z-index: 101;
  padding: 12px 30px;
  transition: opacity 0.5s linear;
}
@media (max-width: 899px) {
  .announcement {
    padding: 12px 44px 12px 16px;
    top: unset;
    bottom: 0px;
  }
}
.announcement a {
  border: none;
  text-decoration: none;
}
.announcement .announcement-close {
  position: absolute;
  right: 18px;
  padding: 12px;
  top: 0px;
  font-size: 1em;
  cursor: pointer;
}
@media (max-width: 899px) {
  .announcement .announcement-close {
    right: 4px;
  }
}

header {
  position: absolute;
  z-index: 100;
  top: 0px;
  left: 0px;
  width: 100%;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
}
header a {
  text-decoration: none;
  display: inline-block;
  position: relative;
}
header .center {
  margin: 0 auto;
  text-align: center;
  user-select: none;
}
header .right {
  width: 100px;
  margin-left: 50px;
  text-align: right;
  position: relative;
  --deg: 0deg;
}
header .right:after {
  display: block;
  content: url(../img/hand_right-0.svg);
  position: absolute;
  left: -150px;
  top: 6px;
  transform: rotate(var(--deg));
  transform-origin: 20px 20px;
  transition: transform 0.2s linear;
}
@media (max-width: 899px) {
  header .right:after {
    transform: scale(0.8) rotate(var(--deg));
    transition: none;
    left: -100px;
    top: 3px;
  }
}
header .left {
  width: 150px;
  position: relative;
  --deg: 0deg;
}
header .left:after {
  display: block;
  position: absolute;
  content: url(../img/hand_left-0.svg);
  left: 170px;
  top: 6px;
  transform: rotate(calc(-1 * var(--deg)));
  transform-origin: 98px 20px;
  transition: transform 0.2s linear;
}
@media (max-width: 899px) {
  header .left:after {
    transform: scale(0.8) rotate(calc(-1 * var(--deg)));
    transition: none;
    top: 3px;
    left: 130px;
  }
}
@media (max-width: 899px) {
  header {
    height: 100svh;
  }
  header .right {
    margin-left: auto;
  }
  header .burger {
    position: fixed;
    width: 64px;
    height: 64px;
    top: 8px;
    right: 5px;
    cursor: pointer;
    z-index: 102;
  }
  header .line {
    position: absolute;
    top: 28px;
    right: 12px;
    width: 40px;
    height: 2px;
    transition: all 0.5s ease-in-out;
  }
  header .line.color-0, header .line.color-0:before, header .line.color-0:after {
    background-color: #EAD094;
  }
  header .line.color-1, header .line.color-1:before, header .line.color-1:after {
    background-color: #BBB3E5;
  }
  header .line.color-2, header .line.color-2:before, header .line.color-2:after {
    background-color: #697C75;
  }
  header .line:before, header .line:after {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    height: 2px;
    width: 100%;
    transition: all 0.5s ease-in-out;
  }
  header .line:before {
    top: -11px;
    transform-origin: top left;
  }
  header .line:after {
    top: 13px;
    transform-origin: bottom left;
  }
  header .mobile-menu {
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 102;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
    color: #FFFDFA;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr auto;
    padding: 30px 20px;
    font-size: 24px;
    line-height: 1.2em;
  }
  header .mobile-menu .link-text {
    display: none;
  }
  header .mobile-menu .main-menu {
    font-size: 31px;
    line-height: 36px;
    grid-column-start: 1;
    grid-column-end: 4;
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  header .mobile-menu .main-menu .menu-link-tales {
    margin-top: 1em;
  }
  header .mobile-menu .main-menu .book-link {
    margin-bottom: 1em;
  }
  header .mobile-menu .butterblume {
    display: flex;
    justify-content: flex-end;
  }
  header .mobile-menu .butterblume img {
    height: 86px;
  }
}
@media (min-width: 900px) {
  header {
    padding: 48px 30px 0;
    margin-bottom: 0;
  }
  header .left {
    position: fixed;
    top: 48px;
    left: 30px;
  }
  header .right {
    position: fixed;
    top: 48px;
    right: 30px;
  }
}

@media (max-width: 899px) {
  .announcement-active header {
    top: 70px;
    height: calc(100svh - 70px);
  }
}
@media (min-width: 900px) {
  .announcement-active header {
    top: 20px;
  }
}
@media (min-width: 900px) {
  .announcement-active .left {
    top: 68px;
  }
  .announcement-active .right {
    top: 68px;
  }
}

@media (min-width: 900px) {
  .darklight {
    position: absolute;
    bottom: 140px;
    left: 0%;
    width: 100%;
    text-align: center;
    cursor: pointer;
    z-index: 10;
    user-select: none;
    bottom: 65px;
  }
  .darklight span {
    text-underline-offset: 3px;
  }
}
@media (max-width: 899px) {
  .darklight span {
    cursor: pointer;
  }
}

.show-menu {
  overflow: hidden;
}
@media (max-width: 899px) {
  .show-menu .burger .line {
    background: none !important;
  }
  .show-menu .burger .line:before {
    transform: rotate(38deg);
    background-color: #FFFDFA !important;
  }
  .show-menu .burger .line:after {
    transform: rotate(-38deg);
    background-color: #FFFDFA !important;
  }
  .show-menu .mobile-menu {
    opacity: 1;
    pointer-events: all;
  }
}

.footer {
  padding: 48px 16px;
  position: relative;
}
@media (min-width: 900px) {
  .footer {
    padding: 48px 30px;
  }
}
.footer a {
  text-decoration: none;
}
@media (max-width: 899px) {
  .footer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
  }
  .footer .column {
    width: 50%;
  }
  .footer .column:nth-of-type(4) {
    order: 1;
    position: relative;
    top: -20px;
  }
  .footer .column:nth-of-type(3) {
    order: 2;
    text-align: right;
  }
  .footer .column:nth-of-type(2) {
    order: 3;
    width: 35%;
  }
  .footer .column:nth-of-type(1) {
    order: 4;
    width: 65%;
    text-align: right;
  }
  .footer .column:nth-of-type(2),
  .footer .column:nth-of-type(1) {
    margin-top: 90px;
    font-size: 20px;
    line-height: 24px;
  }
}
@media (min-width: 900px) {
  .footer {
    display: flex;
    justify-content: space-between;
  }
  .footer .column:nth-of-type(1),
  .footer .column:nth-of-type(3) {
    width: 37.5%;
    flex-shrink: 0;
  }
  .footer .column:nth-of-type(2) {
    width: 100%;
    flex-shrink: 1;
  }
  .footer .column:nth-of-type(4) {
    position: absolute;
    top: 40px;
    right: 40px;
  }
}

.intro {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  position: relative;
  padding: 48px 16px;
}
@media (min-width: 900px) {
  .intro {
    padding: 48px 30px;
  }
}
.intro .logo {
  margin: 0 auto;
  transition: all 0.2s ease-out;
  user-select: none;
}
@media (max-width: 899px) {
  .intro .logo {
    width: 100%;
  }
}
@media (min-width: 900px) {
  .intro .logo {
    width: 60vw;
    max-width: 880px;
    max-height: 55vh;
  }
}
.intro .storyteller {
  position: absolute;
  z-index: 11;
}
@media (max-width: 899px) {
  .intro .storyteller {
    display: none;
  }
}
@media (min-width: 900px) {
  .intro .storyteller {
    left: 25px;
    bottom: 40px;
  }
}
@media (max-width: 899px) {
  .intro .storyteller img {
    width: 180px;
  }
}
@media (min-width: 900px) {
  .intro .storyteller img {
    width: 190px;
  }
}
.intro .butterblume {
  position: absolute;
}
@media (min-width: 900px) {
  .intro .butterblume {
    right: 64px;
    bottom: 70px;
    width: 105px;
  }
}
@media (max-width: 899px) {
  .intro .butterblume {
    display: none;
  }
}

.intro-links {
  padding: 50px 16px;
}
.intro-links > * {
  display: flex;
  text-decoration: none;
  align-items: center;
  justify-content: space-between;
}
.intro-links .butterblume {
  margin-top: 50px;
}
.intro-links .butterblume img {
  width: 120px;
}
.intro-links .storyteller img {
  width: 200px;
  transform: rotate(9deg);
  position: relative;
  left: -20px;
  top: -20px;
}
@media (max-width: 899px) {
  .intro-links .storyteller img {
    width: 180px;
  }
}
@media (max-width: 899px) {
  .intro-links {
    position: absolute;
    top: calc(100svh - 185px);
    top: calc(100svh - 400px);
    left: 0;
    padding: 12px;
    width: 100%;
  }
  .intro-links .link-text {
    display: none;
  }
  .intro-links .tales-menu-mobile {
    width: 100%;
    flex-direction: column;
    margin: 0 auto;
    margin-top: 80px;
  }
  .intro-links .tales-menu-mobile .active {
    text-decoration: underline;
  }
}

.bg-video,
.fg-video {
  position: absolute;
  top: 0px;
  left: 0px;
  height: var(--app-height);
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 50px;
  user-select: none;
}
.bg-video video,
.fg-video video {
  max-height: 500px;
  width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease-out;
}
@media (min-width: 900px) {
  .bg-video,
  .fg-video {
    position: fixed;
  }
}

.bg-video {
  z-index: -1;
}

.fg-video {
  z-index: 1;
}

.main > h1 {
  display: none;
}

.content {
  position: relative;
}
@media (min-width: 900px) {
  .content {
    padding-bottom: 250px;
  }
}

@media (max-width: 899px) {
  .section {
    display: flex;
    flex-direction: column;
  }
}
@media (min-width: 900px) {
  .section {
    display: flex;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .section.section-visual-text:nth-of-type(even) {
    flex-direction: row-reverse;
  }
  .section.section-text-text {
    margin: 10em 0;
    align-items: flex-start;
  }
  .section > * {
    width: 37.5%;
  }
}
.section .video video {
  display: block;
  max-width: 100%;
  height: auto;
}
@media (max-width: 899px) {
  .section .image img,
  .section .image svg {
    min-height: var(--app-height);
    object-fit: cover;
  }
}
.section .text p {
  margin-bottom: 1em;
}
@media (max-width: 899px) {
  .section .text {
    padding: 16px;
    margin: 48px 0;
  }
}

.add-star {
  position: relative;
}
@media (max-width: 899px) {
  .add-star .star {
    position: absolute;
    top: calc(25% - 45vw);
    right: 41%;
    max-width: 16%;
  }
  .add-star .image {
    margin: 0 30px;
  }
}
@media (min-width: 900px) {
  .add-star {
    padding-top: 150px;
  }
  .add-star .star {
    position: absolute;
    top: 0px;
    right: 69%;
    max-width: 7%;
  }
  .add-star .image img,
  .add-star .image svg {
    width: 120%;
    max-width: unset;
    position: relative;
    left: 50px;
  }
}

.tales-menu-wrapper {
  position: absolute;
  left: 37.5%;
  top: 0px;
  width: 25%;
  height: 100%;
}
@media (max-width: 899px) {
  .tales-menu-wrapper {
    display: none;
  }
}
.tales-menu-wrapper .tales-menu {
  position: sticky;
  top: 0px;
  text-align: center;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 14px;
  line-height: 1.2em;
}
.tales-menu-wrapper .tales-menu .category-link:not(:has(~ .category-link)) {
  margin-bottom: 1em;
}
.tales-menu-wrapper .tales-menu a,
.tales-menu-wrapper .tales-menu li.category-link {
  text-decoration: none;
  cursor: pointer;
}
.tales-menu-wrapper .tales-menu a:hover,
.tales-menu-wrapper .tales-menu li.category-link:hover {
  text-decoration: underline;
}
.tales-menu-wrapper .tales-menu .category-link.active {
  text-decoration: underline;
}

.backhome {
  text-decoration: none;
  z-index: 20;
  position: absolute;
}
.backhome img {
  width: 60px;
  height: auto;
  display: inline-block;
  position: relative;
  top: 10px;
  margin-right: 10px;
}
@media (max-width: 899px) {
  .backhome {
    position: relative;
    top: -10px;
    left: 0px;
    display: flex;
    justify-content: center;
    width: 100%;
    display: none;
  }
}
@media (min-width: 900px) {
  .backhome {
    left: 55px;
    bottom: 65px;
  }
}

.page-tales .bg-video,
.page-tales .fg-video {
  pointer-events: none;
  padding: 0;
}
@media (min-width: 900px) {
  .page-tales .bg-video,
  .page-tales .fg-video {
    padding: 70px;
  }
}
.page-tales .bg-video video,
.page-tales .fg-video video {
  max-height: 100%;
}
@media (max-width: 899px) {
  .page-tales header .center {
    display: none;
  }
}
.page-tales .section .text {
  margin: 80px 0;
}
@media (max-width: 899px) {
  .page-tales .section {
    font-size: 18px;
    line-height: 21px;
  }
}

.darklight {
  user-select: none;
}

body:not(.colormode-1):not(.colormode-2) .color-1,
body:not(.colormode-1):not(.colormode-2) .color-2 {
  display: none !important;
}
body:not(.colormode-1):not(.colormode-2) .darklight .colorswitch-0 {
  text-decoration: underline;
}
body:not(.colormode-1):not(.colormode-2) .line,
body:not(.colormode-1):not(.colormode-2) .line:before,
body:not(.colormode-1):not(.colormode-2) .line:after {
  background-color: #EAD094;
}
body:not(.colormode-1):not(.colormode-2) .mobile-menu {
  background-color: #EAD094;
}

.colormode-1 {
  color: #BBB3E5;
  background-color: #F8F7FF;
}
.colormode-1 .darklight .colorswitch-1 {
  text-decoration: underline;
}
.colormode-1 .color-0,
.colormode-1 .color-2 {
  display: none !important;
}
.colormode-1 svg * {
  stroke: #BBB3E5;
}
.colormode-1 .announcement {
  background-color: #BBB3E5;
  color: #F8F7FF;
}
.colormode-1 header .right:after {
  content: url(../img/hand_right-1.svg);
}
.colormode-1 header .left:after {
  content: url(../img/hand_left-1.svg);
}
.colormode-1 .line,
.colormode-1 .line:before,
.colormode-1 .line:after {
  background-color: #BBB3E5;
}
.colormode-1 .mobile-menu {
  background-color: #BBB3E5;
}

.colormode-2 {
  color: #697C75;
}
.colormode-2 .darklight .colorswitch-2 {
  text-decoration: underline;
}
.colormode-2 .color-0,
.colormode-2 .color-1 {
  display: none !important;
}
.colormode-2 svg * {
  stroke: #697C75;
}
.colormode-2 .announcement {
  color: #FFFDFA;
  background-color: #697C75;
}
.colormode-2 header .right:after {
  content: url(../img/hand_right-2.svg);
}
.colormode-2 header .left:after {
  content: url(../img/hand_left-2.svg);
}
.colormode-2 .line,
.colormode-2 .line:before,
.colormode-2 .line:after {
  background-color: #697C75;
}
.colormode-2 .mobile-menu {
  background-color: #697C75;
}

.textpage .intro,
.textpage .intro-links {
  display: none;
}
.textpage header {
  position: relative;
  height: 180px;
}
@media (min-width: 900px) {
  .textpage header {
    height: 160px;
  }
}
@media (max-width: 899px) {
  .textpage header {
    display: none;
  }
}
.textpage .main {
  padding: 48px 16px;
  position: relative;
}
@media (min-width: 900px) {
  .textpage .main {
    padding: 48px 30px;
  }
}
.textpage .main .backhome {
  position: relative;
  top: 0;
  left: 0;
}
@media (min-width: 900px) {
  .textpage .main .backhome {
    position: absolute;
    top: 35px;
    left: 30px;
  }
}
.textpage .main > h1 {
  display: block;
  text-align: center;
  font-size: inherit;
  margin: 0 0 3em 0;
}
@media (max-width: 899px) {
  .textpage .main > h1 {
    margin: 2em 0 1.5em 0;
  }
}
.textpage .content p {
  break-inside: avoid;
}
@media (min-width: 900px) {
  .textpage .content {
    columns: 2;
    gap: 80px;
  }
  .textpage .content .section > * {
    width: auto;
  }
}

@media (min-width: 900px) {
  .tale:has(.section-visual-text):nth-of-type(even) .section-visual-text {
    flex-direction: row-reverse;
  }
}

.tale,
.tale-link {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.5s linear, opacity 0.5s linear;
}
.tale.hide,
.tale-link.hide {
  grid-template-rows: 0fr;
  opacity: 0;
}
.tale .section, .tale.hide > a,
.tale-link .section,
.tale-link.hide > a {
  overflow: hidden;
}
.tale.active a,
.tale-link.active a {
  text-decoration: underline;
}

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