body {
    display: flex;
    justify-content: center;
    align-items: center;
}

#calc-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-template-rows: repeat(7,1fr);
    grid-gap: 10px;
    width: 300px;
    height: 560px;
    padding: 20px;
    border-radius: 35px;
    background-color: #1C1C1C;
}

#calc-grid .output {
    min-height: 100px;
    max-height: auto;
    grid-column: span 4;
    display: flex;
    justify-content: end;
    align-items: center;
    padding-right: 15px;
    color: white;
    font-size: 60px;
    font-family: "Roboto";
    font-weight: 500;
}

#calc-grid .historic {
    min-height: 20px;
    max-height: auto;
    grid-column: span 4;
    display: flex;
    justify-content: end;
    align-items: center;
    padding-right: 15px;
    color: #817f7f;
    font-size: 36px;
    font-family: "Roboto";
    font-weight: 500;
}

#calc-grid button {
    border-radius: 35px;
    color: white;
    font-size: 32px;
    font-family: "Roboto";
    font-weight: 500;
    border: none;
    transition: background-color 0.5s ease;
}

/* Effet clic pour les chiffres */
.clicked-number {
    background-color: #6e6e6e !important;
}

/* Effet clic pour les opérations */
.clicked-operation {
    background-color: #efb467 !important;
}

/* Effet clic pour le bouton "AC" ou "=" (si par exemple il est de classe span-two) */
.clicked-span-two {
    background-color: #f0f0f0 !important;
}

.number {
    background-color: #505050;
}

.operation {
    background-color: #FF9500;
}

.span-two {
    grid-column: span 2;
    background-color: #D4D4D2;
}