#splash-screen{
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  width: 100%;
  z-index: 100;
}
#splash-screen h2 {
  margin: 10px;
  font-weight: 400;
  text-align: center;
  font-size: 1.7em;
}

#middle-container {
  top: calc(50% - 50px);  /* middle of logo must be middle of the page */
  display: flex;
  position: absolute;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

#middle-container > div {
  margin-bottom: 30px
}

#blocking-error-message {
  font-weight: bold;
  font-size: 1.5em;
  white-space: pre-wrap;
  text-align: center;
}

#logo-container img {
  max-height: 100px;
  max-width: 250px;
}

#subtitle {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#xp-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.progress-loader {
    width: 40px;
    height: 40px;
}

/* Progress bar */
.progress-loader-message{
  font-size: 12px;
  white-space: pre-wrap;
  color: rgba(255,255,255, 0.8);
  padding: 12px;
  text-align: center;
}
.progress-loader svg path:first-child{
  stroke-opacity: 0.25 !important;
}
.progress-loader svg path:last-child{
  stroke-opacity: 0.75 !important;
}

#warning-message {
  color: rgba(255,255,255, 0.8);
  width: 40%;
  max-width: 600px;
  position: absolute;
  top: 5%;
  display: flex;
}

#warning-message:before {
  content: url("../img/warning.png");
  margin-right: 15px;
  transform: scale(0.8);
}

/* oculus height is 504px */
@media screen and (max-height: 505px) {
  #middle-container > div {
    margin-bottom: 15px
  }
}

/* 
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {
  #subtitle {
    width: 100%;
  }
}