/**
 * Theme Name: mareike-theme
 * Theme URI: https://repos.contelli.de/themes/mareike-theme/info.json
 * Author: Thomas Günther
 * Author URI: https://www.contelli.de/
 * Description: Theme für mareike gestützte Webseiten.
 * Version: 1.6
 * License: GPLv3
 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
 * Tags: custom-theme, responsive-layout
 * Text Domain: mareike-theme
**/

@font-face {
    font-family: "Aleo";
    src: url(assets/fonts/Aleo-Light.ttf);
}

@font-face {
    font-family: "Immenhausen";
    src: url(assets/fonts/Immenhausen-Regular.ttf);
}

body {
    font-family: Aleo;
    margin: 0;
    padding: 0;
    background-color: #ecf0f1;
}
h1,h2,h3,jh4,h5,h6,h7,h8 {
    font-family: Immenhausen;
}

.mainnav_link {
    padding: 5px 15px;
    border-radius: 5px;
    background-color: #ffffff;
    color: #000000 !important;
}

.mainnav_link:hover {
    background-color: #1d4899;
    color: #ffffff !important;
    cursor: pointer;
}

/* Hauptcontainer */
#main-container {
    display: flex; /* Flexbox-Layout für Sidebar und Hauptinhalt */
    flex-direction: column; /* Die erste Zeile für den Header */
    height: 100vh; /* Volle Höhe des Bildschirms */
    background-color: #ffffff;
}

/* Box um den gesamten Inhalt */
#container-box {
    width: 1600px; /* Breite der Box */
    margin: 0 auto; /* Zentriert die Box */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Schatten für 3D-Effekt */
    border-radius: 10px; /* Leichte Rundung der Ecken */
}

/* Header-Styling */
header {
    background-color: #f1c40f; /* Gelber Header */
    height: 110px;
    min-height: 110px;
    display: flex;
    align-items: center; /* Zentriert das Logo vertikal */
    padding-left: 20px;
    padding-right: 0px; /* Rechts-Padding hinzufügen für Platz */
}

header div {
    top: -30px !important;
    position: relative;
    width: 100%; /* Volle Breite */
    text-align: right; /* Rechts ausrichten */
    color: #ffffff;
}

.main_framework {
    position: relative;
    top: 31px !important;

}

/* Link-Stil für die Navigationsmenü im Header */
header nav a {
    color: #ffffff !important;
    text-decoration: none; /* Entfernt die Unterstreichung */
    padding: 10px 15px; /* Innenabstand für bessere Lesbarkeit */
}

/* Hover-Effekt für die Header-Navigation */
header nav a:hover {
    color: #2c3e50; /* Dunklere Schrift beim Hover */
}

header nav a:visited {
    color: #ffffff !important;
}

/* Logo-Styling */
header img {
    position: relative;;
    top: 30px !important;
    width: 120px; height: 75px !important;
}

/* Container für Sidebar und Hauptinhalt */
#content-container {
    display: flex; /* Flexbox-Layout für Sidebar und Hauptinhalt */
    flex: 1; /* Nimmt den verbleibenden Platz ein */
}

/* Sidebar-Styling */
#sidebar {
    width: 350px; /* Breite der Sidebar */
    background-color: #ffffff; /* Weißer Hintergrund */
    border-right: 1px solid #ecf0f1; /* Trennlinie zwischen Sidebar und Hauptinhalt */
    overflow-y: auto; /* Ermöglicht Scrollen in der Sidebar */
}

/* Hauptinhalt-Styling */
#main-content {
    flex: 1; /* Nimmt den verbleibenden Platz ein */
    padding: 20px;
    overflow-y: auto; /* Ermöglicht Scrollen im Hauptinhalt */

}

/* Stil für Navigation in der Sidebar */
nav {
    margin-top: 20px; /* Abstand vom Header */
}

#sidebar ul {
    list-style: none;
    width: 290px;
    position: relative;
    left: -40px;
}

/* Link-Stil für die Navigationsmenü */
#sidebar a {
    color: #7f8c8d; /* Graue Schrift für Menüelemente */
    background-color: #ffffff; /* Weißer Hintergrund für Menüelemente */
    padding: 10px 15px; /* Innenabstand für bessere Lesbarkeit */
    display: block; /* Links untereinander anordnen */
    text-decoration: none; /* Entfernt die Unterstreichung */
}

/* Hover-Effekt für die Navigationsmenüelemente */
#sidebar a:hover {
    background-color: #f1c40f;
    color: #ffffff; /* Dunklere Schrift beim Hover */
}

/* Aktives Menüelement */
#sidebar .current-menu-item a {
    background-color: #f1c40f; /* Gelber Hintergrund für aktives Element */
    color: #2c3e50; /* Dunkelgraue Schrift für aktives Element */
}

/* Stile für den Inhalt */
h1 {
    color: #2c3e50; /* Dunkelgraue Schrift für Titel */
}

#registration_form {
    width: 100%
}

.menu {
    width: 390px !important;
}

.menu li a {
    padding: 20px 10px !important;
}

#registerform {
    position: relative;
    width: 768px;
    left: -200px !important;
}

.register input[type="text"],
.register input[type="password"],
.register input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.register input[type="submit"] {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.register input[type="submit"]:hover {
    background: #005177;
}

fieldset {
    border-color: #e0e0e0;
    border-radius: 10px;
    border-width: 1px;
    border-style: solid;
    line-height: 2;
}

#wpadminbar {
    display: none;
}

#hamburger-icon {
    cursor: pointer;
    display: none; /* Standardmäßig nicht sichtbar */
    flex-direction: column;
    gap: 5px;
}

#hamburger-icon span {
    background-color: #2c3e50;
    height: 3px;
    width: 30px;
}

#mobile-nav {
    display: none; /* Standardmäßig versteckt */
    flex-direction: column;
}

#hamburger-icon {
    display: none;
}

@media (max-width: 800px) {
    #main-content {
        width: 300px;
    }



    #sidebar {
        width: 10px;
    }

    /* Hamburger-Icon wird bei kleineren Bildschirmen sichtbar */
    #hamburger-icon {
        display: inline-flex;
        position: absolute;
        left: 20px;
        width: 30px;
        top: 90px !important;
        background-color: #ffffff;
        border-style: solid;
        border-width: 1px;
        border-color: #c0c0c0;
        box-shadow: 2px 2px 5px #909090;

    }

    /* Sidebar verschwindet bei kleineren Bildschirmen */
    #desktop-sidebar {
        display: none;
    }

    /* Mobile Navigation sichtbar bei aktivem Hamburger-Menü */
    #mobile-nav {
        display: none;
        flex-direction: column;
        background-color: #ffffff;
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    #mobile-nav ul {
        width: 100%;
        text-align: left !important;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    #mobile-nav ul li {
        text-align: left !important;
    }

    #mobile-nav a {
        padding: 15px;
        text-align: center;
        border-bottom: 1px solid #ecf0f1;
    }

    #header-nav {
        position: absolute;
        left: -60px;
    top: 0 !important;
    }
}

#registration_form {
    width: 80% !important;
    border-style: solid;
    border-width: 1px;
    border-color: #d0d0d0;
    margin: 10px auto;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 5px 5px 5px #c0c0c0;
    font-family: Aleo;
}

#registration_form input[type="text"],
#registration_form input[type="email"],
#registration_form input[type="password"] {
    width: 95%;
    font-size: 18pt;
    padding: 10px;
}

.button {
    display: inline-block;
    text-decoration: none;
    font-size: 13px;
    line-height: 2.15384615;
    min-height: 30px;
    margin: 0;
    padding: 0 10px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
    border-radius: 3px;
    white-space: nowrap;
    box-sizing: border-box;
}

.button:hover {
    background-color: #1d4899;
    color: #ffffff;
    cursor: pointer;
}

#main-content {
    background-color: #ffffff !important;
}

.notice-success {
    padding: 10px 40px;
    position: relative;
    top: 150px;
    margin: auto;
    font-weight: bold;
    width: 1500px;
    z-index: 1000;
    background-color: #94e18a;
    color: #3a8930;
    border-style: solid;
    border-radius: 10px;
    box-shadow: 5px 5px 10px #c0c0c0;
}