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

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    background: rgb(146, 87, 97);
}

/* Calculator Card */
body {
    flex-direction: column;

}

/* Headings */
.num1,
.num2 {
    width: 350px;
    color: #333;
    font-size: 16px;
    margin-bottom: 8px;
}

/* Inputs */
input[type="number"] {
    width: 350px;
    padding: 14px 16px;
    margin-bottom: 20px;

    border: 2px solid #e0e0e0;
    border-radius: 10px;

    background: white;
    color: #333;
    font-size: 16px;

    outline: none;
    transition: 0.3s;
}

input[type="number"]:focus {
    border-color: darkred;
    box-shadow: 0 0 8px rgba(102, 126, 234, 0.3);
}

/* Buttons */
button {
    padding: 12px 18px;
    margin: 5px;

    border: none;
    border-radius: 10px;

    background: darkred;
    color: white;

    font-size: 14px;
    font-weight: bold;

    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: pink;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: black;
}

button:active {
    transform: scale(0.96);
}

/* Result */
#result {
    display: block;

    width: 350px;
    margin-top: 25px;
    padding: 18px;

    background: white;
    border-radius: 12px;

    color: #333;
    font-size: 20px;
    font-weight: bold;

    text-align: center;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.calculator {
    width: 420px;
    padding: 35px;

    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.calculator h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}