#font-face {
    font-family: digital;
    src: url('https://res.cloudinary.com/djtycby9b/raw/upload/v1632511378/Digital.ttf') format('truetype');
}

body {
    background-color: #B0DBF1 !important;
    margin: 0;
    padding: 0;
    font-family: 'Varela Round', sans-serif !important;
    text-align: center;
}

.top-text {
    font-family: 'Varela Round', sans-serif;
}

h1 {
    text-shadow: 2px 1px 2px rgba(255, 60, 40, 0.9);
    color: #000;
    margin-top: 60px;
}

h4 {
    margin-top: 14px;
    margin-bottom: 20px;
    color: brown;
}

p {
    padding-left: 30px;
    padding-top: 6px;
    font-size: 14px;
    font-weight: bold;
    text-align: start;
}

#calculator-body {
    width: 340px;
    height: 410px;
    border: 3px solid #e15119;
    border-radius: 3px 3px 6px;
    background-color: #2f4e6f;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 40px;
}

.spacer {
    height: 360px;
}

#calculator-screen {
    width: 318px;
    height: 130px;
    border: 1px solid sandybrown;
    margin-bottom: 10px;
    margin-left: 7px;
    margin-top: 5px;
    background-color: grey;
}

#Z-stack {
    width: 312px;
    height: 26px;
    border: 1px solid grey;
    margin: 6px 0 1px 2px;
}

#Y-stack {
    width: 312px;
    height: 26px;
    border: 1px solid grey;
    margin: 2px 0 1px 2px;
}

#X-stack {
    width: 312px;
    height: 26px;
    border: 1px solid grey;
    margin: 2px 0 1px 2px;
}

#X-display-target {
    float: right;
    font-family: 'Digital', sans-serif;
    font-weight: 300;
    font-size: 19px;
}

#Y-display-target {
    float: right;
    font-family: 'Digital', sans-serif;
    font-weight: 300;
    font-size: 19px;
}

#Z-display-target {
    float: right;
    font-family: 'Digital', sans-serif;
    font-weight: 300;
    font-size: 19px;
}

#screen-text {
    width: 312px;
    height: 26px;
    border: 1px solid grey;
    color: #c8d7e3;
    font-weight: bold;
    text-align: center;
    margin-top: 12px;
    margin-left: 2px;
    padding-top: 2px;
}

.stack-label {
    float: left;
    text-align: left;
}

.calculator-button-wrapper {
    text-align: center;
    margin-left: 1px;
}

.key {
    background-color: black;
    color: #e15119;
    display: inline;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 26px;
    height: 36px;
    width: 76px;
    padding: 0 0 0 0;
    margin: 0;
    text-decoration: none;
    line-height: 5px;
}

.key2 {
    height: 36px;
    margin-bottom: 0;
    padding-top: 5px;
    padding-bottom: 0;
}

.key3 {
    height: 36px;
    padding-top: 3px;
}

.swap_x_y {
    color: rgb(255, 255, 255);
    display: inline;
    height: 14px;
    width: 10px;
    margin: 0 5px 1px 6px;
}

.super {
    vertical-align: super;
    color: #e15119;
    font-size: 14px;
    height: auto;
    padding-left: 4px;
    text-align: left;
    width: auto;
}

.smaller-font {
    font-size: 1.2em;
}

.smaller-font2 {
    font-size: 1.0em;
}

#text-under-keypad {
    margin-top: 6px;
    padding-left: 76px;
    text-align: center;
    text-shadow: -1px -1px 0 rgba(255, 255, 255, 0.7), 1px 1px 0 rgba(0, 0, 0, 0.9);
    color: #333;
    opacity: 0.4;
    font: 200 16px 'Lato';
    letter-spacing: 0.16em;
}

.bottom-text-heading {
    color: #09567a;
    text-decoration: underline;
}

.example-highlight {
    color: brown;
    font-weight: bold;
}

.text-keys {
    border: solid 1px #09567a;
    margin: 0 4px;
    padding: 3px;
}

@media screen and (max-width: 1200px) {
    #spacer-right {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    #spacer-left, #spacer-left {
        display: none;
    }
}

