/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
/* =========================
   GLOBAL SETTINGS
========================= */

body {
    margin: 0;
    padding: 0;
    background-color: #111111;
    color: #e6dfd1;
    font-family: "EB Garamond", serif;
    line-height: 1.8;

    display: flex;
    min-height: 100vh;
}

/* =========================
   SIDEBAR
========================= */

.sidebar {
    width: 250px;
    background-color: #181818;
    border-right: 1px solid #2e2e2e;
    padding: 35px;
    box-sizing: border-box;

    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;

    overflow-y: auto;
}

.sidebar h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 2px;

    color: #f0eadb;

    margin-top: 0;
    margin-bottom: 40px;
}

.sidebar h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1rem;
    letter-spacing: 2px;

    color: #8f8775;

    margin-top: 35px;
    margin-bottom: 15px;
}

.sidebar a {
    display: block;

    color: #cfc6b5;
    text-decoration: none;

    margin-bottom: 16px;
    font-size: 1.1rem;

    transition: 0.2s;
}

.sidebar a:hover {
    color: #ffffff;
    padding-left: 6px;
}

.sidebar-divider {
    height: 1px;
    background-color: #2a2a2a;
    margin: 25px 0;
}

/* =========================
   MAIN CONTENT
========================= */

.content {
    margin-left: 320px;
    padding: 60px;
    max-width: 900px;
}

.intro {
    font-size: 1.3rem;
    color: #f0eadb;

    border-left: 1px solid #444;
    padding-left: 25px;

    margin-bottom: 60px;
}

/* =========================
   HEADINGS
========================= */

h3, h4 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    letter-spacing: 1px;

    color: #f5efe1;
}

h3 {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

h4 {
    font-size: 1.6rem;
    margin-top: 50px;
    margin-bottom: 15px;

    color: #d8cfbc;
}

/* =========================
   LISTS
========================= */

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

li {
    position: relative;

    padding-left: 25px;
    margin-bottom: 14px;

    font-size: 1.15rem;
    color: #cfc6b5;
}

li::before {
    content: "✦";

    position: absolute;
    left: 0;

    color: #8f8775;
}

li:hover {
    color: #ffffff;
    transition: 0.2s;
}

/* =========================
   DIVIDERS
========================= */

.divider {
    width: 100%;
    height: 1px;

    background-color: #2b2b2b;

    margin: 50px 0;
}

/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #151515;
}

::-webkit-scrollbar-thumb {
    background: #3a3a3a;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    body {
        display: block;
    }

    .sidebar {
        position: relative;
        width: 100%;
        height: auto;

        border-right: none;
        border-bottom: 1px solid #2a2a2a;
    }

    .content {
        margin-left: 0;
        padding: 30px;
    }

}

.content h2 {
    margin-bottom: 10px;

    font-family: "Cormorant Garamond", serif;
    font-size: 2.2rem;

    color: #f5efe1;
}

.content p {
    margin-top: 0;

    font-size: 1.2rem;
    line-height: 1.9;

    color: #cfc6b5;

    max-width: 700px;
}