body{
    background-color: #d1e4f3;
    font-family: "Playwrite AT", cursive;
    font-size: 1.5rem;

    display: flex;
    justify-content: center;
    align-items: center;
}

main{
    padding-top: 3rem;
}

.container{
    width:30rem;
    height: auto;
    margin: auto;

    background-color:#1B4965;
    border: solid 4px #16435f ;
    border-radius: 5px;
    padding: 1rem;

    box-shadow:rgba(0, 0, 0, 0.3) 0px 8px 16px, rgba(0, 0, 0, 0.2) 0px 4px 6px inset;  
}

h1{
    font-size: 1.9rem;
    text-align: center;
    padding-bottom: 3rem;
    color: #BEE9E8;
}

.ecran{
    position: relative;
    border: solid 3px #62B6CB;
    
    background-color: rgba(203, 203, 203, 0.7);
    border-radius: 0.5rem;
    width: 100%;
    height: 6rem;
    padding: 0.5rem 1rem;
}

.ecran_opera{
    position: absolute;
    top: 0;
    left: 0.5rem;

    font-size: 1.4rem;
    color: rgb(82, 82, 82);
    background-color: transparent;
    border: none;
    text-align: left;
}

.ecran_resultat{
    position: absolute;
    bottom: 0;
    right: 0.5rem;

    font-size: 1.3rem;
    color: rgb(82, 82, 82);
    background-color: transparent;
    border: none;
    text-align: right;
}

.tableau_btn{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 1rem;
    padding-top: 2rem;
}

button {
    width: 100%;
    height: 5rem;
    border: none;
    border-radius: 1rem; 
    font-size: 2rem;
    font-weight: 800;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); 
    transition: background-color 0.3s, box-shadow 0.3s;
}

button:active {
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(2px); 
}

.btn_chiffres {
    color: rgb(232, 232, 232);
    background-color: #62B6CB;
}

.btn_chiffres:hover {
    background-color: rgba(98, 182, 203,0.7);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.3);
}

.btn_operateur {
    background-color: #32749a;
    color: rgb(232, 232, 232);
}

.btn_operateur:hover {
    background-color: rgba(50, 116, 154, 0.7) ;
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.3);
}

.btn_egal {
    background-color: limegreen;
    color: rgb(232, 232, 232);
}

.btn_egal:hover{
    background-color: rgba(50, 205, 50, 0.8);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.3);
}

.btn_suppr {
    background-color: rgb(247, 183, 22);
    color: rgb(232, 232, 232);
}

.btn_suppr:hover{
    background-color: rgba(247, 183, 22, 0.8);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.3);
}