.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    background: white;
    /* background-image: url('<your_background_path>');
    background-image: image-set( url('<your_background_path>') type('image/webp'), url('<your_background_path>') type('image/png') ); */
}

canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    max-height: 100%;
    max-width: 100%;
}

.loading-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 10;
    background-image: url('../assets/images/loading_screen.png');
    background-image: image-set( url('../assets/images/loading_screen.webp') type('image/webp'), url('../assets/images/loading_screen.png') type('image/png') );
}

.progress-background {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.progress {
    position: absolute;
    bottom: 15px;
    height: 49px;
    width: 643px;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.loading-text {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.progress-mask {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.progress-fill {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.3s ease;
    height: 38px;
    width: 643px;
    position: relative;
    top: 2px;
}

.progress-size {
    width: fit-content;
    margin: 0 auto;

    -webkit-text-stroke-width: 0.7px;
    -webkit-text-stroke-color: #205B81;
    font-family: Rubik;
    font-style: normal;
    font-weight: 800;
    line-height: 100%;
    font-size: 15px;
    color: #f2f3f3;
    z-index: 3;
}
  

@media (width <= 1880px) {
    .progress {
        height: calc(49px * 0.9);
        width: calc(649px * 0.9);
    }
    .progress-fill {
        height: calc(38px * 0.9);
        width: calc(643px * 0.9);
    }
    .loading-text {
        height: calc(39px * 0.9);
        width: calc(207px * 0.9);
    }
}

@media (width <= 1640px) {
    .progress {
        height: calc(49px * 0.8);
        width: calc(649px * 0.8);
    }
    .progress-fill {
        height: calc(38px * 0.8);
        width: calc(643px * 0.8);
    }
    .loading-text {
        height: calc(39px * 0.8);
        width: calc(207px * 0.8);
        bottom: 60px;
    }
}

@media (width <= 1485px) {
    .progress {
        height: calc(49px * 0.6);
        width: calc(649px * 0.6);
        bottom: 15px;
    }
    .progress-fill {
        height: calc(38px * 0.6);
        width: calc(643px * 0.6);
    }
    .loading-text {
        height: calc(39px * 0.6);
        width: calc(207px * 0.6);
        bottom: 55px;
    }
}

@media (width <= 480px) {
    .progress {
        height: calc(49px * 0.5);
        width: calc(649px * 0.5);
    }
    .progress-fill {
        height: calc(38px * 0.5);
        width: calc(643px * 0.5);
    }
    .loading-text {
        height: calc(39px * 0.5);
        width: calc(207px * 0.5);
    }
}

@media (width <= 410px) {
    .progress {
        height: calc(49px * 0.4);
        width: calc(649px * 0.4);
    }
    .progress-fill {
        height: calc(38px * 0.4);
        width: calc(643px * 0.4);
        position: relative;
        top: 1px;
    }
    .loading-text {
        height: calc(39px * 0.4);
        width: calc(207px * 0.4);
    }
}
