@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/******** LANDSCAPE **********/
/******** PORTRAIT **********/
.icon-wrapper {
  position: absolute;
  right: 1rem;
  z-index: 2;
}
.icon-wrapper .nav-icon {
  width: 60px;
  height: 50px;
  position: relative;
  cursor: pointer;
  display: inline-block;
}
.icon-wrapper .nav-icon span {
  position: absolute;
  transition: 0.3s cubic-bezier(0.8, 0.5, 0.2, 1.4);
  width: 100%;
  height: 5px;
  transition-duration: 500ms;
  background-repeat: no-repeat;
  background-size: cover;
}
.icon-wrapper .nav-icon span:nth-child(1) {
  top: 0px;
  left: 0px;
  background-image: url(/assets/img/burger_line-1.svg);
}
.icon-wrapper .nav-icon span:nth-child(2) {
  top: 15px;
  left: 0px;
  opacity: 1;
  background-image: url(/assets/img/burger_line-2.svg);
}
.icon-wrapper .nav-icon span:nth-child(3) {
  top: 30px;
  left: 0px;
  background-image: url(/assets/img/burger_line-3.svg);
}
.icon-wrapper .nav-icon.open:hover span:nth-child(1) {
  transform: rotate(30deg);
}
.icon-wrapper .nav-icon.open:hover span:nth-child(3) {
  transform: rotate(-60deg);
}
.icon-wrapper .nav-icon.open span:nth-child(1) {
  transform: rotate(45deg);
  top: 20px;
}
.icon-wrapper .nav-icon.open span:nth-child(2) {
  opacity: 0;
}
.icon-wrapper .nav-icon.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 20px;
}
.icon-wrapper .nav-icon:not(.open):hover span:nth-child(1) {
  transform: translateY(-4px);
}
.icon-wrapper .nav-icon:not(.open):hover span:nth-child(3) {
  transform: translateY(4px);
}

.blocker {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  content: " ";
  background: rgba(0, 0, 0, 0.5);
}
.blocker.open {
  display: block;
}

#toggle-menu {
  overflow-y: auto;
  transform: translate(100vw);
  background-color: var(--color-secondary);
  height: 100vh;
  width: 100vw;
  color: black;
  left: 0;
  top: 0;
  position: absolute;
}
@media screen and (min-width: 1200px) {
  #toggle-menu {
    left: calc((100vw - var(--max-content-width)) / -2);
    transform: translate(0, -100vh);
  }
}
#toggle-menu.open {
  transform: translate(0);
  transition: 0.2s ease-in;
}
@media screen and (min-width: 1200px) {
  #toggle-menu.open {
    top: 10rem;
  }
}
#toggle-menu a {
  color: black;
  font-family: var(--font-logo);
  letter-spacing: 0.5px;
}
#toggle-menu a[active]:not(.sub-sub) {
  box-shadow: inset 0 -0.5em 0 var(--color-primary);
}
#toggle-menu a:visited {
  color: var(--color-grey);
}
#toggle-menu .main-item {
  font-size: 2.5rem;
}
#toggle-menu .mobile-menu {
  padding: 7rem 2rem;
}
@media screen and (min-width: 1200px) {
  #toggle-menu .mobile-menu {
    padding: 2rem calc((100vw - var(--max-content-width)) / 2 + 2rem);
  }
}
#toggle-menu .submenu {
  padding-left: 2rem;
}
@media screen and (min-width: 768px) and (orientation: portrait) {
  #toggle-menu .submenu {
    padding: 2rem 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (min-width: 900px) and (orientation: landscape) {
  #toggle-menu .submenu {
    padding: 2rem 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}
#toggle-menu .submenu .sub {
  color: var(--color-grey);
  text-transform: uppercase;
  font-family: var(--font-logo);
  letter-spacing: 0.5px;
  font-size: 2.5rem;
}
#toggle-menu .submenu .sub-sub {
  font-size: 1.5rem;
  padding-left: 2rem;
}
@media screen and (min-width: 768px) and (orientation: portrait) {
  #toggle-menu .submenu .sub-sub {
    padding-left: 0;
  }
}
@media screen and (min-width: 900px) and (orientation: landscape) {
  #toggle-menu .submenu .sub-sub {
    padding-left: 0;
  }
}
#toggle-menu .submenu .sub-sub[active] span {
  box-shadow: inset 0 -0.5em 0 var(--color-primary);
}
#toggle-menu .submenu details summary::after {
  content: " > ";
  text-transform: uppercase;
  font-family: var(--font-logo);
  letter-spacing: 0.5px;
  font-size: 3rem;
  display: inline-block;
  padding-left: 0.5rem;
  transition: 0.3s cubic-bezier(0.8, 0.5, 0.2, 1.4);
  transform: rotate(90deg);
  color: var(--color-grey);
}
@media screen and (min-width: 768px) and (orientation: portrait) {
  #toggle-menu .submenu details summary::after {
    display: none;
  }
}
@media screen and (min-width: 900px) and (orientation: landscape) {
  #toggle-menu .submenu details summary::after {
    display: none;
  }
}
#toggle-menu .submenu details[open] summary::after {
  transform: rotate(-90deg) translate(-5px, 0);
}
#toggle-menu .legal-menu {
  padding-top: 3rem;
}
@media screen and (min-width: 768px) and (orientation: portrait) {
  #toggle-menu .legal-menu {
    display: flex;
    gap: 2rem;
  }
}
@media screen and (min-width: 900px) and (orientation: landscape) {
  #toggle-menu .legal-menu {
    display: flex;
    gap: 2rem;
  }
}
#toggle-menu .legal-menu a {
  font-size: clamp(1.8rem, 2vw, 2.5rem);
}

@font-face {
  font-family: "RoadRage";
  src: url("../fonts/RoadRage-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Regular";
  src: url("../fonts/Barlow-Medium.woff2") format("woff2"), url("../fonts/Barlow-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Black";
  src: url("../fonts/Barlow-Black.woff2") format("woff2"), url("../fonts/Barlow-Blac.woff") format("woff");
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: "Bold";
  src: url("../fonts/Barlow-Bold.woff2") format("woff2"), url("../fonts/Barlow-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}
:root {
  --color-text: white;
  --color-hover: #000;
  --color-grey: #5d6667;
  --color-primary: #ffffa0;
  --color-secondary: #ebd755;
  --color-light-black: #242826;
  --color-background: #242826;
  --font-headlines: "Black", serif;
  --font-text: "Regular", serif;
  --font-bold: "Bold", serif;
  --font-italic: "Italic", serif;
  --font-logo: "RoadRage", serif;
  --font-size: clamp(1.1rem, 1.2vw, 1.15rem);
  --font-size-big: clamp(1.4rem, 1.5vw, 1.5rem);
  --max-content-width: 1200px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/************** GENERAL STYLING **************/
html,
body {
  overflow-x: hidden;
  font-size: 16px;
}

body {
  font-family: var(--font-text);
  color: var(--color-text);
  background-color: var(--color-background);
  scroll-behavior: smooth;
  font-size: var(--font-size);
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  perspective: 1px;
  transform-style: preserve-3d;
  scrollbar-color: var(--color-primary) var(--color-secondary);
}
body.block {
  height: 100vh;
  overflow: hidden;
}
body > * {
  hyphens: auto;
}
@media screen and (min-width: 360px) {
  body > * {
    hyphens: none;
  }
}

.parallax-group {
  position: relative;
  max-height: 150vh;
  transform-style: preserve-3d;
}

.parallax-layer {
  position: absolute;
  inset: 0;
  transform-origin: center;
}

.parallax-back {
  z-index: 0;
  background-color: black;
}
@media screen and (min-width: 1200px) {
  .parallax-back {
    background: url("/assets/img/background.svg") center/cover no-repeat;
    transform: translateZ(-2px) scale(3) translateY(20vh);
    background-color: black;
    min-height: 100vh;
  }
}

.parallax-fore {
  position: relative;
  z-index: 1;
}

h1, h1 strong,
h2, h2 strong {
  font-family: var(--font-logo);
  color: var(--color-primary);
  padding: 1rem 0;
  hyphens: none;
}

h1 {
  font-size: clamp(2.5rem, 3vw, 3rem) !important;
}

h2 {
  font-size: clamp(2.5rem, 3vw, 3rem) !important;
}

h3 {
  padding-top: 1rem;
}

a {
  text-decoration: none;
  color: var(--color-text);
  transition: all 0.5s ease-in-out;
}

img,
video {
  width: 100%;
}
img:empty::before,
video:empty::before {
  content: "Fehler beim Laden des Bildes.";
  color: var(--color-orange);
}

summary {
  list-style: none;
  cursor: pointer;
}
@media screen and (min-width: 768px) and (orientation: portrait) {
  summary {
    list-style: none;
  }
  summary::-webkit-details-marker {
    display: none;
  }
}
@media screen and (min-width: 900px) and (orientation: landscape) {
  summary {
    list-style: none;
  }
  summary::-webkit-details-marker {
    display: none;
  }
}
summary::-webkit-details-marker {
  display: none;
}

strong {
  font-family: var(--font-bold);
  font-weight: normal;
}

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

/************** HEADER **************/
header {
  position: relative;
  width: 100vw;
  z-index: 100;
  background-color: var(--color-background);
  display: flex;
  justify-content: center;
}
@media screen and (min-width: 1200px) {
  header {
    height: 10rem;
  }
}
header > div {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  max-width: var(--max-content-width);
  position: relative;
  width: 100vw;
}

#logo {
  font-family: var(--font-logo);
  font-size: 2.5rem;
  cursor: pointer;
  color: var(--color-primary);
  z-index: 100;
  position: relative;
}
#logo.open {
  color: var(--color-light-black);
}
#logo.open .background {
  opacity: 1;
  transition: opacity 0.5s ease-in-out 0.2s;
}
#logo.open .background .st0 {
  fill: var(--color-primary);
}
#logo .background {
  position: absolute;
  left: -1.5rem;
  top: -0.5rem;
  width: calc(100% + 3rem);
  z-index: -1;
  opacity: 0;
}
#logo:hover .background {
  transform: scale(1.02);
}

/************** CONTENT **************/
@media screen and (min-width: 1200px) {
  main {
    display: grid;
    justify-content: center;
  }
}
main .content {
  padding: 2rem 2rem 1rem;
  background-color: var(--color-background);
  font-family: var(--font-logo);
  font-size: var(--font-size-big);
  letter-spacing: 0.5px;
  hyphens: auto;
}
@media screen and (min-width: 576px) {
  main .content {
    hyphens: none;
  }
}
@media screen and (min-width: 900px) and (orientation: landscape) {
  main .content {
    padding: 4rem;
  }
}
@media screen and (min-width: 1200px) {
  main .content {
    width: 1200px;
  }
}
main .content .intro {
  padding-bottom: 2rem;
}
main .content p {
  padding-bottom: 1rem;
}
main .content p a {
  box-shadow: inset 0 -0.4em 0 black;
  color: var(--color-primary);
}
main .content p a:hover {
  box-shadow: inset 0 -0.6em 0 black;
}
main .content figure {
  grid-column: 1/3;
}
main .how-tos {
  background-color: var(--color-secondary);
  display: flex;
  justify-content: center;
  font-family: var(--font-logo);
  font-size: var(--font-size-big);
  letter-spacing: 0.5px;
  padding: 2rem 2rem 1rem;
}
@media screen and (min-width: 900px) and (orientation: landscape) {
  main .how-tos {
    padding: 4rem;
  }
}
@media screen and (min-width: 1200px) {
  main .how-tos {
    margin: 0 calc((100vw - 1200px) / -2);
  }
}
main .how-tos p, main .how-tos h2 {
  color: black;
}
main .how-tos > div {
  max-width: 800px;
}

.title-image {
  aspect-ratio: 16/9;
  margin: 0 -2rem 2rem;
}
@media screen and (min-width: 900px) and (orientation: landscape) {
  .title-image {
    margin: -4rem -4rem 4rem;
  }
}
.title-image img {
  height: 100%;
  object-fit: cover;
  animation: fadeInImg 3s ease-out forwards;
}

@keyframes fadeInImg {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    background-color: var(--color-secondary);
  }
}
.how-to-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 2rem 0;
  gap: 0.2rem;
}
@media screen and (min-width: 576px) {
  .how-to-cats {
    gap: 1rem;
  }
}
.how-to-cats .how-to-cat {
  aspect-ratio: 1/1;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: clamp(1.6rem, 4vw, 4rem);
  position: relative;
  transition: all 0.4s ease-in-out;
}
.how-to-cats .how-to-cat .title {
  z-index: 1;
}
.how-to-cats .how-to-cat .bg {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
  transition: all 0.2s ease-in-out;
}
.how-to-cats .how-to-cat:hover {
  transform: rotate(2deg);
}
.how-to-cats .how-to-cat:hover .bg {
  transform: scale(1.02) rotate(15deg);
  transition: all 0.4s ease-in-out;
}

#btt-button {
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0;
  position: fixed;
  z-index: 20;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  font-size: 2rem;
  bottom: 10rem;
  right: 5rem;
  background-image: url("/assets/img/icons/btt.png");
  height: 60px;
  width: 60px;
}
#btt-button:hover {
  transform: scale(1.05);
  transition: all 0.5s ease-in-out;
}
@media screen and (min-width: 1200px) {
  #btt-button {
    right: 6rem;
  }
}

/************** TEMPLATE SPECIFIC **************/
.page-template-home {
  animation: fadeIn 1.5s ease;
}
.page-template-home header {
  height: 10rem;
}
.page-template-home #logo {
  font-size: 3.5rem;
  color: var(--color-light-black);
}
.page-template-home #logo .background {
  opacity: 1;
  transition: opacity 0.5s ease-in-out 0.2s;
}
@media screen and (min-width: 900px) and (orientation: landscape) {
  .page-template-home .content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
}
.page-template-home .content figure {
  grid-column: 1/3;
  background-color: var(--color-background);
  margin: 0 -2rem 2rem;
}
@media screen and (min-width: 900px) and (orientation: landscape) {
  .page-template-home .content figure {
    margin: -4rem -4rem 0;
  }
}

.page-template-howtos .content .how-to-cats .bg .st0,
.page-template-howtocategory .content .how-to-cats .bg .st0 {
  fill: var(--color-primary);
}
.page-template-howtos .content .how-to-list,
.page-template-howtocategory .content .how-to-list {
  padding: 2rem 0;
}
@media screen and (min-width: 576px) {
  .page-template-howtos .content .how-to-list,
  .page-template-howtocategory .content .how-to-list {
    column-count: 2;
  }
}
@media screen and (min-width: 768px) and (orientation: portrait) {
  .page-template-howtos .content .how-to-list,
  .page-template-howtocategory .content .how-to-list {
    column-count: 3;
  }
}
@media screen and (min-width: 900px) and (orientation: landscape) {
  .page-template-howtos .content .how-to-list,
  .page-template-howtocategory .content .how-to-list {
    column-count: 3;
  }
}
.page-template-howtos .content .how-to-list > div,
.page-template-howtocategory .content .how-to-list > div {
  padding: 1rem 0;
  transition: all 0.3s ease-in-out;
}
.page-template-howtos .content .how-to-list > div:hover,
.page-template-howtocategory .content .how-to-list > div:hover {
  transition: all 0.6s ease-in-out;
}
.page-template-howtos .content .how-to-list > div a,
.page-template-howtocategory .content .how-to-list > div a {
  color: black;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 0.5rem 1rem;
  font-size: 2rem;
}
.page-template-howtos .content .how-to-list > div a:nth-of-type(4n + 1),
.page-template-howtocategory .content .how-to-list > div a:nth-of-type(4n + 1) {
  background-image: url(/assets/img/rectangle-1.svg);
}
.page-template-howtos .content .how-to-list > div a:nth-of-type(4n + 2),
.page-template-howtocategory .content .how-to-list > div a:nth-of-type(4n + 2) {
  background-image: url(/assets/img/rectangle-2.svg);
}
.page-template-howtos .content .how-to-list > div a:nth-of-type(4n + 3),
.page-template-howtocategory .content .how-to-list > div a:nth-of-type(4n + 3) {
  background-image: url(/assets/img/rectangle-3.svg);
}
.page-template-howtos .content .how-to-list > div a:nth-of-type(4n),
.page-template-howtocategory .content .how-to-list > div a:nth-of-type(4n) {
  background-image: url(/assets/img/rectangle-4.svg);
}
.page-template-howtos .content .how-to-list > div:hover:nth-of-type(2n + 1),
.page-template-howtocategory .content .how-to-list > div:hover:nth-of-type(2n + 1) {
  transform: scale(1.02) rotate(1deg);
}
.page-template-howtos .content .how-to-list > div:hover:nth-of-type(2n),
.page-template-howtocategory .content .how-to-list > div:hover:nth-of-type(2n) {
  transform: scale(1.02) rotate(-1deg);
}

@media screen and (min-width: 1200px) {
  .page-template-howto .parallax-back,
  .page-template-glossary .parallax-back {
    transform: translateZ(-2px) scale(3);
  }
}
.page-template-howto details,
.page-template-glossary details {
  animation: fadeIn 0.5s ease-in-out;
}
.page-template-howto details:not(.mobile-menu details),
.page-template-glossary details:not(.mobile-menu details) {
  padding: 2rem 0 0;
}
.page-template-howto details summary,
.page-template-glossary details summary {
  list-style: none;
}
.page-template-howto details summary::-webkit-details-marker,
.page-template-glossary details summary::-webkit-details-marker {
  display: none;
}
.page-template-howto details summary span,
.page-template-glossary details summary span {
  background-image: url("/assets/img/rectangle-1.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 0.5rem 1rem 0.4rem;
  color: black;
  margin-bottom: -1rem;
  font-size: 2rem;
}
.page-template-howto details summary span::after,
.page-template-glossary details summary span::after {
  content: ">";
  display: inline-block;
  padding-left: 1rem;
  transform: rotate(90deg) translate(-0.5rem, 0);
  transition: 0.3s cubic-bezier(0.8, 0.5, 0.2, 1.4);
}
.page-template-howto details[open] summary span::after,
.page-template-glossary details[open] summary span::after {
  transform: rotate(-90deg) translate(-0.5rem, 0);
}
.page-template-howto details .detail-content,
.page-template-glossary details .detail-content {
  background-color: white;
  color: black;
  margin: -1rem -2rem 0;
  padding: 2rem 2rem 1rem;
}
@media screen and (min-width: 900px) and (orientation: landscape) {
  .page-template-howto details .detail-content,
  .page-template-glossary details .detail-content {
    padding: 2rem 4rem;
  }
}
@media screen and (min-width: 1200px) {
  .page-template-howto details .detail-content,
  .page-template-glossary details .detail-content {
    margin: -1rem -4rem 0;
  }
}
.page-template-howto details .detail-content .toc,
.page-template-glossary details .detail-content .toc {
  padding: 1rem 0 2rem;
}
.page-template-howto details .detail-content .toc li,
.page-template-glossary details .detail-content .toc li {
  list-style: none;
  font-size: var(--font-size);
  padding-bottom: 0.5rem;
}
.page-template-howto details .detail-content .block-text,
.page-template-glossary details .detail-content .block-text {
  padding: 0;
  background-color: unset;
}
.page-template-howto details .detail-content .block-text h2, .page-template-howto details .detail-content .block-text h2 strong,
.page-template-glossary details .detail-content .block-text h2,
.page-template-glossary details .detail-content .block-text h2 strong {
  padding: 2rem 0 1rem;
}
.page-template-howto details .detail-content h2,
.page-template-glossary details .detail-content h2 {
  color: black;
}
.page-template-howto details .detail-content p,
.page-template-glossary details .detail-content p {
  padding: 1rem 0;
  font-family: var(--font-text);
  font-size: var(--font-size);
}
.page-template-howto details .detail-content a,
.page-template-glossary details .detail-content a {
  color: black;
  box-shadow: inset 0 -0.4em 0 var(--color-secondary);
  font-family: var(--font-text);
}
.page-template-howto details .detail-content a:hover,
.page-template-glossary details .detail-content a:hover {
  box-shadow: inset 0 -0.6em 0 #fff59d;
}

@media screen and (min-width: 900px) and (orientation: landscape) {
  .page-template-glossary .glossary {
    padding-top: 2rem;
  }
}
.page-template-glossary .glossary .alphabet-item {
  font-family: var(--font-logo);
  font-size: 1.9rem;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  line-height: 0.9;
}
.page-template-glossary .glossary .alphabet-item:not(.empty):hover {
  color: var(--color-primary);
  transition: all 0s ease-in-out;
  transform: scale(1.3);
}
.page-template-glossary .glossary .alphabet-item.empty {
  opacity: 0.5;
  cursor: default;
}
.page-template-glossary .glossary .alphabet-item.active {
  color: var(--color-secondary);
  transition: all 0s ease-in-out;
  border-bottom: none;
  transform: scale(1.6);
  translate: 0 6px;
}
.page-template-glossary .glossary .glossary-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.page-template-glossary .glossary .glossary-list a {
  border-bottom: none;
  box-shadow: none;
}
.page-template-glossary .glossary .glossary-content {
  min-height: 50vh;
}
.page-template-glossary .glossary .glossary-content .glossary-entry-list .glossary-entry {
  cursor: pointer;
  font-family: var(--font-semi-condensed-medium-italic);
  color: var(--dark-purple);
  padding: 0.5rem 0;
}
.page-template-glossary .glossary .glossary-content .glossary-entry-list .glossary-entry:hover {
  color: var(--color-secondary);
}
.page-template-glossary .glossary .glossary-content .glossary-entry-list .glossary-entry.active {
  color: var(--color-text);
}
.page-template-glossary .glossary .glossary-content .glossary-entry-content {
  padding-top: 2rem;
}
@media screen and (min-width: 900px) and (orientation: landscape) {
  .page-template-glossary .glossary .glossary-content .glossary-entry-content {
    padding-top: 0;
  }
}
.page-template-glossary .glossary .glossary-content .glossary-entry-content h1:first-of-type,
.page-template-glossary .glossary .glossary-content .glossary-entry-content h2:first-of-type {
  padding-top: 0;
}
.page-template-glossary .glossary .cloud img {
  width: auto;
  max-width: 100%;
}

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