@charset "utf-8";

@keyframes rot {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

html,
body {
  margin: 0;
  height: 100%;
}

#center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  font-size: 1.4rem;
  font-family: monospace;
  padding: 1em;
  box-sizing: border-box;
  color: #333331;
  background-color: rgba(0, 0, 0, 0);
}

h1 {
  margin: 0;
  color: #202020;
}

#loading-screen {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #111;
}

#loading-screen .icon {
  max-height: 75px;
  transform-origin: center;
  animation-name: rot;
  animation-duration: 1s;
  animation-iteration-count: infinite;
}

#render-frame {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: #151515;
}

#loading {
  position: absolute;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

#loading #icon {
  border: 2px solid white;
  border-radius: 10000;
  border-width: 40px;
}

.cookie-warning {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 0;
  right: 0;
  border-style: solid;
  /*border-bottom-style: hidden;*/
  border-color: #fafafa;
  border-radius: 8px;
  border-width: 2px;
  margin-right: 24px;
  margin-bottom: 24px;
  padding: 12px 16px;
  background-color: rgba(0, 0, 0, 0);
  color: #fafafa;
  font-size: 0.9em;
  font-family: monospace;
}

.cookie-warning.dark {
  border-color: #dad7c7;
}

.cookie-warning img {
  height: 32px;
  image-rendering: pixelated;
  margin-left: 16px;
}
