html,
body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

body[loading] {
    background: #000000;
}

.preloader, .preloader * {
    box-sizing: border-box;
}

.preloader {
    position: fixed;
    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/bg.webp') no-repeat,
        linear-gradient(0deg, #000000, #000000),
        linear-gradient(0deg, #000000, #000000),
        linear-gradient(180deg, rgba(0, 0, 0, 0.7) 5.65%, #000000 93.89%);
    background-size: cover;
}
@media (max-width: 600px) or (max-height: 600px) {
    .preloader {
        padding: 24px 0;
    }
}

.preloader .preloader__logo {
    width: 374px;
    max-width: 100%;

    padding: 0 5px;

    & img {
        width: 100%;
        height: auto;
    }
}

.preloader .loading {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.preloader .loading .loading__logo {
    width: 84px;
    height: 22px;

    margin-bottom: 20px;

    & img {
        width: 100%;
        height: auto;
    }
}
@media (max-width: 600px) or (max-height: 600px) {
    .preloader .loading .loading__logo {
        width: 65px;
        height: 17px;
    }
}

.preloader .loading .progress {
    width: 340px;
    height: 7px;
    overflow: hidden;

    max-width: calc(100% - 98px);

    padding: 2px;

    margin-bottom: 16px;

    border-radius: 10px;
    background: #83D641;

    display: flex;
    justify-content: flex-end;
}
@media (max-width: 600px) or (max-height: 600px) {
    .preloader .loading .progress {
        width: 277px;

        margin-bottom: 8px;
    }
}

.preloader .loading .progress .progress__line {
    width: 100%;
    height: 100%;

    background: #000;

    border-radius: 10px;
    transition-timing-function: linear;
}
.preloader .loading .progress[progress='0'] .progress__line {
    width: 67%;
    transition: 5s;
}
.preloader .loading .progress[progress='1'] .progress__line {
    width: 34%;
    transition: 3s;
}
.preloader .loading .progress[progress='2'] .progress__line {
    width: 1%;
    transition: 1s;
}
.preloader .loading .progress[progress='3'] .progress__line {
    width: 0;
    transition: 0.3s;
}

.preloader .loading .loading__progress-value {
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    color: #fff;
}
@media (max-width: 600px) or (max-height: 600px) {
    .preloader .loading .loading__progress-value {
        font-size: 12px;
        line-height: 14px;
    }
}
