body {
    margin: 0;
    padding: 0;
    font-family: arial, helvetica, sans-serif;
    background-color: #CCCCCC;
}

ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0;
}

p {
    margin-top: 0;
}

img, video {
    padding: 4px;
    max-width: 96%;
    max-height: 96%;
    vertical-align: top;
}

hr {
    margin: 6px 0;
}

h1 {
    line-height: 1;
}

h2 {
    margin: 5px 0;
}

nav a:link,
a:visited {
    color: #ccc;
    text-decoration: none;
}

nav a:hover {
    color: #f2f2f2;
}

#container_content a,
#container_content a:link,
#container_content a:visited {
    color: #8B5CF6;
    text-decoration: underline;
}

#container_content a:hover {
    color: darkorange;
}

#container_content ul {
    list-style-type: disc;
    padding-left: 35px;
    margin-top: auto;
    margin-bottom: 1em;
}

#container_content ol {
    padding-left: 35px;
    margin-bottom: 1em;
}

#container_content li {
    margin-bottom: 0.25em;
}

#container_content blockquote {
    border-left: 4px solid #9c53e8;
    padding-left: 20px;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 1em;
    margin-bottom: 1em;
    font-style: italic;
    color: #555;
    background-color: #f5f5f5;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 15px;
}

.section {
    font-size: 20px;
    padding: 4px 16px;
}

.page {
    font-size: 17px;
    padding: 4px 16px;
}

#wiki-search {
    width: 250px;
    padding: 8px 10px;
    margin: 10px;
    display: block;
    background: #1a151f;
    border: 1px solid #423749;
    color: #ccc;
    font-size: 16px;
    border-radius: 4px;
    box-sizing: border-box;
}

#wiki-search:focus {
    outline: none;
    border-color: #9c53e8;
    box-shadow: 0 0 4px rgba(156, 83, 232, 0.3);
}

#wiki-search::placeholder {
    color: #888;
}

#logo {
    width: 300px;
    height: 80px;
    text-align: center;
    font-size: 36px;
    line-height: 80px;
    white-space: nowrap;
    user-select: none;
}

#container_content {
    position: absolute;
    left: 300px;
    height: 100%;
    right: 0;
    padding-left: 15px;
    line-height: 1.5;
    overflow-x: hidden;
    overflow-y: scroll;
}

#container_navigation {
    width: 300px;

    position: fixed;
    top: 0;
    bottom: 0;

    background-color: #251f29;
    color: #ccc;

    overflow-x: hidden;
    overflow-y: auto;
}

#container_navigation::-webkit-scrollbar,
#container_content::-webkit-scrollbar {
    width: 6px;
    background-color: #f5f5f5;
}

#container_navigation::-webkit-scrollbar-thumb {
    background-color: #f7ae61;
}

#container_content::-webkit-scrollbar-thumb {
    background-color: #9c53e8;
}

#container_navigation::-webkit-scrollbar-track,
#container_content::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #f5f5f5;
}

/* Mobile Hamburger Menu Button */
#mobile-menu-toggle {
    display: none;
    position: fixed;
    bottom: 10px;
    left: 10px;
    z-index: 1001;
    background-color: #9c53e8;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#mobile-menu-toggle:hover {
    background-color: #f7ae61;
}

#mobile-menu-toggle:active {
    transform: scale(0.95);
}

/* Mobile Overlay */
#mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    #mobile-menu-toggle {
        display: block;
    }

    #container_navigation {
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
    }

    #container_navigation.mobile-open {
        transform: translateX(0);
    }

    #container_content {
        left: 0;
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 60px;
    }
    
    body.menu-open #mobile-menu-toggle {
        display: none;
    }

    #logo {
        width: 100%;
        font-size: 28px;
    }

    #wiki-search {
        width: calc(100% - 20px);
    }

    #mobile-overlay.mobile-open {
        display: block;
    }
}