.loader-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.3s;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
}

.loader-container--hide {
    background: transparent;
    opacity: 0;
    z-index: -1;
}

.loader-container .loader {
    animation: rotate 2s linear infinite;
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -25px 0 0 -25px;
    width: 50px;
    height: 50px;
}

.loader-container .loader .path {
    stroke: orange;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
    fill: transparent;
}

.loader-container .loader-messages {
    position: absolute;
    width: 100%;
    z-index: 2;
    top: calc(50% + 25px);
    display: flex;
    flex-direction: column;
}

.loader-container .loader-messages > p {
    color: white;
    margin-bottom: 8px;
    text-align: center;
    font-family: "Roboto", sans-serif;
}

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

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}
