/* =========================================================
   FONTS
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Lato:wght@300;400&family=Old+Standard+TT:ital,wght@0,400;0,700;1,400&display=swap');


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --blue: #9ea7ba;
    --dk-beige: #ede8e1;
    --lt-beige: #f8f8f6;
    --orange: #dab79e;
    --gray: #b8b8b8;
    --dk-pink: #c29196;
    --lt-pink: #d3afb6;
    --purple: #ae9eba;
    --green: #c5c1ae;

    --body-text: "Lato", sans-serif;
    --emph-text: "Bodoni Moda", serif;
}


/* =========================================================
   GENERAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--lt-beige);
    color: var(--dk-pink);
    font-family: var(--body-text);
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 2px;
    font-weight: 400;
}

a {
    text-decoration: none;
    transition:
        color 0.5s ease,
        background-color 0.5s ease,
        border-color 0.5s ease,
        opacity 0.5s ease;
}


/* =========================================================
   MAIN PAGE LAYOUT
   ========================================================= */

#site-wrapper {
    width: 900px;
    margin-left: 50px;
    margin-right: 0;
    position: relative;
}


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

#sidebar {
    width: 300px;
    position: absolute;
    top: 50px;
    left: 0;
    text-align: center;
}

.flower {
    display: block;
    width: 286px;
    height: 330px;
    margin: 0 auto;
}

.site-title {
    display: block;
    margin: 15px 0 20px;
    font-family: var(--emph-text);
    font-size: 60px;
    line-height: 1.2;
    letter-spacing: 2px;
    font-weight: 500;
    text-transform: lowercase;
    color: var(--purple);
}

.site-title:hover {
    color: var(--dk-pink);
}


/* =========================================================
   NAVIGATION
   ========================================================= */

#navigation {
    margin: 0;
    padding: 0;
    list-style: none;
}

#navigation li {
    margin: 6px 0;
    padding: 0;
    font-family: var(--emph-text);
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    font-weight: 500;
    text-transform: lowercase;
}

#navigation a {
    color: var(--green);
    font-family: var(--emph-text);
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    font-weight: 500;
}

#navigation a:hover {
    color: var(--blue);
}


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

#content {
    width: 600px;
    margin-left: 350px;
    padding-top: 100px;
    text-align: left;
}


/* =========================================================
   PARAGRAPHS
   ========================================================= */

#content p {
    margin: 0 0 10px;
    padding: 0 0 4px;
    font-family: var(--body-text);
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 2px;
    font-weight: 400;
}


/* =========================================================
   GENERAL CONTENT LINKS
   ========================================================= */

#content a {
    color: var(--blue);
    font-family: var(--body-text);
    font-weight: 300;
}

#content a:hover {
    color: var(--green);
}


/* =========================================================
   BOLD / ITALIC
   ========================================================= */

#content b,
#content strong {
    color: var(--gray);
    font-family: var(--body-text);
    font-weight: 400;
}

#content i,
#content em {
    color: var(--gray);
    font-family: var(--body-text);
    font-weight: 300;
    font-style: italic;
}


/* =========================================================
   HEADERS
   ========================================================= */

#content h1,
#content h2,
#content h3 {
    margin: 0 0 20px;
    padding: 7px 0 7px;
    font-family: var(--emph-text);
    color: var(--green);
    text-align: center;
    text-transform: lowercase;
    border-bottom: 1px solid var(--lt-pink);
}

#content h1 {
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: 2px;
    font-weight: 500;
}

#content h2 {
    font-size: 21px;
    line-height: 1.35;
    letter-spacing: 2px;
    font-weight: 500;
}

#content h3 {
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: 2px;
    font-weight: 500;
}

/* =========================================================
   BLOG
   ========================================================= */

.entry-body {
    margin-bottom: 50px;
}

.entry-date, .entry-cat {
    text-align: right !important;
    font-size: 12px;
}

.pagination {
    text-align: center;
    margin-top: 100px;
}


/* =========================================================
   TWO-COLUMN / THREE-COLUMN LISTS
   ========================================================= */

#content .list-2,
#content .list-3 {
    width: 590px;
    margin: 25px auto;
    padding: 0;
    list-style: none;
    font-family: var(--emph-text);
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 0.04em;
    font-weight: 500;
    color: var(--blue);
    text-align: center;
}

#content .list-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
}

#content .list-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 15px;
}

#content .list-2 li,
#content .list-3 li {
    text-align: center;
    font-family: var(--emph-text);
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 0.04em;
    font-weight: 500;
}

#content .list-2 a,
#content .list-3 a {
    color: var(--green);
    font-family: var(--emph-text);
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 0.04em;
    font-weight: 500;
}

#content .list-2 a:hover,
#content .list-3 a:hover {
    color: var(--orange);
}


/* =========================================================
   LINK LIST
   ========================================================= */

#content .link-table {
    width: 550px;
    margin: 25px auto;
}

#content .link-row {
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 20px;
}

#content .link-left {
    width: 35%;
    padding-left: 0;
    padding-right: 15px;
    padding-top: 0;
    font-family: var(--emph-text);
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    font-weight: 500;
    color: var(--orange);
    text-align: right;
    vertical-align: top;
}

#content .link-left a {
    color: var(--green);
    font-family: var(--emph-text);
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    font-weight: 500;
}

#content .link-left a:hover {
    color: var(--orange);
}

#content .link-right {
    width: 65%;
    padding-right: 0;
    padding-left: 15px;
    padding-top: 0;
    font-family: var(--body-text);
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: 0.025em;
    font-weight: 300;
    color: var(--dk-pink);
    text-align: left;
    vertical-align: top;
    border-left: 1px solid var(--lt-pink);
}

#content .link-right a {
    color: var(--green);
    font-family: var(--body-text);
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: 0.025em;
    font-weight: 300;
}

#content .link-right a:hover {
    color: var(--orange);
}

/* =========================================================
   FORMS
   ========================================================= */

form p {
    margin: 0 0 10px 0;
}

form p:first-child {
    display: flex;
    flex-direction: column;
}

form label {
    display: inline-block;
    width: 120px;
    margin-right: 10px;
    text-align: right;
    
    color: #d2bc99;
    font-family: "Bodoni Moda", serif;
    font-size: 16px;
    font-weight: 400;
}

form input[type="text"],
form textarea {
    box-sizing: border-box;
    margin: 5px;
    padding: 5px;
    
    border: 1px solid #ebe6ec;
    background: #ebe6ec;
    
    color: #b28589;
    font-family: "Lato", sans-serif;
    font-size: 18px;
    font-weight: 100;
}

form input[type="text"]:focus,
form textarea:focus {
    border: 1px solid #cfc3d6;
    background: #ebe6ec;
    outline: none;
}

form input[type="submit"] {
    margin: 5px;
    padding: 5px;
    
    border: 1px solid #ebe6ec;
    background: #ebe6ec;
    
    color: #b28589;
    font-family: "Lato", sans-serif;
    font-size: 18px;
    font-weight: 100;
    
    cursor: pointer;
}

form input[type="submit"]:hover {
    border: 1px solid #cfc3d6;
    background: #ebe6ec;
}

.formrow {
    display: flex;
    align-items: flex-start;
}

.formrow label {
    width: 120px;
    margin: 8px 10px 0 0;
    text-align: right;
    flex-shrink: 0;
}


/* LINK PAGE */

.link-container {
    width: 500px;
    margin: 0 auto;
}

.link-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: start;
    margin-bottom: 12px;
}

.link-title {
    text-align: right;
    padding-right: 12px;
    color: #d2bc99;
    font-family: "Bodoni Moda", serif;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    transition: color 1s ease;
}

.link-title:hover {
    color: #c38b8e;
}

.link-description {
    text-align: left;
    padding-left: 12px;
    border-left: 1px solid #b5ae8c;
    color: #eac1c5;
    font-family: "Lato", sans-serif;
    font-size: 16px;
    font-weight: 100;
}

.link-description a {
    color: #c5c1c3;
    text-decoration: none;
}

.link-description a:hover {
    color: #eac1c5;
    text-decoration: none;
}

.link-list {
    columns: 3;
    column-gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.link-list li {
    margin-bottom: 8px;
    break-inside: avoid;
}

.link-list a {
    color: #d2bc99;
    font-family: "Bodoni Moda", serif;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    transition: color 1s ease;
}

.link-list a:hover {
    color: #c38b8e;
}

/* =========================================================
   FOOTER
   ========================================================= */

#footer {
    width: 600px;
    margin-left: 350px;
    padding: 30px 0 50px;
    text-align: left;
    font-family: var(--emph-text);
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.04em;
    font-weight: 500;
    color: var(--purple);
}

#footer a {
    color: var(--blue);
    font-family: var(--emph-text);
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.04em;
    font-weight: 500;
}

#footer a:hover {
    color: var(--green);
}


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

@media screen and (max-width: 950px) {

    #site-wrapper {
        width: 100%;
        margin: 0;
        padding: 30px 20px;
    }


    /* ---------------------------------------------
       SIDEBAR BECOMES TOP SECTION
       --------------------------------------------- */

    #sidebar {
        width: 100%;
        position: static;
        margin: 0 auto;
        text-align: center;
    }

    .flower {
        width: 286px;
        height: 330px;
        max-width: 100%;
        object-fit: contain;
    }

    .site-title {
        margin: 15px 0 20px;
        font-size: 30px;
        line-height: 1.2;
        letter-spacing: 0.08em;
        font-weight: 500;
    }


    /* ---------------------------------------------
       NAVIGATION
       --------------------------------------------- */

    #navigation li {
        margin: 5px 0;
        font-size: 19px;
        line-height: 1.5;
        letter-spacing: 0.04em;
        font-weight: 500;
    }

    #navigation a {
        font-size: 19px;
        line-height: 1.5;
        letter-spacing: 0.04em;
        font-weight: 500;
    }


    /* ---------------------------------------------
       CONTENT
       --------------------------------------------- */

    #content {
        width: 100%;
        max-width: 600px;
        margin: 60px auto 0;
        padding-top: 0;
    }

    #content p {
        font-size: 16px;
        line-height: 1.2;
        letter-spacing: 0.025em;
        font-weight: 300;
    }


    /* ---------------------------------------------
       HEADERS
       --------------------------------------------- */

    #content h1 {
        font-size: 24px;
        line-height: 1.3;
        letter-spacing: 0.05em;
        font-weight: 500;
    }

    #content h2 {
        font-size: 21px;
        line-height: 1.35;
        letter-spacing: 0.045em;
        font-weight: 500;
    }

    #content h3 {
        font-size: 18px;
        line-height: 1.4;
        letter-spacing: 0.04em;
        font-weight: 500;
    }


    /* ---------------------------------------------
       LISTS BECOME ONE COLUMN
       --------------------------------------------- */

    #content .list-2,
    #content .list-3 {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        margin: 25px auto;
    }

    #content .list-2 li,
    #content .list-3 li {
        font-family: var(--emph-text);
        font-size: 15px;
        line-height: 1.6;
        letter-spacing: 0.04em;
        font-weight: 500;
    }

    #content .list-2 a,
    #content .list-3 a {
        font-family: var(--emph-text);
        font-size: 15px;
        line-height: 1.6;
        letter-spacing: 0.04em;
        font-weight: 500;
    }


    /* ---------------------------------------------
       LINK TABLE
       --------------------------------------------- */

    #content .link-table {
        width: 100%;
    }

    #content .link-table .link-left {
        position: relative;
        top: -6px;

        width: 35%;
        font-family: var(--emph-text);
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.035em;
        font-weight: 500;
    }

    #content .link-table .link-left a {
        font-family: var(--emph-text);
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.035em;
        font-weight: 500;
    }

    #content .link-table .link-right {
        position: relative;
        top: -9px;

        width: 65%;
        font-family: var(--body-text);
        font-size: 16px;
        line-height: 1.7;
        letter-spacing: 0.025em;
        font-weight: 300;
    }


    /* ---------------------------------------------
       FOOTER
       --------------------------------------------- */

    #footer {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        padding: 30px 0 30px;
        font-size: 16px;
        line-height: 1.6;
        letter-spacing: 0.04em;
        font-weight: 500;
    }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media screen and (max-width: 480px) {

    #site-wrapper {
        padding: 20px 15px;
    }

    .flower {
        width: 250px;
        height: auto;
    }

    .site-title {
        font-size: 28px;
        line-height: 1.2;
        letter-spacing: 0.07em;
        font-weight: 500;
    }

    #content {
        margin-top: 50px;
    }

    #content .link-table .link-left {
        width: 38%;
        padding-right: 10px;
    }

    #content .link-table .link-right {
        width: 62%;
        padding-left: 10px;
    }

}