*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto Mono",monospace;
}

body{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom,red 50%,rgb(255, 81, 0) 50%)
}

.calculator{
    width: 420px;
    background: black;
    padding: 32px;
    border-radius: 10px;
    box-shadow: 0 20px 5px black;
}

header{
    text-align: center;
    margin-bottom: 20px;
}

header h1{
    color: white;
    font-size: 22px;
}

.buttons{
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 14px;
    margin-top: 20px;
}

.display input{
    width: 100%;
    padding: 15px;
    text-align: right;
    font-size: 34px;
    background: transparent;
    border: none;
    color: white;
}

.buttons input{
    padding: 16px;
    font-size: 18px;
    border: none;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    transition: 0.2s;
}

.buttons input:hover{
    box-shadow: 0 8px 25px black;
}

.buttons input:active{
    transform: scale(0.95);
}

.input-btn{
    color: white;
}

.func-btn{
    color: orange;
}

#clear{
    color: red;
    font-weight: bold;
}

#erase{
    color: orange;
}

#equal{
    background: red;
    color: white;
    font-weight: bold;
    grid-column: span 2;
}