body{
    margin:0px;
    font-family:Arial;
    max-width: 960px;
    margin: auto;
    background-color: #e2e0e0;
}
header{
    background: linear-gradient(180deg, #94618e, #764e77);
    color:white;
    padding: 10px;
    display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
}
header .menu{
    display: flex
;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}
header .menu a{
    font-weight: 400;
    font-size:14px;
    color: white;
}
footer{
    background: linear-gradient(180deg, #94618e, #764e77);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    color: white;
    padding: 20px;
    text-align: center;
}
header a{
    color: #fcf7bd;
    font-weight: 600;
    font-size: 24px;
    text-decoration: none;
}
main{
    padding:10px;
    background-color:white;
    padding-bottom: 50px;
    min-height: 80vh;
}
.calcolatore{
    display:inline-grid;
    column-gap: 50px;
    grid-template-columns: 1fr 1fr;
    margin-top:20px;
    margin-bottom:20px;
}
.riga-form{
    display:inline-grid;
    grid-template-columns: 150px 1fr;
    margin-bottom: 10px;
}

h2{
    font-size:18px;
    color:#764e77;
}

h3{
    font-size: 15px;
    color: #764e77;
    margin-top:0px;
}

form{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

button{
    background: linear-gradient(180deg, #94618e, #764e77);
    color:white;
    padding: 10px 5px;
    border:none;
}

.form-calc{
    border: 2px dotted #764e77;
    border-radius:15px;
    padding: 10px;
}

.risultato{
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin: 5px;
    background-color: #fcf7bd;
    flex-direction: column;
    box-shadow: 1px 1px 0px #999,
    2px 2px 0px #999,
    3px 3px 0px #999,
    4px 4px 0px #999,
    5px 5px 0px #999,
    6px 6px 0px #999;
}


@media only screen and (max-width:768px) {
    .calcolatore{
        grid-template-columns: 1fr;
        row-gap: 20px;
    }
    header{
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
    }
}