@import url(https://fonts.googleapis.com/css?family=Khula:700);

body {
    background: #111;
    height: 100%;
}

.hidden {
    opacity: 0;
}

.console-container {
    background-color: rgb(0, 0, 0);
    padding: 10px;
    font-family: Khula;
    font-size: 4em;
    text-align: center;
    height: 200px;
    width: 800px;
    display: block;
    position: absolute;
    color: white;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin-left: 100px;
    margin-top: 350px;
    border-radius: 20px;
}

.console-underscore {
    display: inline-block;
    position: relative;
    top: -0.14em;
    left: 10px;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: #11998e;
    background: -webkit-linear-gradient(to left, #ef3838, #ffff01);
    /* background: linear-gradient(to right, #ef3838, #ffff01); */
    background-image: url("bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;

}

#container {
    width: 100%;
    height: 100%;
}

.name {

    color: rgb(245, 245, 245);
    text-align: center;
}

#calculator {
    width: 320px;
    height: 555px;
    background-color: #dd4c4c;

    padding-top: 0px;
    padding-bottom: 10px;
    

    margin-top: 150px;
    margin-left: 800px;
    

    /* top: 20px;
    position: relative; */
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#result {
    height: 120px;
}

#history {
    text-align: right;
    height: 20px;
    margin: 0 20px;
    padding-top: 20px;
    font-size: 20px;
    color: rgb(0, 0, 0);
}

#output {
    text-align: right;
    height: 60px;
    margin: 10px 20px;
    font-size: 30px;
    color: rgb(0, 0, 0);
    font-family: digital;
}

#keyboard {
    height: 400px;
}

.operator{
    width: 50px;
    height: 50px;
    margin: 15px;
    float: left;
    border-radius: 50%;
    border-width: 0;
    font-weight: bold;
    font-size: 15px;
    color: rgb(255, 255, 255);
}
.number,
.empty{
    width: 50px;
    height: 50px;
    margin: 15px;
    float: left;
    border-radius: 50%;
    border-width: 0;
    font-weight: bold;
    font-size: 15px;
    color: rgb(0, 0, 0);
}
.number{
    background-color: #ffffff;
}
.empty {
    background-color: #dd4c4c;
}

.number,
.operator {
    cursor: pointer;
}

.operator:active,
.number:active {
    font-size: 18px;
}

.operator:focus,
.number:focus,
.empty:focus {
    outline: 0;
}

button:nth-child(1) {
    font-size: 20px;
    background-color: #000000;
}

button:nth-child(2) {
    font-size: 20px;
    background-color: #000000;
}

button:nth-child(3) {
    font-size: 20px;
    background-color: #000000;
}z

button:nth-child(4) {
    font-size: 20px;
    background-color: #000000;
}

button:nth-child(8) {
    font-size: 20px;
    background-color: #000000;
}

button:nth-child(12) {
    font-size: 20px;
    background-color: #000000;
}

button:nth-child(16) {
    font-size: 20px;
    background-color: #000000;
}

button:nth-child(20) {
    font-size: 20px;
    background-color: #000000;
}

.body-container{
    display: grid;
    grid-template-columns: auto auto;
    padding: 10px;
    height: 1050px;
}


.calculator-container{
    margin: auto auto;
}
