/*
Theme Name: ryari
Description: RYARI-Auszeichnungen mit animierter Sternenszene als Startseite.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ryari
*/

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #000;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

.ryari-front {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
}

.ryari-front.admin-bar {
    min-height: calc(100vh - 32px);
    min-height: calc(100svh - 32px);
}

.ryari-stage {
    position: relative;
    width: min(100vw, 177.7778vh, 1920px);
    width: min(100vw, 177.7778svh, 1920px);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    isolation: isolate;
}

.ryari-front.admin-bar .ryari-stage {
    max-width: calc((100vh - 32px) * 16 / 9);
    max-width: calc((100svh - 32px) * 16 / 9);
}

@media (max-width: 782px) {
    .ryari-front.admin-bar {
        min-height: calc(100vh - 46px);
        min-height: calc(100svh - 46px);
    }

    .ryari-front.admin-bar .ryari-stage {
        max-width: calc((100vh - 46px) * 16 / 9);
        max-width: calc((100svh - 46px) * 16 / 9);
    }
}

.ryari-scene {
    position: absolute;
    inset: 10%;
    overflow: hidden;
}

.ryari-stars,
.ryari-artwork {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ryari-stars {
    top: 32.407407407%;
    left: 0;
    object-fit: fill;
}

.ryari-artwork {
    inset: 0;
    object-fit: contain;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.ryari-content {
    width: min(100% - 2rem, 72rem);
    margin: 2rem auto 4rem;
    line-height: 1.65;
    overflow-wrap: break-word;
}

.ryari-content a {
    color: inherit;
}

.ryari-content img,
.ryari-content video {
    max-width: 100%;
    height: auto;
}

.ryari-content article {
    margin-block: 2rem;
}
