:root {
  --color-background: #fbfaf7;
  --color-text: #191918;
  --color-muted: #74706a;
  --color-accent: #9b4635;

  --primary: #f5a723;
  --secondary: #f9e0c5;
  --background: #fffdf9;
  --surface: #fdf1e4;
  --text: #222222;
  --accent: #34495e;
  --max: 1400px;
  --font: "Inter";

  --font-family-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}
@font-face {
  font-family: "Special_Elite";
  src: url(Fonts/Special_Elite/SpecialElite-Regular.ttf);
}
@font-face {
  font-family: "Inter";
  src: url(Fonts/Inter_18pt-Regular.ttf);
  src: url(Fonts/Inter_18pt-Regular.woff);
  src: url(Fonts/Inter_18pt-Regular.woff2);
}

* {
  box-sizing: border-box;
  margin: 0;
}
body {
  background: var(--background);
  color: var(--color2);
  font-family: ;
  font-family: var(--font);
}
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  z-index: 20;
}
.logo,
.switches button {
  display: grid;
  width: 3rem;
  aspect-ratio: 1;
  place-items: center;
  padding: 0;
  border: none;
  background: none;
  backdrop-filter: blur(2px);

  cursor: pointer;
}
.switches {
  gap: 1em;
  display: flex;
  flex-direction: column;
}

main {
  max-width: var(--max);
  margin: auto;
}
.view {
  display: none;
}
.view.active {
  display: block;
}
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: min(90vw, 900px);
  margin: auto;
}
.hero h1,
.hero h2 {
  font-size: clamp(2.8rem, 8vw, 7rem);
  font-weight: 300;
  font-family: "Special_Elite";
}
h1 {
  position: relative;
}

.hero h1 span {
  display: flex;
  justify-content: flex-end;
  margin-bottom: -4rem;

  font-size: clamp(0.8rem, 2vw, 1rem);
}
.hero p {
  margin-top: 1rem;
  color: var(--color3);
  font-family: "Special_Elite";
  font-size: clamp(1.1rem, 2.5vw, 2.5rem);
}
.gallery {
  display: flex;
  align-items: center;

  gap: 4rem;
  overflow-x: auto;
  padding: 2rem max(5vw, calc((100vw - 1200px) / 2)) 5rem;
  scroll-snap-type: x mandatory;
}
.gallery::-webkit-scrollbar {
  display: none;
}

.gallery-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  cursor: grab;
  user-select: none;
  scrollbar-width: none;
  padding: 2rem 8vw;
}
.gallery-track::-webkit-scrollbar {
  display: none;
}
.gallery-track.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.gallery-item {
  flex: 0 0 var(--item-width, 60vw);
  opacity: 0.35;
  transform: scale(0.92);
  filter: saturate(0.75);
  transition: 0.45s;
  scroll-snap-align: center;
}
.gallery-item.is-active {
  opacity: 1;
  transform: scale(1.03);
  filter: none;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
}
.gallery-item:hover.is-active {
  transform: scale(1.05);
}
.gallery-item p {
  opacity: 0.45;
  transition: 0.35s;
}
.gallery-item.is-active p {
  opacity: 1;
}
.gallery-item img {
  width: 100%;
  pointer-events: none;
  display: block;
}
.card {
  flex: 0 0 var(--w);
  opacity: 0.45;
  transform: scale(0.93);
  transition: 0.35s;
  scroll-snap-align: center;
}
.card.active,
.card:hover {
  opacity: 1;
  transform: scale(1);
}
.large {
  --w: min(65vw, 80000px);
}
.medium {
  --w: min(45vw, 500px);
}
.small {
  --w: min(25vw, 320px);
}
.card img,
.card video {
  width: 100%;
  display: block;
  border-radius: 10px;
}
.card h3 {
  text-align: center;
  margin-top: 0.8rem;
  color: var(--color3);
}
.content {
  width: min(88vw, 760px);
  margin: 0 auto 6rem;
  line-height: 1.8;
}
.logo-container {
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
}
#logo-animation {
  width: 300px;
  height: 300px;
}
#socialMedia {
  display: flex;
  height: 20vh;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 0;
  margin: 0;
  margin-top: 4rem;
}
.social {
  display: flex;

  justify-content: center;
  align-items: center;

  width: 3rem;
  height: 3rem;

  border: 3px solid var(--primary);

  border-radius: 50%;

  flex-shrink: 0;
}

.social img {
  width: 90%;

  height: auto;

  display: block;
}
#rechtliches {
  margin-top: 10rem;
  padding: 0.2rem;
}
#rechtliches p {
  padding: 1rem 0;
}
#rechtliches li {
  list-style-position: inside;
}
hr {
  margin: 2rem 0;
}

footer {
  position: relative;
  min-height: 30vh;

  margin: 0;
  padding: 0;
}
.m {
  width: 100vw;
  display: flex;
  justify-content: center;

  margin-top: 4rem;
}
.rule {
  position: relative;

  bottom: 0;
  left: 0;
  height: 6px;
  background: var(--primary);
  transform-origin: left;
  animation: scroll linear both;
  animation-timeline: scroll(block nearest);
}
@keyframes scroll {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

footer a {
  text-decoration: none;
  color: var(--color-text);
  padding-top: 4rem;
}
footer a:hover {
  color: var(--primary);
}
.copyright {
  position: absolute;
  bottom: 1rem;
  left: 2rem;
}
@media (max-width: 768px) {
  .large,
  .medium,
  .small {
    --w: 82vw;
  }
  .hero {
    min-height: 100svh;
  }
  .gallery {
    margin: 0;
  }
  .hero h1 span {
    margin-bottom: -2.8rem;
  }
}
