@import url('variables.css'); /* contains standarized colors etc*/

.stats-general-bg {
    height: auto;
    width: 60%;
    padding-left: 20%;
    padding-right: 20%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
@media only screen and (max-width: 1000px) {
    .stats-general-bg {
        width: 90%;
        padding-left: 5%;
        padding-right: 5%;
    }
}
.stats-general {
    height: 100px;
    width: 20%;
    padding: 10px;
    border-radius: 15px;
    text-align: center;
    font: 24px bold;
    color: var(--banner-color);
    align-items: center;
    justify-content: center;
    display: flex;

}
@media only screen and (max-width: 1000px) {
    .stats-general {
        width: 100%;
    }
}



.stats-country-bg {
    height: auto;
    width: 60%;
    padding-left: 20%;
    padding-right: 20%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
@media only screen and (max-width: 1000px) {
    .stats-country-bg {
        width: 90%;
        padding-left: 5%;
        padding-right: 5%;
    }
}
.stats-country-container {
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-bottom: 17px;
}
.stats-country-single-letter {
    height: 50px;
    width: 30px;
    display: flex;
    align-items: center;
    margin-right: 40px;
    font: 36px bold;
    color: var(--secondary-text-color);
}
.stats-country-countries {
    height: auto;
    width: calc(100% - 100px);
    display: flex;
    flex-direction: column;
}
.stats-country-countries-row{
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-bottom: 3px;
}
.stats-country-countries-row a {
    position: relative;
    width: 100%;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    transition: background 0.3s ease;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 5px;
    cursor: pointer;
    color: var(--primary-text-color);
}
.stats-country-countries-row a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    border-radius: 5px;
    pointer-events: none;
}
.stats-country-countries-row a:hover::before {
    background: rgba(0, 0, 0, 0.3);
}
.stats-updates-bg {
    height: auto;
    width: 60%;
    padding-left: 20%;
    padding-right: 20%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 20px;
}
@media only screen and (max-width: 1000px) {
    .stats-updates-bg {
        width: 90%;
        padding-left: 5%;
        padding-right: 5%;
    }
}
.stats-update-bar-graph {
    height: auto;
    width: 100%;
    background-color: var(--border-gradient);
    border-radius: 15px;
    padding: 20px;
}
.stats-update-canvas-graph {
    height: auto;
    width: 100%;
}