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-light.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-light.png') no-repeat center }
#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-light.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%;
    max-width: 100vw;
}

.popover-modal[open] {
    animation: showModal 1s ease-out forwards;
}

.popover-modal iframe {
    background-color: transparent;
    margin: 0;
    margin-left: 6.2%;
    padding: 0;
    width: 84%;
    height: calc(100% - 10px);
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 2rem;
}

.popover-modal .toolbar {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    right: 2%;
    width: 6.5%;
}

.popover-modal .toolbar button {
    all: unset;
    width: 100%;
    max-width: 8rem;
    max-width: 8rem;
    aspect-ratio: 1;
    margin: 0;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 100%;
}

.popover-modal .toolbar button:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.popover-modal .toolbar svg {
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 600px) {
  .popover-modal iframe {
    margin: auto;
    width: calc(100% - 4px);
  }

  .popover-modal .toolbar {
    top: 8px;
    right: 8px;
    width: 40px;
  }
}

#notice {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    padding: 2px 10px;
    background-color: rgb(255 255 255 / 35%);
    color: white;
}

#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;
}

.fullpage-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);
}

.fullpage-overlay h4 {
    text-align: center;
}

.fullpage-overlay h3 {
    font-size: 1.75rem;
    margin: 0;
    text-align: center;
    line-height: 1;
    max-width: 30ch;
}

.fullpage-overlay img {
    display: block;
    width: 100%;
    height: auto;
}

.fullpage-overlay img.logo {
    max-width: 240px;
}

.in-app-menu-locator {
    position: absolute;
    top: 0;
    right: 1rem;
    font-size: 2rem;
    animation-name: hop;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
}

#in-app-message h3 {
    font-weight: normal;
}

#in-app-message.fullpage-overlay {
    background-color: rgb(255, 255, 255);
}

#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;
    }
}

@keyframes hop {
    from {
        transform: translateY(-0.25rem);
    }
    to {
        transform: translateY(0.25rem);
    }
}
