@font-face {
  font-family: "Rand-Medium";
  src: url("/assets/font/Rand-Medium.woff2") format("woff2");
}

@font-face {
  font-family: "Rand-Bold";
  src: url("/assets/font/Rand-Bold.woff2") format("woff2");
}

:root {
  --border-desktop: 1.8px;
  --border-mobile: 1.8px;
  --opacity: 0.2;
}

* {
  scrollbar-width: 0;
  scroll-behavior: smooth;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: white;
  margin: 0;
  padding: 0;
}

canvas,
embed,
iframe {
  border: 0;
  aspect-ratio: 16/9;
}

body {
  background-color: rgb(239, 239, 239);
  height: 100%;
  font-family: "Rand-Medium";
  margin: 0;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

html {
  height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex-grow: 1;
}

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

a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
  color: inherit;
}

a.list-header {
  cursor: pointer;
}

button {
  color: black;
  background: none;
  outline: none;
  box-shadow: none;
  cursor: pointer;
}

.mobile {
  display: none;
}

.desktop {
  display: block;
}

.eyebrow-filter {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background: rgba(239, 239, 239, 0.9);
  box-shadow: 0 0 25px 35px rgba(239, 239, 239, rgba(239, 239, 239, 0.9));
  -webkit-box-shadow: 0 0 25px 35px rgba(239, 239, 239, 0.9);
  -moz-box-shadow: 0 0 25px 35px rgba(239, 239, 239, 0.9);
  padding-bottom: 15px;
}

.filter-container {
  top: 93px;
  min-height: auto;
  transition: min-height 0.3s ease;
}

.filters {
  margin-inline: 29px;
}

.filter-container.box-shadow {
  background: rgba(239, 239, 239, 1);
  box-shadow: 0 20px 20px 5px rgba(239, 239, 239, rgba(239, 239, 239, 1));
  -webkit-box-shadow: 0 20px 20px 5px rgba(239, 239, 239, 1);
  -moz-box-shadow: 0 20px 20px 5px rgba(239, 239, 239, 1);
}

/* DESKTOP MENU */
@media (min-width: 900px) {
  .menu-container {
    position: fixed;
    z-index: 1000;
    height: 85px;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    background: rgba(239, 239, 239, 1);
    margin-inline: auto;
    max-width: 100%;
  }

  .menu-container.box-shadow {
    box-shadow: 0 0 50px 60px rgba(239, 239, 239, rgba(239, 239, 239, 1));
    -webkit-box-shadow: 0 0 50px 60px rgba(239, 239, 239, 1);
    -moz-box-shadow: 0 0 50px 60px rgba(239, 239, 239, 1);
  }

  body:not(:has(.page-introtext)) .menu-container {
    background: rgba(239, 239, 239, 1);
    box-shadow: 0 0 50px 60px rgba(239, 239, 239, rgba(239, 239, 239, 1));
    -webkit-box-shadow: 0 0 50px 60px rgba(239, 239, 239, 1);
    -moz-box-shadow: 0 0 50px 60px rgba(239, 239, 239, 1);
  }

  .menu:hover .header-logo-desktop {
    transform: translate(-50%, 300%);
    opacity: 0;
    visibility: hidden;
  }

  .menu:hover .nav-header {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
  }

  .header-logo-mobile {
    display: none;
  }

  .nav-header {
    position: fixed;
    width: 60%;
    top: 45px;
    left: 50%;
    transform: translate(-50%, -300%);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  }
}

.nav-footer {
  width: 80%;
  margin-inline: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-bottom: 20px;
}

.menu-footer {
  margin-top: auto;
}

.menu li {
  opacity: var(--opacity);
  margin-inline: 0;
}

.menu-footer li {
  opacity: 0.3;
  margin-inline: 0;
}

.menu li:hover,
.menu-footer li:hover,
.menu li.active,
.menu-footer li.active {
  opacity: 1;
  margin-inline: 0;
}

.hamburger-icon {
  display: none;
}

.video-background-desktop {
  position: fixed;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;

  & img, & video {
    width: 100%;
    height: 100lvh;
    object-fit: cover;
  }
}

.video-background-mobile {
  display: none;
}

.wrapper {
  margin-top: 300px;
  top: 90vh;
  z-index: 1;
}

.wrapper-footer {
  margin-top: 170px;
  margin-bottom: 50px;

  & a {
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 1.5px;
    text-decoration-skip-ink: none;
  }
}

.wrapper-footer-kontakt {
  margin-top: 0;
  margin-bottom: 50px;
}

.first-wrapper { margin-top: 60svh; }
.first-wrapper-younews { margin-top: 45svh; }
.first-wrapper-about { margin-top: 30svh; }

.wrapper-mobile { display: none; }
.wrapper-desktop { display: block; }
.wrapper-themenmonat { margin-bottom: 300px; }

.top-15-wrapper { margin-top: 15px !important; }
.top-50-wrapper { margin-top: 50px !important; }
.top-100-wrapper-desktop, .top-100-wrapper { margin-top: 100px !important; }
.top-130-100-wrapper { margin-top: 130px !important; }

.blur-container, .blur-container-portrait {
  display: flex;
  flex-direction: column;
  margin-bottom: 100px;
  margin-inline: auto;
  max-width: 100%;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background: rgba(239, 239, 239, 0.9);
  box-shadow: 0 0 25px 35px rgba(239, 239, 239, rgba(239, 239, 239, 0.9));
  -webkit-box-shadow: 0 0 25px 35px rgba(239, 239, 239, 0.9);
  -moz-box-shadow: 0 0 25px 35px rgba(239, 239, 239, 0.9);
}

.margin-bottom-100 {
  margin-bottom: 100px;
}

.btn-container {
  display: flex;
  justify-content: center;
  column-gap: 10px;
  flex-wrap: wrap;
}

.title-big-impressionen {
  cursor: pointer;
  margin-top: 2px !important;
}

.backdrop-blur {
  position: fixed;
  z-index: 100000;
  top: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background-color: rgba(239, 239, 239, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
}

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

.impressionen-video video {
  max-width: 90vw;
  max-height: 90svh;
  border-radius: 10px;
}

.filter-wrapper {
  margin-top: 0;
}

.filter-container {
  background: rgba(239, 239, 239, 0.9);
  box-shadow: 0 0 25px 35px rgba(239, 239, 239, rgba(239, 239, 239, 0.9));
  -webkit-box-shadow: 0 0 25px 35px rgba(239, 239, 239, 0.9);
  -moz-box-shadow: 0 0 25px 35px rgba(239, 239, 239, 0.9);
  position: sticky;
  z-index: 10000;
  top: 118px;
  width: 100%;
  margin-bottom: 25px;
}

.filters {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-inline: 16px;

  > * {
    padding-right: 30px;
  }
}

#tags-filter {
  transform: translateY(-115px);
}

.partners-grid {
  width: 100%;
}

.partner-logo {
  width: 100%;
  mix-blend-mode: multiply;
  transform: translateZ(0);
}

.spenden-twint {
  margin-top: 15px;
  background-color: white;
  mix-blend-mode: multiply;
}

.SoMe-footer {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 50px;
  margin-block: 250px;
  font-family: Arial, Helvetica, sans-serif;
}

.SoMe-footer-instagram {
  transform: rotate(18deg);
  transform-origin: center;
  padding: 20px;
  font-size: 50px;
}

.SoMe-footer-tiktok {
  transform: rotate(-10deg);
  transform-origin: center;
  padding: 20px;
  font-size: 70px;
}

body .nav-footer li.active ~ .wrapper {
  margin-top: 200px;
}

.top-20 {
  margin-top: 20px;
}

.privacypolicy ul {
  margin-bottom: 20px;
}

.color-scheme-light {
  background-color: rgb(239, 239, 239) !important;
}

#cookie-banner {
  display: none;
  position: fixed;
  transform: rotate(0deg);
  z-index: 1;
  top: 88%;
  left: 15px;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;

  & a {
    font-size: 14px;
    opacity: 0.3;
    text-underline-offset: 6px;
    text-decoration-thickness: 1.5px;
    text-decoration-skip-ink: none;
  }

  & a:hover {
    opacity: 1;
    text-decoration: underline;
  }
}

.cookie-banner {
  font-size: 16px !important;
  font-family: "Rand-Medium" !important;
  font-weight: 400;
  height: 90px;
  width: 100%;
  background: rgba(239, 239, 239, 1);
  color: black;
  text-align: center;
  align-items: baseline;
  padding: 0 !important;
  height: 45px;
}

.social-btns {
  height: 100%;
  right: 20px;
  margin-top: 30px;
  gap: 6px !important;
  position: fixed;
  z-index: 10000;

  & a {
    background: rgba(239, 239, 239, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    border: var(--border-mobile) solid black;
    width: 45px;
    height: 45px;
    opacity: 1;

    & img {
      width: 65%;
    }
  }
}

.younews-logo {
  z-index: 10000;
  transform: rotate(15deg) translateY(50%);
  position: absolute;
  right: 20px;
  bottom: 43%;
  width: 200px;
  transition: opacity 0.5s ease-out;
}

/* =========================================
   MOBILE BEREICH
   ========================================= */
@media (max-width: 900px) {
  .desktop {
    display: none;
  }

  .mobile {
    display: block;
  }

  .video-background-mobile {
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;

    & img, & video {
      width: 100%;
      height: 100lvh;
      object-fit: cover;
    }
  }

  .video-background-desktop {
    display: none;
  }

  .header-logo-desktop {
    display: none;
  }

  .hamburger-icon {
    display: block;
    position: fixed;
    top: 52px;
    left: 50%;
    transform: translate(-50%);
    z-index: 100000;
    cursor: pointer;

    & img {
      width: 70px;
    }
  }

  .hamburger-icon.hidden {
    display: none;
  }

  .menu {
    top: 53px;
    position: fixed;
    width: 100%;
    height: 0px;
    overflow: hidden;
    z-index: 20000;
  }

  .menu.active {
    height: auto;
    display: block;
    background: rgba(239, 239, 239, 1);
    box-shadow: 0 0 50px 60px rgba(239, 239, 239, rgba(239, 239, 239, 1));
    -webkit-box-shadow: 0 0 50px 60px rgba(239, 239, 239, 1);
    -moz-box-shadow: 0 0 50px 60px rgba(239, 239, 239, 1);
    transition: height 0.5s ease;
  }

  .menu.mobile-font-big {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 20%;
    background-color: rgba(239, 239, 239, 0.9);
    z-index: 999;
    padding-top: 60px;
  }

  body:has(.menu.active) .header-logo-mobile {
    height: 51px;
    box-shadow: 0 0 0px 0px rgba(239, 239, 239, rgba(239, 239, 239, 1));
    -webkit-box-shadow: 0 0 0px 0px rgba(239, 239, 239, 1);
    -moz-box-shadow: 0 0 0px 0px rgba(239, 239, 239, 1);
  }

  .nav-header {
    left: 0%;
    transform: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .nav-header li {
    margin-bottom: 5px;
  }

  .nav-footer {
    width: 100%;
    padding-inline: 16px;
    margin-inline: auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 5px;
  }

  .nav-footer li {
    padding-inline: 20px;
    padding-bottom: 10px;
  }

  .nav-footer li:last-child {
    padding-bottom: 0;
  }

  .wrapper {
    margin-top: 200px;
    z-index: 1;
  }

  .wrapper-footer {
    margin-top: 130px;
    margin-bottom: 50px;

    & a {
      text-decoration: underline;
      text-underline-offset: 5px;
      text-decoration-thickness: 1.5px;
      text-decoration-skip-ink: none;
    }
  }

  .wrapper-footer-kontakt {
    margin-top: 0px;
    margin-bottom: 50px;
  }

  .wrapper-themenmonat {
    margin-bottom: 200px;
  }

  .privacypolicy {
    word-wrap: break-word;
  }

  .filter-wrapper {
    margin-top: 0;
    z-index: 1;
  }

  .wrapper > * {
    padding-inline: 16px;
  }

  .first-wrapper { margin-top: 93svh; }
  .first-wrapper-younews { margin-top: 43svh; }
  .first-wrapper-about { margin-top: 55svh; }

  .wrapper-mobile { display: block; }
  .wrapper-desktop { display: none; }

  .filters {
    display: flex;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 5px;

    > * {
      padding-right: 15px;
    }
  }

  .menu-footer {
    height: auto !important;
    display: block !important;
  }

  .btn-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
  }

  .title-big-impressionen {
    cursor: pointer;
    margin-top: 4px !important;
  }

  .SoMe-footer {
    position: relative;
    width: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 100px;
    transform: translateX(-50%);
    margin-block: 140px;
    font-family: Arial, Helvetica, sans-serif;
    margin-left: 50%;
  }

  .SoMe-footer-instagram {
    transform: rotate(18deg);
    transform-origin: center;
    padding: 0;
    font-size: 40px;
    margin-left: 100px;
  }

  .SoMe-footer-tiktok {
    transform: rotate(-10deg);
    transform-origin: center;
    padding: 0;
    font-size: 60px;
  }

  #cookie-banner {
    display: none;
    position: fixed;
    transform: rotate(0deg);
    z-index: 1;
    font-size: 16px !important;
    top: 80svh;
    right: 5px;
    flex-direction: column;
    gap: 7px;
    justify-content: center;
    align-items: center;

    & a {
      font-size: 13px;
      opacity: 1;
      text-decoration: underline;
      text-underline-offset: 6px;
      text-decoration-thickness: 1.5px;
      text-decoration-skip-ink: none;
    }
  }

  .cookie-banner {
    font-size: 16px !important;
    font-family: "Rand-Medium" !important;
    margin-top: 0px;
    height: 78px;
    min-width: 220px !important;
    width: 100%;
    background: rgba(239, 239, 239, 1);
    color: black;
    text-align: center;
    align-items: baseline;
    padding: 0 !important;
    height: 45px;
  }

  .top-100-wrapper-desktop { margin-top: 0px !important; }
  .top-130-100-wrapper { margin-top: 100px !important; }

  .younews-logo {
    z-index: 10000;
    transform: rotate(15deg) translateY(50%);
    position: absolute;
    left: 20px;
    bottom: 29%;
    width: 150px;
    transition: opacity 0.5s ease-out;
  }

  .social-btns {
    height: 100lvh;
    right: 10px;
    margin-top: 0px;
    gap: 6px !important;
    position: fixed;

    & a {
      background: rgba(239, 239, 239, 1);
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 100%;
      border: var(--border-mobile) solid black;
      width: 45px;
      height: 45px;
      opacity: 1;

      & img {
        width: 65%;
      }
    }
  }
}