/*! Generated by Font Squirrel (https://www.fontsquirrel.com) */

@font-face {
    font-family: 'Meera Inimai';
    src: url('elements/googlefonts/meerainimai-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Homemade Apple';
    src: url('elements/googlefonts/HomemadeApple-webfont.woff') format('woff');
    font-style: normal;
}

@font-face {
    font-family: 'Minion Pro';
    src: url('elements/googlefonts/MinionPro-Medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Minion Pro';
    src: url('elements/googlefonts/MinionPro-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Deneane';
    src: url('elements/googlefonts/Deneane.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fraunces';
    src: url('elements/googlefonts/Fraunces-Italic.woff') format('woff');
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Fraunces';
    src: url('elements/googlefonts/Fraunces.woff') format('woff');
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ukulele Setlist';
    src: url('elements/handwrittenfonts/ukulelesetlist-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: normal;
}


/* =========================
   GLOBAL
   ========================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f6eee3;
    color: #4f4f4f;
    font-family: "Fraunces", "Minion Pro", "Arial", sans-serif;
    font-weight: 350;
    letter-spacing: -0.3px;
    margin: 0;
    line-height: 1.25em;
    font-size: 1.1em;
    background-image: url("elements/patterns/rice-paper-2.png");
    background-blend-mode: screen;
}

main {
    width: 60%;
    max-width: 1000px;
    margin: 1em auto;
}

section {
    margin-bottom: 1em;
}


/* =========================
   QUICK FLEXBOX
   ========================= */

.flex,
.flexreverse {
    display: flex;
    margin: 0 0 1em 0;
}

.flexreverse {
    flex-direction: row-reverse;
}


/* =========================
   WINDOWS
   ========================= */

.window {
    border: 1px solid #444444;
    background-color: #fff8f2;
    color: #444444;
    flex: 5;
    width: 100%;
    max-height: 300px;
    overflow: auto;
    margin: 0 0 1em 0;
}

.window header {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid black;
    background-color: #915768;
    padding: 10px 10px 10px 20px;
    position: sticky;
    top: 0;
}


/* feature green window */

.window .green {
    background-color: #adbdaf;
}

.window .green h2 {
    color: #353535;
}

.window .green date {
    color: #353535;
}

.window h2 {
    flex: auto;
    margin: 0;
    color: #fff7f0;
    font-family: 'Fraunces', 'Minion Pro', serif;
    font-size: 1.1em;
    font-weight: 400;
}

.window date {
    float: right;
    color: #fff7f0;
}

.window article {
    padding: 0.5em 1em;
}


/* prevent flex/window bottom margins doubling */

.flex .window,
.flexreverse .window {
    margin: 0;
}

.flexleft,
.flexright {
    display: inline-flex;
    height: 300px;
    border: 1px solid #444444;
    max-width: 50%;
    object-fit: cover;
}

.flexleft {
    margin: 0 10px 0 0;
}

.flexright {
    margin: 0 0 0 10px;
}

.greytxt {
    color: #353535;
}


/* =========================
   PHOTO CARDS
   ========================= */

.photocard {
    overflow: hidden;
    border: 1px solid #4f4f4f;
    background-color: #915768;
    color: #fff7f1;
}

.photocard img {
    margin: 0 1em 0 0;
    height: 100%;
    max-height: 300px;
    float: left;
    background-color: #fff7f1;
}

.photocard article {
    padding: 1em;
}

.photocard h2 {
    color: #fff7f1;
}


/* =========================
   IMAGES / VIDEO
   ========================= */

img {
    display: block;
    margin: 0.5em;
    max-width: 100%;
    height: auto;
}

iframe {
    border: 1px solid black;
    max-width: 100%;
}


/* responsive YouTube videos */

.video-container {
    width: 100%;
    max-width: 560px;
    aspect-ratio: 16 / 9;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: 1px solid black;
}


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

h1 {
    font-size: 2.3em;
    font-family: "Fraunces", "Minion Pro", serif;
    font-weight: 800;
    color: #915768;
    margin: 0 auto 0.5em auto;
    line-height: 1.2em;
}

h2 {
    font-size: 1.8em;
    font-family: "Fraunces", "Minion Pro", serif;
    font-weight: 700;
    color: #545454;
    margin: 0.25em auto;
    line-height: 1em;
}

h3 {
    font-size: 1.6em;
    font-family: "Fraunces", "Minion Pro", serif;
    font-weight: 600;
    color: #545454;
    margin: 0.25em auto;
    line-height: 1em;
}

h4 {
    font-size: 1.4em;
    font-weight: 500;
    margin: 0.25em auto;
}

h5 {
    font-size: 1.4em;
    font-weight: 400;
    margin: 0.25em auto;
}

h6 {
    font-size: 1.25em;
    font-weight: normal;
    margin: 0.25em auto;
}

p {
    margin: 0.5em auto;
}


/* =========================
   LINKS
   ========================= */

a {
    color: #a31f46;
    text-shadow: 2px 1px 3px #ffc8db;
    overflow-wrap: anywhere;
}

a:hover {
    color: #ff963a;
}


/* icon links */

.icon {
    text-shadow: none;
    text-decoration: none;
    margin: 0 1em 0 0;
}

.image::before {
    content: "📷";
}

.image.icon {
    margin-top: -3px;
}

.audio::before {
    content: "🔊";
}

.video::before {
    content: "📺️";
}


/* =========================
   BUTTON LINKS
   ========================= */

.button {
    color: #8a6a72;
    text-decoration: none;
    text-shadow: 2px 1px 3px #ffccd5;
    background: white;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid;
    display: inline-block;
    margin: 0.5em 0.5em 0.5em 0;
}


/* =========================
   TEXT ELEMENTS
   ========================= */

mark {
    color: #696969;
    background: #ffea76;
}

:target {
    background-color: #ffdc5d5c;
    scroll-margin-top: 2em;
}

ul {
    margin: 0.5em 0;
    line-height: 1.1em;
}

ul ul ul ul {
    list-style: circle;
}

::selection {
    background-color: #ffdc5dba;
}

blockquote {
    border-left: 1px solid grey;
    padding-left: 1em;
    font-style: italic;
    font-weight: bold;
    letter-spacing: 0.5px;
    color: #915768;
}

hr {
    border: 1px dashed #9d8189ab;
    margin: 1em 10%;
}


/* =========================
   TOP MENU
   ========================= */

.siteheader {
    background: #efcaad;
    border-bottom: 1px solid #444444;

    position: sticky;
    top: 0;
    z-index: 100;

    min-height: 3rem;
    font-size: 1rem;
}


/* logo */

.siteheader > a {
    float: left;
}

.siteheader img {
    opacity: 0.9;
    mix-blend-mode: hard-light;
    max-height: 2rem;
    width: auto;
    margin: 0.5em;
}


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

#navigation {
    padding: 0.5em;

    display: flex;
    justify-content: flex-end;
    align-items: center;

    gap: 10px;
}


/* dropdown container */

#navigation .dropdown {
    position: relative;
    display: inline-block;
}


/* sound / writing / art / contact */

#navigation .dropbtn {
    appearance: none;
    -webkit-appearance: none;

    background: transparent;
    border: 0;

    padding: 5px;
    margin: 0;

    font-family: "Fraunces", "Minion Pro", serif;
    font-size: 1rem;
    font-weight: 350;

    color: #6e4451;
    cursor: pointer;
}


/* dropdown button hover */

#navigation .dropbtn:hover,
#navigation .dropbtn:focus {
    color: #ff963a;
    outline: none;
}


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

#navigation .dropdown .dropdown-content {
    display: none;

    position: absolute;
    top: 100%;
    right: 0;

    min-width: 130px;

    background-color: #f6eee3;
    background-image: url("elements/patterns/rice-paper-2.png");
    background-blend-mode: screen;

    border: 1px solid #444444;

    text-align: left;

    z-index: 1000;
}


/* desktop hover */

#navigation .dropdown:hover .dropdown-content {
    display: block;
}


/* keyboard / touch focus */

#navigation .dropdown:focus-within .dropdown-content {
    display: block;
}


/* links inside dropdown */

#navigation .dropdown-content a {
    display: block;

    margin: 0;
    padding: 8px 12px;

    white-space: nowrap;

    color: #6e4451;
    text-decoration: none;
    text-shadow: none;
}


/* dropdown link hover */

#navigation .dropdown-content a:hover {
    background-color: #efcaad;
    color: #a31f46;
}


/* =========================
   NAV BUTTON LINKS
   ========================= */

.nav {
    color: #8a6a72;
    text-decoration: none;
    text-shadow: 2px 1px 3px #ffccd5;
    background: white;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid;
    display: inline-block;
    margin: 0.5em 0.5em 0.5em 0;
}


/* =========================
   FIGURES / DATES
   ========================= */

figure {
    margin: 0;
}

figcaption {
    font-family: "Meera Inimai", sans-serif;
    font-weight: bold;
    font-size: 0.8em;
    letter-spacing: 0.01em;
}

date {
    font-family: "Meera Inimai";
    letter-spacing: 1px;
    font-size: 0.8em;
    font-weight: bold;
    color: #915768;
    text-align: right;
}


/* =========================
   FADE ON HOVER
   ========================= */

.hover {
    opacity: 0.5;
    transition: 0.3s;
}

.hover:hover {
    opacity: 1;
}


/* =========================
   SCROLL TO TOP
   ========================= */

.scrolltotop {
    position: fixed;
    bottom: 3%;
    right: 3%;
    background-color: #ffffff85;
    padding: 5px;
    line-height: 0.5em;
    border-radius: 5px;
}


/* =========================
   SCROLLBARS
   ========================= */

::-webkit-scrollbar-thumb:hover {
    background: #915768;
    border-left: 1px solid black;
}

::-webkit-scrollbar-thumb {
    background: #9157685e;
}

::-webkit-scrollbar-track {
    background: #91576854;
    border-left: 1px solid black;
}

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


/* =========================
   ACCENT BOXES
   ========================= */

.redbox {
    clear: both;
    border: 1px solid #4f4f4f;
    padding: 1em;
    background-color: #9157682e;
    margin-top: 1.5em;
}

.greenbox {
    clear: both;
    border: 1px solid #4f4f4f;
    padding: 1em;
    background-color: #adbdaf50;
    margin-top: 1.5em;
}

.goldbox {
    clear: both;
    border: 1px solid #4f4f4f;
    padding: 1em;
    background-color: #efcaad50;
    margin-top: 1.5em;
}

.pinkbox {
    clear: both;
    border: 1px solid #4f4f4f;
    padding: 1em;
    background-color: #d6a5ad50;
    margin-top: 1.5em;
}

.lilacbox {
    clear: both;
    border: 1px solid #4f4f4f;
    padding: 1em;
    background-color: #b9a8bd50;
    margin-top: 1.5em;
}

.bluebox {
    clear: both;
    border: 1px solid #4f4f4f;
    padding: 1em;
    background-color: #9eafb650;
    margin-top: 1.5em;
}

.tealbox {
    clear: both;
    border: 1px solid #4f4f4f;
    padding: 1em;
    background-color: #8faeaa50;
    margin-top: 1.5em;
}

.olivebox {
    clear: both;
    border: 1px solid #4f4f4f;
    padding: 1em;
    background-color: #b7b38b50;
    margin-top: 1.5em;
}

.yellowbox {
    clear: both;
    border: 1px solid #4f4f4f;
    padding: 1em;
    background-color: #e4cf8f50;
    margin-top: 1.5em;
}

.peachbox {
    clear: both;
    border: 1px solid #4f4f4f;
    padding: 1em;
    background-color: #dfa98e50;
    margin-top: 1.5em;
}

.terracottabox {
    clear: both;
    border: 1px solid #4f4f4f;
    padding: 1em;
    background-color: #bd806c45;
    margin-top: 1.5em;
}

.brownbox {
    clear: both;
    border: 1px solid #4f4f4f;
    padding: 1em;
    background-color: #9d806d40;
    margin-top: 1.5em;
}

.creamBox {
    clear: both;
    border: 1px solid #4f4f4f;
    padding: 1em;
    background-color: #eadfce80;
    margin-top: 1.5em;
}

.cursive {
    font-family: "Homemade Apple", sans-serif;
}


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

.album-more {
    margin-left: 2rem;
    max-width: calc(100% - 2rem);
}


/* =========================
   TABLET
   ========================= */

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

    main {
        width: 75%;
    }

}


/* =========================
   SMALL TABLET
   ========================= */

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

    main {
        width: 75%;
    }

    .flex,
    .flexreverse {
        display: block;
    }

    .flexleft,
    .flexright {
        height: 100%;
        max-width: 100%;
        margin: 0;
    }

    .window {
        max-height: none;
    }

    .poster {
        max-width: none;
        margin: 0 0 10px 0;
    }

    blockquote {
        margin-left: 0;
    }

}


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

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

    /*
     * Match the overall width of the other pages.
     * No body padding — main controls the page margins.
     */
    body {
        padding: 0;
    }

    main {
        width: 90%;
        max-width: 1000px;
        margin: 1em auto;
    }

    h1 {
        max-width: 100%;
        margin: 0 auto 0.5em auto;
        overflow-wrap: anywhere;
    }

    /*
     * Keep boxes inside main.
     */
    section {
        width: 100% !important;
        max-width: 100% !important;

        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 1.5rem;

        overflow: hidden;
        overflow-wrap: anywhere;
    }

    /*
     * Prevent descendants from forcing the box wider.
     */
    section *,
    details,
    summary,
    p,
    ul,
    ol,
    li {
        min-width: 0;
        max-width: 100%;
    }

    details {
        width: 100%;
    }

    /*
     * Desktop album indentation disappears on mobile.
     */
    .album-more {
        width: 100%;
        max-width: 100%;
        margin-left: 0 !important;
    }

    ul,
    ol {
        padding-left: 1.25rem;
        padding-right: 0;
    }

    p,
    li,
    summary,
    a {
        overflow-wrap: anywhere;
        word-wrap: break-word;
        word-break: normal;
    }

    .flex,
    .flexreverse {
        display: block;
    }

    .flexleft,
    .flexright {
        height: 100%;
        max-width: 100%;
        margin: 0;
    }

    .window {
        max-height: none;
    }

    .poster {
        max-width: 100%;
        margin: 0 0 10px 0;
    }

    blockquote {
        margin-left: 0;
        margin-right: 0;
    }

    img {
        float: none;
        max-width: 100%;
        max-height: 100%;
        height: auto;
    }

}


/* =========================
   PHONE
   ========================= */

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

    /*
     * Same width as the rest of the site's phone layout.
     */
    main {
        width: 90%;
    }

    .flex,
    .flexreverse {
        display: block;
    }

    .flexleft,
    .flexright {
        height: 100%;
        max-width: 100%;
        margin: 0;
    }

    .window {
        max-height: none;
    }

    .poster {
        max-width: none;
        margin: 0 0 10px 0;
    }

    blockquote {
        margin-left: 0;
    }

    img {
        float: none;
        max-height: 100%;
    }


    /* mobile header */

    .siteheader {
        min-height: 2.8rem;
    }

    .siteheader img {
        max-height: 1.8rem;
        margin: 0.5em 0.25em;
    }


    /* mobile navigation */

    #navigation {
        gap: 1px;
        padding: 0.5em 0.2em;
    }

    #navigation .dropbtn {
        padding: 5px 4px;
        font-size: 0.9rem;
    }


    /* mobile dropdown */

    #navigation .dropdown .dropdown-content {
        min-width: 110px;
    }

    #navigation .dropdown-content a {
        padding: 10px 12px;
        font-size: 1rem;
    }

}


/* =========================
   COMMUNITY PAGE — DESKTOP
   ========================= */

.community-layout {
    display: grid;

    grid-template-columns: minmax(0, 1fr) 350px;

    grid-template-areas:
        "intro image"
        "box   image"
        "gold  olive";

    column-gap: 3em;
    align-items: start;
}

.community-intro {
    grid-area: intro;
}

.community-image {
    grid-area: image;
    width: 350px;
    max-width: 100%;
}

.community-box {
    grid-area: box;
}

.community-layout > .goldbox {
    grid-area: gold;
}

.community-layout > .olivebox {
    grid-area: olive;
}


/* =========================
   COMMUNITY — MOBILE
   ========================= */

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

    .community-layout {
        display: flex;
        flex-direction: column;
    }

    .community-intro {
        order: 2;
        width: 100%;
    }

    .community-image {
        order: 1;

        width: 350px;
        max-width: 100%;

        margin: 0 auto 1em auto;
    }

    .community-box {
        order: 3;
    }

    .community-layout > .goldbox {
        order: 4;
    }

    .community-layout > .olivebox {
        order: 5;
    }

    .community-layout > section {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }

}