html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}

main {
    flex: 1;
}

footer {
    background-color: #8c8c8c;
    color: white;
    text-align: center;
    padding: 40px 0;
    font-size: 16px;
    width: 100%;
}

h1{
    font-size: 3em;
}

div{
    margin: 40px;
    padding: 40px;
    border: 2px solid darkgray;
    border-radius: 25px;
}

.button_container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

button, .submit {
    padding: 15px;
    border: 5px solid;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#btn10euro{
    background-color: #FFBB9E;
    border-color: #F57757;
}

#btn20euro{
    background-color: #99D6E9;
    border-color: #48AEDD;
}

#btn50euro{
    background-color: #FDB71F;
    border-color: #F99B0D;
}

img{
    border: 3px solid black;
    border-radius: 25px;
}

img.imageForButton{
    width: 300px;
    height: 250px;
}

img.imageForTable{
    width: 180px;
    height: 150px;
}

.container{
    font-weight: bold;
    font-size: 1.7em;
    text-align: center;
}

#txtImporto{
    margin: 20px 0;
    font-size: 1.5em;
    text-align: right;
    font-weight: bold;

}

#btnInvia{
    margin: 20px auto;
    height: 100px;
    width: 100%;
    font-size: 1.5em;
    font-weight: bold;
    color: black;
    background-color: lightgreen;
    border: 3px solid forestgreen;
    border-radius: 25px;
}

#btnNuovoPrelievo{
    margin: 20px auto;
    height: 100px;
    width: 100%;
    font-size: 1.5em;
    font-weight: bold;
    color: black;
    background-color: lightgray;
    border: 3px solid darkgray;
    border-radius: 25px;
}

.error{
    color: red;
    font-weight: bold;
    font-size: 2em;
    border: none;
}

.success{
    margin: 20px;
    padding: 20px;
    color: green;
    font-size: 1.2em;
    font-weight: bold;
    border: none;
}

table{
    margin: 0 auto;
    width: auto;
}

th, td {
    padding: 30px;
    text-align: center;
}

#rigaBanconota10 td{
    border: 3px solid #F57757;
    border-radius: 25px;
}


#rigaBanconota20 td{
    border: 3px solid #48AEDD;
    border-radius: 25px;
}

#rigaBanconota50 td{
    border: 3px solid #F99B0D;
    border-radius: 25px;
}
