body {
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #d6d0d0;
    font-family: Arial, sans-serif;
    flex-direction: column;
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #564545;
}

h1 {
    font-size: 48px;
    color: #333;
}

html {
    font-size: 16px;
}

#container {
    width: 100vw;

}

.flipbook-nav svg {
    height: 40px;
    font-size: 40px;
    margin-top: -20px;
    margin-right: 4px;
    width: 40px;
    border-radius: 100px !important;
    padding: 10px;
    filter: unset !important;
    color: rgb(255, 255, 255) !important;
    fill: rgb(255, 255, 255) !important;
    background: unset !important;
    box-sizing: initial;
    transition: all 0.6s;
}

.flipbook-main-wrapper {
    height: 84vh !important;
}

.flipbook-fullscreen .flipbook-main-wrapper {
    height: 100vh !important;
}

.flipbook-nav:hover svg {
    height: 40px;
    font-size: 40px;
    margin-top: -20px;
    margin-right: 4px;
    width: 40px;
    border-radius: 100px !important;
    padding: 10px;
    filter: unset !important;
    color: rgb(0, 0, 0) !important;
    fill: rgb(0, 0, 0) !important;
    background: unset !important;
    box-sizing: initial;
    transition: all 0.6s;
}

/* Navigation Styles */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    z-index: 1000;
}


#logo_container {
    width: 100vw;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

#logo {
    width: 350px;
    position: relative;
}

#logo_shadow {
    position: absolute;
    width: 230%;
    transform: translateX(-31%) translateY(-206px);
    background: radial-gradient(ellipse 50% 50% at center,
            /* Shape and size */
            rgba(166, 98, 98, 0.3) 0%, rgba(176, 140, 140, 0.2) 52%, rgba(239, 232, 232, 0) 100%
            /* Ending color */
        );
    height: 339px;
    display: none;
}

#logo img {
    width: 100%;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
    /* filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5)) drop-shadow(0px 0px 20px rgba(0, 0, 0, 0.5)); */

}

#header_msg {
    width: fit-content;
    font-size: 1.3em;
    padding: 10px 0px;
    font-family: "sysfalso", sans-serif;
    font-weight: 400;
    font-style: italic;
}

/* Hamburger Styles */
.hamburger {
    width: 38px;
    height: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: fixed;
    top: 25px;
    right: 23px;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 2px;
    transition: all 0.6s ease;
}

/* Menu Overlay Styles */

.frontpage .toggle {
    display: none;
}

.menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.6s ease;
    z-index: 999;
}

#footer_menu {
    display: flex;
}

.menu.open {
    right: 0;
}

.menu-item {
    font-size: 2em;
    margin: 20px 0;
    cursor: pointer;
    transition: color 0.3s ease;

}

#footer_menu .menu-item {
    font-size: 1.3em;
    margin: 20px 12px;
    cursor: pointer;
    transition: color 0.3s ease;

}

.menu-item a {
    text-decoration: none;
}

#footer_menu .menu-item a {
    text-decoration: underline;
}

.menu-item:hover a {
    color: rgb(199, 134, 29);
}

.menu-item:hover {
    color: rgb(199, 134, 29);
    /* Change to desired hover color */
}

/* Animate Hamburger to 'X' when Open */
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(12px, 11px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

footer {
    display: flex;
    justify-content: center;
    font-size: 0.8em;
    padding-top: 75px;
    padding-bottom: 75px;
    flex-direction: column;
    align-items: center;
}

#content_holder {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 65px;
    font-size: 1.2em;
    line-height: 1.4em;
}

#content {
    max-width: 600px;
    margin: 0 36px;
}

p {}

.quote {
    font-style: italic;
    font-size: 1.2em;
    font-weight: 500;
}

.subtitle {
    font-weight: 600;
    text-align: center;
    font-size: 1.2em;
}

a {
    color: #3d3131;
    text-underline-offset: 2px;
}

.intro {
    display: block;
    margin-bottom: 12vh;
    padding: 0px 66px;
}

.person {
    padding: 46px;
    padding-top: 32px;
    background: linear-gradient(180deg, rgba(239, 232, 232, 1) 0%, rgba(239, 232, 232, 1) 72%, rgba(239, 232, 232, 0) 100%);
    display: flex;
    flex-direction: column;
    border-radius: 40px 40px 0px 0px;
    padding-top: 0px;
    align-items: center;
    padding-bottom: 66px;
    margin: 0px 30px;
    margin-bottom: 90px;
}

.shot {
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 50%;
    border: 8px solid #efe8e8;
    margin-top: -57px;
    box-shadow: 0 0 0 2px #a8abc2, 0 0 0 9px #efe8e8;
    margin-bottom: 19px;
}

.shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.name {
    font-weight: 600;
    font-size: 1.4em;
    padding-bottom: 18px;
    padding-top: 3px;
    font-family: "sysfalso", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.linebreak {
    width: 49%;
    height: 1px;
    background-color: #a8abc2;
    margin-bottom: 20px;
    margin-top: -4px;
}

.bio {
    font-size: 0.9em;
    line-height: 1.5em;
    color: #454545;
    padding: 0 12px;
}

.ack_name {
    font-family: "sysfalso", sans-serif;
    font-size: 1em;
    font-weight: 100;
    font-style: italic;
    margin-bottom: 7px;
    display: block;
    margin-top: 54px;
}



@keyframes swingBackAndForth {
    0% {
        transform: rotate(0deg);
        /* Leftmost position */
    }

    50% {
        transform: rotate(70deg);
        /* Rightmost position */
    }

    100% {
        transform: rotate(0deg);
        /* Back to leftmost position */
    }
}

/* Apply the animation to the element */
.projlogo {
    max-width: 186px;
    padding-bottom: 52px;
    padding: 38px 40px;
    padding-top: 29px;
    mix-blend-mode: multiply;
    display: inline-block;
    transform-origin: center center;
    animation: swingBackAndForth 20s ease-in-out infinite;
}

.donatelink {
    font-size: 1.3em;
    font-weight: 600;
    padding: 24px 0px;
    color: #000000
}

.img_col {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}

/* Form */

input,
textarea {
    padding: 8px;
    width: 100%;
    font-size: 13pt;
    font-weight: 400;
    box-sizing: border-box;
}

form {
    padding: 46px;
    box-sizing: border-box;
}

#formResponse {
    padding: 0 46px;
}

/* Keyframes for .menu_florish rotation */
@keyframes slowRotate {
    0% {
        transform: rotate(0deg);
        /* Starts at its initial state */
    }

    100% {
        transform: rotate(360deg);
        /* Full rotation */
    }
}

/* Keyframes for .menu_florish2 rotation */
@keyframes slowRotateWithInitial {
    0% {
        transform: rotate(145deg) scale(0.7);
        /* Start at initial state */
    }

    100% {
        transform: rotate(505deg) scale(0.7);
        /* 360deg added to initial 145deg */
    }
}

/* Applying animations */
.menu_florish {
    position: absolute;
    width: 200px;
    left: 12vw;
    top: 12vw;
    transform-origin: center;
    /* Rotate around the center */
    animation: slowRotate 60s linear infinite;
    /* Faster rotation */
}

.menu_florish2 {
    position: absolute;
    width: 200px;
    right: 12vw;
    bottom: 12vw;
    transform-origin: center;
    /* Rotate around the center */
    animation: slowRotateWithInitial 80s linear infinite;
    /* Slower rotation */
}


/* /////// MOBILE //////////////// */

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

    #content_holder {
        padding-top: 25px;}

    .flipbook-menu-fixed .flipbook-menu {
        width: unset;
    }


    #container {
        padding-top: 0px;
    }

    .flipbook-main-wrapper {
        height: 68vh !important;
    }

    .person {
        padding: 10px;
        margin: 0px;
        margin-bottom: 90px;
    }

    #content {
        max-width: 100%;
        padding: 0 36px;
        box-sizing: border-box;
        margin: 0px;
    }

    .intro {
        padding: 0px;
    }

    .name {
        padding: 0 12px;
        padding-bottom: 18px;
        font-size: 1.2em;
    }

    .linebreak {
        width: 49%;
        height: 1px;
        background-color: #a8abc2;
        margin-bottom: 11px;
        margin-top: 0px;
    }

    form {
        padding: 46px 0px;
    }
}



@media (max-width: 660px) {
    #footer_menu {
        flex-direction: column;
        align-items: center;
    }

    #logo_container {
        padding-top: 78px;
    }

    html {
        font-size: 18px;
    }

    nav {
        padding: unset;
    }

    footer {
        display: flex;
        justify-content: center;
        font-size: 0.8em;
        padding: 20px 30px;
        flex-direction: column;
        align-items: center;
    }

    #footer_menu .menu-item {
        margin: 10px 12px;
    }

    #footerlinks {
        width: 100%;
        text-align: center;
        padding: 50px 0px;
    }

    .menu_florish {
        position: absolute;
        width: 105px;
        left: 10vw;
        top: 12vw transform-origin: center;
        /* Rotate around the center */
        animation: slowRotate 60s linear infinite;
        /* Faster rotation */
    }

    .menu_florish2 {
        position: absolute;
        width: 140px;
        right: 5vw;
        bottom: 8vw;
        transform-origin: center;
        /* Rotate around the center */
        animation: slowRotateWithInitial 80s linear infinite;
        /* Slower rotation */
    }

    .menu-item {
        font-size: 1.9em;
        margin: 15px 0;
    }

}