@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

:root {
  --base-clr: #ffffff;
  --line-clr: #42434a;
  --hover-clr: #6e7075;
  --text-clr: #202022;
  --texthover-clr: white;
  --accent-clr: #f8693e;
  --secondary-text-clr: #777575;
  --sidebar-clr: #ffffff;
}
* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  cursor: auto;
}

html {
  font-family: Poppins, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5rem;
}

body {
  min-height: 100vh;
  min-height: 100dhv;
  background-color: #f4f4f4;
  color: var(--text-clr);
  display: grid;
  grid-template-columns: auto 1fr; /*für Sidebar */
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
}

@keyframes fadeInBackground {
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

main {
  padding: min(25px, 7%);
  margin-right: 15px;
}
main p {
  color: var(--text-clr);
  margin-top: 5px;
  margin-bottom: 15px;
}

#container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  line-height: 1.1rem;
  height: auto;
  border-radius: 1em;
  margin-top: 25px;
  margin-bottom: 25px;
  margin-left: 25px;
  padding: min(2em, 10%);
  color: var(--text-clr);
  text-align: center;
  opacity: 0;
  animation: fadeInBackground 1s ease-in forwards;
  h1 {
    margin-top: 0.5em;
    color: var(--accent-clr);
    text-shadow: 0px 1px 3px rgb(119, 118, 118);
  }
}

#containerinhalt {
  margin-top: 60px;
}

.main {
  position: relative;
}

.s_hervorheben {
  font-weight: 600;
}
.l_hervorheben {
  font-weight: 450;
}

.watermark {
  position: fixed;
  top: 50%;
  left: calc(50% + 120px);
  transform: translate(-50%, -50%);
  font-size: 100px;
  color: rgba(0, 0, 0, 0.1); /* Sehr hell, transparent */
  pointer-events: none; /* Klicks durchlaufen lassen */
  z-index: 119999; /* Immer im Vordergrund */
  white-space: nowrap;
  opacity: 6%;
  transition: all 0.4s ease;
}

#sidebar.close ~ .watermark {
  left: calc(50% + 24px);
}

.downloadpdf {
  margin-top: 20px;
  background: #318ac5;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 6px 8px;
  cursor: pointer;
  transition: background 0.2s;
  text-transform: uppercase;
  margin-bottom: 30px;
  box-shadow: 5px 2px 10px rgba(58, 57, 57, 0.8);
}

.downloadpdf:hover {
  background: #005fa3;
}

/* -----------------------SMARTPHONE ANSICHT--------------------------------- */
@media (max-width: 768px) {
  body {
    grid-template-columns: 1r;
  }
  .swiper-navBtn {
    display: none;
  }
  main {
    padding: 2em 1em 60px 1em;
  }
  .container {
    border: none;
    padding: 10px;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .slider-wrapper {
    margin: 0 10px 40px;
  }

  .slider-wrapper .swiper-slide-button {
    display: none;
  }

  .watermark {
    position: fixed;
    top: 50%;
    left: calc(50%);
    transform: translate(-50%, -50%);
    font-size: 100px;
    color: rgba(0, 0, 0, 0.1); /* Sehr hell, transparent */
    pointer-events: none; /* Klicks durchlaufen lassen */
    z-index: 119999; /* Immer im Vordergrund */
    white-space: nowrap;
    opacity: 6%;
    transition: all 0.4s ease;
  }
  .watermark img {
    width: 300px;
  }
  #containerinhalt h1{
    font-size: 22px;
  }
  #containerinhalt{
    width: 280px;
   
    
  }
}
