@media (-webkit-max-device-pixel-ratio: 1) {
    * {
        image-rendering: pixelated;
    }
}

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: black
}

.progress-bar__container {
    width: 100%;
    height: 0.5rem;
    border-radius: .35rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s;
    will-change: transform;
    border: 1px #cca8f3 solid;
    background-color: #cca8f3;
}

.progress-bar {
    position: absolute;
    height: 100%;
    width: 100%;
    content: "";
    background-color: #5920cb;
    top: 0;
    bottom: 0;
    left: -100%;
    border-radius: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: sans-serif;
}

.progress-bar__text {
    display: none;
}

.loading img {
    animation: 1s ease-in-out 0s infinite alternate breathe;
    opacity: .66;
    transition: opacity .4s;
}

.loading.main_done img {
    opacity: 1;
}

.loading.init_done img {
    animation: .33s ease-in-out 0s 1 forwards zooooom;
    opacity: .05;
}

@keyframes breathe {
    from {
        transform: scale(1)
    }

    to {
        transform: scale(0.99)
    }
}

@keyframes zooooom {
    from {
        transform: scale(1)
    }

    to {
        transform: scale(10)
    }
}

.toast {
    font-family: 'Roboto', sans-serif;
    background: #eee;
    border: 1px solid #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    box-shadow: 4px 4px 4px #eee;
    padding: 12px 16px;
    width: 350px;
    transition: all ease-in 150ms;
    position: fixed;
    bottom: 16px;
    left: 16px;
}

.toast:hover {
    transform: scale(1.01);
    transform-origin: bottom;
}

.toast__content {
    margin-right: auto;
}

.toast__action, .toast__close {
    cursor: pointer;
    background: #eee;
    border: none;
    outline: none;
    padding: 4px 8px;
    border-radius: 4px;
    margin-left: 4px;
    font-weight: 600;
}

.toast__action:hover, .toast__close:hover {
    background: #ccc;
}