@font-face {
  font-family: 'SelectaTrial';
  src: url('fonts/SelectaTrial-Bold.woff2') format('woff2'),
    url('fonts/SelectaTrial-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'SelectaTrial';
  src: url('fonts/SelectaTrial-Medium.woff2') format('woff2'),
    url('fonts/SelectaTrial-Medium.woff') format('woff');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'SelectaTrial';
  src: url('fonts/SelectaTrial-Regular.woff2') format('woff2'),
    url('fonts/SelectaTrial-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'SelectaTrial';
  src: url('fonts/SelectaTrial-Light.woff2') format('woff2'),
    url('fonts/SelectaTrial-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'SelectaTrial';
  src: url('fonts/SelectaTrial-Thin.woff2') format('woff2'),
    url('fonts/SelectaTrial-Thin.woff') format('woff');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'SelectaVFI_Upright';
  src: url('fonts/SelectaVFI_Upright.ttf') format('ttf'),
  url('fonts/SelectaVFI_Upright.woff2') format('woff');
  font-weight: 100 900;
  font-style: normal;
}

:root {
  --main-color: #35065C;
}

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

main * {
  user-select: none;         /* Standard */
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* Internet Explorer/Edge */
}

html {
  font-size: 19px;
}

body {
  font-family: 'SelectaVFI_Upright';
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: always;
  margin: 0 auto;
  height: 100%;
  overflow: hidden;
  /* Prevents body scroll */
  max-width: 600px;
}

section {
  position: relative;
  padding: 14px 20px;
  background-color: white;
  z-index: 1;
  flex: 1;

  display: flex;
  flex-direction: column;
}

.scroll-indicator {
  align-self: center;
  margin-top: auto;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.scroll-indicator.fade-out {
  opacity: 0;
}

h1,
h2 {
  margin: 0;
}

h1 {
  font-weight: 550;
  font-size: 29px;
  line-height: 1.05;
  padding-bottom: .1em;

  max-width: 80%;
  display: -webkit-box;
  -webkit-line-clamp: 2;       /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

}

h2 {
  font-weight: 400;
  font-size: 17px;
  line-height: 1.1666666667;
  margin-top: 0.75em;
}

h3,
p {
  hyphens: auto;
}

h3 {
  font-weight: 440;
  font-size: 24px;
  line-height: 1.1666666667;
  margin-bottom: 83px;

}

h4 {
  font-weight: 600;
  font-size: 23px;
  line-height: 1.1666666667;
  margin-bottom: 10px;
}

p {
  font-weight: 400;
  line-height: 1.3157894737;
  margin-block-start: 0;
  margin-block-end: 1em;
}


figure.parallax-cover {
  /* position: sticky;
  top: 0; */
  margin: 0;
  aspect-ratio: 3 / 4;
  transition: aspect-ratio 1s;
  background-color: black;
  

  &.blur {
    filter: blur(24px);
  }

  img,
  video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background-color: black;
  }
}



figcaption {
  position: absolute;
  inset: auto 20px 20px 20px;
  display: flex;
  height: 20px;
  background-size: 12px;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22.5 22.5'%3E%3Cg transform='translate(-.8 -.8)' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5'%3E%3Ccircle data-name='Ellipse 1' cx='10' cy='10' r='10' transform='translate(2 2)'/%3E%3Cpath data-name='Linie 8' d='M12 16v-4'/%3E%3Cpath data-name='Linie 9' d='M12 8h0'/%3E%3C/g%3E%3C/svg%3E");
}

.parallax-header {
  will-change: transform;
  position: relative;
}

.card-header {
  display: flex;
  flex-direction: column;
  height: calc(100dvh - var(--cover-height));
}

body {
  height: 100dvh;
  display: flex;
  overflow-y: hidden;
  width: 100%;
  overscroll-behavior-y: none;
}

.note {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 14px 20px;
  font-weight: normal;
  font-size: small;
}

footer {
  background-color: white;
  padding: 40px 20px;
}

.brand {
  display: grid;
  grid-template-columns: 65px 1fr;
  line-height: 0.9;
  align-items: end;
  gap: 0.710em;
  font-size: 0.75rem;
  font-weight: bold;
}

.brand svg {
  width: 100%;
}

.brand small {
  font-size: 0.65em;
}

main {
  background-color: white;
  /*Prevents flickering left and right on ios*/
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}

.content-section a {
  border-bottom: 1px solid #EB440C;
  color: #000;
  text-decoration: none;
}

.content-section a::after {
  content: '';
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-left: 0.1em;
  background-size: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' class='feather feather-link'%3E%3Cpath d='M10 13a5 5 0 0 0 7.5.5l3-3a5 5 0 0 0-7-7l-1.8 1.7'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.5-.5l-3 3a5 5 0 0 0 7 7l1.7-1.7'/%3E%3C/svg%3E");
}

/* Set body to have horizontal scrolling and enable snap functionality */
.scroll-container {
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  overscroll-behavior: none;


  /* Firefox */
  scrollbar-width: none;

  /* IE and Edge */
  -ms-overflow-style: none;

  /* Webkit-based browsers (Chrome, Safari, etc.) */
  &::-webkit-scrollbar {
    display: none;
  }
}

/* Each main element takes up 100% of the viewport width */
main {
  scroll-snap-stop: always;
  /* Prevents skipping over cards */
  scroll-snap-align: start;
  flex: none;



  /* Firefox */
  scrollbar-width: none;

  /* IE and Edge */
  -ms-overflow-style: none;

  /* Webkit-based browsers (Chrome, Safari, etc.) */
  &::-webkit-scrollbar {
    display: none;
  }
}

.path,
.path-2,
.path-3 {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: dash 2s 1000ms ease-in-out forwards;
}

.shape {
  animation: hide 100ms 3000ms ease-in-out forwards;
}

@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes hide {
  to {
    opacity: 0;
  }
}


#loading-screen {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: hide 350ms 5000ms ease-in-out forwards;
}

#loading-screen .brand {
  grid-template-columns: 1fr;
  align-items: start;
  position: absolute;
  inset:33% 100px 0 100px;
  z-index: 1;
  font-size: 1.3rem;
  font-weight: 500;
  opacity: 0;
  color: white;
  animation: show-brand 250ms 3100ms ease-in-out forwards;

  svg {
    width: 100%;
  }
}

.animation-container {
  scale: 1;
  rotate: 0deg;
  animation: hide-loader 350ms 5000ms ease-in-out forwards, 
  size-up 350ms 3000ms ease-in-out forwards/*, 
  rotate 2000ms 3000ms ease-in-out forwards;*/
}

.animation-container svg {
  width: 90vw;
  max-height: 100vh;
}

blockquote {
  margin-block-start: 0;
  font-family: "Special Elite", serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  color: transparent;
  margin-block: 4.33em;
  margin-inline: 0.5em;
  text-indent: 1rem;
  /* Make text initially invisible */
}

/* Each letter will be wrapped in a span */
.text b {
  font-weight: normal;
  transition: color 0s linear;
  color: white;
  /* Start with white color */
}

/* Active class to change the letter color to black */
.text b.b {
  color: black;
}

.text mark b.b {
  color: rgb(226, 0, 0);
}

@keyframes size-up {
  to {
    scale: 3;
  }
}

@keyframes rotate {
  to {
    rotate: -30deg;
  }
}

@keyframes hide-loader {
  to {
    opacity: 0;
    scale: 10;
  }
}

@keyframes show-brand {
  to {
    opacity: 1;
  }
}

.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 500ms cubic-bezier(.85, 0, .15, 1);
}

.accordion-content[aria-hidden="false"] {
  grid-template-rows: 1fr;
}

.accordion-content>div {
  overflow: hidden;
}

.accordion-trigger {
  text-transform: uppercase;
  font-size: small;
  letter-spacing: 2px;
  appearance: none;
  width: 100%;
  background-color: transparent;
  border: none;
  text-align: left;
  padding-left: 0;
  color: black;
}

main {
  position: relative;
}

.iconbar {
  pointer-events: none;
  z-index: 10;
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: end;
  gap: 20px;
  padding: 20px;
  color: white;
  filter: drop-shadow(0 0 10px rgb(113, 113, 113));
  width: 100%;
  aspect-ratio: 3 / 4;
}

.iconbar {
  opacity: 1;
  /* Fully visible by default */
  transition: opacity 0.3s ease;
  /* Smooth fade-out transition */
}

.icon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.icon-wrapper::before {
  content: "";
  position: absolute;
  top: -20px;
  bottom: -20px;
  left: -20px;
  right: -20px;
}

.iconbar svg {
  pointer-events: all;
  display: block;
  background-color: transparent;
}


.iconbar .navigator {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.iconbar .navigator .icon-wrapper:only-child {
  margin-left: auto;
}

.iconbar .navigator .navigator_next {
  margin-left: auto;
}

#poste-1 .iconbar .navigator .navigator_previous {
  display: none;
}


.iconbar .search {
  margin-bottom: auto;
  position: sticky;
  top: 20px;
}

mark {
  color: rgb(226, 0, 0);
}

.button-group {
  display: flex;
  flex-direction: column;
}

.direct-links {
  margin-top: 4rem;
}

button {
  color: inherit;
  font-size: .875rem;
  letter-spacing: 0;
  line-height: 1.25rem;
  align-items: center;
  display: flex;
  background: none;
  border: none;
  border-top: 1px solid rgb(230, 230, 230);
  width: 100%;
  justify-content: space-between;
  padding: .5rem 0.5rem 0.5rem 0;
  transition: background-color .25s cubic-bezier(.4, 0, .2, 1);
}



.swipe-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 20px 20px;
  text-align: center;
  border-radius: 20px;
  font-size: 18px;
  z-index: 1000;
  opacity: 1;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
 
.swipe-message.hide {
  opacity: 0;
}

.overlay-navigation {
  position: fixed;
  z-index: 99999;
  background-color: white;
  inset: auto 10px 10px 10px;
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
  pointer-events: none; /* Prevent interaction when hidden */

  &.overlay-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  
  ul {
    margin: 2px 0;
    list-style: none;
    padding: 0;

    &>* {
      border-bottom: 1px solid rgb(230, 230, 230);
      
          &:last-child {
            border-bottom: none;
          }
    }


    a {
      display: block;
      text-decoration: none;
      color: inherit;
    }
  
    li {
      position: relative;
      padding: 20px;
    }
  }
}

.search-modul {
  position: fixed;
  display: flex;
  flex-direction: column;
  z-index: 99999;
  background-color: white;
  inset: 10px 10px 10px 10px;
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
  pointer-events: none; /* Prevent interaction when hidden */
 
  &.overlay-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .overlay-close-button {
    display: block;
    z-index: 999;
    position: absolute;
    top: 10px;
    right: 15px;
    width: 1.5rem;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
  }

  .search-wrapper {
    display: block;

    input[type="search"] {
      font-family: inherit;
      display: block;
      width: 100%;
      border-radius: 20px 20px 0 0;
      background-color: white;
      border: none;
      padding: 20px;
      font-size: 1rem;
    }
  }

  .search-result {
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow: auto;
    * {
      text-align: left;
    }

    h1 {
      font-size: 23px;
    }

    h1, h2 { 
      max-width: 100%;
      hyphens: none;
      margin-block: 0;
    }
  }

}



.survey-panel {
  color: white;
  padding: 20px;
  background: linear-gradient(to bottom, #35065C, #35065C 70%, #260541);
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1.2rem;
  justify-content: center;


  .survey-question {
    text-align: center;
    font-weight: 500;
  }

  .survey-answers {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .survey-answer {
    border: none;
    background-color: rgba(255, 255, 255, 1);
    color: black;
    display: block;
    width: auto;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    padding: 14px 30px;
    cursor: pointer;
  }

  .selected-answer {
    background-color: rgba(255, 255, 255, 1) !important;
    color: var(--main-color) !important;
    font-weight: bold;
  }

  .survey-answer:disabled {
    background-color: transparent;
    border: 1px solid white;
    color: white;
    opacity: 0.6;
    cursor: not-allowed;
  }
}
