@import url('https://fonts.googleapis.com/css2?family=Cormorant+SC:wght@500;700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --background-colour: rgb(225,221,216); /* lace */
    --text-colour: #000000;
    --background-alternative: #a1ac91; /* sage */
    --accent-colour: #eed2d7; /* blush pink */
    --colour3: #617687; /* greyish blue */
    --boxbackground: #e6e6fa; /* lavender */

    --menu-font: "Montserrat", sans-serif;
    --header-font: "Cormorant SC", serif;
    --text-font: "Helvetica",sans-serif;;
}

[data-theme="dark"] {
    --background-colour: #617687; /* greyish blue */;
    --text-colour: #fdf5e6; /* lace */;
    --boxbackground: #222;
}

body {
    margin: 0;
    background-color: var(--background-colour);
    color: var(--text-colour);
    font-family: var(--text-font);
    font-weight: 500;
    font-size: 14pt;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    padding-top: 0.1em;
    font-family: var(--header-font);
}

#topbarhome {
    width: 100%;
    padding-bottom: 0.25em;
    text-align: center;
    font-size: 24pt;
}

#topbar {
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    text-align: center;
    font-size: 24pt;

    display: flex;
    flex-direction: row;
    align-items: center;

    padding-left: 0.5em;
    padding-right: 0.5em;
}

#topbarlogo {
    background-color: var(--boxbackground);
    border-radius: 60px;
    padding: 8px;
    z-index: 1;

    width: 104px;
    height: 104px
}

#topbarnames a {
    text-decoration: none;
    color: var(--text-colour);
}

#menubar {

    gap: 2em;

    background-color: var(--background-alternative);
    width: 90%;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    min-height: 1em;
    position: relative;
    left: -10px;


}

#menubarhome {
    gap: 2em;
    margin-bottom: 1em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;

    background-color: var(--background-alternative);
}

.menubar {
    display: flex;
    justify-content: center;
    flex-direction: row;

    font-family: var(--menu-font);
    font-weight: 500;
    font-style: normal;
}

.menuitem, .menudd {
    font-weight: bold;
    font-size: 16pt;
    margin-left: auto;
    margin-right: auto;
}

.menuitem a {
    color: var(--text-colour);
    text-decoration: none;
}

.menuitem a:hover {
    text-decoration: underline dashed;
}

/* Begin Image Box Row */
#imagebar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
}

.menudd {
    display: none;
}

@media (max-width: 850px) {
    .menubar {
        flex-direction: column;
    }

    #imagebar {
        flex-direction: column;
        justify-content: center;
    }
    .imgbox {
        margin-left: auto;
        margin-right: auto;
    }

    .menuitem {
        display: none;
    }

    .menudd {
        display: inline;
    }

    .menubar:not(.menu-expanded) > .menudd > .menucaretdown {
        display: inline;
    }

    .menubar:not(.menu-expanded) > .menudd > .menucaretup {
        display: none;
    }

    .menu-expanded > .menudd > .menucaretdown {
        display: none;
    }

    .menu-expanded > .menudd > .menucaretup {
        display: inline;
    }

    .menu-expanded > .menuitem {
        display: inline;
    }
}

@media (min-width: 1000px) {
    #imagebar {
        width: 80%;
    }
}

.imgbox {
    min-width: 256px;
    min-height: 256px;
    width: 30%;
    aspect-ratio: 1/1;
}

#imgbox1 {
    background-image: url("img_9512.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#imgbox2 {
    background-image: url("img_9476.jpg");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;
}

#imgbox3 {
    background-image: url("img_8154.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
/* End Image Box Row */

#countdown {
    margin-top: 2em;
    text-align: center;
    font-size: 20pt;
    background-color: var(--background-alternative);
}

#detailsboard {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.bodycontent {
    margin-left: 2em;
    margin-right: 2em;
}

.storycontainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.story {
    margin-right: 1em;
}

.storyimg {
    align-self: center;
    max-width: 100%;
}

@media (min-width: 1000px) {
    .story {
        max-width: 50%;
    }
    .storyimg {
        max-width: 45%;
    }
}