﻿html, body {
    background: black;
    width: 100%;
    height: 100%;
    padding: 0px;
    margin: 0px;
    cursor: url("TemplateData/images/mouse_pointer.png"), auto;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    overflow: hidden;
}

@font-face {
    font-family: 'CenteryGothic';
    src: url("TemplateData/fonts/CenturyGothic-Bold.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

.fullscreen {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
}

#unity-container {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
}

canvas {
    width: 100% !important;
    height: 100% !important;
    scale: 1;
}

.warning{
    background-image: url("TemplateData/images/back_64_64.png");
    background-repeat: repeat;
    background-position: center;
    background-size: 32px, 32px;
    position: absolute;
    z-index: 3;
    width: 100%;
    height: 100%;
}

.warning-text{
    text-align: center;
    font-size: 2vw;
    color: aliceblue;
    font-family: 'CenteryGothic', Arial, Helvetica, sans-serif;
    font-weight: bold;
    position: absolute;
    width: 40%;
    height: 10%;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.warning-image-container{
    width: 10%;
    aspect-ratio: 1/1;
    height: auto;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
}

.warning-image{
    background-image: url("TemplateData/images/rotate_phone_icon.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    animation: rotate 1s forwards infinite;
}

@keyframes rotate {
    0%{
        transform: rotateZ(0deg);
    }

    50%{
        transform: rotateZ(45deg);
    }

    100%{
        transform: rotateZ(0deg);
    }
}

@media (min-aspect-ratio: 1/1) {
    .warning-text{
        width: 40vw;
        font-size: 2vw;
    }
    .warning-image-container{
        width: 10vw;
    }
}

@media (max-aspect-ratio: 1/1) {
    .warning-text{
        width: 40vh;
        font-size: 2vh;
    }
    .warning-image-container{
        width: 10vh;
    }
}
