html, body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
}

.enable-audio {
    position: absolute;
    bottom: 1rem;
    right: 5rem;
    z-index: 20;
    padding: 0.6rem 1rem;
    border: 1px solid white;
    border-radius: 0.4rem;
    color: white;
    background: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.test-audio-controls {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    z-index: 20;
    max-width: calc(100vw - 2rem);
}

.fullscreen-container {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

    .image-glow {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: contain;
        filter: blur(50px);
        transform: scale(1.15);
        opacity: 0.6;
        pointer-events: none;
        z-index: 0;
    }

#main-image, .main-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 10;
    border-radius: 10px;
    box-shadow: 0px 0px 80px rgba(255, 255, 255, 0.2);
}

.fullscreen-container.contained-frame { position: absolute; width: 100%; height: 100%; }
.contained-frame .main-image { cursor: pointer; border-radius: 4px; }
.contained-frame .main-image:focus-visible { outline: 3px solid white; outline-offset: -4px; }
.contained-frame .enable-audio { right: 0.5rem; bottom: 3.5rem; max-width: calc(100% - 1rem); }

.fullscreen-container.align-top { align-items: flex-start; }
.fullscreen-container.align-bottom { align-items: flex-end; }
.fullscreen-container.align-left { justify-content: flex-start; }
.fullscreen-container.align-right { justify-content: flex-end; }
.align-top .image-glow { object-position: center top; }
.align-bottom .image-glow { object-position: center bottom; }
.align-left .image-glow { object-position: left center; }
.align-right .image-glow { object-position: right center; }

.language-notice { position: fixed; inset-inline: .5rem; bottom: .5rem; z-index: 100; padding: .7rem; background: #17191e; color: white; border: 1px solid #687080; }
