/*
Theme Name: Black Shark Theme
Theme URI: https://deinewebsite.de
Author: Dein Name
Description: Ein benutzerdefiniertes Theme basierend auf Black Shark Farben
Version: 1.0
*/

/* Allgemeine Stile */

body {
    background-color: #1a1a1a; /* Dunkler Hintergrund passend zum Bild */
    color: #f0f0f0; /* Helle Schriftfarbe */
    font-family: Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    color: #e30000; /* Rote Farbe für Überschriften */
}

h1 {
    text-align: center;
}

a {
    color: rgb(0, 162, 255);
    text-decoration: none;
}

a:hover {
    color: #e30000;
}

/* Logo-Design */

.logo-container {
    position: absolute;
    top: 10px; /* Positionierung von oben */
    right: 10px; /* Positionierung von rechts */
    z-index: 10; /* Logo überlagert den Header */
}

.logo-container img {
    max-height: 141px; /* Höhe des Logos über den gesamten Header */
    width: auto;
}

/* Header-Design */

.header {
    position: relative; /* Ermöglicht die absolute Positionierung des Logos innerhalb des Headers */
    text-align: center;
}

.header-top {
    background-color: #000000; /* Schwarzer Bereich oben */
    padding: 0px;
    display: flex;
    align-items: center;
}

.header-image img {
    height: 120px; /* Höhe des Header-Bilds */
    width: auto;
    margin-left: 0; /* Ausrichtung links */
}

/* Unterbrochene rote Linie */
.header-line {
    position: relative;
    height: 2px;
    width: 100%;
    background-color: #e30000;
}

/* Lücke per Pseudo-Element an fixer Position */
.header-line::before {
    content: '';
    position: absolute;
    top: 0;
    right: 155px; /* Abstand vom rechten Rand – z. B. Logo-Breite */
    width: 115px;   /* Breite der Lücke */
    height: 2px;
    background-color: #1a1a1a; /* Farbe des Hintergrunds */
    z-index: 1;
}


/* Header Bottom */
.header-bottom {
    background-color: #333333; /* Grauer Bereich unten */
    padding: 2px;
    color: #f0f0f0;
}

.header h1, .header p {
    margin: 0;
}

/* Header Menu */
/* Menü-Container */
.nav-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0 0 0 30px; /* Abstand von links */
    background-color: #333;
}

/* Hauptmenüelemente */
.nav-list > li {
    position: relative;
}

.nav-list > li > a {
    display: block;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 13px;
    padding: 10px 20px;
    text-decoration: none;
    white-space: nowrap;
    text-align: center;
}

/* Hover-Effekt Hauptmenü */
.nav-list > li > a:hover,
.nav-list > li > a.active {
    background-color: #ccc;
    color: #424242;
}

/* 1. Untermenü */
.nav-list li .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #7A7A7A;
    min-width: 215px;
    z-index: 999;
}

.nav-list li:hover > .sub-menu {
    display: block;
}

/* Links im Untermenü */
.nav-list .sub-menu li a {
    display: block;
    color: #fff;
    padding: 15px 20px;
    text-align: left;
    text-decoration: none;
}

.nav-list .sub-menu li a:hover,
.nav-list .sub-menu li a.active {
    background-color: #ccc;
    color: #424242;
}

/* 2. Untermenü (3. Ebene) */
.nav-list .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    position: absolute;
    background-color: #7A7A7A;
}

.nav-list .sub-menu li {
    position: relative;
}

/* Icons im Menü */
.nav-list li a i {
    font-size: 25px;
    margin-bottom: 5px;
    vertical-align: middle;
    text-align: center;
}










/* Footer-Design */

.footer {
    background-color: #333333;
    color: #f0f0f0;
    padding: 20px;
    text-align: center;
}

/* Inhalt */

.content {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
}

/* Medienbreite */
img, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Listen */
ul, ol {
    margin: 0 0 1.5em 2em;
    padding: 0;
}

/* Blockzitate */
blockquote {
    margin: 1.5em 0;
    padding-left: 1em;
    border-left: 3px solid #ddd;
    color: #666;
    font-style: italic;
}

/* Buttons */
.wp-block-button__link {
    background-color: #e30000;
    color: #fff;
    padding: 0.75em 1.5em;
    text-decoration: none;
    border-radius: 3px;
}

.wp-block-button__link:hover {
    background-color: #c30000;
}
