@charset "UTF-8";

body {
    background-image: url('../image/background.gif');
    background-attachment: fixed;
    margin: 0 auto;
}

#skip-to-content {
    position: fixed;
    top: 0;
    left: 0;
    display: inline-block;
    color: #FFFFFF;
    background-color: #DA8BFF7C;
    font-size: 1.5rem;
    padding: 0.25rem;
    text-decoration: none;
    transform: translateX(-15rem);
    transition: transform 0.2s ease-in;
    z-index: 999999999999;
}

#skip-to-content:focus,
#skip-to-content:focus-within { transform: translateX(0); }

header {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
    padding-top: 8px;
    text-align: center;
    grid-area: header;
}

header img {
    display: block;
    margin: auto;
    max-width: 100%;
    max-height: 230px;
}

@keyframes splashpulse {
    0% { transform: translateX(-50%) rotateZ(-15deg) scale(1); }
    50% { transform: translateX(-50%) rotateZ(-15deg) scale(0.9); }
    100% { transform: translateX(-50%) rotateZ(-15deg) scale(1); }
}

header .splashmsg {
    position: absolute;
    top: 88%;
    left: 80%;
    transform: translateX(-50%) rotateZ(-15deg);
    font-weight: 900;
    font-size: 22px;
    color: #FFE141;
    text-shadow: 3px 3px 2px #000;
    overflow-wrap: break-word;
    text-align: center;
    white-space: nowrap;
    z-index: 10;
    animation: splashpulse 0.75s infinite linear;
}

aside {
    width: 250px;
    grid-area: sidebar;
}

aside nav ul {
    line-height: 1;
    padding: 0;
    list-style: none;
}

aside nav ul h3 a { color: inherit; }

aside nav ul h3:not(:first-child) { margin-top: 20px; }

aside nav ul li { margin: 2px auto; }

aside nav ul li a::before { content: "❥ "; }

aside nav ul li.disabled a {
    color: var(--color-link-disabled);
    pointer-events: none !important;
}

aside nav ul li a {
    display: inline-block;
    padding: 5px 10px;
    width: calc(100% - 20px);
    font-size: 20px;
    font-weight: bolder;
    transition: all .25s ease-in;
}

aside nav ul li a:hover,
aside nav ul li a:focus,
aside nav ul li a:focus-within {
    text-decoration: solid;
    padding: 5px 20px;
    width: calc(100% - 40px);
}

footer {
    text-align: center;
    padding-top: 25px;
    padding-bottom: 15px;
    grid-area: footer;
    font-size: 18px;
}

footer a { margin: 0 10px; }

footer #visitor-count h3 {
    font-size: 25px;
    display: inline-block;
    vertical-align: middle;
}

footer #visitor-count h3:not(:first-of-type) { padding-left: 25px; }

footer #visitor-count p {
    display: inline-block;
    font-weight: bolder;
}

main iframe {
    width: 100%;
    min-height: 500px;
    border: none;
}

#image-preview {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 25;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#image-preview img {
    image-rendering: auto;
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
}

#image-preview .preview-extras {
    margin-top: 8px;
    text-align: center;
    padding: 0 50px;
    font-weight: bold;
}

#music-player {
    position: fixed;
    bottom: 50px;
    right: 25px;
    width: 350px;
    height: 400px;
    box-shadow: inset -1px -1px #0A0A0A, inset 1px 1px #DFDFDF, inset -2px -2px gray, inset 2px 2px #FFFFFF;
    padding: 2px;
    top: auto;
    left: auto;
    z-index: 20;
}

#music-player h1 {
    background: linear-gradient(90deg, #42278C, #BC65D5);
    margin: 0;
    color: #FFFFFF;
    padding: 6px 0 2px 8px;
    font-family: inherit;
    font-size: 22px;
}

#music-player h1 button {
    position: absolute;
    right: 8px;
    width: 24px;
    aspect-ratio: 1 / 1;
    border-radius: 0;
    background-color: #C0C0C0;
    color: #000000;
    border-color: #FFFFFF #808080 #808080 #FFFFFF;
    border-style: solid;
    border-width: 2px;
}

#music-player h1 button:active { border-color: #808080 #FFFFFF #FFFFFF #808080; }

#music-player iframe {
    width: 100%;
    height: calc(100% - 34px);
    border: none;
}

#mobile-message {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999999999;
    margin: 10px;
    padding: 10px;
    border: 2px solid var(--color-border);
    border-radius: 5px;
    background-color: #2D0042;
}

@media screen and (max-width: 580px) { #mobile-message { display: block; } }
