*{
    box-sizing: border-box;
}
body{
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url("bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.calculator-container{
    display: flex;
    flex-direction: column;
    width: 25%;
    height: 80%;
    border-radius: 1.5rem;
    box-shadow: 15px 15px 15px rgba(0,0,0,0.6);
    background-color: #212121;
}

.display{
    height: 200px;
    background: #212121;
    padding: 1.3rem;
    border-top-right-radius: 1.5rem;
    border-top-left-radius: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 4px;
}
.output{
    width: 100%;
    height: 100%;
    border: 0px;
    /* background: #3B3B3B; */
    background-color: rgb(52, 76, 75);
    border-radius: 0.8rem;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 10px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
    word-wrap: break-word;
    word-break: break-all;
}
.output #lastOperationScreen{
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #87d2ab;
    flex:1;
}
.output #currentOperationScreen{
    flex: 2;
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: azure;
    font-weight: 500;
}

.all-buttons{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    padding-top: 0;
}
.all-buttons div{
    display: flex;
    flex: 1;  
    align-items: center;
    justify-content: space-around; 
    width: 100%;
}
.all-buttons button{
    width: 60px;
    height: 60px;
    border-radius: 100%;
    font-size: 1.2rem;
    font-weight: 600;
    background: #616161;
    border: 0px solid transparent;
    outline: none;
    text-decoration: none;
    box-shadow: 4px 5px 5px 3px rgba(0,0,0,0.5);
    color: #DFDFDF;
    cursor: pointer;
    transition: all .15s ease-in-out;
    transform: scale(1);
}
.all-buttons button:hover{
    transform: scale(1.07);
    box-shadow: 5px 7px 7px 5px rgba(0, 0, 0, 0.5);
}
#allClear:hover, #delete:hover{
    background-color: #ff3131;
    color: black;
}
.all-buttons .operator:hover{
    background-color: aquamarine;
    color: black;
}
.all-buttons .digit:hover{
    background-color: whitesmoke;
    color: black;
}
#dot:hover{
    background-color: whitesmoke;
    color: black;
}
#result:hover{
    background-color: greenyellow;
    color: black;
}


#row-5{
    display: flex;
    flex: 1;  
    align-items: center;
    justify-content: space-around; 
    width: 100%;
}
#result {
    width: 128px;
    border-radius: 2.5rem;
}


.footer{
    margin-top: 30px;
}





