/* establish a layer order up-front, from lowest to highest priority */
@layer reset, defaults, colors, overrides;





@layer reset {
/*  Based on A (more) Modern CSS Reset (18th of September 2023)  */
*,
*::before,*::after {box-sizing: border-box;}
html {-webkit-text-size-adjust: none;text-size-adjust: none;}
body,h1,h2,h3,h4,h5,p,figure,blockquote,dl,dd {margin: 0;}
ul[role='list'],ol[role='list'] {list-style: none;}
body {min-height: 100vh;line-height: 1.25;}
h1,h2,h3,h4,h5,button,input,label {line-height: 1.1;}
h1,h2,h3,h4,h5 {text-wrap: balance;}
a:not([class]) {text-decoration-skip-ink: auto;color: currentColor;}
img {max-width: 100%;display: block;}
input,button,textarea,select {font: inherit;}
textarea:not([rows]) {min-height: 10em;}
:target {scroll-margin-block: 5px;}
}

























@layer defaults {
:root {
    scrollbar-gutter: stable;
    scroll-behavior: smooth;
    font-size: 100%;
    --fontBase: 'Georgia', serif;
    --fontAlt: 'Tahoma', sans-serif;
    --white10: 0, 0%, 10%;
    --white20: 0, 0%, 20%;
    --white30: 0, 0%, 30%;
    --white40: 0, 0%, 40%;
    --white50: 0, 0%, 50%;
    --white60: 0, 0%, 60%;
    --white70: 0, 0%, 70%;
    --white80: 0, 0%, 80%;
    --white90: 0, 0%, 90%;
    --black: 0, 0%, 0%;
    --white: 0, 0%, 100%;
    --success: 140, 82%, 77%;
    --info: 202, 82%, 59%;
    --warning: 48, 91%, 79%;
    --danger: 6, 86%, 51%;
}










body {
    font-family: var(--fontBase);
    min-height: 100vh;
}










#fsbg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100lvw;
    height: 100lvh;
    overflow: hidden;
    z-index: -100;
    background: url('../images/rain-still.jpg') center center / cover no-repeat;
}

#fsbg-video {
    display: none;
}










#content {
    transition: all 500ms ease-in-out;
    opacity: 0;
    text-align: justify;
}

#content.fade-in {
    opacity: 1;
}

#content.fade-out {
    opacity: 0;
}










header {
    position: relative;
    top: 0;
    width: 100%;
    text-align: center;
    z-index: 1;
}

header nav {
    padding-block: 1rem;
}










footer {
    position: sticky;
    height: 2rem;
    top: calc(100vh - 1rem);
    text-align: center;
    font-size: 70%;
}










main {
    margin-inline: auto;
    margin-block: 1rem;
    padding-inline: 1rem;
    padding-block: 0.5rem;
    width: 100%;
    max-width: 1000px;
    border-radius: 0.5rem;
    border-width: medium;
    border-style: solid;
}

main section {
    margin-block: 0.5rem;
    padding-inline: 0.5rem;
    padding-block: 0.1rem;
    border-radius: 0.5rem;
    border-width: thin;
    border-style: solid;
}

main img#mainLogo {
    margin-block: 1rem;
    margin-inline: auto;
    max-width: 100%;
    width: 375px;
    height: auto;
}

main .content-box {
    border-width: thin;
    border-style: solid;
    border-radius: 0.5rem;
    margin-block: 0.5rem;
    padding-inline: 0.5rem;
    padding-block: 0.1rem;
}










.image-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-block: 0.25rem;
}
.image-block img {
    border-radius: 0.3rem;
    min-height: 50px;
    min-width: 50px;
}










h1, h2, h3, h4, h5 {
    margin-block: 0.5rem;
    transition: all 200ms ease-in-out;
    text-align: center;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.1rem;
}

h5 {
    font-size: 1rem;
}

p {
    margin-block: 0.5rem;
}

ul, ol {
    margin-block: 0;
    list-style-position: outside;
}

ol.upperAlpha {
    list-style-type: upper-alpha;
}

li button {
    margin-block: 0.15rem;
}

button {
    cursor: pointer;
    border-width: 2px;
    border-style: solid;
    border-radius: 0.5rem;
    margin-inline: 0.1rem;
    text-align: center;
    transition: all 400ms ease-in-out;
}

a:link,
a:hover,
a:visited,
a:active {
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--fontAlt);
    transition: all 250ms ease-in-out;
}
a:hover {
    --ul-length: 100%;
}

.code {
    margin: 0;
    font-family: 'Courier New', monospace;
    line-height: 1.0;
    white-space: pre-wrap;
    padding: 1rem;
    padding-top: 0;
    border-width: medium;
    border-style: solid;
    border-radius: 8px;
}










button:disabled {
    pointer-events: none;
}

button:hover {
    transform: translateY(-5px);
    transition: all 200ms ease-in-out;
}

button:active {
    box-shadow: none;
    transform: translateY(0);
    transition: all 50ms ease-in-out;
}










.center-audio {
    display: block;
    margin-inline: auto;
    margin-bottom: 0.5rem;
}










#scrollToTopBtn {
    opacity: 0;
    pointer-events: none; /* Prevent clicks when hidden */
    transform: translateY(2rem); /* start slightly lower */
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    transition: all 0.3s;
    z-index: 1;
}

#scrollToTopBtn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0); /* slide into place */
}










.s-toggle-title, .s-toggle2-title {
    cursor: pointer;
    text-align: center;
    font-size: 1.75rem;
    transition: all 200ms ease-in-out;
}

.s-toggle2-title {
    font-size: 1.25rem;
}

.s-toggle-content, .s-toggle2-content {
    padding: 0.25rem;
}

.s-toggle-on {
    text-shadow: none;
    transition: all 200ms ease-in-out;
}

.s-toggle-hover {
    transition: all 200ms ease-in-out;
}










/* Audio Player */
/* The main audio player container. */
#ukjsap_player {
    padding: 0.6rem;
    border-radius: 0.5rem;
    text-align: center;
}
/* The 'controls' section (play button, progress, volume etc.). */
#ukjsap_audio {
    width: 85%;
    padding: 0.6rem;
    border-radius: 0.5rem;
}
/* The 'title' section. */
#ukjsap_title {
    font-size: 1.5rem;
    font-weight: bolder;
}
/* The 'playlist' section. */
#ukjsap_playlist {
    width: 85%;
    padding: 0.6rem;
    margin-inline: auto;
    border-radius: 0.5rem;
}
/* The ordered list (the playlist). */
#ukjsap_player ol {
    text-align: left;
    list-style: outside decimal-leading-zero;
}
/* The entire playlist line. */
#ukjsap_player li {
    padding-top: 0.3rem;
    padding-bottom: 0.1rem;
    margin-left: 2rem;
}
/* The playlist tune title/link */
#ukjsap_player li a {
    display: block;
    padding: 0.3rem;
    text-decoration: none;
    transition: 0.25s;
    border-radius: 0.5rem;
}
#ukjsap_player li a:hover {
    font-weight: bolder;
}
/* The active playlist item. */
#ukjsap_player .ukjsap_active a {
    font-weight: bolder;
    text-decoration: underline;
}
/* End of Audio Player */










/* On larger screens */
@media (min-width: 1050px) {
    :root {
        font-size: 125%;
    }

/* Remove the static image background. */
    #fsbg-container {
        background: none;
    }
/* Display the full screen video background. */
    #fsbg-video {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        width: auto;
        height: auto;
        min-width: 100%;
        min-height: 100%;
        transform: translate(-50%, -50%);
    }
/* Sticky header */
    header {
    position: sticky;
}
footer {
    font-size: 100%;
}
}
}

























@layer colors {
html {
    scrollbar-color: hsl(var(--white80)) hsl(var(--white40));
}

body {
    background-color: hsl(var(--white40));
}










header {
    background: linear-gradient(hsl(var(--black)), hsl(var(--white10)), hsl(var(--white20)), hsl(var(--white30)), hsl(var(--white40)), hsl(var(--white50)), hsl(var(--white60)), hsla(var(--white70), 0.95), hsla(var(--white80), 0.94), hsla(var(--white90), 0.9), hsla(var(--white), 0.85));
}










main {
    background-color: hsla(var(--white20), 0.75);
    color: hsl(var(--white90));
    border-color: hsl(var(--white));
}

main section {
    border-color: hsl(var(--white70));
    background-color: hsl(var(--white40));
}

main p {
    color: hsl(var(--white90));
}

main .content-box {
    background-color: hsl(var(--white20));
    border-color: hsl(var(--white70));
}










footer {
    background-color: hsla(var(--black), 0.5);
    color: hsl(var(--white90));
}










h1 {
    color: hsl(var(--white20));
    text-shadow:
        -1px 1px 0 hsl(var(--white)),
        1px 1px 0 hsl(var(--white)),
        1px -1px 0 hsl(var(--white)),
        -1px -1px 0 hsl(var(--white));
}

h2, h3, h4, h5 {
    color: hsl(var(--white));
    text-shadow:
        -1px 1px 0 hsl(var(--black)),
        1px 1px 0 hsl(var(--black)),
        1px -1px 0 hsl(var(--black)),
        -1px -1px 0 hsl(var(--black));
}

.code {
    background-color: hsl(var(--white90));
    color: hsl(var(--black));
    border-color: hsl(var(--white20));
}

#local-warning {
    color: hsl(var(--info));
}










a:link,
a:hover,
a:visited,
a:active {
    background:
    linear-gradient(hsl(var(--info)))
    bottom /var(--ul-length, 50%) 2px
    no-repeat;
}
a:visited {
    color: inherit;
}
a:hover {
    color: hsl(var(--info));
}
a:active {
    color: hsl(var(--success));
}










button {
    color: hsl(var(--black));
    background-color: hsl(var(--white90));
    border-color: hsl(var(--black));
}

button:disabled {
    color: hsl(var(--white20));
    background-color: hsl(var(--white40));
}

button:hover {
    color: hsl(var(--white));
    background-color: hsl(var(--white40));
    box-shadow: hsla(var(--black), 0.25) 0 8px 15px;
}

button:active {
    color: hsl(var(--white));
    background-color: hsl(var(--success));
}










.s-toggle-title, .s-toggle2-title {
    color: hsl(var(--white));
}

.s-toggle-on {
    color: hsl(var(--black));
}

.s-toggle-hover {
    color: hsl(var(--black));
    text-shadow:
        -1px 1px 0 hsl(var(--white)),
        1px 1px 0 hsl(var(--white)),
        1px -1px 0 hsl(var(--white)),
        -1px -1px 0 hsl(var(--white));
}
}










/* Audio Player */
#ukjsap_player {
    color: hsl(var(--black));
}
#ukjsap_audio, #ukjsap_playlist {
    background-color: hsl(var(--white80));
}
#ukjsap_player li a {
    background: hsl(var(--white50));
}
#ukjsap_player li a:hover, #ukjsap_player .ukjsap_active a {
    color: hsl(var(--white));
}
/* End of Audio Player */




















@layer overrides {
}