:root {
  --font-family: 'Open Sans', 'Helvetica', sans-serif;
  --font-size: 13px;
  
  /* Dein Theme-Farbschema */
  --bg-color: #98e9f4;               /* Wolken-Hellblau als Seitenhintergrund */
  --text-color: #111123;             /* Dunkle Leseschrift */
  --link-color: #045086;             /* Dunkelblau für Links */
  
  --sidebar-border: 2px solid #70c3e8;/* Helles Blau für Boxen-Ränder */
  --sidebar-bg: #aae6ff;             /* Hellblauer Kasten-Hintergrund */
  --content-bg: #ffffff;             /* Weißer Hintergrund für Blogposts (bessere Lesbarkeit) */
  --content-padding: 15px;
}

body {
  background: #98e9f4 url(/blog/background.png) no-repeat fixed;
  font-family: var(--font-family);
  font-size: var(--font-size);
  background-color: var(--bg-color);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  color: var(--text-color);
  margin: 0;
  padding: 20px 0;
  
}

  
.weirdbox {
  display: flex;
  gap: 2px;
  margin: 0;
}

.weird {
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: 2px;
  font-size: 12px;
}

.weird a {
  color: #ffffff;
  text-decoration: none;
}

.weird:hover {
  background: rgba(255, 255, 255, 0.4);
}

.header-right .weird {
  display: inline-block;
  padding: 1px 6px;
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-radius: 3px;
  font-size: 11px;
  cursor: pointer;
  margin-left: 3px;
}

.header-right .weird:hover {
  background: rgba(255, 255, 255, 0.45);
}

.post {
  background: #ffffff;
  border-radius: 6px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  margin-bottom: 25px; /* Erzeugt Abstand zwischen einzelnen Blogeinträgen */
}

.post .date {
  color: #1894ca;
  font-weight: bold;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post .title {
  color: #045086;
  font-size: 20px;
  border-bottom: 2px solid #70c3e8;
  padding-bottom: 6px;
  margin-top: 4px;
  margin-bottom: 15px;
}

/* Haupt-Container wie ein Retro-Fenster abbilden */
.container {
  max-width: 750px;
  margin: 0 auto;
  background-color: rgba(170, 230, 255, 0.95); /* Leicht transparentes Hellblau */
  border: 3px solid #1894ca;
  border-radius: 6px;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Xanga Header-Leiste im Regenbogen-Stil */
.header {
  display: flex;
  justify-content: space-between;
  padding: 8px 10px;
  background: linear-gradient(to right, #1894ca, #3498db);
  border-radius: 4px;
  color: #ffffff;
  margin-bottom: 15px;
}

.header a {
  color: #ffffff;
  text-decoration: none;
}

.header a:hover {
  text-decoration: underline;
  color: #ffff33;                    /* Gelber Hover-Akzent */
}

/* Stellt sicher, dass Sidebar und Content nebeneinander bleiben */
.flex {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 15px;                  /* Fester Abstand zwischen Sidebar und Blogpost */
}

/* Linke Spalte (Sidebar) */
.left {
  width: 200px !important;    /* Feste Breite für die Sidebar */
  flex-shrink: 0 !important; /* Verhindert, dass die Sidebar gequetscht wird */
  display: block !important;
}

/* Kisten in der Sidebar auf volle Breite stellen */
.box {
  width: 100% !important;
  box-sizing: border-box;
  border: var(--sidebar-border);
  margin-bottom: 15px;
  background-color: #ffffff;
  border-radius: 6px;
}

/* Rechte Spalte (Blogbeiträge) */
.right {
  flex: 1 !important;         /* Füllt den restlichen verfügbaren Platz rechts aus */
  margin-left: 0 !important;  /* Abstand wird jetzt sauber über 'gap' geregelt */
  background-color: var(--content-bg);
  padding: var(--content-padding);
  border: var(--sidebar-border);
  border-radius: 6px;
  box-sizing: border-box;
  min-width: 0;               /* Verhindert Überlaufen bei langem Text */
}


.subtitle {
  font-weight: bold;
  padding: 5px 10px;
  margin-bottom: 8px;
  background-color: #e0f7ff;
  color: #045086;
  border-bottom: 1px dashed #70c3e8;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}


.post .title {
  font-size: 18px;
  font-weight: bold;
  color: #045086;
  margin-bottom: 5px;
  padding-left: 0;
  border-bottom: 2px dashed #70c3e8;
  padding-bottom: 5px;
}

.post .date {
  font-size: 11px;
  color: #555;
  margin-bottom: 12px;
}

/* Footer-Abrennlinie im Regenbogen-Design */
.footer {
  text-align: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 3px solid;
  border-image: linear-gradient(90deg, #ff4141, #ff9900, #ffff33, #00e676, #00b0ff) 1;
}

/* Links in der Sidebar schöner gestalten */
.boxwrap a {
  color: #045086;
  text-decoration: none;
  font-weight: bold;
}

.boxwrap a:hover {
  color: #1894ca;
  text-decoration: underline;
}

/* Post-Titel-Optik anpassen */
.post .title {
  color: #045086;
  font-size: 18px;
  border-bottom: 2px dashed #70c3e8;
  padding-bottom: 4px;
}

/* Sidebar-Links stylen */
.boxwrap a {
  color: #045086;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 3px;
  transition: color 0.2s ease;
}

.boxwrap a:hover {
  color: #1894ca;
  text-decoration: underline;
}

/* Post-Titel-Optik anpassen */
.post .title {
  color: #045086;
  font-size: 18px;
  border-bottom: 2px dashed #70c3e8;
  padding-bottom: 4px;
}

/* Post-Footer (Gefällt mir, Kommentare) */
.postFooter a {
  color: #045086;
  font-size: 11px;
  text-decoration: none;
  font-weight: bold;
}

.postFooter a:hover {
  text-decoration: underline;
}

/* 1. Kasten-Header aufhübschen */
.subtitle {
  font-weight: bold;
  padding: 6px 10px;
  margin: -10px -10px 10px -10px;
  background: linear-gradient(to right, #e0f7ff, #b3e5fc);
  color: #045086;
  border-bottom: 2px solid #70c3e8;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 2. Links als echte Glossy-Buttons erzwingen */
.left .boxwrap a {
  display: block !important;
  padding: 6px 10px !important;
  margin: 6px 0 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 5px !important;
  background: linear-gradient(to bottom, #3498db, #1d6fa5) !important;
  border: 1px solid #144e75 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0,0,0,0.1) !important;
  font-size: 12px !important;
  text-align: center !important;
  font-weight: bold !important;
  box-sizing: border-box;
}

.left .boxwrap a:hover {
  background: linear-gradient(to bottom, #4aa3df, #237cb8) !important;
  transform: translateY(-1px);
}

/* 3. Text & Status-Infos in der Sidebar strukturierten */
.left .boxwrap {
  padding: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: #045086;
}

/* 4. Bild im obersten Kasten perfekt einpassen */
.left .boxwrap img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid #70c3e8;
  border-radius: 6px;
  margin: 0 0 8px 0;
  box-sizing: border-box;
}

img.zentriert {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.blog-calendar {
  width: 100%;
  text-align: center;
  font-size: 11px;
  border-collapse: collapse;
}

.blog-calendar th {
  color: #045086;
  padding-bottom: 4px;
}

.blog-calendar td {
  padding: 3px 0;
  color: #888;
}

/* Hervorhebung für Tage mit Beiträgen */
.blog-calendar a.has-post {
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  line-height: 18px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #ff9900 !important; /* Regenbogen-Akzent */
  color: #ffffff !important;
  border-radius: 50% !important;
  font-weight: bold !important;
  box-shadow: none !important;
}
