*{
    box-sizing: border-box;
    margin: 0 auto
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@400;500;600;700&display=swap');
:root{
    --verde1: #006D49;
    --verde2: #41BA8D;
    --verde3: #368B41;
    --verde4: #89C765;
}
html{
    scroll-behavior: smooth;
}
::selection{
    background-color: var(--verde2);
    color: white;
}
h1, h2, h3, h4, h5{
    font-family: 'Poppins', sans-serif;
}
p, a{
    font-family: 'Cabin', sans-serif ;
    font-weight: 400;
    color: #333333;
}
@font-face {
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url("webfonts/fa-solid-900.eot");
    src: url("webfonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("webfonts/fa-solid-900.woff2") format("woff2"), url("webfonts/fa-solid-900.woff") format("woff"), url("webfonts/fa-solid-900.ttf") format("truetype"), url("webfonts/fa-solid-900.svg#fontawesome") format("svg"); }
  
  .fa,
  .fas {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900; }
.fa,
.fas{
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1; }

.fa-tooth:before {
    content: "\f5c9"; }
.fa-flask:before {
    content: "\f0c3"; }
.fa-pen:before {
    content: "\f304"; }
.fa-user:before {
        content: "\f007"; }
.fa-search:before {
    content: "\f002"; }

body{
    width: 100vw;
    overflow-x: hidden!important;
    background: white;
}
header{
    top: 0;
    position: fixed;
    width: 100vw;
    z-index: 999;
}
.cookie-banner{
    width: 100%;
    position: fixed;
    bottom: 0;
    background-color: rgb(255, 255, 255);
    box-shadow:#3333332f 0 0 2px 2px;
    padding: 20px;
    z-index: 1000;
    font-size: 16px;
    font-weight: 500;
}
.header-container{
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    padding: 20px;
    justify-content: space-between;
    transition: 0.3s ease;
}
.header-container nav{
    display: none;
}

.nav-shadow{
    box-shadow: #00000042 0px 0px 10px 4px;
    font-size: 1em!important;
    background-color: #ffffffde;
}
.header-logo{
    width: 70%;
}
.header-logo img, .mobile-trigger img{
    width: 100%;
    max-height: 60px;
}
@media screen and (orientation:landscape) and (max-width: 992px){
    .header-logo img, .mobile-trigger img{
        width: 100%;
        max-height: 50px;
    }
}
.mobile-trigger{
    width: 15%;
    display: flex;
    align-items: center;
    opacity: 0.8;
}
.sidebar{
    top: 0;
    width: 100vw;
    height: 100vh;
    background: var(--verde2);
    color: white;
    position: fixed;
    left: 100vw;
    transition: all 0.2s linear;
    padding: 40px;
}
.active .sidebar{
    left: 0!important;
}
.sidebar .mobile-trigger{
    margin-right: -5px;
}
.sidebar ul{
    list-style-type: none;
    display: flex;
    flex-flow: column nowrap;
    padding-left: unset;
    justify-content: center;
    height: 70%;
}
.sidebar ul li a{
    display: block;
    font-size: 150%;
    font-weight: 600;
    padding: 20px 0px;
    text-transform: capitalize;
    text-decoration: none;
    color: white;
}

.hero{
    padding-top: 50px;
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    height: 100vh;
}
.hero > div{
    width: 100%;
    position: absolute;
}
.hero-img{
    z-index: 0;
    overflow-x: hidden;
}
.hero-img img{
    width: 120%;
    margin-left: -10%;
}
.hero-text{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items:center;
    z-index: 1;
    top: 10%;
}
.hero-text div{
    position: absolute;
    text-align: center;
}
.hero-text h1{
    font-size: 1.4em;
    line-height: 1.6em;
    opacity: 0;
    text-align: center;
    width: 100%;
    letter-spacing: 0.05em;
}
.hero .highlighted{
    margin-top: 20px;
    font-size: 1.4em;
    opacity: 0;
}
.highlighted{
    font-size: 2em;
    color: white;
    font-weight: 700;
    text-decoration: none;
    width: auto;
    display: inline-block;
    text-align: center;
    padding: 0.2em 1.3em;
    position: relative;
    letter-spacing: 0.07em;
}
.highlighted::before, .highlighted::after{
    background-color: #41ba8ec9;
    width: 100%;
    height: 100%;
    position: absolute;
    content: '';
    z-index: -1;
    transform: skew(20deg);
    transition: 0.3s ease;
}
.highlighted::before{
    left: -3%;
    top: -10%;
}
.highlighted::after{
    left: 3%;
    top: 10%;
}
.highlighted:hover::after, .highlighted:hover::before{
    left: 0%;
    top: 0%;
    background-color: #41ba8e;
}

.content .highlighted{
    width: 100%;
    font-size: 1.2em!important;
    padding: 0.8em 1.3em;
    margin-top: 20px;
}
.hero-title{
    width: 100%;
    margin: 150px auto 50px;
    text-align: center;
}
.hero-title span{
    text-transform: capitalize;
    background-image: linear-gradient(120deg,var(--verde2)0%, var(--verde2)100%);
    background-size: 100% 0.2em;
    background-position: 0 78%;
    background-repeat: no-repeat;
    color: #333333;
    font-weight: 600;
}
.content{
    width: 100%;
    padding: 100px 10px 10px 10px;
    display: flex;
    flex-flow: column nowrap;
    margin-top: 40px;
    position: relative;
}
.content::before, .content::after{
    background: url(img/pattern.svg) no-repeat center center;
    background-size: contain;
    width: 300px;
    height: 300px;
    position: absolute;
    content: '';
    z-index: -1;
    opacity: 0.4;
    display: none;
}
.content::before{
    top: 0%;
    left: -30%;
}
.content::after{
    top: 85%;
    right: 0%;
}

.content img{
    width: 100%;
    z-index: 2;
}

.content div{
    background: rgb(255, 255, 255);
    box-shadow: #00000033 0px 0px 10px;
    padding: 30px;
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    z-index: 0;
}
.content h3{
    text-align: center;
    font-size: 2em;
    color: #238d66;
    font-weight: 600;
    margin-bottom: 5px;
    margin-left: unset;
    letter-spacing: 2px;
}
.content p{
    text-align: justify;
    font-size: 1.1em;
}
.content p a{
    color: var(--verde1);
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}
.content p a:hover{
    color: var(--verde2);
}

.servizi{
    margin: 50px auto;
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    align-content: center;
    justify-content: space-around;
}
.servizi > div{
    width: 90%;
    box-shadow: #00000033 0px 0px 10px;
    margin-top: 20px;
}
.servizi div img{
    width: 100%;
}
.servizi .text{
    padding: 20px;
}
.servizi h4{
    text-align: center;
    color: #238d66;
    font-size: 20px;
}
.servizi h3{
    text-align: center;
    color: #238d66;
    font-size: 25px;
    width: 100%;
}
.servizi p{
    font-size: 1.3em;
    text-align: center;
    margin-top: 5px;
}
.mega-button{
    width: 100%;
    text-align: center;
    padding: 40px;
    font-size: 10px;
}
.form-box{
    width: 90%;
    background-color: white;
    min-height: 500px;
    padding: 20px;
    line-height: 1.6em;
    box-shadow: #00000033 0px 0px 10px;

}
.form-box *{
    margin-top: 20px;
}
.form-box input, .form-box textarea{
    width: 100%;
    outline: unset;
    padding: 10px;
    margin-top: 20px;
    border: 2px #33333333 solid;
    color: #252525;
    font-family: 'Cabin', sans-serif;
}
.form-box input:not(input[type=checkbox]):focus, .form-box textarea:focus{
    box-shadow: #3333332f 0 0 2px 2px;
}

.btn.btn_submit{
    outline: unset;
    border: unset;
    background-color: var(--verde2);
    width: 50%;
    color: white;
    transition: 0.3s ease;
}
.btn.btn_submit:hover, .btn.btn_submit:focus{
    background-color: var(--verde1);
}
.gallery{
    width: 100%!important;
    justify-items: center;
    margin: 0 auto!important;
    padding: 20px!important;
}
.gallery div{
    margin: 40px!important;
    max-width: 350px;
    padding: 0px!important;
    overflow: hidden;
    border-radius: calc(.85rem - 1px);
    position: relative;

}
.gallery div img{
    width: 100%;
    height: auto;
    transition: 0.5s ease all;
    vertical-align: middle;
}

.gallery div:hover img{
    transform: scale(1.2);
    opacity: .5;
}
.gallery .overlay{
    background: #1ac28aa4;
    position: absolute;
    bottom: -100%;
    width: 100%;
    height: 100%;
    transition: 0.3s all;
    margin: unset!important;
    padding: unset!important;
}
.overlay i{
    font-size: 35px;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
}
.gallery div:hover .overlay{
    bottom: 0px;
}
.footer{
    margin-top: 150px;
    width: 100%;
    background: url("img/footer.svg") center top no-repeat;
    background-size: cover;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    padding: 200px 40px 40px 40px;

}
.footer img{
    width: 80%;
    max-width: 250px;
}
.footer ul{
    width: 100%;
    margin-top: 40px;
    padding-left: unset;
    list-style-type: none;
    display: flex;
    flex-flow: column nowrap;
}
.footer ul li{
    display: block;
    padding: 10px;
    border-top: 1px #ffffff77 solid;
    width: 100%;
    text-align: center;
    transition: 0.3s ease;

}
.footer ul li a{
    text-decoration: none;
    text-transform: capitalize;
    color: white!important;
}
.footer ul li:hover{
    background:#ffffff3b;
}
footer .copyright{
    width: 100%;
    font-size: .8em;
    padding: 10px;
    text-align: center;
    background-color: var(--verde1);
    line-height: 1.5em;
}
footer .copyright p, footer .copyright p a{
    color: white;
    
}