/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fonte e cores gerais */
body {
    font-family: 'Poppins', sans-serif;
    background-color: burlywood;
    color: #333;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
}

/* Neon Border Header */
header.neon-border {
    background-color: #232323;
    padding: 40px 20px;
    text-align: center;
    border: 5px solid #ff4500;
    color: #fff;
    border-radius: 10px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header h2 {
    font-size: 2em;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ff4500;
}

header p {
    margin-bottom: 20px;
    font-size: 1.2em;
    padding-left: 0; 
}


input[type="number"] {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 2px solid #ddd;
    font-size: 1em;
    background-color: #f4f4f9;
    color: #333;
    transition: border-color 0.3s;
    width: 100%;
    max-width: 300px;
}

input[type="number"]:focus {
    outline: none;
    border-color: #ff4500;
}
button {
    display: flex;
    justify-content: center; 
    align-items: center;    
    background-color: #ff4500;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 19px;
    transition: background-color 0.3s, transform 0.3s;
    width: 100%;
    max-width: 300px;
    margin-left: 70px;
}



button:hover {
    background-color: #e63900;
    transform: scale(1.0);
}

/* Responsividade */
@media (max-width: 768px) {
    header h2 {
        font-size: 1.5em;
    }

    header p {
        font-size: 1em;
        padding-left: 0; /* Garantir que não haja padding à esquerda em telas menores */
    }

    input[type="number"], button {
        width: 100%;
        max-width: none;
        padding: 15px; /* Ajustar o padding em telas menores */
    }
}

#resultado {
    padding: 50px;
}
