*{
    box-sizing: border-box;
    font-family:Arial, Helvetica, sans-serif;
}

html, body{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: rgb(40, 40, 40);
    color: white;
    padding: 0.5%;
    height: 100vh;
    width: 100vw;
}

#header{
    font-size: 3em;
    font-weight: 600;
}

#calculator{
    display: flex;
    flex-direction: column;
    gap: 1.2em;
    padding: 5%;
    border-radius: 15px;
    background-color: rgb(72, 72, 72);
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    width: 22rem;
}

#displayContainer{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1% 3%;
    height: 2.8em;
    border-radius: 7.5px;
    background-color: rgb(172, 237, 182);
    
    font-size: 1.5em;
    font-weight: 900;
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    color:  rgb(69, 81, 69) ;
}


#btnContainer{
    display: flex;
    flex-direction: column;
}

.topRow{
    display: flex;
}

button{
    margin: 0;
    padding: 0;
    flex: 1;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 15px;
    border : none;
    font-size: x-large;
    font-weight: 600;
    color: rgb(69, 81, 69);
    box-shadow: inset 0px -2px 8px rgba(0, 0, 0, 0.5);
    opacity: 85%;
}

button:hover{
    opacity: 100%;
    transform: scale3d(0.97, 0.97, -2); 
}   

button:active{
    transform: scale3d(0.90, 0.90, -4);
}

#clearBtn{
    flex: 2;
    aspect-ratio: 2/1;
    background-color: rgb(255, 136, 136);
    color: white;
}

#bottomBtnContainer{
    display: flex;
}

#equalBtn{
    aspect-ratio: 1/2;
    padding: 0;
    background-color: rgb(120, 120, 120);
    color: white;
}

#bottomBtns{
    flex: 4;
    display: flex;
    flex-direction: column;
}

.numButton{
    background-color: rgb(255, 255, 255);
}

.operatorButton{
    background-color: rgb(171, 171, 171);
    color: white;
}

#footer{
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

#footer img{
    height: 30px;
    width: auto;
}