.chart {
    position: relative;
    display: flex;
    width: 500px;
    justify-content: space-evenly;
    height: 300px;
    align-items: flex-end;
}

.bar-section {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 3em;
}

.bar-chart {
    position: relative;
    height: 80%;
    width: 10px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bar-color {
    width: 10px;
    border-radius: 5px;
    background-color: aqua;
}

.chartline-x {
    position: absolute;
    top: 90%;
    left: -5%;
    width: 500px;
    height: 2px;
    background: goldenrod;
}

.chartline-y {
    position: absolute;
    bottom: 0%;
    left: 0%;
    height: 110%;
    width: 2px;
    background-color: goldenrod;
}

.bar-tooltip {
    opacity: 0;
    position: absolute;
    top: 0%;
    border: 2px solid aqua;
    width: 50px;
    transform: translateX(-50%);
    text-align: center;
    transition: opacity 200ms ease;
}

.bar-color:hover+.bar-tooltip {
    opacity: 1;
}