html{
    font-size: 62.5%;
}
body{
    font-family:'Montserrat', 'Arial', sans-serif;
    font-size: 1.4rem;
    line-height: 1.2;
    font-weight:300;
    padding: 0;
    color: #000000;
    background-color: #f9f3ec;
}
main{
    background-color: #f9f3ec;
}
.img-responsive{display:inline-block;}


header{
    padding: 2rem 0;
    position: relative;
    background: #796155 url(img/header-min.jpg) no-repeat top center / cover;
    height: 70vh;
}
.linear-gradient-bottom-to-top::before{
    content: "";
    height: 100%;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
    background: linear-gradient(0deg,#f9f3ec,rgba(255,255,255,0) 13%);
}
.img-logo{
    width: 18rem;
}

.title{
    margin-top:20rem;
}
.img-title{
    width:10rem;
}
h1{
    font-size: 2.4rem;
    color: #d02a4c;
    font-weight: 600;
    text-align: center;
    margin-top:0;
    margin-bottom: 2rem;
}
h2{
    font-weight: 600;
    font-size: 1.6rem;
    text-align: center;
}


footer{
    padding: 8rem 0 9rem;
    background-color:#b2967b;
}
footer p{
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    line-height: 1.2rem;
    color: #ffffff;
    text-align: justify;
}
footer p a, footer p a:hover, footer p a:focus, footer p a:active{
    color: white;
    text-decoration: underline;
}
footer p a:hover, footer p a:focus, footer p a:active{
    text-decoration: none;
}


section#form {
    transform: translateY(-8rem);
}
section#form .container >.row{
    padding: 4rem 2.5rem;
    background-color: #f5f5f5;
    border-radius: 1rem;
    margin:0;
}
form{
    margin-top: 2rem;
}
.form-group{
    margin-bottom: 0;
}
.form-group.mb-2{
    margin-bottom: 2rem;
}
form span.wpcf7-list-item{
    margin: 0;
}
form .selection-content,
.success{
    background-color:#ffffff;
    border-radius: 2rem;
    padding:2.5rem 1rem;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 2rem;
}

form h2,
.success{
    margin-top: 5rem;
}
form .selection-content .question,
form .selection-content .h2,
.success h2{
    text-align: left;
    color:#000000;
    font-size: 1.6rem;
    font-weight: 600;
}
.success h2{
    color: #46b450;
}
form .selection-content .form-fields{
    margin-bottom: 2rem;
}

form .selection-content .form-fields p{
    margin-bottom:1rem !important;
}
form .selection-content .form-fields input.form-control{
    border: 0.1rem solid rgba(115,115,115,0.2);
}
form .selection-content .form-fields .form-group p{
    margin-bottom: 1.5rem;
}
form .selection-content .form-group p{
    margin-bottom: 0;
}
form .selection-content .wpcf7-checkbox{
    display: flex;
    flex-direction : row;
    text-align:left;
    gap: 2rem;
}
form .selection-content .wpcf7-checkbox .wpcf7-list-item{
    margin: 0.5rem 0;
}
form input.form-control{
    font-family: 'Roboto', sans-serif;
    font-size: 1.8rem;
    line-height: 2rem;
    height: 6rem;
    color: #000000;
    border-radius: 5rem;
    border: none;
    box-shadow: none;
}
form input.form-control::placeholder{
    color: #000000;
    font-weight: 400;
}
.commercial-offers{
    text-align:left;
    color: #000000;
}

.commercial-offers .form-group{
    margin-bottom:0;
}
.commercial-offers .form-group .wpcf7-list-item-label{
    font-size:1.6rem;
    font-weight:400;
}
.input-lg{
    padding: 2rem 3rem;
}
form input[type="checkbox"]{
    accent-color: #d02a4c;
    height:2rem;
    width:2rem;
}
form input[type="checkbox"] + span{
    font-family: 'Roboto', 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: #000000;
    font-weight: 500;
    cursor: pointer;
}
form input[type="checkbox"]:is(:checked) + span{
    color: #d02a4c;
}
form input[type="submit"]{
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 5rem;
    border: 0.2rem solid #d02a4c;
    background-color: #d02a4c;
    padding: 2rem 4rem;
    color: #ffffff;
    font-weight: 700;
    margin-top:3rem;
    transition: all ease-in-out 0.3s;
}
form input[type="submit"]:hover,
form input[type="submit"]:focus{
    background-color: #ffffff;
    color: #d02a4c !important;
    border: 0.2rem solid #d02a4c;
}
.wpcf7-mail-sent-ok{
    color: #398f14;
    font-weight: 500;
}
div.wpcf7-validation-errors{
    color: #f00;
    font-weight: 500;
    border-color: #f00;
}
.wpcf7-spinner{
    display: block;
    margin: 0.5rem auto;
}
.wpcf7-list-item-label{
    font-weight:400;
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    color: black;
}
.success{
    display: none;
    flex-direction: column;
}
.success img{
    max-width: 10rem;
    margin: 0 auto;
    margin-bottom:3rem;
}

@media (min-width:768px) {
    header {
        padding: 3rem 0;
    }
    .img-logo{
        width: 26rem;
    }
    section#form {
        transform: translateY(-8rem);
    }
    .form-group.mb-2{
        margin-bottom: 0;
    }
    h1{
        font-size: 3.4rem;
    }
    h2{
        font-size: 1.8rem;
    }
    section#form .container{
        -webkit-border-radius: 1rem;
        -moz-border-radius: 1rem;
        border-radius: 1rem;
    }

}

@media (min-width:992px) {
    header {
        padding: 4rem 0;
    }
    .img-logo{
        width: 30rem;
    }
    .img-title {
        width: 12rem;
    }
    section#form {
        transform: translateY(-8rem);
    }
    form .selection-content .question,
    form .selection-content .h2,
    .success h2{
        font-size: 1.5rem;
    }
    h1{
        font-size: 4.4rem;
    }
    h2{
        font-size: 2.4rem;
    }
}

@media (min-width:1200px) {
    .img-logo{
        width: 34rem;
    }
    .img-title {
        width: 14.8rem;
    }
    section#form {
        transform: translateY(-10rem);
    }
    form .form-group > p{
        margin-bottom: 1.5rem;
    }
    form .selection-content,
    .success{
        padding: 2.5rem 2rem;
    }
    form .selection-content .question,
    form .selection-content .h2,
    .success h2{
        font-size: 1.8rem;
    }
    h1{
        font-size: 5.4rem;
    }
    h2{
        font-size: 3rem;
    }

    footer{
        padding: 10rem 0 9rem 0;
    }
}

@media (min-width:1920px) {
    section#form {
        transform: translateY(-8rem);
    }
}