@font-face {
	font-family: "Roboto";
	src: url("../../fonts/Roboto-Medium.ttf");
}
html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}
html, body {
    height: 100%;
}
canvas {
    display: block;
}
body {
    margin: 0;
}
.fadeable {
  opacity: 1;
  transition: opacity 1s; 
}

.fade {
  opacity: 0 !important;
}
#container {
    width: 100%;
    height: 100%;
}
#canvas {
    width: 100%;
    height: 100%;
    background: #1D1D37;
}
#loading-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#loading {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#logo {
    text-align: center;
}
#logo img {
    width: 50px;
	margin: 0 0 32px 0;
}

#loading-animation-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1D1D37;
    pointer-events:none;
}

#maintenance-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1D1D37;
}

#maintenance {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#maintenance-caption {
    font-family: "Roboto";
    color: #ffffff;
    font-size: 1em;
    text-align: center;
    margin: 16px 20px 20px 20px;
}

#maintenance-text {
    font-family: "Roboto";
    color: #ffffff;
    font-size: 0.75em;
    text-align: center;
}

#error-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1D1D37;
}

#error-caption {
    font-family: "Roboto";
    color: #ffffff;
    font-size: 1em;
    text-align: center;
    margin: 16px 20px 20px 20px;
}

#error-text {
    font-family: "Roboto";
    color: #ffffff;
    font-size: 0.75em;
    text-align: center;
}

#progress-text {
	font-family: "Roboto";
	color: #ffffff;
	font-size: 0.75em;
    text-align: center;
}

#progress-bar-empty {
    width: 150px;
    height: 8px;
    margin: 16px 20px 20px 20px;
	border-radius: 5px;
    text-align: left;
    background: #3F3A69;
}

#progress-bar-full {
	width: 0%;
    height: 100%;
	border-radius: 5px;
    background: linear-gradient(270deg, #ff5500, #6033be);
	background-size: 150% 150%;

    -webkit-animation: BarAnimation 3s ease infinite;
    -moz-animation: BarAnimation 3s ease infinite;
    -o-animation: BarAnimation 3s ease infinite;
    animation: BarAnimation 3s ease infinite;
}

#update {
    font-family: "Roboto";
    color: #ffffff;
    font-size: 0.75em;
    text-align: center;
}

#update-text-error {
    color: #ff3333;
    font-size: 1.25em;
    padding-bottom: 4px
}

#browsers {
    position: absolute;
    bottom: 64px;
    background: #3F3A69;
    padding: 16px 16px 16px 16px;
    border-radius: 8px;
}

#browsers-text {
    font-family: "Roboto";
    color: #FFFFFF;
    font-size: 0.75em;
}

#browsers-images {
    flex: 1 1 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
}

#browsers-images img {
    width: 32px;
    margin-left: 8px;
    margin-right: 8px;
}

@-webkit-keyframes BarAnimation {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-moz-keyframes BarAnimation {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-o-keyframes BarAnimation {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@keyframes BarAnimation {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
