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

#loader {
  width: 100vw;
  height: 100vh;
  background-image: var(--loader-gradient);
  overflow: hidden;
  position: relative;

  &::before {
    content: '';
    background-image: url('./assets/dots.png');
    background-repeat: no-repeat;
    position: absolute;
    top: 170px;
    left: 33px;
    width: 100%;
    height: 100%;
  }

  @media screen and (max-width: 744px) {
    &::before {
      top: auto;
      left: -33px;
      transform: rotate(18deg);
    }
  }
}

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

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

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-49%, -70%);
}

#main-image {
  width: 846px;
  height: 450px;
}

#text {
  width: 594px;
}

.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: var(--bar-color);
  @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 (min-width: 430px) {
  @media screen and (max-height: 735px) {
    #main-image {
      width: 531px;
      height: 285px;
    }

    #text {
      width: 318px;
    }
  }
}

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

  #main-image {
    width: 531px;
    height: 285px;
  }

  #text {
    width: 318px;
  }

  #logo {
    margin-bottom: 16px;
    img {
      height: var(--logo-height-mobile, 22px);
      width: var(--logo-width-mobile, auto);
    }

    #percent {
      margin-top: 9px;
      line-height: 20px;
      font-size: 14px;
    }
  }
}
