:root {
  color-scheme: light dark;
  /* --accent: #007acc; */
  --accent: #6F8928;
  --text: #222;
  --bg: #fff;
  --muted: #828282;
}

body {
  /* width: auto; */
  /* padding: auto; */
  text-align: center;
  margin: 0;
  /* min-height: 100vh; */
  display: grid;
  place-items: center;
  background: Canvas;
  color: CanvasText;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  transition: background .3s, color .3s;
  /* background: no-repeat url("/images/sprenkel-schwarz.png"); */
  justify-content: center;
  margin: 0;
  padding: 0;
  background-color: Canvas;
  color: CanvasText;
  /* notch */
  padding-top: env(safe-area-inset-top);
  padding-right: env(safe-area-inset-right);
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: env(safe-area-inset-left);


}



body::before {

  content: "";
  position: fixed;
  inset: 0;
  background: url("/images/sprenkel-schwarz.png");
  background-size: cover;
  mix-blend-mode: multiply;
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
}
 .abstand {
  margin: 20px auto 5px auto;
}

a {
  color: CanvasText;
  text-decoration: underline;
  transition: opacity .2s;
  /* margin-left: 1rem; */
  font-weight: 500;
}

a.active{
  color: LinkText;
}
a:hover {
  opacity: 0.7;
}
a {
  margin: 0.5rem auto;
}

.text {
  background-color: Canvas;
  text-align: left;
  font-size: medium;
  padding: 2em;
  /* min-width: 400px; */
  max-width: 800px;
  border-radius: 0.5rem;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);

   margin: 4% auto;

}

.cite {
  text-align:center;
  text-decoration: underline;
  text-shadow: var(--accent) 1px 0 5px;
  /* font-size: small; */
  border-left: 2px solid var(--accent);
  /* margin-bottom: 0; */
    margin-left: 0; 
  padding-left: 15px;
  /* opacity: 0.3; */
}

.credit {
  text-align:center;
  font-size: small;
  /* border-left: 2px solid currentColor; */
  /* margin-bottom: 0; */
  margin-left: 0; 
  padding-left: 15px;
  opacity: 0.3;
}

/* main {
    width: auto;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: color-mix(in srgb, Canvas 90%, CanvasText 5%);
  } */
.articles {
  margin: 3% 0;
  display: flex;
  /* flex: 1 1 300px; */
  flex-direction: row;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
  /* background: color-mix(in srgb, Canvas 100%, CanvasText 0%); */
}

article {
  flex: 1 1 300px;
  /* mindestens 300px breit, wächst flexibel */
  max-width: 400px;
  /* aber nicht zu groß */
  margin: 1% auto;
  padding: 1.5rem;
  border-radius: 1rem;
  
}

.card {
  width: auto;
  /* margin: 5% 2%; */
  /* padding: 1rem; */
  border-radius: 0.5rem;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
  background: color-mix(in srgb, Canvas 95%, CanvasText 2%);
}


@media (max-width: 600px) {
  body::before {
    background-size:  auto;
    /* kleinere Sprenkel */
    /* opacity: 0.15; */
    /* etwas dezenter */

    background: no-repeat url("/images/sprenkel-schwarz.png"); 
  }

  /* .articles {
      flex-direction: column;
      flex-wrap: wrap;
    } */
}

.logo {
  /* padding: 1em; */
  width: 100%;
  min-width: 300px;
  max-width: 800px;
  /* height: auto; */
  /* margin-bottom: 1.7rem; */
  color: currentColor;
  transition: color .3s;
}


p {
  /* margin: 0.25rem 0 1.5rem; */
  opacity: 0.9;
  color: currentColor;
}


.overlap1 {
  font-size:2.5em;
  min-width: 100px;
  white-space: nowrap;
}
.overlap2 {
  font-size:1.8em;
  min-width: 100px; 
  margin: -1em auto 10px;  
  opacity: 0.5;
}



/* Footer */
footer {
padding: 1% 0 8%;
  /* padding: 0 0; */
  /* background: #fafafa; */
  color: currentColor;
  
  opacity: 0.7;
}

.content {
  margin: 2% auto;
  width: 60%; 
  min-width: 100px;
  padding: 3% ;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.flex{
  display: flex;
    justify-content: center;
    white-space: nowrap;
}


.divider {
  border-top: 1px solid currentColor; 
  width: 70%; 
  margin: 100px 0 40px;
}

.maintenance-marquee {
  width: 100%;
  min-width: 380px;
  overflow: hidden;
  white-space: nowrap;
  background: var(--muted);
  opacity: 0.7;
  color: Canvas;

}

.maintenance-marquee h3 {
  font-size:1.1em;
  display: inline-block;
  padding-left: 100%;
  animation: marquee 12s linear infinite;
  animation-play-state: running;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.effect {
  display: inline-block; 
  animation: effect-shake 2s infinite;
  text-decoration: underline;
  text-shadow: var(--accent) 1px 0 5px;

}


@keyframes effect-shake {
  0%, 100% { transform: translateX(0); }
  2% { transform: translateX(-3px); }
  4% { transform: translateX(3px); }
  6% { transform: translateX(-2px); }
  8% { transform: translateX(2px); }
}