body,
html {
    padding: 0;
    margin: 0;
    background-color: #F4F4F4;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 100%;
    font-family: "brandon-grotesque", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.chart__container {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.chart__card {
    border-radius: 5%;
    position: relative;
    margin: 2% 0%;
    background-color: #fff;
    border: 2px solid #000;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    flex-grow: 0;
    flex-shrink: 0;
    box-shadow: 0px 15px 15px 0px #00000026;
    overflow: hidden;
    max-width: 540px;
    max-height: 672px;
    width: 50%;
}

.chart__top,
.chart__bottom {
    width: 100%;
    position: relative;
}

.chart__top {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
/*    min-height: 450px; */
}

.chart__bottom {
    flex-grow: 0;
    flex-shrink: 0;
}

.chart__wrapper {
    position: relative;
    width: 100%;
}

.chart__spacer {
    width: 100%;
    height: auto;
    max-width: 540px;
}

.chart__data {
    width: 100%;
    display: flex;
    list-style: none;
    padding: 5% 0;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

.chart__data-item {
    flex-grow: 1;
    flex-shrink: 0;
    text-align: left;
    margin-bottom: 25px;
    font-size: 17px;
    align-items: center;
    display: flex;
    justify-content: flex-start;
}

.chart__data-item > * {
    margin-right: 27px
}

.chart__target {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.chart__title {
    margin-left: 40px;
    margin-top: 33px;
}

.chart__title h2 {
    font-size: 23px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    margin-top: 0;
}

.chart__title p {
    text-transform: uppercase;
    margin-top: -20px;
    letter-spacing: 0.1rem;
}

.chart__label-value,
.chart__label-percent {
    font-weight: 900;
    text-transform: uppercase;
}

@keyframes loading {
    0% {
        background-color: #ddd;
    }
    50% {
        background-color: #ddddddB2;
    }
    100% {
        background-color: #ddd;
    }
}

.chart__data--loading .chart__data-item .chart__label-value,
.chart__data--loading .chart__data-item .chart__label-name,
.chart__data--loading .chart__data-item .chart__label-percent,
.chart__data--loading .chart__data-item .chart__label--unit {
    color: transparent;
    background-color: #ddd;
    animation-name: loading;
    animation-iteration-count: infinite;
    animation-duration: 0.5s;
}

.chart__label-color {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    display: inline-block;
}

.reference {
    display: none;
}

/* /////////////////////////////////////////////////////////////////////////////////
BEGIN: Circle
///////////////////////////////////////////////////////////////////////////////// */
.chart__card--circle .chart__data {
    flex-direction: column;
}

.circle-chart__label-blue {
    box-shadow: 0px 16px 10px 0px #68AFEA2E;
    background-color: #68AFEA;

}

.circle-chart__label-pink {
    background-color: #EF6AA7;
    box-shadow: 0px 16px 10px 0px #EF6AA72E;
}

/* /////////////////////////////////////////////////////////////////////////////////
END: Circle
///////////////////////////////////////////////////////////////////////////////// */

/* /////////////////////////////////////////////////////////////////////////////////
BEGIN: Radar
///////////////////////////////////////////////////////////////////////////////// */
.chart__card--radar text {
    font-weight: 900;
    fill: #000;
}

.radar-chart__label-red {
    background-color: #FC2956;
    box-shadow: 0px 16px 10px 0px #FC29562E;
}

.radar-chart__label-green {
    background-color: #0ED822;
    box-shadow: 0px 16px 10px 0px #0ED8222E;
}

.radar-chart__label-yellow {
    background-color: #F6CD64;
    box-shadow: 0px 16px 10px 0px #F6CD642E;
}

.radar-chart__label-purple {
    background-color: #A61FBC;
    box-shadow: 0px 16px 10px 0px #A61FBC2E;
}

.chart__data-item--radar {
    width: 40%;
    flex-grow: 0;
}
/* /////////////////////////////////////////////////////////////////////////////////
END: Radar
///////////////////////////////////////////////////////////////////////////////// */

/* /////////////////////////////////////////////////////////////////////////////////
BEGIN: Balls
///////////////////////////////////////////////////////////////////////////////// */
.ball__container {
    position: relative;
    width: 100%;
    margin-bottom: 6%;
}

.ball__chart {
    width: 100%;
    height: 100%;
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    justify-content: center;
}

.ball__chart svg {
    height: 100%;
    width: auto;
}

.chart__card--balls {
    flex-grow: 0;
    min-height: 0;
}

.ball-chart__labels {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ball-chart__label {
    background-color: #000;
    border-radius: 8px;
    padding: 20px 14px;
    position: absolute;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 0;
    font-size: 14;
}

.ball-chart__label--green {
    color: #0ED8B4;
}

.ball-chart__label--purple {
    color: #A61FBC;
}

.ball-chart__label--yellow {
    color: #F6CD64;
}

.ball-chart__label--red {
    color: #FC2956;
}

.ball-chart__label-name {
    color: #FFF;
}

.ball-chart__labels.ball-chart__labels--loading span {
    color: transparent;
    animation-name: ball-chart-loading;
    animation-iteration-count: infinite;
    animation-duration: 0.5s;
}

.ball__wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes ball-chart-loading {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

.ball-chart__labels.ball-chart__labels--loading .ball-chart__label--green span {
    background-color: #0ED8B4;
}

.ball-chart__labels.ball-chart__labels--loading .ball-chart__label--purple span {
    background-color: #A61FBC;
}

.ball-chart__labels.ball-chart__labels--loading .ball-chart__label--yellow span {
    background-color: #F6CD64;
}

.ball-chart__labels.ball-chart__labels--loading .ball-chart__label--red span {
    background-color: #FC2956;
}

/* /////////////////////////////////////////////////////////////////////////////////
END: Balls
///////////////////////////////////////////////////////////////////////////////// */

/* /////////////////////////////////////////////////////////////////////////////////
BEGIN: Map
///////////////////////////////////////////////////////////////////////////////// */
.chart__data-item--map {
    justify-content: flex-start;
    width: 40%;
    flex-grow: 0;
}

.chart__data-item--map > * {
    margin-right: 15px;
}
/* /////////////////////////////////////////////////////////////////////////////////
END: Map
///////////////////////////////////////////////////////////////////////////////// */

@media only screen and (max-width: 1024px) {
    .chart__card {
        width: 100%;
    }
}