body.loaded{
    visibility: visible;
}

#loader {
    position: fixed;
    inset: 0;
    background: #010806;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: 0.3s ease opacity;
}

.loader-box{
    width:300px;
    text-align:center;
}

.loader-img {
    width: 256px;
    height: 256px;
    background-image: url(../assets/images/loader.svg);
    background-size: contain;
    background-repeat: no-repeat;
    transform-origin: 50% 50%; /* center of the SVG */
    animation: rotate 2s ease infinite; /* smooth continuous rotation */
    margin: auto;
    margin-bottom: 50px;
    filter:         drop-shadow(0 0 4px rgb(169, 255, 181))
    drop-shadow(0 0 10px rgb(221, 169, 255));
}

#progress-bar {
    position: relative;
    width: 300px;     /* fixed width */
    height: 34px;     /* same as SVG height */
    overflow: hidden; /* just in case */
}

#progress-empty {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;        /* keep přirozenou width */
}

#progress-full-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;           /* grows with progress */
    overflow: hidden;    /* mask the full SVG */
}

#progress-full {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;         /* aby se neroztáhlo */
}

#progress{
    height:100%;
    width:0%;
    background:#ab7bca;
    transition:width .5s ease;
}

#progress-text{
    margin-top:20px;
    font-size:28px;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}