body {
    height: 100vh;
}

body * {
    box-sizing: border-box;
}

.calculator-body {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 70%;
    width: 400px;
    background-color: #1c1c1c;
}

.display-text {
    text-align: right;
    width: 98%;
}
.display-container {
    position: relative;
    top: 25px;
    display: inline-block;
    height: 15%;
    width: 85%;
    background-color: #e9e9e9;
    left: 7.5%;
    box-shadow: inset 0px 0px 2px 2px #5f5f5f;
}

.c-button-containers {
    display: inline-block;
    position: relative;
    top: 28px;
    left: 7.5%;
    height: 15%;
    width: 85%;
}
.c-button, .ac-button {
    position: relative;
    top: 50%;
    left: 25%;
    transform: translate(-50%, -50%);
    height: 75%;
    width: 49%;
    display: inline-block;
    background-color: #ff2818f7;
    margin: 0px;
    cursor: pointer;
}

.number-block {
    display: inline-block;
    position: relative;
    height: 60%;
    width: 60%;
    top: 28px;
    left: 7.5%;
    margin-top: 8px;
    vertical-align: top;
}
.number, .decimal, .equals {
    position: relative;
    display: inline-block;
    height: 23%;
    width: 32%;
    left: 2px;
    background-color: #b3b2af;
    cursor: pointer;
}

.number:hover, .decimal:hover, .equals:hover, .operator:hover,
.c-button:hover, .ac-button:hover {
    border: inset;
}


.operator-column {
    position: relative;
    display: inline-block;
    height: 60%;
    width: 24%;
    top: 36px;
    left: 7.5%;
    cursor: pointer;
}
.operator {
    position: relative;
    height: 23%;
    width: 100%;
    background-color: #FF9800;
    display: inline-block;
}
.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

p {
    font-size: 2rem;
}
