*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,html {
    padding: 0;
    margin: 0;
    overflow: hidden;

    font-family: 'Outfit', sans-serif;
}

.calculator_content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    padding: 1vmin;
}

.calculator_display {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;

    margin-bottom: 1vmin;
    padding: 1vmin;

    height: 6rem;
    width: 31vmin;
    border-radius: 2vmin;

    font-size: 3rem;
    font-weight: 700;
    text-align: left;
    overflow-x: auto;
    white-space: nowrap;

    background: rgba(0, 0, 0, 0.3);
    border: 0.0625rem solid rgba(255, 255, 255, 0.7);
    color: rgba(255, 255, 255, 0.95);
}

.calculator_buttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.calculator_buttons_right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.calculator_buttons_left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.calculator_button_row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.calculator_button {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;

    margin: 0.5vmin;

    width: 7vmin;
    aspect-ratio: 1 / 1;
    border-radius: 2vmin;

    background: rgba(0, 0, 0, 0.3);
    border: 0.0625rem solid rgba(255, 255, 255, 0.7);
    color: rgba(255, 255, 255, 0.95);

    font-size: 5.5vmin;
    font-weight: 600;

    transition: ease 0.1s;
}

.calculator_button:hover {
    transform: scale(1.15);
    box-shadow: 0 1vmin 2vmin rgba(255, 255, 255, 0.15);
}

.calculator_button_calculate {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;

    margin: 0.5vmin;

    width: 7vmin;
    height: 31vmin;
    border-radius: 2vmin;

    background: rgba(0, 0, 0, 0.3);
    border: 0.0625rem solid rgba(255, 255, 255, 0.7);
    color: rgba(255, 255, 255, 0.95);

    font-size: 5.5vmin;
    font-weight: 600;

    transition: ease 0.1s;
}

.calculator_button_calculate:hover {
    transform: scale(1.05);
    box-shadow: 0 1vmin 2vmin rgba(255, 255, 255, 0.15);
}

.calculator_select_button {
    animation: selectCalculatorButton 0.15s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes selectCalculatorButton {
    0% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1.1);
    }
}
