@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@font-face {
    font-family: Whitney;
    src: url(https://cdn.jsdelivr.net/gh/Tyrrrz/DiscordFonts@master/whitney-400.woff);
    font-weight: 400;
}

:root {
    --main: #2a72df;
    --main-lg: #1951a6;
    --background: #0a0a10;
    --lighter-bg: #232338;
    --light-bg: #1c1c28;
    --secondary: #2d2d33;
    --secondary-lg: #262637;
    --correct: #57F287;
    --incorrect: #ed4245;
    --yellow: #FEE75C;
    --magenta: #EB459E;
    --funny: #D19A66;
}

body {
    margin: 0;
    background-color: var(--background);
}

.container {
    color: white;
    font-family: "Poppins", sans-serif;
    padding: 100px 60px 0 60px;
}

.chart {
    width: 600px;
    height: 400px;
}

.chart-container {
    display: flex;
    justify-content: space-between;
}

@media (max-width: 1320px) {
    .chart-container {
        flex-direction: column;
        align-items: center;
    }

    .chart-container .chart:not(:first-child) {
        margin: 100px 0 0 0;
    }

    .chart {
        width: 800px;
        height: 500px;
    }

    .container h2 {
        text-align: center;
    }
}

.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top button {
    text-align: center;
    font-family: "Poppins", sans-serif;
    color: white;
    padding: 6px 16px;
    border: 2px solid var(--main);
    background-color: rgba(0, 0, 0, 0);
    font-size: 16px;
    border-radius: 8px;
}

.top button:hover {
    border: 2px solid var(--main-lg);
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1100px) {
    .achievement {
        flex-basis: calc(50% - 24px);
    }
}

@media (max-width: 1000px) {
    .container {
        padding: 100px 30px 0 30px;
    }
}

@media (max-width: 900px) {    
    .chart {
        width: 600px;
        height: 400px;
    }
}

@media (max-width: 700px) {
    .achievement {
        flex-basis: 100%;
    }
}

@media (max-width: 680px) {
    .chart {
        width: 500px;
        height: 400px;
    }
}

@media (max-width: 570px) {
    .chart {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 500px) {
    .container {
        padding: 100px 15px 0 15px;
    }
}