:root {
    color-scheme: light;
    background: #faf6e2;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-width: 100%;
    min-height: 100%;
    background: #faf6e2;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
}

.poster {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #faf6e2;
}

.poster picture {
    display: contents;
}

.poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 700px), (orientation: portrait) and (max-width: 900px) {
    body {
        overflow-y: auto;
    }

    .poster {
        width: 100%;
        height: auto;
        min-height: 100svh;
        display: block;
        overflow: visible;
    }

    .poster img {
        width: 100%;
        height: auto;
        min-height: 0;
        object-fit: initial;
    }
}
