
*{box-sizing: border-box;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}


body {
    background: #f1f1f1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
}


main, header {
    width: 420px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.15);
    margin-bottom: 20px;
}


header form {
    display: flex;
    gap: 10px;
    justify-content: center;
}

header input[type="number"] {
    width: 60%;
    padding: 10px;
    border: 1px solid #aaaaaa;
    border-radius: 8px;
    font-size: 16px;
}

header input[type="submit"] {
    padding: 10px 15px;
    background: #0078ff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

header input[type="submit"]:hover {
    background: #005ccc;
}


main h1 {
    text-align: center;
    margin-bottom: 20px;
}


main img {
    vertical-align: middle;
    margin-left: 8px;
    border-radius: 4px;
}

main p,
main div {
    margin-bottom: 12px;
    font-size: 18px;
}


.resultado {
    padding: 8px;
    border-bottom: 1px solid #eee;
}
