.spinner {
    top: 0;
    left: 0;
    position: absolute;
    height: 100vh;
    width: 100%;
    background: rgba(200, 200, 200, .5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000000000;
    transition: background-color 350ms;
}

.spinner-wrapper {
    padding: 20px;
    background: white;
    border-radius: 20px
}

.spinner-title {
    width: 100px;
    text-align: center
}

.parent-spinner {
    position: relative;
}

.animation-spinner {
    margin: 0 auto 5px;
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid #3ca898; /* Blue */
    border-radius: 50%;
    width: 42px;
    height: 42px;
    animation: spin 2s linear infinite;
    transition: all 350ms;
}

.spinner-percent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    font-weight: bold;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

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