html, body {
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
}

#splash-screen {
  position: absolute;
  z-index: 10000000;
  width: 100vw;
  height: 100vh;
  display: flex;
  top: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: #f2f3f8;
}

#splash-screen__content{
  width: 20rem;
  top: 50%;
  position: absolute;
  transform: translateY(calc(-50% + -20px));
}

#splash-screen img {
  margin-left: calc(100vw - 100%);
  margin-bottom: 30px;
  max-width: 60px;
}

#splash-screen.hidden {
  display: none;
}

.spinner {
  animation: rotate 2s linear infinite;
  margin-left: calc(100vw - 100%);
  width: 50px;
  height: 50px;
}

.spinner .path {
  stroke: #5d78ff;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

#old-browser {
  position: absolute;
  z-index: 10000001;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #DADADA;
  padding: 70px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

#old-browser.hidden {
  display: none;
}

.old-browser__icon {
  min-height: 38px;
  height: 38px;
  width: 100%;
}

.old-browser__wrapper {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
}

.old-browser__picture {
  height: 330px;
}

.old-browser__text {
  text-align: center;
  margin: 40px 0;
}

.old-browser__browsers > *:not(:last-child) {
  margin-right: 50px;
  text-decoration: none;
}

#old-browser:not(.hidden) ~ iframe {
  display: none;
}
