:root {
    --dark-blue: #1d1c64;
    --strong-yellow: #ffd833;
    --teal: #0070C0;
    --block-gap: 15px;
}

* {
    box-sizing: border-box;
}

body {
    width: 920px;
    margin: auto;
    font-family: "Afacad Flux", sans-serif;
    font-size: 20px;
    line-height: 1.05;
    background: #e6e6e6;
    color: var(--dark-blue);
}

ul li { margin-bottom: 11px; list-style-type: square; }
ol li { margin-bottom: 11px; }

a {
    text-decoration: none;
    color: var(--teal);
}

hr {
    margin: 1.3em 0 1em 0;
}

summary {
    cursor: pointer;
}

/**********  Header  **********/

h1, h2, h3 { margin: 0 0 .3rem 0; }
h3 { font-weight: normal;}

header h1 { font-size: 48px; font-weight: 600;}
header h2 { font-size: 38px; font-weight: 600;}
header h3 { font-size: 34px;}

header {
    background: var(--dark-blue);
    padding-top: 46px;
    position: relative;
    color: white;
}

#header-text {
    padding: 0 0 10px 286px;
}

#menu {
    margin: 24px 0 0 0;
    padding: 6px 0 7px 236px;
    background: var(--strong-yellow);
}

#menu li {
    display: inline;
    font-size: 18px;
    font-weight: bold;
    padding-right: 14px;
    color: black;
}

#menu a {
    color: black;
}

#pac-logo {
    position: absolute;
    width: 241px;
    inset: 55px 0 0 17px;
    pointer-events: none;
}

/**********  Main  **********/

main {
    background: white;
    padding: 2em 1em;
}

main.with-blocks {
    padding: var(--block-gap);
}

.fancy {
    padding: 3px 0;
    font-family: 'Ink Free';
    font-size: 30px;
    text-align: center;
    color: var(--teal);
}

.blocks {
    column-count: 2;
    gap: var(--block-gap);
}

.swing-image {
    background-image: url(images/swing.png);
    background-size: 62%;
    background-position: right -26px top 200px;
    background-repeat: no-repeat;
}

.block, .blocks > div {
    position: relative;
    margin-bottom: var(--block-gap);
    padding: 4px 5px 4px 5px;
    break-inside: avoid;
    background: #fffff6cc;
    border: 1px solid #ddddd0;
}

main h1 {font-size: 31px;}
main h2 {font-size: 26px;}
main h3 {font-size: 23px;}

main p {
    margin: 0 0 .6em 0;
    font-weight: normal;
}

.notice {
    margin: 8px 8px 10px 8px;
    padding: 8px 11px;
    font-weight: bold;
    border: 1px solid #c0beff;
    background: #ffee9e;
    color: var(--teal);
    border-radius: 5px;
}

.event {
    margin-bottom: 10px;
}

.event-time {
    font-weight: bold;
}

.more {
    font-style: italic;
    color: var(--teal);
}

.price {
    font-size: 28px;
}

.not-bold {
    font-weight: normal;
}

#location {
    break-after: always;
}

.google-map {
    margin: 1em 0;
    padding-bottom: 50%;
    position: relative;
}

.google-map iframe {
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    position: absolute;
}

/**********  Footer  **********/

footer {
    position: relative;
    padding: 45px 45px 35px 45px;
    background: var(--dark-blue);
    color: white;
}

footer p {
    margin: 0 0 .5em 0;
    font-size: 29px;
    font-weight: 600;
    margin-bottom: .2em;
}

footer a {
    font-size: 19px;
    font-weight: normal;
    color: white;
    text-decoration: underline;
}

footer .small {
    font-size: 20px;
    font-weight: normal;
}

#pac-logo-gray {
    position: absolute;
    width: 220px;
    top: 52px;
    right: 52px;
}

/**********  Gentle English  **********/

#gentle-english main {
    background: #c0dac0;
}

#gentle-english .blocks > div, #gentle-english .fancy {
    background: #fffff6;
}

#gentle-english .fancy {
    color: #9d6000;
}

#gentle-english header {
    background-image: url('images/forestPath.png');

}

#gentle-english #header-text {
    padding-left: 56px;
    color: white;
}

#gentle-english #visual-2 {
    width: 100%;
    aspect-ratio: 600 / 338;
    border: 0;
}

/******************************/
/**********  Mobile  **********/
/******************************/
@media (max-width: 600px) {
    :root { --block-gap: -1px; }

    body { width: 100%; font-size: 17px; }

    #menu {
        margin-top: 15px;
        padding: 5px 0;
        text-align: center;
    }
    #menu li {
        font-size: 15px;
        white-space: nowrap;
        padding: 1px 20px;
        display: inline-block;
    }

    header h1 { font-size: 22px; }
    header h2 { font-size: 20px; }
    header h3 { font-size: 18px; }

    header { padding-top: 12px; }

    #header-text { padding: 0 0 0 120px; }

    #pac-logo {
        width: 100px;
        inset: 13px 0 0 5px;
    }

    main { padding: 1em .5em; }

    main h1 { font-size: 27px; }
    main h2 { font-size: 22px; }
    main h3 { font-size: 20px; }

    .blocks {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--block-gap);
    }

    .fancy {
        font-size: 26px;
        padding: 14px 0;
    }

    .price { font-size: 29px; }

    #calendar { order: 1; }
    #temp1 { order: 2; }
    #try-it { order: 3; }
    #beob { order: 4; }
    #admission { order: 5; }
    #location { order: 6; }
    #temp2 { order: 7; }
    #visual-2 { order: 8; }

    footer { padding: 24px 16px; }

    footer p { font-size: 20px; margin-bottom: .4em; }

    footer a { font-size: 16px; }

    footer .small {font-size: 15px;}

    footer .logo { text-align: center; }

    #pac-logo-gray {
        position: unset;
        width: 182px;
        padding-top: 15px;
    }

    #gentle-english #header-text {
        padding-left: 1em;
    }

}
