:root {
  --color-brand: rgb(0, 161, 154);
  --color-brand-light: rgba(0, 161, 154, 0.18);
  --color-text: #15191b;
  --color-bg: #f5f5f5;
}

*, html {
  box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  background-color: var(--color-bg);
  color: var(--color-text);
}

img {
  max-width: 100%;
}

.container {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
}

.canvas {
  width: 100%;
  height: 100%;
}

.loading {
  animation: fade-in 3s;
  text-align: center;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  padding: 24px;
  display: none;
}

.loading__logo {
  width: 206px;
  height: auto;
  display: block;
  margin: 0 auto 12px auto;
}

@media (min-width: 700px) {
  .loading__logo {
    width: 350px;
    margin: 0 auto 42px auto;
  }
}

.progress {
  display: flex;
  overflow: hidden;
  background-color: var(--color-brand-light);
  margin: 0 auto 38px auto;
  width: 206px;
  border-radius: 9999px;
  height: 14px;
}

@media (min-width: 700px) {
  .progress {
    margin: 0 auto 54px auto;
    width: 350px;
  }
}

.progress__bar {
  background-color: var(--color-brand);
  width: 0%;
  border-radius: 9999px;
  transition: width 200ms ease-out;
}

.loading__facts {
  display: block;
  margin: 0 auto;
  max-width: 540px;
  height: 156px;
  font-size: 16px;
  line-height: 24px;
}

@media (min-width: 700px) {
  .loading__facts {
    font-size: 18px;
    line-height: 30px;
  }
}

@keyframes fade-in {
  0% {opacity:0;}
  100% {opacity:1;}
}
