.drivers-container {
    display: flex;
    gap: 20px;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.driver {
    color: white;
    width: 90%;
    font-family: 'Antonio', sans-serif;
    background-color: #111111;
    border: 1px solid #333333;
    padding: 10px;
}

.driver h3 {
    font-family: Inter, sans-serif;
    color: white;
    font-weight: bolder;
}

.bar-bg {
    background-color: #1a1a1a; /* Diepzwart/grijs */
    height: 8px;
    border-radius: 10px;
    width: 100%;
    overflow: hidden;
    border: 1px solid #333; /* Subtiele rand */
}

.bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.8s ease, background-color 0.5s ease; /* Animeert nu ook de kleurverandering! */
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.bar-fill.safety {
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.5);
}

.bar-fill.skill {
    box-shadow: 0 0 8px rgba(243, 156, 18, 0.5);
}

.value {
    color: #2ecc71; /* Groene tekst voor de waarde zoals in het voorbeeld */
    font-weight: bold;
}

.stat-container {
    margin: 5px 0;
}

@media (min-width: 768px) {
    .driver {
        width: 300px;
    }

    .drivers-container {
        width: 80%;
        margin: 0 auto;
    }
}