.header_sec {
    background-image: url(../img/homepage.jpg);
}

.sec_prod{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 400px;
    padding: 70px 0;
}
.sec_prod#reverseGray{
    flex-direction: row-reverse;
    background-color: rgb(245, 245, 245);
}
.sec_prod>div{
    width: 40%;
    height: 100%;
}
.sec_prod#reverseGray>div{
    display: flex;
    flex-direction: column;
    align-items:flex-end;
}
.sec_prod img{
    height: 100%;
}
.sec_prod .description .learnMore {
    text-transform: uppercase;
    font-size: 16px;
    background-color: var(--rosso);
    color: white;
    font-weight: 700;
    border: none;
    height: 32px;
    width: 160px;
    margin-top: 25px;
}
.sec_prod .description .line {
    background-color: var(--rosso);
    width: 50px;
    height: 3px;
    margin-top: 10px;
}
.sec_prod .description h2 {
    font-weight: 800;
    font-size: 25px;
}
.sec_prod .description .paragraph {
    margin-top: 30px;
    width: 70%;
}
.sec_prod#reverseGray .paragraph {
    margin-top: 30px;
    width: 70%;
    text-align: end;
}
@media only screen and (max-width: 975px) {
    .sec_prod, .sec_prod#reverseGray{
        height: 600px;
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .sec_prod>div, .sec_prod#reverseGray>div{
        width: 80%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .sec_prod img {
        height: 40%;
    }
    .sec_prod .description .paragraph, .sec_prod#reverseGray .description .paragraph{
        text-align: center;
    }
}
/*-----------------Services------------------------*/


.services {
    width: 100%;
    margin-top: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 70px;
}

.services .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 70%;
}

.services .threeSer {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.services .threeSer>div {
    width: 31%;
}

.services img {
    width: 100%;
}
.services .container .threeSer p {
    margin-top: 10px;
}
.services .container .threeSer .line {
    background-color: var(--rosso);
    width: 70px;
    height: 3px;
    margin-top: 10px;
}
.services .container>h2 {
    text-decoration: underline 1px;
    text-underline-offset: 8px;
}

.services .container h2 {
    font-weight: 800;
    font-size: 27px;
    margin: 20px 0;
}

.services .container .threeSer h2 {
    font-size: 20px;
}



@media only screen and (max-width: 975px){

    .services .threeSer>div {
        width: 100%;
        margin-bottom: 30px;
        text-align: center;
    }

    .services .threeSer{
        display: flex;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    .services .container .threeSer .line{
        width: 100%;
    }
    .services img{
        margin-top: 60px;
    }
}



/*Perchè sceglierci*/
.scelta{
    text-align: center;
    background-color: rgb(245, 245, 245);
    padding: 100px;
    text-decoration: underline;
    text-decoration: underline 1px;
    text-underline-offset: 8px;
    font-size: 27px;
    font-weight: 700;
}

.valor{
    width:100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding-bottom: 100px;
    background-color: rgb(245, 245, 245);
}
.valor > div:first-of-type{
    width: 65%;
    height: 80px;
    background-color: white;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 800;
    font-size: 26px;
    line-height: 80px;
}
.valor > div:last-of-type{
    width: 65%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    height: auto;
}
.valor > div > div{
    width: 31vw;
    height: 340px;
    margin-bottom: 20px;
    position: relative;
    background-color: white;
}
.valor div div .lineRed{
    position: absolute;
    height: 3px;
    background-color: var(--rosso);
    width: 80%;
    bottom: 10px;
}
.valor div div div{
    margin: 40px ;
}
.valor div div div p{
    font-size: 16px;
}
.valor div div div img{
    height: 30px;
    width: 30px;
    margin-bottom: 15px;
}
.valor div div div h3{
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.valor strong{
    font-weight: 700;
}

#dis .linea {
    margin-top: 10px;
    background-color: black;
    height: 1px;
    width: 90px;
    margin: 0 auto 100px auto;
}
@media only screen and (max-width: 975px){

    .valor>div:first-of-type {
        width: 100%;
    }
        .valor>div>div {
            width: 100%;
            text-align: center;
            align-items: center;
        }
        .scelta{
            width: 100%;
            padding: 100px 0;
        }
        .valor>div:last-of-type{
            width: 100%;
        }
}




/*-----------preventivo-----------------*/

#preventivo{
    width: 65%;
    margin: 0 auto;
    padding: 100px 0 280px 0;
}
#preventivo > h2{
    text-align: center;
    font-weight: 800;
    font-size: 27px;
    text-decoration: underline;
    text-decoration: underline 1px;
    text-underline-offset: 14px;
}
#preventivo > h2 > span{
    color: var(--rosso);
}
#preventivo > section{
    width: 100%;
    display: flex;
    margin-top: 100px;
}
#preventivo>section>div{
    width: 49.5%;
    height: 400px;
}
#preventivo section .contact div:first-of-type h3{
    font-weight: 800;
}
#preventivo>section>.contact>div:first-of-type > p{
    font-size: 13px;
    margin: 15px 0 60px 0;
}
#preventivo .information{
    display: flex;
}
#preventivo .information img{
    height: 25px;
    width: 25px;
    margin-right: 20px;
}
#preventivo .information img:last-of-type{
    height: 18px;
}
#preventivo .information > div{
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}
#preventivo .information strong{
    font-weight: 800;
    font-size: 14px;
}
#preventivo .information p{
    font-size: 11px;
    margin-top: 10px;
}
@media only screen and (max-width: 975px){

    #preventivo{
        padding-bottom: 350px;
    }
    #preventivo h2{
        text-decoration: none;
        font-size: 20px;
    }
    #preventivo>section {
        flex-direction: column;
    }
    #preventivo > section div:last-child{
        width: 100%;
    }
    #preventivo>section>div{
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
    }
    #preventivo .information{
            margin-bottom: 12px;
    }
    #preventivo>section>div{
        margin-bottom: 80px;
    }
}



/*---------numeri---------------*/

.numeri {
    background-image: url(/img/homepage.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 200px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
}
.numeri > div{
    width: 100%;
    height: 200px;
    background-color: rgba(255, 0, 0, 0.6);
    text-align: center;
}
.numeri > div > h3{
    color: white;
    font-size: 35px;
    padding-top: 40px;
    font-weight: 600;
}
.numeri > div > div{
    width: 65%;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
}
.numeri > div > div div{
    flex-wrap: wrap;
}
.numeri > div > div p:first-of-type{
    color: white;
    font-weight: 600;
    font-size: 25px;
    margin-top: 30px;
}
.numeri div div p:last-of-type {
    color: white;
    font-weight: 500;
    font-size: 15px;
    margin-top: 10px;
}

@media only screen and (max-width: 975px){
    .numeri>div>div{
        width: 95%;
    }
    .numeri>div>div p:first-of-type {
        font-size: 20px;
    }
}


/*-----------Form--------------*/

#form #name{
    display: none;
}
#form #box1>div{
    width: 100%;
    font-size: 12px;
}
#form #box1>div>div{
    display: flex;
    justify-content: space-between;
    width: 100%;
}
#form #box1>div>div>div {
    flex-wrap: wrap;
    height: 70px;
    width: 47%;
}
#form #box1 div div > input{
    background-color: rgb(245, 245, 245);
    border: none;
    height: 32px;
    margin-top: 6px;
    width: 100%;
    padding-left: 10px;
}
#form textarea{
    border: none;
    background-color: rgb(245, 245, 245);
    resize: none;
    width: 100%;
    height: 130px;
    padding-left: 10px;
    padding-top: 10px;
    margin-top: 10px;
    margin-bottom: 15px;
}
#form #orario{
    background-color: rgb(245, 245, 245);
    color: rgb(115, 115, 115);
    border: none;
    height: 32px;
    width: calc(100% + 10px);
    margin: 10px 0;
    padding-left: 10px;

}
#form #terms{
    width: 100%;
    display: flex;
    margin-top: 30px;
}
#form p{
    font-size: 12px;
    line-height: 23px;
    margin-left: 10px;
}
#form #terms #spunta{
    height: 16px;
    width: 16px;
    border-radius: 100%;
}
#form a{
    color: var(--rosso);
}
#form a:visited{
    color: black;
}
#form #bottone1{
    background-color: var(--rosso);
    color: white;
    font-weight: 700;
    width: calc(100% + 10px);
    border: none;
    height: 32px;
    margin-top: 10px;
}
#form #box3{
    margin-top: 30px;
}
@media only screen and (max-width: 975px){
    #form #box1>div>div{
        flex-direction: column;
    }
    #form #box1>div>div>div{
        width: 100%;
    }
    #form #orario{
        text-align: center;
    }
    #form #terms{
        justify-content: center;

    }
}