@font-face {
    font-family: Stomath;
    src: url("./fonts/Stomath.ttf");
}

@font-face {
    font-family: brillant;
    src: url("./fonts/brillant.otf");
}

@font-face {
    font-family: OpenSans;
    src: url("./fonts/OpenSans.ttf");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: stomath;
}

html,
body {
    height: 100%;
    width: 100%;
}

#main {
    height: 100%;
    width: 100%;
    background-color: #ECCCFD;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#container {
    width: 25%;
    height: 80%;
    background-color: #F9F9F9;
    border-radius: 50px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#display {
    width: 90%;
    height: 15%;
    background-color: #EBF4F3;
    margin: 1rem 0 1rem 0;
    box-shadow: 10px 9px 24px -1px rgba(0, 0, 0, 0.49) inset;
    -webkit-box-shadow: 10px 9px 24px -1px rgba(0, 0, 0, 0.49) inset;
    -moz-box-shadow: 10px 9px 24px -1px rgba(0, 0, 0, 0.49) inset;
    border-radius: 50px;
    display: flex;
    justify-content: end;
    align-items: end;
}

#display p {
    font-size: 2rem;
    margin-right: 2rem;
    margin-bottom: 1rem;
}

#btns {
    width: 90%;
    height: 80%;
    display: flex;
    align-self: center;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    width: 3.5rem;
    height: 3.5rem;
    padding: 0px;
    background-color: #EBF0F4;
    margin: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50px;
    box-shadow: rgba(0, 0, 0, 0.20) 5px 8px 15px;
    border: 0px;
    font-size: 1.2rem;
}

.btn:hover {
    cursor: pointer;
}

.btn:active {
    box-shadow: none;
    cursor: pointer;
}

#btn-eql {
    width: 9rem;
    background-color: #E2ADCB;
}

#title {
    font-size: 8rem;
    position: absolute;
    top: 5rem;
    left: 5rem;
    font-family: brillant;
    color: #ffffff;
    text-shadow: 2px 1px 5px rgba(0, 0, 0, 0.5);
    user-select: none;
}

#sub-title {
    font-size: 1rem;
    position: absolute;
    top: 18rem;
    left: 6rem;
    font-family: OpenSans;
    color: #ffffff;
    text-shadow: 2px 1px 5px rgba(0, 0, 0, 0.5);
    user-select: none;
}
@media only screen and  (max-width: 650px) {
#container {
    width: 80%;
    height: 70%;
}
#display {
    width: 90%;
    height: 15%;
}
#btns {
    width: 100%;
    height: 85%;
}
.btn {
    width: 3.5rem;
    height: 3.5rem;
}
#btn-eql {
    width: 8rem;
    background-color: #E2ADCB;
}
#title {
    font-size: 5rem;
    position: initial;
}
#main{
    flex-direction: column;
}
#sub-title {
    font-size: 0.5rem;
    position: absolute;
    top: 42rem;
    left: 10rem;
}
}