*, *::before, *::after{
    box-sizing: border-box;
    /* font-family: 'Poppins', sans-serif; */
    font-weight: bold;
}

html{
    font-size: 62.5%;
}

body{
    padding: 0;
    margin: 0;
    background: rgb(135,255,232);
    background: radial-gradient(circle, rgba(135,255,232,1) 0%, rgba(120,152,246,1) 100%);
    font-size: 1.6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.calculator-container{
    display: grid;
    grid-template-columns: repeat(4, 70px);
    grid-template-rows: minmax(90px, auto) repeat(5, 70px);
    background: rgb(135,255,201);
    background: radial-gradient(circle, rgba(135,255,201,1) 0%, rgba(243,246,120,1) 100%);
    padding: 20px;
    border-radius: 20px;
    top: 50%;
    transform: translate(0, -50%);
    position: absolute;
    -webkit-box-shadow: 8px 8px 36px -3px rgba(243,246,120,1);
    -moz-box-shadow: 8px 8px 36px -3px rgba(243,246,120,1);
    box-shadow: 8px 8px 36px -3px rgba(243,246,120,1);
}

.calculator-container > button{
    height: 65px;
    width: 65px;
    border-radius: 50%;
    font-size: 3rem;
    background-color: antiquewhite;
    outline: none;
    cursor: pointer;
    border: none;
    transition: ease-in-out;
}

.calculator-container > button:hover{
    background: radial-gradient(circle, rgba(135,255,232,1) 0%, rgba(120,152,246,1) 100%);
}

.calculator-container > button:active{
    transform: scale(0.8);
}

.operands-button{
    color: darkgreen;
}

#equals-button{
    background-color: lightgreen;
    grid-column: span 2;
    width: 130px;
}

#delete-button{
    font-size: 2.5rem;
}

#clear-button{
    color: red;
    grid-column: span 2;
    width: 130px;
}

.display{
    grid-column: 1 / -1;
    background: radial-gradient(circle, rgba(135,255,232,1) 0%, rgba(120,152,246,1) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    flex-direction: column;
    padding: 1rem;
    word-wrap: break-word;
    word-break: break-all;
    margin-bottom: 1.5rem;
    border: 2px solid yellowgreen;
}

.previous, .current{
    font-size: 1.8rem;
}

.footer{
    margin-top: auto;
    display: flex;
    min-width: 100vw;
    border-top: 1px solid  #504141;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    gap: 8px;
}
