body {
    font-family: Arial, Helvetica, sans-serif; 
    background-color: rgb(162, 197, 233);
    margin: 0px;
    text-align: center;
}

form {
    background-color: mediumpurple;
    padding: 10px;
}

form table {
    width: 80%;
    margin: auto;
}

form table input[type="text"], 
form table input[type="number"] {
    width: 90%;
    margin: 5px;
}

main {
    width: 80%;
    margin: auto;
    background-color: white;
    padding: 20px;
}

.barras {
    background-color: white;
    border: 2px solid orange;
    border-radius: 10px;
    display: flex;              /* Barras una al lado de otra */
    justify-content: space-around;
    align-items: flex-end;      /* Crecen desde abajo */
    width: 100%;
    height: 500px;              /* Alto máximo del gráfico */
    gap: 1em;
    padding: 1em;
}

.barras div {
    flex: 1;                    /* Todas con el mismo ancho proporcional */
    max-width: 100px;           /* Ancho máximo por barra */
    text-align: center;
    color: white;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: flex-start;    /* Texto en la parte superior de la barra */
   
}
