@font-face {
    font-family: "Herschel";
    src: url("fonts/HERSCHEL.OTF") format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Balthazar";
    src: url("fonts/BALTH___.TTF") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Comic Sans Custom";
    src: url("fonts/COMIC.TTF") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Comic Sans Custom";
    src: url("fonts/COMICBD.TTF") format("truetype");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Comic Sans Custom";
    src: url("fonts/COMICI.TTF") format("truetype");
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: "Comic Sans Custom";
    src: url("fonts/COMICZ.TTF") format("truetype");
    font-weight: bold;
    font-style: italic;
}

:root {
    --sand: #f4c36f;
    --sand-light: #ffe5aa;
    --sea: #55b6bf;
    --sea-dark: #267c8a;
    --leaf: #78a85a;
    --ink: #3c2f25;
    --cream: #fff8df;
    --card: rgba(255, 248, 223, 0.95);
    --border: #9b6b35;
    --shadow: rgba(92, 61, 29, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    min-height: 100vh;
    font-family: "Comic Sans Custom", "Comic Sans MS", cursive, sans-serif;
    font-size: 14px;
    color: var(--ink);
    background:
        linear-gradient(to bottom, rgba(143, 216, 255, .82), rgba(255, 229, 170, .45) 42%, rgba(244, 195, 111, .72)),
        url("South Seas Island_P4 copy.png");
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}
/*
body {
    margin: 0;
    min-height: 100vh;
    font-family: "Comic Sans Custom", "Comic Sans MS", cursive, sans-serif;
    font-size: 14px;
    color: var(--ink);
    background:
    url("wave-bg.png"), 
    linear-gradient(to bottom, rgba(143, 216, 255), rgba(255, 229, 170) 42%, rgba(244, 195, 111));
    background-repeat: repeat;
}*/

a {
    color: var(--sea-dark);
}

.small {
    font-size: .75rem;
}

.page-shell {
    width: 899px;
    margin: 24px auto;
    box-shadow: 0 5px 0 var(--shadow);
    position: relative;
    overflow: visible;
}

.page-shell::before {
    content: "";
    position: absolute;
    left: -6rem;
    top: -.5rem;
    width: 138px;
    height: 295px;
    background: url("vine-vert.png") center / contain no-repeat;
    z-index: 5;
    pointer-events: none;
}

.deco-bottom {
    position: relative;
    overflow: visible;
}

.deco-bottom::after {
    content: "";
    position: absolute;
    left: 25rem;
    bottom: -3.5rem;
    width: 241px;
    height: 76px;
    background: var(--deco-img) center / contain no-repeat;
    z-index: 10;
    pointer-events: none;
}

.deco-bottom-1 {
    position: relative;
    overflow: visible;
}

.deco-bottom-1::after {
    content: "";
    position: absolute;
    left: -16rem;
    bottom: -3.5rem;
    width: 241px;
    height: 76px;
    background: var(--deco-img) center / contain no-repeat;
    z-index: 10;
    pointer-events: none;
}

@media (max-width: 768px) { 
    .page-shell::before,
    .deco-bottom::after,
    .deco-bottom-1::after {
        display: none;
    }
}

.event-banner {
    margin: 0;
    border: 2px solid var(--border);
    border-bottom: 0;
    background-image: url("banner2.png");
}

.event-banner img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.event-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 8px;
    border: 2px solid var(--border);
    border-bottom: 0;
    background: rgba(38, 124, 138, .92);
}

.event-nav a {
    padding: 7px 14px;
    color: var(--cream);
    font-family: "Balthazar", Georgia, serif;
    font-size: 2rem;
    text-decoration: none;
}

.event-nav a:hover,
.event-nav a:focus {
    color: var(--sea);
}

.content-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 0;
    align-items: stretch;
    border-left: 2px solid var(--border);
    border-right: 2px solid var(--border);
}

.panel,
.activity-card {
    background: var(--card);
}

.panel {
    padding: 14px;
    border-top: 2px solid var(--border);
    border-right: 2px solid var(--border);
}

.panel h2,
.activity-card h2,
.shore-notice h2 {
    margin: 0 0 10px;
    color: #7a4b23;
    font-family: "Herschel", Georgia, serif;
    font-weight: normal;
    line-height: .95;
}

.panel h2 {
    font-size: 32px;
}

.activity-card h2 {
    font-size: 34px;
}

.event-facts {
    margin: 0;
    padding-left: 18px;
    line-height: 1.7;
}

.label,
.details,
.mini-note,
.event-footer {
    font-family: "Balthazar", Georgia, serif;
}

.label {
    margin: 0 0 6px;
    color: var(--sea-dark);
    font-size: 20px;
}

.mini-note {
    margin-top: 12px;
    padding: 10px;
    border: 1px dashed var(--sea-dark);
    background: rgba(85, 182, 191, .18);
    font-size: 17px;
    line-height: 1.45;
}

.activities {
    display: grid;
    gap: 0;
}

.activity-card {
    display: flex;
    grid-template-columns: 70px 1fr;
    gap: 14px;
    padding: 16px;
    border-top: 2px solid var(--border);
}

.activity-card + .activity-card {
    border-top: 2px solid var(--border);
}

.intro-card {
    display: block;
}

.intro-card .label {
    color: #7a4b23;
}

.activity-icon {
    display: grid;
    place-items: center;
    padding: 5px;
    border: 1px dashed var(--border);
    background: radial-gradient(circle at 35% 30%, #fff8df, var(--sand-light) 55%, var(--sand));
    font-size: 32px;
}

.activity-card p:not(.label),
.shore-notice p:not(.label) {
    margin: 0 0 10px;
    line-height: 1.55;
}

.details {
    padding: 10px;
    border-left: 4px solid var(--sea);
    background: rgba(255, 229, 170, .48);
    font-size: 17px;
    line-height: 1.45;
}

.shore-notice {
    margin: 0;
    padding: 18px;
    text-align: center;
    border: 2px solid var(--border);
    color: white;
    background: linear-gradient(to right, rgba(85, 182, 191, .94), rgba(120, 168, 90, .92));
}

.shore-notice .label {
    color: #fff8df;
}

.shore-notice h2 {
    color: white;
    font-size: 40px;
}

.shore-notice p:last-child {
    margin-bottom: 0;
}

.event-footer {
    margin: 0;
    padding: 8px;
    border: 2px solid var(--border);
    border-top: 0;
    color: var(--cream);
    background: rgba(38, 124, 138, .92);
    font-size: 16px;
    text-align: center;
    text-shadow: 1px 1px 2px #3c2f25;
}

@media (max-width: 760px) {
    .page-shell {
        width: min(100% - 16px, 899px);
        margin: 12px auto;
    }

    .event-nav {
        align-items: stretch;
        padding: 0;
    }

    .event-nav a {
        flex: 1 1 50%;
        text-align: center;
        border: 1px solid rgba(255, 255, 255, .42);
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .panel {
        border-right: 0;
    }

    .activity-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        min-width: 0;
    }

    .activity-text {
        width: 100%;
        min-width: 0;
    }

    .activity-icon {
        margin: 0 auto;
        max-width: 100%;
    }

    .activity-icon img {
        display: block;
        max-width: 100%;
        height: auto;
    }
}

