*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: monospace;
    user-select: none;
    transition: 0.1s;
}

body{
    background-color: #121212;
    color: white;
    position: relative;
}

.main{
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calculator{
    width: 280px;    
    background-color: #181818;
    border-radius: 10px;
}

.calculatorScreen{
    width: 100%;
    text-align: right;
    border-bottom: 2px solid #121212;
    margin-bottom: 10px;
    padding: 0 20px;
}

.problem{
    font-size: 25px;
    height: 60px;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: right;
    overflow: hidden;
}

.hotAnswer{
    height: 30px;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: right;
}


.buttons{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.buttons .button{
    width: 25%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: transform 0.1s;
}

.buttons .button.equalto{
    background: #3c1361;
    border-radius: 0 0 10px 0;
    color: #fff;
}

.buttons .button:hover{
    opacity: 0.5;
}

.buttons .button:active{
    transform: scale(0.89);
}

.toggleSpace {
    width: 50px;
    height: 34px;
    position: absolute;
    background-color: #fff;
    border-radius: 25px;
    right: 20px;
    top: 20px;
    padding: 2px;
    display: flex;
}

.toggleButton{
    width: 30px;
    height: 30px;
    background-color: #121212;
    border-radius: 50%;
}

.toggleButton:active{
    transform: scale(0.8);
}