/* =========================
   Basis-Layout und Schrift
   ========================= */
html {
    background: #fff;
    border: 0;
    color: #2e414f;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    margin: 5px;
    padding: 0;
}

body {
    background: rgb(0,0,0);
    background-image: radial-gradient(circle farthest-corner at 50.7% 54%, rgba(204,254,152,1) 0%, rgba(229,253,190,1) 92.4%);
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    margin: 5px auto;
    padding: 5px;
    position: relative;
    width: 85%;
}

main { 
    max-width: 680px; 
    margin-left: auto;
    margin-right: auto; 
    line-height: 1.5;
    font-size: 120%;
}

/* =========================
   Links
   ========================= */
a {
    color: #666;
    font-weight: bold;
    text-decoration: none;
}

a:hover { 
    color: #fc75fd;
    text-decoration: none; 
}

/* =========================
   Überschriften
   ========================= */
h1 {
    text-transform: uppercase;
    font-size: 40px;
    color: #f90b6d;
    font-family: "Times New Roman", Times, serif;
    font-weight: normal;
    letter-spacing: 1px;
}
h1 span {
    color: #ccc;
}

/* Für Geräte mit einer Breite bis 700px */
@media (max-width: 700px) {
  h1 {
    font-size: 24px;
  }
}

/* Für sehr kleine Geräte (z.B. Smartphones im Hochformat) */
@media (max-width: 400px) {
  h1 {
    font-size: 18px;
  }
}


h2 {
    text-transform: uppercase;
    font-size: 20px;
    color: #f90b6d;
    font-family: "Times New Roman", Times, serif;
    font-weight: normal;
    letter-spacing: 2px;
}
h2.inverse span {
    display: inline-block; 
    background-color: #ccc;
    padding: 4px 10px 1px;
    margin: 4px 0;
}
h2.inverse span:nth-child(3) {
    background-color: #f90b6d;
}

h4 {
    font-family: "Open Sans", sans-serif;
    font-weight: normal;
    font-size: 13px;
    color: #444;
}

h5 {
    color: #BF4184;
    font-family: "Open Sans", sans-serif;
    font-weight: bold;
    font-size: 12px;
    line-height: 15px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================
   Navigation
   ========================= */
.selectnav {
    display: none;
    cursor: pointer;
    width: 100%;
    padding: 8px;
    height: 37px;
    float: left;
    font-size: 14px;
    margin: 15px 0;
}

#navigation {
    background: #fbf0f1;
    display: block;
    width: 100%;
    float: left;
    max-height: 52px;
    margin: 0 0 5px 0;
}

#navigation ul,
#navigation li {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline;
}

#navigation ul li {
    float: left;
    position: relative;
}

#navigation ul li a { 
    display: inline;
    color: #333;
    text-decoration: none;
    font-family: monospace, monospace;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 5px;
    background: url(../img/basis/navigation-divider.png) no-repeat right 50%;
}

#navigation ul li a:hover {
    background: #7030a0;
    color: #fff;
    transition: all 0.1s ease-in-out;
}

/* =========================
   Slider-Container
   ========================= */
#slider {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 40px auto;
  overflow: hidden;
  border: 5px solid #b0c4de;
  background: radial-gradient(circle farthest-corner at -4.1% 49.8%, rgba(247,127,127,1) 0%, rgba(255,175,90,1) 20.8%, rgba(151,255,114,1) 43.8%, rgba(149,251,255,1) 65.2%, rgba(147,145,255,1) 84.3%, rgba(255,147,248,1) 100.2%);
  box-sizing: border-box;
  height: auto;
  min-height: 200px; /* Fallback für sehr kleine Geräte */
}

/* =========================
   Slider-Container
   ========================= */
#slider {
  aspect-ratio: 17 / 9;              /* Hält das Verhältnis 680:360 */
  width: 100%;
  max-width: 680px;
  margin: 40px auto;
  overflow: hidden;
  border: 5px solid #b0c4de;
  background: radial-gradient(circle farthest-corner at -4.1% 49.8%, rgba(247,127,127,1) 0%, rgba(255,175,90,1) 20.8%, rgba(151,255,114,1) 43.8%, rgba(149,251,255,1) 65.2%, rgba(147,145,255,1) 84.3%, rgba(255,147,248,1) 100.2%);
  box-sizing: border-box;
  position: relative;
}

/* =========================
   Slides
   ========================= */
.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.7s, transform 0.7s;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  outline: none;
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 1;
}

.slide.prev {
  opacity: 0;
  transform: translateX(-100%);
  z-index: 0;
}

/* =========================
   Bilder
   ========================= */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

/* =========================
   Label (Bildunterschrift)
   ========================= */
.label {
  background: hsla(0,0%,100%,0.7);
  color: #2e414f;
  text-align: center;
  font-size: 1.2em;
  width: 100%;
  padding: 10px 0;
  position: absolute;
  left: 0;
  bottom: 0;
  box-sizing: border-box;
  pointer-events: none;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 1px;
}

/* =========================
   Tastaturfokus für Barrierefreiheit
   ========================= */
.slide:focus {
  outline: 3px solid #f90b6d;
  outline-offset: -3px;
}

/* =========================
   Responsive Anpassungen
   ========================= */
@media (max-width: 700px) {
  #slider {
    max-width: 100%;
    border-width: 2px;
    margin: 20px auto;
  }
  .label {
    font-size: 1em;
    padding: 8px 0;
  }
}




/* =========================
   Ende der Datei
   ========================= */
