/* ---- CONFIGURAR FONDO ---- */
/* Puedes cambiar la imagen de fondo aquí */
body {
    font-family: 'Arial', sans-serif;
    background: url('img/gas.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* ---- CONTENEDOR PRINCIPAL ---- */
.container {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 90%;
    max-width: 350px;
    animation: fadeIn 1s ease-in-out;
}

/* ---- TITULO ---- */
h2 {
    color: #007bff;
    margin-bottom: 10px;
}

/* ---- INPUTS ---- */
input {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 8px 0;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

/* ---- BOTÓN ---- */
button {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

button:hover {
    background: #0056b3;
}

/* ---- RESULTADOS ---- */
.result {
    margin-top: 15px;
    font-weight: bold;
    color: #333;
    padding: 10px;
    background: #e3f2fd;
    border-radius: 8px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 480px) {
    .container {
        width: 95%;
    }
    input, button {
        font-size: 14px;
        padding: 10px;
    }
}

/* ---- ANIMACIONES ---- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
