*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    outline: none;
    overflow: hidden;
    animation: changeColor 10s infinite alternate;
}

@keyframes changeColor {
    0% {
        background-color: #efcf4e57;
    }
    50% {
        background-color: #ff666695;
    }
    100% {
        background-color: #66ff665a;
    }
}


.container{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.calculator{
    background-color: #000000;
    padding: 15px;
    border-radius: 30px;
    box-shadow: inset 5px 5px 12px #464545,
                      5px 5px 12px rgb(0,0,0,.16);
    display: grid;      
    grid-template-columns: repeat(4,68px);            


}

input{
    grid-column: span 4;
    height: 70px;
    width: 260px;
    background: color #1c1d1d;
    box-shadow: inset -5px -5px 12px #2a2929,
                inset 5px 5px 12px rgba(0,0,0,.16) ;
    border: none;
    border-radius: 30px;
    color: rgb(51, 50, 50);
    font-size: 15px;
    text-align: end;
    margin: auto;
    margin-top: 40px;
    margin-bottom: 30px;
    padding: 20px;
}

button{
    height: 48px;
    width: 48px;
    background-color: #2c2c2c;
    box-shadow: -5px -5px 12px #323131,
                 5px 5px 12px rgba(0,0,0,.16);
    border: none;
    border-radius: 50%;
    margin: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s; /* Transition pour un effet de douceur */
               
}

button:hover {
    background-color: #45a049; /* Couleur au survol */
    transform: scale(1.6); /* Grossissement de 10% */
}

.equal, .switch {
    width: 115px;
    border-radius: 40px;
    background-color: #1a1a1a;
    box-shadow: -5px -5px 12px #272525,
                 5px 5px 12px rgba(0,0,0,.16);
                 
}

  .button {
            display: flex;
            padding: 10px 180px;
            margin : 10px;
            font-size: 30px;
            color: #fff;
            background-color: #007bff;
            border-radius: 90px;
            text-align: start;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
            
        }
    
        .button:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }