/* Verhindert, dass das Bild beim Vergrößern über den Link-Rahmen schaut */
.sidebar-zoom-link {
    display: block;
    overflow: hidden;
    border-radius: 4px; /* Optional: Rundet die Ecken der Bilder leicht ab */
}

/* Das eigentliche Bild und seine Standard-Animation */
.sidebar-zoom-img {
    transition: transform 0.3s ease-in-out; /* Regelt wie weich der Effekt ist (0.3 Sekunden) */
    display: block;
}

/* Der schicke Mouseover-Effekt */
.sidebar-zoom-link:hover .sidebar-zoom-img {
    transform: scale(1.08); /* Vergrößert das Bild um 8%. Für mehr Zoom einfach auf 1.10 erhöhen */
}

.spotify-pulse {
  animation: spotifyPulse 1.8s infinite ease-in-out;
  transform-origin: center;
}

/* Menü-Pfeile entfernen */
.menu-horizontal .menu-toggle::after,
.layout-menu-horizontal .menu-toggle::after {
    display: none !important;
}

/* Einheitliche Abstände zwischen Menüeinträgen */
.menu-horizontal .menu-inner > .menu-item {
    margin: 0 16px !important;  /* horizontal spacing */
}

/* Link selbst gleichmäßig paddings */
.menu-horizontal .menu-link {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

/* Menüpunkt-Höhe wieder herstellen */
.menu-horizontal .menu-link {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
    box-shadow: 0 0 0px 1000px white inset !important;
    -webkit-text-fill-color: #000 !important;
    transition: background-color 5000s ease-in-out 0s;
}

@keyframes spotifyPulse {
  0%   { transform: scale(1); opacity: 1; }
  50%  { transform: scale(1.18); opacity: 0.85; }
  100% { transform: scale(1); opacity: 1; }
}

.app-brand-logo img {
  transition: transform 0.2s ease-in-out;
}

.app-brand-logo img:hover {
  animation: shake 0.4s;
}

@keyframes shake {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(10deg); }
  50% { transform: rotate(-10deg); }
  75% { transform: rotate(8deg); }
  100% { transform: rotate(0deg); }
}

#layout-menu {
  background-color: var(--color-primary) !important;
  box-shadow: 2px 2px 2px var(--shadow-heavy);
}

/* ============================
   Hauptmenü
   ============================ */
.bg-menu-theme {
  background-color: var(--color-primary) !important;
  color: var(--color-text-light) !important;
}

.bg-menu-theme .menu-link,
.bg-menu-theme .menu-horizontal-prev,
.bg-menu-theme .menu-horizontal-next {
  color: var(--color-text-light) !important;
}

.bg-menu-theme .menu-link:hover,
.bg-menu-theme .menu-link:focus,
.bg-menu-theme .menu-horizontal-prev:hover,
.bg-menu-theme .menu-horizontal-next:hover {
  color: var(--color-text-light) !important;
}

.bg-menu-theme .menu-link.active,
.bg-menu-theme .menu-horizontal-prev.active,
.bg-menu-theme .menu-horizontal-next.active {
  color: var(--color-text-light) !important;
  background-color: var(--color-primary-dark) !important;
}

.bg-menu-theme .menu-item.disabled .menu-link {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* ============================
   Untermenüs
   ============================ */
.bg-menu-theme.menu-horizontal .menu-sub,
.bg-menu-theme .menu-sub {
  background-color: #fff !important;
}

.bg-menu-theme .menu-sub .menu-link {
  color: var(--color-text-sub) !important;
}



.bg-menu-theme.menu-horizontal .menu-sub > .menu-item.active > .menu-link:not(.menu-toggle) {
  background-color: var(--color-sub-active) !important;
  color: var(--color-text-sub) !important;
}

.bg-menu-theme::before,
.bg-menu-theme::after {
  z-index: 0 !important; /* Naht wird nach unten gelegt */
}

.bg-menu-theme {
  position: relative;
  z-index: 1;
}

/* WICHTIG: Submenus müssen darüber liegen */
.menu-sub {
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.55) !important;
  border-radius: 6px;
}

/* Naht-Trenner im Submenü – identisch zur Navbar-Naht */
.menu-sub .menu-item:not(:last-child) .menu-link {
  position: relative;
  padding-bottom: 14px; /* etwas Platz über der Naht */
}

.menu-sub .menu-item:not(:last-child) .menu-link::after {
  content: "";
  position: absolute;
  left: 48px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.2),
      rgba(255,255,255,0.8)
    );
  opacity: 0.8;
}




/* =====================================
   Durchgehende Naht oben & unten
   ===================================== */
.bg-menu-theme {
  position: relative;
  background:
    repeating-linear-gradient(45deg,
      rgba(255,255,255,0.04) 0 2px,
      rgba(0,0,0,0.06) 2px 4px),
    var(--color-primary) !important;
}

/* Die beiden Nähte */
.bg-menu-theme::before,
.bg-menu-theme::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 0;
  border-top: 2px dashed var(--color-primary-dark); /* Nahtfarbe */
  opacity: 0.9;
  pointer-events: none;
  z-index: 10;
}

/* Oben */
.bg-menu-theme::before {
  top: 5px; /* Abstand vom oberen Rand */
}

/* Unten */
.bg-menu-theme::after {
  bottom: 5px; /* Abstand vom unteren Rand */
}


/* ============================
   Sonstiges
   ============================ */

.bg-menu-theme .menu-inner-shadow {
  background: linear-gradient(
    var(--color-primary) 41%,
    rgba(255, 0, 0, 0.11) 95%,
    rgba(255, 0, 0, 0)
  );
}

/* Icon Animation – unverändert */
@keyframes icon-wave {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(-15deg); }
  50%  { transform: rotate(15deg); }
  75%  { transform: rotate(-10deg); }
  100% { transform: rotate(0deg); }
}

.menu-item:hover .menu-icon {
  animation: icon-wave 0.6s ease-in-out;
  transform-origin: center bottom;
}

.youtube-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Ratio */
    height: 0;
    overflow: hidden;
}

.youtube-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.notice {
    font-size: 0.6em; 
	float: right;
}

.image-container {
  width: 140px; /* Fixierte Breite */
  height: 78px; /* Fixierte Höhe für 16:9 */
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Abstand zwischen Bild & Text auf Desktop */
.text-container {
  flex-grow: 1;
  margin-left: 1rem; /* Mehr Abstand zum Bild */
}

/* Mobile Ansicht: Bild volle Breite + Text mittig */
@media (max-width: 767px) {
  .image-container {
    width: 100%;
    height: auto;
  }
  .text-container {
    margin-left: 0;
    margin-top: 10px;
    text-align: center; /* Text unter dem Bild mittig */
  }
}

/* ============================
   Textgrößen
   ============================ */
   
/* Kleinstes Info-/Meta-Textchen */
.fs-xxs {
  font-size: 0.65rem; /* ca. 10px */
}

/* Klassischer "Mini"-Meta-Text */
.fs-xs {
  font-size: 0.75rem; /* ca. 12px */
}

/* Leicht kleiner als Standard – perfekt für Sidebar, Meta */
.fs-sm {
  font-size: 0.875rem; /* ca. 14px */
}

@font-face {
  font-family: 'Bebas Neue';
  src: url('https://www.spielemagazin.de/fonts/BebasNeue-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

a.shadow
{
	  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.9) !important; /* Schatten */
}

.footer-logo{
  text-transform: uppercase;
  font-weight: 400 !important;
  font-family: 'Bebas Neue', sans-serif; /* Sans-serif als Fallback */  
}

.redflag {
  --stitch: var(--color-primary-dark);        /* dunkles Rot für die Naht */

  position: relative;
  background:
    repeating-linear-gradient(45deg,
      rgba(255,255,255,0.05) 0 2px,
      rgba(0,0,0,0.06) 2px 4px),
    var(--color-primary);
  color: white;
  padding: 10px 20px 5px 20px;
  display: inline-block;
  border-radius: 0px;

  /* nur dein originaler Schatten */
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.9);
}

/* Innere Naht */
.redflag::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px dashed var(--stitch);
  border-radius: 3px;
  pointer-events: none;
  opacity: 0.9;
}

.btn-stitched {
  --stitch: var(--color-primary-dark);   /* dunkles Rot wie bei redflag */

  position: relative;
  background:
    repeating-linear-gradient(45deg,
      rgba(255,255,255,0.05) 0 2px,
      rgba(0,0,0,0.06) 2px 4px),
    var(--bs-primary);   /* Bootstrap-Primary-Farbe */
  color: white !important;
  border-radius: 0px;
  border: none;
  padding: 8px 15px;
  font-weight: bold;
  text-transform: uppercase;
}

/* Innere Naht */
.btn-stitched::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 2px dashed var(--stitch);
  border-radius: 3px;
  pointer-events: none;
  opacity: .9;
}

/* Optional: schöner "Pressed"-Hover */
.btn-stitched:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  transition: 0.15s ease;
}

/* Optional: stärkerer Druck beim Klick */
.btn-stitched:active {
  transform: translateY(1px);
}


.menu-item.active .menu-link {
  z-index: 2; /* Optional, falls Überlappungen auftreten */
  position: relative; /* Falls nötig für z-index */
}

.column-light {
  background-color: #dddddd; /* Helles Grau */
  padding: 15px; /* Optional, für etwas Abstand */
  border-radius: 5px; /* Optional, für abgerundete Ecken */
}

.menu .app-brand.demo {
  height: 64px;
  margin-top: 12px;
}

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}
 /* Für kleinere Bildschirme */
@media (max-width: 600px) {
    .app-brand-text.demo {
        font-size: 1.5rem; ; /* Kleinere Größe für Smartphones */
    }
	.text1 {
		display: none;	
	}
}
 /* Für größere Bildschirme */
@media (min-width: 601px) {
    .app-brand-text.demo {
		margin-top: 5px;
        font-size: 2.5rem; 
    }
}
.app-brand-text.demo {
  text-transform: uppercase;
  font-weight: 400 !important;
  font-family: 'Bebas Neue', sans-serif; /* Sans-serif als Fallback */  
}

@media (max-width: 600px) {
    .linebreak {
        display: block;
        width: 100%; /* Erzwingt den Zeilenumbruch */
        height: 0;
		margin-bottom: 1.5em;
    }
    .linebreak2 {
        display: block;
        width: 100%; /* Erzwingt den Zeilenumbruch */
        height: 0;
    }	
}

.socialmediabtn
{
	float: right; 
	margin-left:5px
}

@media (max-width: 600px) {
.centered-content {
    display: flex;
    justify-content: center; /* Zentriert die Inhalte horizontal */
    align-items: center; /* Zentriert die Inhalte vertikal (falls nötig) */
    flex-wrap: wrap; /* Bricht die Inhalte in die nächste Zeile, falls sie zu breit sind */

}
}

/* Für kleine Bildschirme */
@media (max-width: 600px) {
    .socialmediabtn {
        float: none; /* Float entfernen */
        display: flex;
        margin-left: auto;
        margin-right: auto;
        justify-content: center; /* Mittige Ausrichtung */
    }
}

/* ! For .layout-navbar-fixed added fix padding top to .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 76px !important;
}
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}
.docs-page .layout-navbar-fixed.layout-wrapper:not(.layout-without-menu) .layout-page,
.docs-page .layout-menu-fixed.layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 62px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}

/* =====================================
   Submenu Hover (erzwingt korrektes Verhalten)
   ===================================== */
/* Grundzustand: Transition definieren */
.bg-menu-theme .menu-sub .menu-item .menu-link {
  transition: background-color 0.5s ease, transform 0.5s ease;
}

/* Hover: Zielwerte */
.bg-menu-theme .menu-sub .menu-item .menu-link:hover {
  background-color: rgba(0, 0, 0, 0.00) !important;
  color: var(--color-primary) !important;
  border-radius: 4px;
  transform: translateX(10px);
}

@keyframes menuIconShake {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(-12deg); }
  50%  { transform: rotate(12deg); }
  75%  { transform: rotate(-6deg); }
  100% { transform: rotate(0deg); }
}

.menu-sub .menu-item:hover .menu-icon {
  animation: menuIconShake 0.45s ease-in-out;
}