/*@font-face {
    font-family: Metropolis;
    src: url(/packages/fonts/metropolis/Metropolis-Regular.otf);
}*/

html{
    height: -webkit-fill-available;
}
body {
/*    margin: 0px;*/
    margin: auto;
    padding: 0px;
    min-height: 100vh;
    min-height: -webkit-fill-available;
/*    width: 100vw;*/
    width: 100%;
    overflow: hidden;
    background: #000;
}
.ctaDiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #fffa;
    z-index: 99;
}

#startARButton{
    margin-top: 40px;
    border-radius: 50px;
    padding: 8px 55px;
    background-color: #4ca2d6;
    color: white;
    border: 1px solid #ebe7e7;
    font-size: 20px;
    box-shadow: 0px 0px 6px 3px #e1e1e1;
    font-family: "Metropolis", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    cursor: pointer;
}

#start-unity-logo{
    width: 154px;
    height: 130px;
    background: url('TemplateData/unity-logo-light.png') no-repeat center;
    background-size: contain;
}

.keep-ratio16_9 {
    height: unset !important;
    aspect-ratio: 1.77;
    max-height: 100%;
}

.keep-ratio16_9_iOS {
    aspect-ratio: 1.77; 
    max-height: 100%;
}

/*################################*/
/*         ROTATION WARNING       */
/*################################*/
    #rotateWarningContainer{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;

        position: absolute;
        top: 0px;
        left: 0px;
        height: 100%;
        width: 100%;
        color: white;
        background-color: #2c2c2c;
        font-size: 1em;
        display: none;
    }

    #rotateWarning{
        position: relative;
        display: none;
    }

    .phone {
        height: 100px;
        width: 50px;
        margin: auto;
        border: 3px solid white;
        border-radius: 10px;
        animation: rotate 1.5s ease-in-out infinite alternate;
        display: none;
    }

    .message {
        margin-top: 10px;
        font-family: system-ui;
        display: none;
    }

    @keyframes rotate {
        0%   { transform: rotate(0deg)   }
        50%  { transform: rotate(-90deg) }
        100% { transform: rotate(-90deg) }
    }

    @media only screen and (max-device-width: 812px) and (orientation: portrait) {
        #rotateWarningContainer{
            display: flex;
        }

        #rotateWarning, .phone, .message {
            display: block;
        }
    }
