#healthbar-wrapper {
    padding: 32px;
    max-width: calc(100% - 64px);
    max-height: calc(90px - 32px);
    display: inline-flex;
    justify-content: center;
    width: 100%;
    z-index: 0;
    position: relative;
}

.healthbar-text-content {
    transform: rotateY(180deg);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    z-index: 1;
    align-items: center;
}

#healthbar-wrapper .content {
    background-color: #303c50;
    width: 100%;
    width: calc(100% - 28px);
    max-width: 1024px;
    max-height: 32px;
    min-height: 32px;
    border-radius: 90px;
    padding: 14px;
    display: inline-flex;
}

#healthbar-wrapper .content .healthbar {
    background-color: #ff394a;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    width: 100%;
}

#healthbar-wrapper .content .healthbar .fill {
    background-color: #00ff72;
    position: absolute;
    z-index: 0;
    transition: max-width 0.25s linear(0 0%, 1 100%) 0s;
    width: 100%;
    height: 100%;
    max-width: 100%;
}

#healthbar-wrapper .content .healthbar .fill.left {
    left: 0;
}

#healthbar-wrapper .content .healthbar .fill.right {
    right: 0;
}


#healthbar-wrapper .content .separator {
    min-width: 80px;
    max-width: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 18px;
}

#healthbar-wrapper .content h3 {
    color: #212733;
    margin: 0;
    font-size: 12px;
    z-index: 1;
}

@media screen and (max-width: 500px) {
    #healthbar-wrapper {
        padding-bottom: 0;
    }
}