@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #faf5ef;
}

body a {
    text-decoration: none;
}

.sticky {
    position: sticky;
    top: 0;
    background-color: #faf5ef;
}

.menu-btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease-in-out;
}

.menu-btn-burger {
    width: 50px;
    height: 6px;
    background: #000;
    border-radius: 5px;
    transition: all 0.5s ease-in-out;
}

.menu-btn-burger::before,
.menu-btn-burger::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 6px;
    background: #000;
    border-radius: 5px;
    transition: all 0.5s ease-in-out;
}

.menu-btn-burger::before {
    transform: translateY(-16px);
}

.menu-btn-burger::after {
    transform: translateY(16px);
}

.menu-btn.open .menu-btn-burger {
    transform: translateX(-50px);
    background: transparent;
}

.menu-btn.open .menu-btn-burger::before {
    transform: rotate(45deg) translate(35px, -35px);
}

.menu-btn.open .menu-btn-burger::after {
    transform: rotate(-45deg) translate(35px, 35px);
}


.menu {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 10;
    transform: translateX(-100%);
    transition: all 0.5s ease-in-out;
    cursor: pointer;
    border-radius: 0px;
  }



.menu ul {
    text-align: center;
    display: inline-block;
}

.menu ul li {
    width: 100%;
    list-style: none;
}

.menu ul li a {
    display: block; 
    width: 100%;
    font-size: 30px;
    text-decoration: none;
    color: #000;
    text-align: center;
    font-family: 'Jost';
    padding: 10px 0;
    text-transform: uppercase;
    font-size: 2.5rem;
    background-color: #faf5ef;
}

.menu ul li a:hover {
    color: #c29a5c;
    border-bottom: 4px solid #c29a5c;
    width: 100%;
}

.menu--open {
    transform: translateX(0);
    background-color: #faf5ef;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.menu-btn-burger--open span {
    background-color: #faf5ef;
}

.menu-btn-burger--open span:before {
    transform: rotate(45deg); margin-top: 0; background: #fff;

}

.menu-btn-burger--open span:after {
    transform: rotate(-45deg); margin-top: 0; background: #000;
}

/* end menu burger */

/* logo */

.logo h1 {
    color: #000;
    font-family: 'Jost';
    margin: 0;
}

/* end logo */

/* hero */

.hero{
    height: 100vh;
    margin-bottom: 50px;
    background-image: url(../img/villa-large.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.testo_hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.hero h2 {
    font-family: 'Jost';
    font-size: 80px;
}

.hero p {
    font-family: 'Allura';
    font-size: 60px;
}

.btn a {
    text-decoration: none;
    color: #000;
}

.btn {
    background-color: #c29a5c;
    font-family: 'Jost';
    font-size: 30px;
}

.btn:hover {
    background-color: #c29a5c;
}

.icon {
    width: 30px;
    padding-bottom: 5px;
}

.gradient {
    background: rgb(164,164,164);
    background: rgb(182,182,182);
    background: -moz-linear-gradient(51deg, rgba(182,182,182,0.6041010154061625) 63%, rgba(164,164,164,0.6909357492997199) 100%);
    background: -webkit-linear-gradient(51deg, rgba(182,182,182,0.6041010154061625) 63%, rgba(164,164,164,0.6909357492997199) 100%);
    background: linear-gradient(51deg, rgba(182,182,182,0.6041010154061625) 63%, rgba(164,164,164,0.6909357492997199) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#b6b6b6",endColorstr="#a4a4a4",GradientType=1);
}

/* end hero */

/* chi siamo */

.chi_siamo {
    height: 100%;
}

.chi_siamo p {
    font-family: 'Jost';
    font-size: 30px;
    text-align: justify;
}

.chi_siamo h2 {
    font-family: 'Jost';
    font-size: 50px;
}

/* end chi siamo */

/* servizi */

.servizi {
    height: 100%;
}

.servizi p {
    font-family: 'Jost';
    font-size: 30px;
    text-align: justify;
}

.servizi h2 {
    font-family: 'Jost';
    font-size: 50px;
}


/* end servizi */

/* dicono di noi */

.diconodinoi {
    height: 100%;
    font-family: 'Jost';
}

.diconodinoi p {
    font-family: 'Jost';
    font-size: 30px;
    text-align: justify;
}

.diconodinoi h2 {
    font-family: 'Jost';
    font-size: 50px;
}

.solid {
    width: 3%;
}

.diconodinoi h3 {
    font-size: 25px;
}

.diconodinoi p {
    font-size: 20px;
}

.recensioni {
    background-color: #fff;
}


/* end dicono di noi */

/* contattaci */

.contattaci {
    height: 100%;
    font-family: 'Jost';
}

.contattaci p {
    font-family: 'Jost';
    font-size: 30px;
    text-align: justify;
}

.contattaci h2 {
    font-family: 'Jost';
    font-size: 50px;
}

.section-form {
    background: rgb(164,164,164);
    background: rgb(182,182,182);
    background: -moz-linear-gradient(51deg, rgba(182,182,182,0.6041010154061625) 63%, rgba(164,164,164,0.6909357492997199) 100%);
    background: -webkit-linear-gradient(51deg, rgba(182,182,182,0.6041010154061625) 63%, rgba(164,164,164,0.6909357492997199) 100%);
    background: linear-gradient(51deg, rgba(182,182,182,0.6041010154061625) 63%, rgba(164,164,164,0.6909357492997199) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#b6b6b6",endColorstr="#a4a4a4",GradientType=1);
}

form .btn {
    font-size: 20px;
}

/* end contattaci */

/* footer */

footer {
    background-color: #c29a5c;
    height: 100%;
    font-family: 'Jost';
}


/* end footer */

/*--------------------------------------*/
/* ! RESPONSIVE MOBILE */
/* -------------------------------------*/

@media only screen and (max-width: 768px) {
    

    .menu ul li a {
        font-size: 1.5rem;
    }

    .menu--open {
        margin-top: -8px;
    }

    ul {
        padding-left: 0;
    }

    .btn a {
        text-decoration: none;
        color: #000;
        font-size: 20px;
    }
    .logo h1 {
        font-size: 20px;
    }

    .hero h2 {
        font-size: 40px;
    }

    .hero p {
        font-size: 30px;
    }

    .btn a {
        font-size: 20px;
    }

    .icon {
        padding-bottom: 0;
    }

    .chi_siamo h2 {
        font-size: 40px;
        padding: 20px 0;
    }

    .chi_siamo p {
        font-size: 20px;
    }

    .servizi h2 {
        font-size: 40px;
        padding: 20px 0;
    }

    .servizi p {
        font-size: 20px;
    }

    .diconodinoi h2 {
        font-size: 40px;
        padding: 20px 0;
    }

    .diconodinoi p {
        font-size: 20px;
    }

    .solid {
        width: 5%;
    }

    .contattaci h2 {
        font-size: 40px;
        padding: 20px 0;
    }
}
