* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: Arial, sans-serif;
    background: #242424;
    color: #ffffff;
    padding: 20px;
}
section {
    max-width: 600px;
    margin: 0 auto;
    background: #3131319a;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}
h1 {
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 2em;
    color: #4CAF50;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
}
p {
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
}
label {
    display: block;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
}
input[type="number"] {
    width: 50%;
    padding: 10px;
    margin-bottom: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
}
input:active, input:focus {
    border-color: #4CAF50;
    outline: none;
    border-radius: 10px;
}
button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}
button:hover {
    background-color: #e6e6e6;
    color: #4CAF50;
}
button:active {
    transform: scale(0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
p#resultado {
    margin-top: 20px;
    font-size: 1.2em;
    color: #4CAF50;
    text-align: center;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    width: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}
p#resultado:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    color: #ffffff;
    border: 2px solid #4CAF50;
    padding: 15px;
    font-size: 1.3em;
    font-weight: bold;
}
footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
    color: #ccc;
}