.progressBar {
    background-color: var(--background);
    height: 15px;
    width: calc(100% - 80px);
    position: relative;
    border-radius: 20px;
    border: 1px solid var(--text);

}

.progressBar::before{
    width: var(--val);
    background-color: var(--accent1);
    height: 15px;
    border-radius: 20px;
    position: absolute;
    content: '';
    animation-name: entry;
    animation-duration: 1s;
    animation-timing-function: cubic-bezier(.32,.98,.42,.93);
}

.progressBar::after{
    height: 15px;
    line-height: 15px;
    font-size: 18px;
    content: attr(data-value) '%';
    position: absolute;
    top: 0;
    right: -80px;
    width: 80px;
    /*background-color: rgba(255, 255, 0, 0.3);*/
    text-align: center;
}

.smallProgressBar {
    background-color: var(--background);
    height: 8px;
    width: 100%;
    position: relative;
    border-radius: 20px;

}

.smallProgressBar::before{
    width: var(--val);
    background-color: var(--accent1);
    height: 8px;
    border-radius: 20px;
    position: absolute;
    content: '';
    animation-name: entry;
    animation-duration: 1s;
    animation-timing-function: cubic-bezier(.32,.98,.42,.93);
}

@keyframes entry {
    from{width: 0;}
    to{ width: var(--val);}
}