/*
Theme Name: Skyfarers Guild
Author: Skyfarers Guild
Description: A pixel-art lookout above the clouds.
Version: 1.0.0
*/
* { box-sizing: border-box }
html, body { margin: 0; background: #073b47; color: #fff0cb }
.haven {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    min-height: 100svh;
    height: 100dvh;
    background: #073b47 url(assets/haven.webp) center / cover no-repeat;
    image-rendering: pixelated;
}
.haven h1 {
    position: absolute;
    left: 50%;
    top: 36%;
    width: min(43vw, 580px, 68vh);
    margin: 0;
    transform: translate(-50%, -50%);
    text-align: center;
    font-family: Georgia, serif;
}
.haven h1 img { display: block; width: 100%; height: auto }
.sky { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none }
.motion {
    position: absolute;
    right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
    width: 46px; height: 46px; padding: 0;
    background: #103940; color: #fff0cb; border: 2px solid #d6d4a6;
    cursor: pointer; box-shadow: 2px 2px #06242d;
}
.motion span { display: block; margin: auto; width: 12px; height: 14px; border-inline: 4px solid currentColor }
.motion[data-paused="true"] span { width: 0; border: 7px solid transparent; border-right: 0; border-left: 11px solid currentColor }
.motion:focus-visible { outline: 3px solid white; outline-offset: 3px; box-shadow: 0 0 0 8px #102d33 }
@media (orientation: portrait) {
    .haven { background-image: url(assets/haven-portrait.webp) }
    .haven h1 { width: min(84vw, 600px); top: 35% }
}
@media (forced-colors: active) {
    .motion { border-color: ButtonText; background: ButtonFace; color: ButtonText }
}
