html {
  margin: 0;
  padding: 0;
  overflow: hidden !important;
}

body {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

#error-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(33, 33, 33, 0.7);
  z-index: 999999;
}

#error-frame {
  background-color: #F7F7F7;
  font-family: 'Noto Sans Reg', 'Noto Sans', 'Verdana', 'Lucida Sans', 'sans-serif';
  border-radius: 15px;
  padding: 0;
  margin: 0;
  max-width: 40em;
}

#error-red {
  border-radius: 15px;
  background-color: #f05a5c;
}

#error-pane {
  background-color: #f7f7f7;
  padding: 12px 12px 12px 20px;
  margin-right: 10px;
}

#error-excl {
  font-weight: 900;
  font-size: 260%;
  color: #c20702;
  width: 10%;
  text-align: center;
  float: left;
  padding-top: 12px;
}

#error-right {
  background-color: #f7f7f7;
  border-radius: 15px;
  margin-left: 10%;
}

#error-header {
  color: #c20702;
  text-align: left;
  margin: 0;
  padding-bottom: 0.75em;
  word-wrap: break-word;
}

#error-message {
  color: #777777;
  text-align: left;
}

#error-message:first-line  {
  font-weight: 700;
  color: #4f4f4f;
}
#loading {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #f00f20;
  size: 20px;
  font-family: 'Lato', sans-serif;
  font-weight: bold;
}
.spinner {
  height: 40px;
  text-align: center;
  font-size: 10px;
}

.spinner > div {
  background-color: #f00f20;
  height: 100%;
  width: 6px;
  display: inline-block;

  -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
  animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.spinner .rect3 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

.spinner .rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

.spinner .rect5 {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay {
  0%, 40%, 100% { -webkit-transform: scaleY(0.4) }
  20% { -webkit-transform: scaleY(1.0) }
}

@keyframes sk-stretchdelay {
  0%, 40%, 100% {
    transform: scaleY(0.4);
    -webkit-transform: scaleY(0.4);
  }  20% {
       transform: scaleY(1.0);
       -webkit-transform: scaleY(1.0);
     }
}

#rulesContainer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#rulesFrame {
  width: 100vw;
  height: 100vh;
}
