:root {
    --bg-image: url("content/layers/8C5B7BEE-2D98-4C4F-9560-01974C93DD77.JPEG");
    --overlay: rgba(0, 0, 0, 0.4);
    --text-color: white;
    --bg-position: center 35%;

    --link-color: #e3b23c;
    --link-color-hover: #f5cf6b;
    --btn-bg: rgba(20, 50, 50, 0.35);
}

[data-theme="light"] {
    --bg-image: url("content/layers/light_background.JPEG");
    --overlay: rgba(255, 255, 255, 0.2);
    --text-color: black;
    /* I kind of like it top left but not sure which is better here */
    /* --bg-position: top left; */
    --bg-position: center 35%;

    /* I need to change these link colors and hover colors, I feel like they dont look good with this background */
    --link-color: #2E1A47; 
    --link-color-hover:  #5B1E8A;
    --btn-bg: rgba(255, 250, 240, 0.35);
}

body {
    margin: 0;
    padding: 0;
    background-image: var(--bg-image);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: var(--bg-position);
    font-family: "Junicode VF", Georgia, serif;
    color: var(--text-color);
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: var(--overlay);
    z-index: 0;
}

.dark { display: block; }
.light { display: none; }
[data-theme="light"] .dark { display: none; }
[data-theme="light"] .light { display: block; }


.page-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 2rem 6rem;
    gap: 3.5rem;
}

.page-logo {
    width: 500px;
    max-width: 80vw;
}
[data-theme="light"] .page-logo { filter: invert(1); }

.blurb {
    max-width: 480px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

.custom_link {
    color: var(--link-color);
    text-decoration: underline;
    text-decoration-color: var(--link-color);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.custom_link:visited {
    color: var(--link-color);
}

.custom_link:hover,
.custom_link:focus-visible {
    color: var(--link-color-hover);
    text-decoration-color: var(--link-color-hover);
}

/*  could add some more cheezy css animations to these bunnies or the diamonds */
.bunnies {
    width: 200px;
    max-width: 85vw;
}

.box {
    width: 130px;
}

.weird {
    width: 240px;
    max-width: 85vw;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

@keyframes wiggle {
    50%        { transform: rotate(2.5deg); }
    0%       { transform: rotate(-2.5deg); }
    100% { transform: rotate(-2.5deg); }
}

@keyframes shimmer {
    0%, 100% { filter: brightness(1); }
    50%       { filter: brightness(1.2); }
}

.corner-logo {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    width: 200px;
    z-index: 5;
    pointer-events: none;
}

.corner-logo-left {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    width: 75px;
    z-index: 5;
    pointer-events: none;
}

/* Safi asked for this one specifically */
.vanessa {
    width: 350px;
    max-width: 80vw;
    animation: float 5s ease-in-out infinite, shimmer 4s ease-in-out infinite, wiggle 4s ease-in-out infinite;
}

/* for actual content within page content */
.section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 480px;
    text-align: center;
    margin: 1rem auto;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    margin: 0;
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section-header::before,
.section-header::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--text-color);
    opacity: 0.75;
}

.section-desc {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.section-header-img {
    height: 60px;
    width: auto;
    max-width: 70vw;
    display: block;
}
[data-theme="dark"] .section-header-img { filter: invert(1); }

.section-header-img--gallery {
    height: 76px;
}

.gallery-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.gallery-trunk {
    width: 1px;
    height: 2rem;
    background: var(--text-color);
    opacity: 0.75;
}

.gallery-branches {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 3.5rem;
    width: 100%;
}

.gallery-branches::before {
    content: "";
    position: absolute;
    top: 0;
    left: 18%;
    right: 18%;
    height: 1px;
    background: var(--text-color);
    opacity: 0.75;
}

.gallery-node {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1.5rem;
}

.gallery-node::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 1.5rem;
    background: var(--text-color);
    opacity: 0.75;
}

.gallery-node-img {
    width: 115px;
    max-width: 28vw;
    display: block;
}
[data-theme="dark"] .gallery-node-img { filter: invert(1); }

.gallery-node-header {
    margin: 0;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gallery-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1em 1.75em;
}

.gallery-box .link-btn {
    padding: 0;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.gallery-box:hover .link-btn,
.gallery-box:focus-within .link-btn {
    color: var(--link-color-hover);
}

.divider {
    width: 75%;
    max-width: 420px;
    margin: 0;
    display: block;
}
[data-theme="dark"] .divider { filter: invert(1); }

.divider-flip { transform: scaleY(-1); }

.link-btn {
    color: var(--text-color);
    text-decoration: none;
    font-size: clamp(0.9rem, 0.75rem + 1vw, 1.1rem);
    letter-spacing: 0.08em;
    padding: 10px;
    display: inline-block;
    max-width: 90vw;
}

.link-btn:hover {
    text-decoration: underline;
}

@media (min-width: 1024px) {
    .home-page {
        zoom: 1.5;
    }
}


footer {
	text-align: center;
	margin: auto;
	margin-bottom: 5vw;
	font-size: 0.8rem;
	width: fit-content;
	border-radius: 5px;
}