@import "fonts.css";
@import "page-closed.css";
@import "page-open.css";
@import "dialogs.css";
@import "countdown.css";


#check {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
}
.dev-mode #check {
    display: block;
}
.dev-mode #portal-video-modal,
.dev-mode #portal-video-off,
.dev-mode dialog,
.dev-mode dialog main {
    opacity: .5 !important;
}


@media (orientation: landscape) {
    .hide-desk {
        display: none !important;
    }
}


html {
    --unit: 1vw;
    width: 100%;
    height: 100%;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
@media (min-aspect-ratio: 16/9) {
    html {
        --unit: calc(1vh * 16/9);
    }
}

html, body {
    color: #ffffff;
    font-family: Eesti, sans-serif;
    font-size: calc(2 * var(--unit));
    line-height: 1.4;
}

body {
    width: 100%;
    height: calc(100vw * 9/16);
    position: relative;
    margin: 0;
    background: url("../img/bg-static.jpg") center / cover;
}
@media (min-aspect-ratio: 16/9) {
    body {
        width: calc(100vh * 16/9);
        height: 100%;
    }
}

h1, a {
    color: #ffffff;
}

p {
    margin: 0;
}

button,
.button {
    background: #b58500;
    color: #ffffff;
    font-family: Eesti, sans-serif;
    font-size: .5rem;
    line-height: 1.2;
    border: 0;
    outline: 0;
    border-radius: .3rem;
    padding: .4rem;
    display: block;
    margin: auto;
    cursor: pointer;
    text-decoration: none;
}

body > video {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    opacity: 0;
}
@media (min-aspect-ratio: 16/9) {
    body > video {
        width: auto;
        height: 100%;
    }
}
#portal-video-off {
    opacity: 1;
}

#portal-video-bg {
    opacity: 1;
    width: auto;
    height: 100%;
}
@media (min-aspect-ratio: 16/9) {
    #portal-video-bg {
        width: 100%;
        height: auto;
    }
}


#preloads {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    background: url("../../api/img/cert.jpg");
}
#preloads span:nth-of-type(1) {
    font-family: SummerLoving, sans-serif;
}
#preloads span:nth-of-type(2) {
    font-weight: 300;
}
#preloads span:nth-of-type(3) {
    font-weight: bold;
}

.what-is {
    position: absolute;
    left: 50%;
    top: 1rem;
    transform: translateX(-50%);
    letter-spacing: .01rem;
    white-space: nowrap;
    text-align: center;
    font-size: .7rem;
    color: #ffffff;
    margin: 0;
    cursor: pointer;
}

.g-logo {
    position: absolute;
    right: 2.7%;
    top: 6.1%;
    width: 13.7%;
}

.social {
    position: absolute;
    left: 2.4%;
    bottom: 4.2%;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: #ffffff;
}
.social aside {
    flex-shrink: 0;
    font-size: .65rem;
    line-height: 1;
    letter-spacing: -.03rem;
}
.social .icons {
    display: flex;
    gap: .5rem;
}
.social a {
    display: flex;
    outline: 0;
    position: relative;
}
.social a:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: center / 100% 100%;
    opacity: 0;
}
.social a:hover img {
    opacity: 0;
}
.social a:hover:after {
    opacity: 1;
}
.social a:nth-of-type(1):after {
    background-image: url("../img/share-fb-on.png");
}
.social a:nth-of-type(2):after {
    background-image: url("../img/share-x-on.png");
}
.social a:nth-of-type(3):after {
    background-image: url("../img/share-insta-on.png");
}
.social a:nth-of-type(4):after {
    background-image: url("../img/share-email-on.png");
}
.social img {
    width: 1.2rem;
}

.social .privacy a {
    color: #ffffff;
    font-size: .4rem;
    line-height: 1.4;
}
.social .privacy a:after {
    display: none;
}

.jack-jill {
    position: absolute;
    right: 3%;
    bottom: 4.2%;
    width: 3.6rem;
    margin: 0 -0.4rem -0.4rem 0;
    cursor: pointer;
}

.audio-on-off {
    position: absolute;
    left: 50%;
    bottom: 4.7%;
    transform: translateX(-50%);
    width: 1.2rem;
    cursor: pointer;
    display: block;
}
body.audio-muted #audio-on {
    display: none;
}
body:not(.audio-muted) #audio-off {
    display: none;
}

body > section {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    display: none;
}

.hoohno {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url("../img/404.png") no-repeat center / 100% auto;
}
.snooze {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url("../img/snooze.png") no-repeat center / 100% auto;
}
