* {
    margin: 0px;
    padding: 0px;
    outline: none;
}

body {
    font-family: sans-serif;
    color: #2c2c2c;
    background-color: whitesmoke;
    display: flex;
    justify-content: center;
}

a {
    color: black;
}
a:hover {
    text-decoration: none;
}

p {
    line-height: 150%;
    letter-spacing: 1px;
}

h1, h2 {
    color: black;
}

hr {
    margin: 30px;
}

.main {
    width: 850px;
    display: block;
}

nav {
    padding: 18px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    background-color: rgb(40 189 40);
    box-shadow: 0px 0px 5px gray;
    font-weight: bold;
}

nav a {
    display: flex;
    align-items: center;
}

nav a img {
    margin-right: 10px;
}

nav img {
    width: 40px;
}

header {
    margin-top: 100px;
    display: flex;
    justify-content: space-around;
}

header .logo {
    width: 60px;
}

header h1 {
    font-size: 40px;
}
header p {
    font-size: 18px;
    width: 450px;
}

.box {
    background-color: #484848;
    border-radius: 4px;
    width: 450px;
    color: white;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.box h1 {
    color: white;
    font-size: 24px;
    margin-bottom: 15px;
}
.box p {
    font-size: 15px;
}

.tasto_calcola_prezzo {
    display: flex;
    justify-content: space-around;
}

/*.calcola_preventivo h1 {
    font-size: 50px;
}*/

.tasto_calcola_prezzo .button {
    text-decoration: none;
    background-color: blue;
    padding: 20px 30px;
    border-radius: 3px;
    font-size: 60px;
    font-weight: bold;
    color: white;
    height: 100%;
}

.calcola_prezzo {
    padding-top: 120px;
}
.calcola_prezzo div {
    margin-bottom: 20px;
}
.calcola_prezzo button {
    margin: 5px;
    margin-top: 15px;
    font-size: 20px;
    padding: 10px;
    font-weight: bold;
}

.l {
    display: none;
    width: 12px;
}


.prezzo_calcolato {
    padding-top: 120px;
    display: none;
}

.error {
    display: none;
    color: red;
}

.logo_ {
    position: fixed;
    width: 160px;
    right: 50px;
    top: 100px;
}