.chiffre-color-wrapper {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
    grid-auto-rows: 1fr;
}

@media(max-width:575px) {
    .chiffre-color-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }
}

.chiffre-color {
    width: 75%;
    max-width: 275px;
    justify-self: center;
    padding: 25px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    background-color: white;
    display: inline-grid;
    text-align: center;
    margin: 30px;
    position: relative;
    transform-style: preserve-3d;
}

.chiffre-color::before {
    content: '';
    background: url('../../dist/images/rectangle-yellow.svg');
    width: 40%;
    height: 75%;
    left: -10%;
    position: absolute;
    bottom: 70px;
    transform: translateZ(-1px);
}

.chiffre-color img {
    width: auto !important;
    height: 50px !important;
    margin-bottom: 15px !important;
    margin-top: 0px !important;
    display: block;
    margin: auto;
}

.chiffre-color__nom {
    font-size: 14px;
    font-weight: 400;
    display: inline-block;
}

.chiffre-color__nom h4 {
    font-size: 19px;
    font-weight: 800;
}

.chiffre-color__nom a {
    color: #191919;
    text-decoration: underline;
}

.chiffre-color.jaune::before {
    background: url('../../dist/images/rectangle-black.svg');
}

.chiffre-color.jaune {
    background-color: #FFDD00;
}

.chiffre-color.noir {
    background-color: #191919;
    color: white;
}

@media(max-width:768px) {
    .chiffre-color {
        width: 220px;
    }
}