/* Grund-Setup */
body {
    background-color: #000;
    /* Hintergrundbild-Konfiguration */
    background-image: url('hg.jpg'); 
    /* background-attachment: fixed; */ 
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover; 
    
    color: #fff;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    margin: 0;

    /* Verhindere Text-Selektion und Drag für besseren Schutz */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Erlaube Text-Selektion nur in bestimmten Bereichen */
.news-body,
.panel-body,
.side-body,
input,
textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Verhindere Drag & Drop für alle Bilder und Videos */
img,
video {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: auto;
}

/* Grafik unter jedem Panel */
.side-panel::after, 
.panel-container::after, 
.news-box::after {
    content: "";
    display: block;
    width: 100%;
    height: 30px; /* Höhe deiner Grafik */
    background-image: url('https://radio-grazybeats.de.cool/images/linie.gif'); /* Hier Bildpfad anpassen */
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
    margin-top: 3px; /* Abstand vom Panel zur Grafik */
    margin-bottom: 3px; /* Abstand zur nächsten Komponente */
}

a { color: #fff; text-decoration: none; transition: 0.3s; }
a:hover { color: #00c1db; }

/* Layout-Container */
.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 10px;
}

.main-content {
    flex: 1;
    min-width: 300px;
    padding: 0 10px;
    order: 2;
}

.side-column {
    width: 220px;
    flex-shrink: 0;
}

.left-side { order: 1; }
.right-side { order: 3; }

/* Header & Video-Anpassung */
.main-header {
    background-color: rgba(0, 0, 0, 0.8); /* Leicht transparent */
    border-bottom: 2px solid #292a2c;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.logo-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.main-logo {
    width: 240vh;
    height: 20vh;
    object-fit: fill;
    display: block;
}

.menu-toggle {
    display: none;
    background: #00c1db;
    color: #fff;
    border: none;
    font-size: 20px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 4px;
    margin: 10px 0;
}

/* Navigation */
.sub-header {
    background: rgba(17, 17, 17, 0.9);
    border-bottom: 1px solid #292a2c;
    width: 100%;
    overflow: visible !important;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    white-space: nowrap;
}

.nav-container > a {
    display: inline-block !important; 
    vertical-align: middle;
    padding: 15px 20px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff !important;
}

.nav-container a:hover {
    background: #1a1a1a;
    color: #00c1db !important;
    box-shadow: inset 0 -3px 0 #00c1db;
}


/* CSS für die runde rollende Animation */
.rundes-bild {
    width: 100px; /* Breite festlegen */
    height: 100px; /* Höhe gleich Breite für Kreis */
    border-radius: 50%; /* Macht das Bild rund */
    transition: transform 0.5s ease-in-out; /* Animiert die Drehung */
    object-fit: cover; /* Verhindert Verzerrung */
  }

  .rundes-bild:hover {
    transform: rotate(360deg); /* Dreht das Bild um 360 Grad */
  }


/* Bilder Reposotive */
.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* Zentriert das Bild */
}


/* =====================================
   AVATAR 150x150 – STARKER DUNKELBLAUER GLOW
   DREHUNG NUR BEI HOVER
   ===================================== */

.avatar-spin img {
    width: 150px !important;
    height: 150px !important;
    object-fit: cover;

    border-radius: 50%;
    border: 3px solid #0b2a5b; /* dunkles Blau */

    box-shadow:
        0 0 12px rgba(11,42,91,0.8),
        0 0 28px rgba(11,42,91,0.6),
        0 0 45px rgba(11,42,91,0.4);

    transition:
        transform 0.8s ease,
        box-shadow 0.8s ease;
}

/* NUR BEIM HOVER */
.avatar-spin img:hover {
    transform: rotate(360deg) scale(1.05);

    box-shadow:
        0 0 18px rgba(11,42,91,1),
        0 0 40px rgba(11,42,91,0.85),
        0 0 65px rgba(11,42,91,0.6),
        0 0 90px rgba(11,42,91,0.4);
}


/* News & Panels mit Transparenz für Hintergrund-Durchsicht */
.news-box, .panel-container, .side-panel {
    background: rgba(26, 26, 26, 0.65); /* 65% Deckkraft */
    border: 1px solid #0d2759;
    border-radius: 15px;
    margin-bottom: 20px;
    backdrop-filter: blur(3px); /* Optionaler Blur-Effekt */
}

.capmain, .scapmain {
    background: #222 url(images/cap.gif);
    padding: 10px 15px;
    font-weight: bold;
    color: #00c1db;
}

.news-body, .panel-body, .side-body {
    padding: 15px;
    line-height: 1.7;
}

.spacer { height: 20px; }

/* MOBILE ANPASSUNGEN */
@media (max-width: 768px) {
    body {
        background-attachment: scroll; /* Bessere Performance auf Handys */
    }

    .main-logo {
        max-height: 10vh;
    }

    .content-wrapper { 
        flex-direction: column; 
    }
    
    .side-column { 
        width: 100%; 
        order: 3; 
    } 
    
    .main-content { 
        order: 1; 
        width: 100%;
        box-sizing: border-box;
    }
    
    .menu-toggle { display: block; }
    
    .sub-header { display: none; }
    .sub-header.open { display: block; }

    .nav-container { white-space: normal; }
    
    .nav-container > a {
        display: block !important;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #222;
    }
}
