html {
    box-sizing: border-box;
}

*,
* ::before,
* ::after {
    box-sizing: inherit;
    font-family: 'Courier New', Courier, monospace;
}

body {
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    width: 21vw;
    height: 60vh;
    box-shadow: 5px 5px 25px rgb(171, 171, 171);
}

.container .dots {
    display: flex;
    gap: 3px;
    padding: 8px;
    background-color: #000;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.container .dots div {
    border-radius: 100%;
    width: 8px;
    height: 8px;
}

.container .red {
    background-color: #eb3737;
}

.container .yellow {
    background-color: #ffb700;
}

.container .green {
    background-color: #06cd06;
}

.display {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 25vh;
    padding: 0 18px;
    background: linear-gradient(#000000, #212121);
    color: #ffffff;
    font-size: 32px;
}

.buttons {
    display: flex;
    width: 100%;
    height: 100%;
}

.numpad {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-bottom-left-radius: 8px;
    background: linear-gradient(#3b3b3b, #292828);
}

.numpad button {
    width: 100%;
    height: 100%;
}

.numpad .button-hover {
    background-color: rgba(83, 82, 82, 0.6);
    color: #fff;
    /* border-radius: 50%; */
}

.numpad .button-clicked {
    background-color: rgba(165, 165, 165, 0.6);
}

.row-one,
.row-two,
.row-three,
.row-four {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.operators {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 23%;
    background: linear-gradient(#ffffff, #d2d2d2);

}

.operators button {
    width: 100%;
    color: #000;
}

.operators .button-hover {
    background-color: rgba(193, 193, 193, 0.6);
}

.operators .button-clicked {
    background-color: rgba(101, 101, 101, 0.6);
}

#equals {
    background: linear-gradient(#ff8800, #e95a02);
    color: #ffffff;
}

#clear-entry {
    border-bottom-right-radius: 8px;
    color: #ffffff;
    background: linear-gradient(#f13131, #cd2020);
}

#all-clear {
    color: #969696;
    border-bottom-left-radius: 8px;
}

#clear-entry div,
#all-clear div {
    padding: 0;
    margin-top: 8px;
    font-size: 10px;
}

button {
    width: 30%;
    height: 25%;
    border: none;
    color: #ffffff;
    font-size: 18px;
    background-color: transparent;
}