﻿/* ================================================================
   KleineHexe â€“ Galerie lila/gold
   Mit dunklem lila Seitenhintergrund und Bannerbereich oben
   ================================================================ */

* { box-sizing: border-box; }

html {
  min-height: 100%;
  scrollbar-width: thin;
  scrollbar-color: #c8afd7 #564d62;
}

body {
  margin: 0;
  min-width: 1777px;
  min-height: 1010px;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
  background-image: url('https://bastelfunecke.de/tutoriale/galerie-lila-komplett/bg.png');
}

a {
  color: #37223b;
  text-transform: uppercase;
  text-decoration: none;
}

a:hover {
  color: #55355b;
}

/* ------------------------------------------------
   Bannerbereich oben
   ------------------------------------------------ */
#banner-area {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  z-index: 20;
  text-align: center;
}

#banner-title {
  margin-bottom: 10px;
  color: #000;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-shadow:
    0 1px 0 rgba(255,255,255,.08),
    0 2px 8px rgba(0,0,0,.35);
}

#banner-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

#banner-row img {
  display: block;
  height: 60px;
  width: auto;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}

/* ------------------------------------------------
   Durchgehender oberer und unterer Rahmen
   ------------------------------------------------ */
#topframe,
#bottomframe {
  position: absolute;
  left: 0;
  width: 100%;
  min-width: 1777px;
  height: 54px;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% 54px;
}

#topframe {
  top: 136px;
  z-index: 4;
  background-image: url('frame-top.png');
}

#bottomframe {
  top: 810px;
  z-index: 10;
  background-image: url('frame-bottom.png');
}

/* ------------------------------------------------
   Linkes Logo
   ------------------------------------------------ */
#logo {
  position: absolute;
  left: 0;
  top: 136px;
  width: 607px;
  height: 674px;
  z-index: 6;
  background: url('logo-lila.png') center top / 607px 674px no-repeat;
}

#logo::after {
  content: '';
  position: absolute;
  top: 54px;
  right: -20px;
  width: 56px;
  height: calc(100% - 54px);
  pointer-events: none;
  background-image: url('https://bastelfunecke.de/tutoriale/galerie-lila-komplett/bg1.png')no-repeat center center / cover fixed;
  filter: blur(10px);
}

#transition-seam {
  display: none;
}


#logo-caption::before {
  left: 4px;
}

#logo-caption::after {
  right: 4px;
  transform: translateY(-50%) scaleX(-1);
}


/* ------------------------------------------------
   Scrollbarer Galeriebereich â€“ OHNE Ã¼ber das Logo zu gehen
   ------------------------------------------------ */
#content {
  position: absolute;
  left: 607px;
  right: 8px;
  top: 190px;
  height: 620px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 30px 48px 30px;
  z-index: 7;
  color: #fff;
  scrollbar-width: thin;
  scrollbar-color: #d9c2e5 rgba(112,102,119,.55);
  background-image: url('https://bastelfunecke.de/tutoriale/galerie-lila-komplett/bg1.png')no-repeat center center / cover fixed;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-right: 1px solid rgba(218,188,143,.28);
}

#content::-webkit-scrollbar { width: 10px; }
#content::-webkit-scrollbar-track {
  background: rgba(112,102,119,.52);
  border-radius: 20px;
}
#content::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg,#f0e0f5,#b18ac5);
  border-radius: 20px;
  border: 2px solid rgba(112,102,119,.50);
}

#content::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .08;
  background:
    repeating-linear-gradient(45deg,
      transparent 0 34px,
      rgba(108,81,120,.11) 34px 36px,
      transparent 36px 70px);
}

#content::after,
.seam-glow {
  display: none;
}

.content-inner {
  position: relative;
  z-index: 1;
  width: min(1090px, calc(100% - 30px));
  margin: 0 auto;
  text-align: center;
}

/* ------------------------------------------------
   Mondlinien innerhalb der Galerie
   ------------------------------------------------ */
.mondlinie {
  position: relative;
  height: 52px;
  margin: 2px auto 24px;
}

.mondlinie::before,
.mondlinie::after {
  content: '';
  position: absolute;
  top: 26px;
  width: calc(50% - 42px);
  height: 1px;
  background: linear-gradient(90deg, transparent, #ceb17a 36%, #eedba9 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.18);
}
.mondlinie::before { left: 0; }
.mondlinie::after { right: 0; transform: scaleX(-1); }

.mond {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #cfb37c;
  background:
    radial-gradient(circle at 35% 30%, #f3e8f7 0 12%, transparent 13%),
    radial-gradient(circle at 60% 45%, #a07bbc 0 18%, transparent 19%),
    radial-gradient(circle at 45% 55%, #7b5a93 0 55%, #443151 100%);
  box-shadow:
    0 0 14px rgba(119,81,141,.24),
    inset 0 0 9px rgba(255,255,255,.18);
}

.bottom-mondlinie { margin-top: 8px; margin-bottom: 4px; }

/* ------------------------------------------------
   Galeriebilder
   ------------------------------------------------ */
.gallery-item { margin: 0 0 42px; }

.gallery-name {
  display: inline-block;
  margin: 0 0 16px;
  padding: 7px 30px;
  color: #000;
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(79,55,86,.28);
  border-radius: 999px;
}

.gallery-frame {
  margin: 0 auto;
  padding: 8px;
  width: fit-content;
  max-width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(127,96,58,.68);
  box-shadow:
    0 10px 24px rgba(79,54,82,.13),
    inset 0 0 0 1px rgba(255,248,218,.52);
}

.gallery-item img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 8px 24px rgba(67,47,78,.10);
}

/* ------------------------------------------------
   Unterer Textbereich
   ------------------------------------------------ */
#mebox {
  position: absolute;
  left: 10px;
  top: 870px;
  z-index: 6;
  color: #000;
  font-size: 14px;
  line-height: 23px;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,.28);
}

#footer {
  position: absolute;
  left: 1030px;
  top: 870px;
  width: 520px;
  z-index: 6;
  text-align: center;
  color: #000;
  font-size: 16px;
  line-height: 23px;
  text-shadow: 0 1px 2px rgba(0,0,0,.28);
}
