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

body {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(17 24 39);
    color: rgb(229 231 235);
    padding:  50px;
}

button:hover {
    transition: 0.2;
    opacity: 0.9;
}

.calculator {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;

    width: 452px;
    height: 600px;
    padding: 25px;
    background-color: rgb(31 41 55);
    border: 1px solid rgb(53, 63, 77);
    border-radius: 25px;
}

.header {
    width: 100%;
}

.header div {
    display: flex;
}

.top {
    align-items: center;
    justify-content: space-between;
}

.bottom {
    justify-content: end;
}

.buttons {
    display: flex;
    gap: 15px;

    height: 320px;
    width: 100%;
}

#numerical {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px 15px;
    width: 250px;
}

#numerical button{
    width: 72.75px;
}

#numerical button[value="0"] {
    width: 160.5px;
}

.operation {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px 15px;

    width: 135px;
}

.operation button {
    height: 76.25px;
    width: 60px;
}

#numerical button, .operation button {
    border: none;
    border-radius: 10px;
    font-size: 40px;
    background-color: rgb(229 231 235);
}

#delete, #clear {
    font-size: 25px;
    background-color: rgb(212, 176, 121);
}

#equals {
    width: 135px;
    background-color: rgb(15 118 110);
    color: rgb(229 231 235);
}

#numerical button:hover, .operation button:hover {
    cursor: pointer;
}

.io {
    width: 100%;
    height: 125px;
    background-color: rgb(212, 176, 121);
    color:rgb(17 24 39)
}

#input, #output {
    width: 100%;
    height: 62.5px;
    padding: 15px;
    font-size: 40px;
    font-weight: 550;
}

#input {
    display: flex;
    align-items: center;
    justify-content: start;
}

#output {
    display: flex;
    align-items: center;
    justify-content: end;
}