body {
    margin: 0;
    height: 100vh;
    position: relative;
}

.chernila {
    position: absolute;
    left: 20px;
    width: 20px;
    height: 50vh;
    border: 1px solid black;
    top: 50%;
    transform: translateY(-50%);
}

.fill {
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 0;
    background-color: #000;
    transition: .01s;
}

.chernila_empty {
    cursor: pointer;
    animation: empty 1s ease-in infinite;
}

@keyframes empty {
    0%, 
    100% {
        transform: translateY(-50%) scale(1);
    }

    50% {
        transform: translateY(-50%) scale(1.05);
    }
}