.logo {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--color-primary);
    overflow: hidden;
}

.logo__bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-bg-top);
    animation: logo 750ms linear infinite;
}

.logo__bar:nth-child(1) {
    bottom: 21px;
    animation: logo 750ms linear infinite, fadeIn 750ms linear infinite;
}
.logo__bar:nth-child(2) {
    bottom: 15px;
}
.logo__bar:nth-child(3) {
    bottom: 9px;
}
.logo__bar:nth-child(4) {
    bottom: 3px;
}

@keyframes logo {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(6px);
    }
}

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