/* 47 47 47 */
/* 29 29 29 */
/* 254 124 74 */

@import url('https://fonts.googleapis.com/css2?family=Fira+Sans+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color-operandbtn: #2F2F2F;
    --bg-color-operatorbtn: #1D1D1D;
    --bg-color-equalbtn: #FE7C4A;
    --bg-color-body: #141E2C;
}

body {
    height: 100vh;
    background-color: var(--bg-color-body);
    color: white;
    
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: "Fira Sans Condensed", sans-serif;
}

h1 {
    font-size: 5rem;
    font-weight: 900;
    padding: 20px;
}

.css-display {
    font-size: 3rem;
    padding-bottom: 20px;
    height: 250px;
    text-align: end;
    align-content: flex-end;
}

.calculator {
    background-color: #000000;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    border: 3px solid white;
    border-radius: 35px;
    padding: 10px;
    width: 400px;
    height: 800px;
}

.buttons {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    width: 100%;
    height: 500px;
}

.buttons > button{
    height: 80px;
    width: 80px;
    border-radius: 80px;
    border: none;
    font-size: 2rem;
    font-weight: 600;
    transition: scale ease 0.5s;
    transition: opacity ease 0.125s;
    transition: background-color ease 0.125s;
}

.css-button1 {
    background-color: var(--bg-color-operatorbtn);
    color: white;
}

.css-button2 {
    background-color: var(--bg-color-operandbtn);
    color: white;
}

.css-equal {
    background-color: var(--bg-color-equalbtn);
    color: white;
}

.css-button1:hover,
.css-button2:hover,
.css-equal:hover {
    scale: 0.95;
    opacity: 0.5;
    background-color: rgba(211, 211, 211, 0.438);
    
}



