@font-face {
    src: url(font/pixelFJ8pt1__.TTF);
    font-family: pixel;
}

@font-face {
    src: url(font/UASQUARE.TTF);
    font-family: uasquare;
}

@font-face {
    src: url(font/Calculator.ttf);
    font-family: calculator;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 15px;
}

body {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #2e2e2e
}

button {
    border: none;
    outline: none;
}

button:active {
    background: rgb(48, 231, 48);
    color: black;
}

.container {
    width: 20em;
    height: 40em;
    border-radius: 10px;
    background: #2e2e2e;
    box-shadow: -21px 21px 42px #222222,
        21px -21px 42px #3a3a3a;
}

.screen {
    width: 100%;
    height: 30%;
    border: 3px solid black;
    display: flex;
    flex-direction: column;
    background: #000;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#calculation {
    width: 100%;
    height: 120px;
    font-family: 'calculator', sans-serif;
    font-size: 2em;
    letter-spacing: 2px;
    text-align: right;
    word-wrap: break-word;
    overflow: auto;
    color: rgb(48, 231, 48);
}

#result {
    width: 100%;
    height: 3em;
    font-family: 'calculator', sans-serif;
    font-size: 2.8em;
    text-align: right;
    word-wrap: break-word;
    overflow: auto;
    color: rgb(48, 231, 48);
}

.btn {
    height: 70%;
    display: flex;
    flex-flow: row;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

#btn-dot {
    border-bottom-left-radius: 10px;
}

#equal {
    border-bottom-right-radius: 10px;
}

.number-container {
    width: 70%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: space-between;
}

.number-btn {
    width: calc(100% / 3.1);
    height: calc(100% / 4.05);
    font-family: 'uasquare', sans-serif;
    font-size: 1.75em;
    background: rgb(39, 39, 39);
    color: rgb(48, 231, 48);
}

.operator-container {
    width: 30%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.operator-btn {
    width: 100%;
    height: calc(100% / 7.1);
    font-family: 'uasquare', sans-serif;
    font-size: 2em;
    background: rgb(39, 39, 39);
    color: rgb(48, 231, 48);
}

@media (max-width:475px) {
    * {
        font-size: 12px;
    }
}