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

html {
    background-color: rgb(14, 14, 14);
    box-sizing: border-box;
    font-family: Inter, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body[loading] {
  background: #9f0e24;
}

html, body, #root {
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 100%;
    overscroll-behavior-y: none;
    background-color: rgb(14, 14, 14);
}

#root {
    overflow: hidden auto;
}

html, body {
    overflow: hidden !important;
}

html {
  --offset-bottom: 70px;
}

* > *, ::after, ::before {
    -webkit-font-smoothing: antialiased;
    box-sizing: inherit;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}

* {
    scrollbar-width: none;
}

::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

.preloader {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;

  padding: 36px 0;
  background:
    url('./assets/snowflake.png') 6% 12% / 40px auto no-repeat,
    url('./assets/snowflake.png') 22% 28% / 22px auto no-repeat,
    url('./assets/snowflake.png') 38% 18% / 40px auto no-repeat,
    url('./assets/snowflake.png') 54% 8% / 22px auto no-repeat,
    url('./assets/snowflake.png') 70% 26% / 40px auto no-repeat,
    url('./assets/snowflake.png') 84% 14% / 22px auto no-repeat,
    url('./assets/snowflake.png') 14% 44% / 40px auto no-repeat,
    url('./assets/snowflake.png') 78% 38% / 22px auto no-repeat,
    url('./assets/snowflake.png') 10% 68% / 40px auto no-repeat,
    url('./assets/snowflake.png') 24% 82% / 22px auto no-repeat,
    url('./assets/snowflake.png') 72% 78% / 40px auto no-repeat,
    url('./assets/snowflake.png') 88% 66% / 22px auto no-repeat,
    url('./assets/snowflake.png') 18% 90% / 40px auto no-repeat,
    url('./assets/snowflake.png') 62% 88% / 22px auto no-repeat,
    url('./assets/snowflake.png') 94% 74% / 40px auto no-repeat,
    url('./assets/bg.webp') center / cover no-repeat,
    linear-gradient(180deg, rgba(224, 9, 62, 0) 0%, #980c20 100%) 0 0 / 100%
      100% no-repeat;
}

.preloader::before,
.preloader::after {
  content: '';
  position: fixed;
  bottom: 0;
  width: 507px;
  height: 96px;
  background: url('./assets/snow.png') left bottom / cover no-repeat;
  pointer-events: none;
  z-index: 1;
}

.preloader::before {
  left: 0;
}

.preloader::after {
  right: 0;
  transform: scaleX(-1);
}

.container {
  position: fixed;
  display: flex;
  top: 0;
  left: 0;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  background-image: url('../../main-logo-CeWT7fiz.png');
  background-repeat: no-repeat;
  background-size: 466px 404px;
  background-position: center center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 70px 0;
  box-sizing: border-box;
}

.bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.logo {
  position: absolute;
  top: -35px;
  left: 118px;
  width: 53px;
  height: 14px;
}

@media (max-width: 600px) or (max-height: 600px) {
  .container {
    background-size: 268px;
  }

  .preloader::before,
  .preloader::after {
    width: 202px;
    height: 38px;
  }
}

@media (max-height: 400px) {
  html {
    --offset-bottom: 35px;
  }
}

@media (max-height: 450px) {
  .container {
    background-size: 218px;
  }
}

@media (max-height: 375px) {
  html {
    --offset-bottom: 0px;
  }
}

.progress {
  width: 280px;
  max-width: calc(100% - 30px);
  height: 7px;
  border-radius: 9px;
  margin: 0px -30px 0;
  position: relative;
}

.progress__value,
.progress__line {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 5px;
}
.progress__value {
    top: 2px;
    left: 3px;
    width: calc(100% - 5px);
    height: calc(100% - 2px);
    background: #a4072d;
    height: 3px !important;
    text-align: center;
    color: white;
    font-family: Inter;
    font-weight: 600;
    font-size: 20px;
    text-indent: 10px;
    line-height: 50px;
}
.progress, .progress__line {
  background: white;
}
.progress__line {
  width: 0%;
  transition: 8s;
  transition-timing-function: linear;
}
.progress[progress='0'] .progress__line {
  width: 33%;
  transition: 5s;
}
.progress[progress='1'] .progress__line {
  width: 66%;
  transition: 3s;
}
.progress[progress='2'] .progress__line {
  width: 99%;
  transition: 1s;
}
.progress[progress='3'] .progress__line {
  width: 100%;
  transition: 0.3s;
}
