body {
  font-family: 'Inter', sans-serif;
  margin: 0;
}

#loader {
  width: 100vw;
  height: 100vh;
  background: linear-gradient(180deg, #98E3FC 0%, #5DD0F7 100%);
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;

  &::before {
    content: '';
    background: none;
  }
}

@supports (height: 100dvh) {
  #loader {
    height: 100dvh;
  }
}

#image_wrapper {
  display: flex;
  align-items: center;
  flex-direction: column;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-51%, -62%);
}

#main-image {
  width: 55vh;
}

#cloud-top {
  position: absolute;
  top: 10%;
  left: 10%;
  z-index: -1;
  height: 3.5vh;
}

#cloud-middle {
  position: absolute;
  top: 22%;
  right: 4%;
  z-index: -1;
  height: 5.7vh;
}

#cloud-bottom {
  position: absolute;
  bottom: -13%;
  left: 33%;
  z-index: -1;
  height: 2.5vh;
  opacity: .6;
}

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

  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);

  @media screen and (max-width: 744px) {
    bottom: 32px;
  }
}

#logo {
  text-align: center;
  margin-bottom: 20px;
  img {
    height: var(--logo-height, 28px);
    width: var(--logo-width, auto);
  }
}

#progress {
  width: var(--progress-width, 340px);
  height: var(--progress-height, 7px);
  border-radius: 10px;
  box-sizing: border-box;

  padding: 2px;
  position: relative;
  background-color: #ffffff;

  @media screen and (max-width: 744px) {
    width: 246px;
    height: var(--progress-height-mobile, 8px);
  }
}

#bar {
  position: absolute;
  border-radius: 10px;
  width: 98%;
  right: 2px;
  height: var(--bar-height, 3px);
  background-color: #62D1F7;
  @media screen and (max-width: 744px) {
    height: var(--bar-height-mobile, 4px);
  }
}

#percent {
  margin-top: 13px;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: -0.09px;
  color: var(--fg-content-primary, #fff);
}

@media screen and (max-width: 744px) {
  #image_wrapper {
    transform: translate(-51%, -57%);
  }

  #left-coin,
  #right-coin {
    visibility: visible;
  }

  #main-image {
    width: 81vw;
    max-width: 380px;
  }

  #logo {
    img {
      height: var(--logo-height-mobile, 22px);
      width: var(--logo-width-mobile, auto);
    }
    #percent {
      margin-top: 9px;
      line-height: 20px;
      font-size: 14px;
    }
  }

  #cloud-top {
    height: auto;
    max-width: 79px;
    width: 22vw;
  }
  
  #cloud-middle {
    height: auto;
    top: 15%;
    right: -12%;
    max-width: 167px;
    width: 36vw;
  }
  
  #cloud-bottom {
    height: auto;
    opacity: .8;
    max-width: 63px;
    width: 22vw;
  }
}

@media screen and (orientation: landscape) and (max-width: 744px) {
  #main-image {
    width: 43vh;
    height: 50%;
  }
  #image_wrapper {
    transform: translate(-59%, -78%);
  }
}
