@font-face {
    font-family: 'Siemens Sans';
    src: url("fonts/SiemensSans_Prof_Roman.woff2") format("woff2");
}

html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}
html, body {
    height: 100%;
}
canvas {
    display: block;
}
body {
    margin: 0;
    font-family: 'Siemens Sans', sans-serif;
    color: white;
}
#unity-container {
    width: 100%;
    height: 100%;
}
#unity-canvas {
    width: 100%;
    height: 100%;
    background: #222;
    background: #231F20;
}
#loading-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    /*background: linear-gradient(180deg, #000028 0%, #009999 100%);*/
    background: black;
}
.flex-center-column {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
#unity-progress-bar-empty {
	margin: 20px 10px;
	width: 80%;
    max-width: 860px;
	height: 10px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.2);
	/*border: 3px solid white;*/
	text-align: left;
}
#unity-progress-bar-full {
    width: 0%;
	height: 100%;
	border-radius: 10px;
	/*background-image: linear-gradient(270deg, #00FFB9 0%, #00E6DC 100%);
	background-size: 100vw;*/
    background: #00ffb9;
    transition: width 100ms;
}

#unity-fullscreen-button {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 38px;
    height: 38px;
    background: url('fullscreen-button.png') no-repeat center;
    background-size: contain;
}

.spinner,
.spinner:after {
    border-radius: 50%;
    width: 5em;
    height: 5em;
}
.spinner {
    flex-shrink: 0;
    margin: 10px;
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    border-top: 1.1em solid rgba(255, 255, 255, 0.2);
    border-right: 1.1em solid rgba(255, 255, 255, 0.2);
    border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
    border-left: 1.1em solid #ffffff;
    transform: translateZ(0);
    animation: spinner-spin 1.1s infinite linear;
}
@keyframes spinner-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Animation */
.appear {
    animation: appear 1s ease-out backwards;
}
.appear-delayed {
    animation: appear 1s ease-out 0.4s backwards;
}
.appear-delayed2 {
    animation: appear 1s ease-out 0.8s backwards;
}
@keyframes appear {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 1;
    }
}

/* Transition */
.away {
    overflow: hidden;
}
.away-up, .away-down {
    /* See: https://cubic-bezier.com/ */
    transition: transform 800ms cubic-bezier(.5, 0, .91, .54);
}
.away-fade {
    transition: opacity 1s ease-out 500ms;
}

.away.away-up,
.away .away-up {
    transform: translateY(-100vh) scale(2);
}
.away.away-down,
.away .away-down {
    transform: translateY(100vh) scale(2);
}
.away.away-fade,
.away .away-fade {
    opacity: 0;
}



/* Siemens */
#content-post-enter {
    height: 100vh;
    background-color: #000028;
}

.progress-text {
    font-size: 200%;
}

.siemens-logo {
    position: absolute;
    top: 27px;
    left: 30px;
    height: 30px;
}

.title-text {
    font-size: 40px;
    font-weight: normal;
    line-height: 100%;
    cursor: default;
}
/*.title-text::before {
    content: '';
    display: inline-block;
    margin-right: 20px;
    width: 8px;
    height: 1em;
    border: 1px solid #707070;
    vertical-align: bottom;
    background: #02F5C9;
}*/

.siemens-footer {
    position: absolute;
    bottom: 1em;
    right: 1em;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: end;
    pointer-events: none;
}
.siemens-footer span {
    cursor: default;
    font-size: 13px;
    margin-right: 16px;
}

#skip-button {
    position: absolute;
    bottom: 42px;
    right: 30px;
    padding: 20px 45px;
    background-color: #009999;
    color: white;
    text-decoration: none;
}
#skip-button:hover {
    background-color: #00bbbb;
}

#skip-tutorial-button {
    position: absolute;
    bottom: 42px;
    right: 200px;
    padding: 10px 25px;
    background-color: #000;
    color: grey;
    text-decoration: none;
}
#skip-tutorial-button:hover {
    color: white;
}

.video-container {
    position: relative;
    width: 100vw;
    height: 100vh;
}
.video-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.video-container.fullscreen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: black;
}

/*.video-container.fullscreen video*/
.video-container video {
    width: 100%;
    height: 100%;
}
