body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    background-color: #4CAF50;
    color: white;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1 {
    margin: 0;
    font-size: 2em;
}

main {
    margin: 20px;
    margin-top: 10vh;
    width: 100%;
    max-width: 500px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    box-sizing: border-box;
}

.corpo {
    text-align: center;
}

h2 {
    font-size: 1.2em;
    margin: 10px 0;
}

input[type="text"],
input[type="number"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 5px 0;
    border-width: 0;
    border-radius: 8px;
    box-sizing: border-box;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.193);
    transition: box-shadow 0.2s;
}

input[type="text"]:focus,
input[type="number"]:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.337);
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #45a049;
}

.result {
    margin-top: 20px;
}

#result {
    color: #4CAF50;
}

#erro {
    color: #d53131;
}