body { padding: 0; margin: 0; font-family: sans-serif;font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; }
#unity-container { position: fixed; width: 100%; height: 100%; }
#unity-canvas { width: 100%; height: 100%; background: #FFFFFF }
#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
#unity-logo { width: 154px; height: 130px; background: url('unity-logo-dark.png') no-repeat center }
#sc-logo { width: 267px; height: 258px; background: url('skillscity-logo.svg') no-repeat center; }
#unity-progress-bar-empty { margin-left: auto; margin-right: auto; width: 141px; height: 18px; margin-top: 10px; background: url('progress-bar-empty-dark.png') no-repeat center }
#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-dark.png') no-repeat center }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }

.popover-modal { padding: 0; border: 0; background-color: transparent; opacity: 0; width: 100%; height: 100%; }
.popover-modal[open] { animation: showModal 1s ease-out forwards; }
.popover-modal iframe { background-color: transparent; margin: 0; border: 0; padding: 0; width: 100%; height: calc(100% - 4px); }
.popover-modal .toolbar { position: absolute; display: flex; gap: 1rem; top: 4px; right: 4px; height: 50px; }
.popover-modal .toolbar button { all: unset; width: 50px; height: 50px; margin: 0; padding: 0; }
.popover-modal .toolbar button:hover { transform: scale(1.05); }
.popover-modal .toolbar img { width: 100%; height: 100% }

@media screen and (max-height: 600px) {
    .popover-modal .toolbar { height: 25px; }
    .popover-modal .toolbar button { width: 25px; height: 25px; }
}

#info-overlay {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    bottom:0;
    padding: 0.5rem 1rem;
    justify-content: space-between;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;

    transition: opacity 300ms;
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

.info-links {
    display: flex;
    margin: 0;
    margin-right: -0.5rem;
    padding: 0;
    list-style: none;
}

.info-links li {
    padding: 0 0.5rem;
}

.info-links li + li {
    border-left: 1px solid white;
}

.info-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.info-links a:hover {
    color: white;
    text-decoration: underline;
}

#landscape-overlay {
    display: flex;
    position: absolute;
    inset: 0;
    padding: 2rem;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    color: #231F20;
    background-color: rgba(255, 255, 255, 0.94);
}

#landscape-overlay h3 {
    font-size: 2.25rem;
    margin: 0;
    text-align: center;
    line-height: 1;
    max-width: 22ch;
}

#landscape-overlay img {
    display: block;
    width: 100%;
    height: auto;
}

#landscape-overlay img.logo {
    max-width: 240px;
}

#landscape-overlay img.turn-icon {
    max-width: 300px;
}

@media screen and (orientation: landscape) {
    #landscape-overlay {
        display: none;
    }
}

@keyframes showModal {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
