#loader {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 40px;
    background-color: #FBFAF9;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

#loader.remove {
    opacity: 0;
    transition: all .3s ease;
}

#loader.remove .progress {
    width: 100% !important;
}

#loader::before {
    content: '';
    display: block;
    width: 800px;
    height: 800px;
    background-color: rgba(208, 208, 208, 0.5);
    border-radius: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -375px 0 0 -400px;
    opacity: 0;
    animation: loader 1s ease;
}

@keyframes loader {
    0% {
        opacity: 1;
        transform: scale(0);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

.mascot {
    width: 440px;
    height: 440px;
    position: relative;
    z-index: 2;
}

.mascot img {
    animation: mascot 1s ease;
}

@keyframes mascot {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.bar {
    width: 440px;
    height: 4px;
    background-color: #D0D0D0;
    margin-top: 40px;
    opacity: 1;
    animation: bar 1s ease;
    position: relative;
    z-index: 2;
}

@keyframes bar {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.bar .progress {
    width: 99%;
    height: 100%;
    background-color: #D93352;
    animation: firstProgress 4s ease, secondProgress 60s linear;
    animation-delay: 0s, 4s;
}

@keyframes firstProgress {
    0% {
        width: 0;
    }
    100% {
        width: 90%;
    }
}

@keyframes secondProgress {
    0% {
        width: 90%;
    }
    100% {
        width: 99%;
    }
}

@media screen and (max-width: 900px) {
  .mascot {
      width: 320px;
      height: 320px;
  }
    .bar {
        width: 320px;
    }
}