@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

body {
    background-color: #d1fae5;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Inter";
    color: #348399;
}

h1 {
    font-size: 3rem;
}

label {
    display: block;
    font-weight: bold;
    font-size: 2rem;
    text-align: center;
}

input {
    height: 100px;
    width: 100px;
    font-size: 1.5rem;
    text-align: center;
    outline-color: #059669;
    color: #348399;
    border-radius: 5px;
    border: 1px solid;
    font-weight: 600;
}

button {
    padding: 1rem 1.5rem;
    border: none;
    background-color: #059669;
    color: white;
    font-weight: 600;
    letter-spacing: 1.5px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 400ms ease-in;
}

button:hover {
    background-color: #348399;
}

/* Chrome, Safari, Edge */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.results {
    text-align: center;
}

.first-result,
.second-result {
    display: flex;
    align-content: center;
}

@media screen and (max-width: 425px) {
    h1 {
        font-size: 1.5rem;
    }

    .details {
        flex-direction: column;
    }

    button {
        margin: 1rem 0 0 0;
    }
}