html {
    height: 100%;
    width: 100%;
}

body {
    margin: 0;
    background: transparent;
    height: 100%;
    overflow: hidden;
    background-color: white;
    color: black;
    font-family: "HitachiSans";
}

#unityContainer {
    width: 100%;
    height: 100%;
}

canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* try to handle mobile dialog */
canvas+* {
    z-index: 2;
}

@font-face {
    font-family: "HitachiSans";
    src: url("fonts/HitachiSans-Bold.woff");
    font-weight: bold;
}

@font-face {
    font-family: "HitachiSans";
    src: url("fonts/HitachiSans-Regular.woff");
    font-weight: normal;
}

p {
}

.InFront {
    z-index: 1;
}

.Bold {
    font-weight: bold;
}

.Title {
    font-size: 40px;
}

.Subtitle {
    font-size: 35px;
}

.Regular {
    font-size: 20px;
}

.Brand {
    color: #CC0000;
}

.Center {
    text-align: center;
}

.Left {
    text-align: left;
}

.FadeIn {
    transition: opacity 0.2s;
    transition-delay: 0.3s;
}

.progress {
    margin: 1.5em;
    margin-bottom: 3em;
    width: 26vw;
    border-radius: 20px;
    background-color: #DBDBDB;
    display: none;
    overflow: hidden;
}

.progress .full {
    height: 9px;
    width: 0%;
    transform-origin: top left;
    border-radius: 20px;
    background: linear-gradient(90deg, #cc0000 0%, rgb(204, 0, 0, 1) 20%, rgb(204, 0, 0, 1) 35%, rgb(204, 0, 0, 1) 48%, rgb(204, 0, 0, 1) 52%, rgb(204, 0, 0, 1) 60%, rgb(204, 0, 0, 1) 100%);
    background-size: 400% 400%;
    animation: gradient-flash 1.5s infinite;
}

#loader {
    position: absolute;
    left: 0;
    bottom: 10vh;
    width: 100vw;
    height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.LoaderLogo {
    height: 100px;
}

.TitleWrapper {
    height: 100px;
}

.ProgressWrapper {
    height: 100px;
}

#orientationWarning {
    cursor: pointer;
    position: absolute;
    background-color: rgb(0 0 0 / 85%);
    width: 100%;
    height: 100%;
    margin: 0 auto;
    z-index: 5;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
}

#orientationWarning p {
    pointer-events: none;
    color: black;
    height: 10vw;
    text-align: center;
    font-size: 2vw;
    white-space: nowrap;
    display: inline-block;
    color: white;
}

#orientationWarning img {
    width: 25vmax;
    height: auto;
}

@keyframes gradient-flash {
    from {
        background-position: 100% 50%;
    }

    to {
        background-position: 0% 50%;
    }
}