body {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:rgba(0, 0, 0, 0.735);
    margin: 0;
    width: 100vw;
    height: 100vh;
}

.top {
    border-width: 3px;
    border-color: black;
    border-style: solid;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    width: 30px;
    height: 10px;
    margin: 0 auto;
}

.center {
    width: 80px;
    height: 100px;
    border-width: 3px;
    border-color: black;
    border-style: solid;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    background-color: white;
}

.charge {
    width: 100%;
    height: 0%;
    position: absolute;
    bottom: 0;
    background-color: red;
    animation: charge 5s ease infinite;
}

@keyframes charge {
    0% { height: 0%; background-color: bisque; }
    20% { height: 20%; background-color: aquamarine; }
    40% { height: 40%; background-color: chocolate; }
    60% { height: 60%; background-color: palevioletred; }
    80% { height: 80%; background-color: cadetblue; }
    100% { height: 100%; background-color: red; }
}

