@font-face {
  font-family: "ABCOracle";
  src: url(/assets/fonts/ABCOracleTriple-Book.woff2);
}

body {
  font-family: "ABCOracle";
  margin: 0;
  color: var(--color-white);
  background: var(--color-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --color-gray: #464646;
  --color-white: #f2f1f0;
  --color-black: #191919;
}

* {
  margin: 0;
  padding: 0;
}

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

*::-webkit-scrollbar {
  display: none;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s, background-color 0.2s;
}

button {
  cursor: pointer;
  border: none;
  color: inherit;
  font: inherit;
  background: none;
  appearance: none;
  transition: color 0.2s;
  text-align: left;
}

nav {
  display: flex;
  width: 100%;
  font-size: 0.9rem;
  text-transform: uppercase;
  position: fixed;
  z-index: 10;
  gap: 1px;
  margin-top: 40px;
  pointer-events: none;

  & a {
    position: relative;
    padding: 0px 60px 5px 5px;
    background-color: var(--color-black);
    text-decoration: none;
    color: var(--color-white);

    &::after {
      content: "";
      position: absolute;
      left: 5px;
      bottom: 5px;
      width: calc(100% - 10px);
      height: 1px;
      background-color: var(--color-white);
    }

    &:hover {
      color: var(--color-gray);
    }

    &:hover::after {
      background-color: var(--color-gray);
    }
  }

  & .nav-pages {
    justify-content: center;
    width: 50%;
    display: flex;
    background-color: var(--color-black);
    pointer-events: auto; /* Aktiviert Mausereignisse für die Links */
  }

  & .nav-links {
    justify-content: center;
    width: 50%;
    display: flex;
    background-color: var(--color-black);
    pointer-events: auto; /* Aktiviert Mausereignisse für die Links */
  }
}

.active {
  color: var(--color-gray);
  &::after {
    background-color: var(--color-gray);
  }
}

.news-press {
  display: flex;
  flex-direction: column;
  margin-inline: auto;
  padding-top: 100px;
  justify-content: center;
}

.item:last-child {
  margin-bottom: 120px;
}

.noLink-item,
.link-item {
  text-align: center;
  max-width: 640px;
  /* max-width: 500px; */
  margin-inline: auto;
  margin-bottom: 40px;
}

.link-item {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: inherit;
  text-decoration-thickness: 1px;
  &:hover {
    color: var(--color-gray);
  }
}

.date {
  font-size: 0.9rem;
}

.title {
  font-size: 1.4rem;
  text-transform: uppercase;
}

.text {
  font-size: 1.1rem;
}

#pdfViewer {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 100%;
  gap: 2px;
  margin-inline: auto;
  padding-top: 80svh;
  opacity: 0.99;
}

canvas {
  width: 75%;
  margin-inline: auto;
  height: auto;
}

.canvas-hidden {
  transform: skewX(5deg);
  /* transform: skewX(5deg); */
  transition: transform 0.3s ease-in-out;
}

.canvas-visible {
  transform: skewX(0deg);
}

.n1 {
  display: block;
  color: var(--color-white);
  top: 10%;
  right: 50px;
  bottom: 100px;
  left: 61px;
  font-size: 3.5vw;
  line-height: 1.4;
  filter: url(#n1);
  position: fixed;
  z-index: -1;
}

.n2 {
  display: none;
}

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

.back-button {
  position: fixed;
  z-index: 100;
  top: 10px;
  right: 12px;
  color: var(--color-white);
  border: none;
  padding: 13px 15px 0px 15px;
  font-size: 2rem;
  cursor: pointer;
}
.back-button:hover {
  color: var(--color-gray);
}

@media (max-width: 1400px) {
  nav {
    display: flex;
    flex-direction: column;
    height: calc(100% - 100px);
    justify-content: space-between;
    width: 100%;
    font-size: 0.9rem;
    text-transform: uppercase;
    position: fixed;
    z-index: 10;
    gap: 1px;
    margin-top: 40px;

    & a {
      padding: 0px 40px 5px 5px;
    }

    & .nav-pages {
      justify-content: center;
      width: 100%;
      display: flex;
      background-color: var(--color-black);
    }

    & .nav-links {
      justify-content: center;
      width: 100%;
      display: flex;
      background-color: var(--color-black);
    }
  }

  .news-press {
    padding-inline: 10px;
  }
}

@media (max-width: 900px) {
  nav {
    height: calc(100% - 70px);
    margin-top: 35px;
    font-size: 0.8rem;
  }

  canvas {
    width: 100%;
  }

  #pdfViewer {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 2px;
    margin-inline: auto;
    padding-top: 85svh;
    opacity: 0.99;
  }

  .canvas-hidden {
    transform: skewX(0deg);
    transition: transform 0.3s ease-in-out;
  }

  .canvas-visible {
    transform: skewX(0deg);
  }

  .n1 {
    display: none;
  }

  .n2 {
    display: block;
    color: var(--color-white);
    top: 60px;
    right: 0px;
    bottom: 100px;
    left: 0px;
    transform: translateX(-15px);
    font-size: 10vw;
    line-height: 1.4;
    filter: url(#n2);
    position: fixed;
    z-index: -1;
  }

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

  .date {
    font-size: 0.8rem;
  }

  .title {
    font-size: 1.4rem;
    text-transform: uppercase;
  }

  .text {
    font-size: 1rem;
  }

  .back-button {
    position: fixed;
    z-index: 100;
    top: 10px;
    right: 10px;
    color: var(--color-white);
    border: none;
    padding: 11px 15px;
    font-size: 1.75rem;
    cursor: pointer;
  }
}

@media (max-width: 375px) {
  nav {
    & a {
      padding: 0px 10px 5px 5px;
    }
  }
}
