/* GLOBAL -------------------------------------------------- */
body {
    margin: 0;
    background: #0d0d0d;
    color: #ddd;
    font-family: Arial, sans-serif;
}

a {
    color: #ccc;
    text-decoration: none;
}

a:hover {
    color: #fff;
}

/* NAVBAR -------------------------------------------------- */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #111;
    padding: 10px 20px;
    border-bottom: 1px solid #222;
}

.logo {
    height: 32px;
    margin-right: 10px;
}

.home-link {
    display: flex;
    align-items: center;
}

.site-name {
    color: #d4b24e;
    font-size: 20px;
    font-weight: bold;
}

/* Top menu */
.top-links a {
    margin-left: 20px;
    font-size: 15px;
}

/* Hamburger button */
.sidebar-button {
    font-size: 24px;
    cursor: pointer;
    display: none;
    margin-right: 20px;
}

/* LAYOUT -------------------------------------------------- */
#wrapper {
    display: flex;
    min-height: calc(100vh - 60px);
}

/* SIDEBAR -------------------------------------------------- */
.sidebar {
    width: 260px;
    background: #111;
    border-right: 1px solid #222;
    padding: 20px;
}

.sidebar h3 {
    color: #d4b24e;
    margin: 0 0 15px;
    font-size: 18px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar a {
    display: block;
    padding: 6px 0;
    color: #ccc;
    font-size: 15px;
}

.sidebar a.active {
    color: #fff;
    font-weight: bold;
}

/* CONTENT -------------------------------------------------- */
.content {
    flex: 1;
    padding: 30px;
}

h1, h2, h3 {
    color: #d4b24e;
    font-weight: bold;
}

.warning-box {
    background: #5a4c20;
    border-left: 4px solid #d4b24e;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

/* PRE BLOCKS --------------------------------------------- */
pre {
    background: #1b1b1b;
    padding: 12px;
    border-radius: 4px;
    overflow-x: auto;
    color: #d4b24e;
}

/* MOBILE RESPONSIVE -------------------------------------- */
@media (max-width: 800px) {
    #wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        display: none;
        border-right: none;
        border-bottom: 1px solid #222;
    }

    .sidebar.open {
        display: block;
    }

    .sidebar-button {
        display: block;
        color: #d4b24e;
    }
}
