:root {
    --primary: #7d7270;
    --secondary: #3f477d;
    --seconday-darker: #1f34a1;
    --red-section: #5b0b0bd8;
    --white: #ffffff;
    --brown: #494949c9;
    --black: #000000;
    --black-trasparent: #00000054;
    --navbar: var(--secondary);
    --white-opacity: #ffffff67;
    --border-color: #344647;
    --btn-back: #1b456f;
    --btn-nav-back: #b29b81;
    --btn-hover: #8090ff;
}
h1{
    color: var(--btn-back);
}
.testo-mini{
    font-size: calc(18px + (22 - 18) * ((100vw - 300px) / (1920 - 300)));
}
.image-container{
    overflow: hidden;
    position: relative;
}
.box-contatti{
    padding-bottom:3em;
    border-radius: 20px;
    border:2px solid var(--btn-back);
}
.animated{
    animation-duration: 2s;
 }
body {
    overflow-x: hidden;
    font-family: 'Urbanist', sans-serif;
}
.text-hover-card{
    background-color: var(--black-trasparent);
    position: relative;  
}
.reperibili{
    color: var(--btn-back);
    text-transform: uppercase;
    font-weight: 600;
}
.back-servizi{
    min-height:45vh;
    transition: all 1s;
    background-image: url("../img/servizi.jpg");
    background-size: cover;
    background-position: center;
}
.back-servizi:hover{
    transform: scale(1.1);
}
.logo{
    padding-top:10em;
    margin-right:auto;
    margin-left:auto;
    left: 0;
    right: 0;
    text-align: center;
    width:30%;
    position: absolute;
}
.text-scopri{
    position: absolute;
    margin:auto;
    left:0;
    right:0;
    bottom:0;
    top:55%;
    color: var(--white);
    font-size: calc(16px + (16 - 14) * ((100vw - 300px) / (1920 - 300)));
}
.logo-dim{
    width:60%;
}
.title-video{
    font-size: calc(43px + (43 - 33) * ((100vw - 300px) / (1920 - 300)));
    color:var(--btn-back); 
    font-weight: 700;
    text-align: center;   
    text-transform: uppercase;
}
.modal-body{
    background-color: var(--secondary);
}
.popup {
    width: 395px;
    height: auto;
    position: fixed;
    z-index: 9000;
    left: -578px;
    padding: 1em;
    bottom: 0;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.50);
    border: double 4px var(--secondary);
    background: #fff;
}
.back-floreali{
    min-height:45vh;
    transition: all 1s;
    background-image: url("../img/floreali-2.jpg");
    background-size: cover;
    background-position: center;
}
.back-floreali:hover{
    transform: scale(1.1);
}
.back-cimiteriali:hover{
    transform: scale(1.1);
}
.back-cremazioni:hover{
    transform: scale(1.1);
}
.back-cimiteriali{
    min-height:45vh;
    transition: all 1s;
    background-image: url("../img/cimiteriali.jpg");
    background-size: cover;
    background-position: center;
}
.back-cremazioni{
    min-height:45vh;
    transition: all 1s;
    background-image: url("../img/cremazione.jpg");
    background-size: cover;
    background-position: center;
}
.back-fiori{
    min-height:45vh;
    background-image: url("../img/back-fiori.jpg");
    background-size: cover;
    background-position: center;
}
.overlay {
    min-height:45vh;
    padding:3em;
    position: relative;
    
}
.back-viale{
    background-image: url("../img/viale.jpg");
    background-size:cover;
    background-position: center;
    min-height:55vh;
}
.overlay-servizi{
    min-height:45vh;
    padding:3em;
    position: relative;
}
.subtitle {
    font-style: italic;
    padding-top:2em;
    padding-left: 1em;
    padding-bottom: 0.5em;
    text-transform: uppercase;
    font-weight: 600;
    font-size: calc(33px + (33 - 24) * ((100vw - 300px) / (1920 - 300)));
    color: var(--btn-back);
}
.subtitle-inverted {
    font-style: italic;
    text-transform: uppercase;
    font-weight: 600;
    padding-top: 1em;
    padding-left: 1em;
    padding-bottom: 0.5em;
    font-size: calc(35px + (35 - 24) * ((100vw - 300px) / (1920 - 300)));
    color: var(--white);
}
.subtitle-white{
    
    text-transform: uppercase;
    font-weight: 600;
    padding-bottom: 0.5em;
    font-size: calc(35px + (35 - 24) * ((100vw - 300px) / (1920 - 300)));
    color: var(--white);
}
.subtitle-white-card{
    position: absolute;
    margin: auto;
    bottom:0;
    left:0;
    right:0;
    top:45%;
    font-style: italic;
    font-weight: 600;
    text-transform: uppercase;
    padding-bottom: 0.5em;
    font-size: calc(27px + (27 - 24) * ((100vw - 300px) / (1920 - 300)));
    color: var(--white);
}

.text {
    font-style: italic;
    font-weight: 300;
    padding: 2em;
    font-size: calc(20px + (20 - 18) * ((100vw - 300px) / (1920 - 300)));
}
.text-inverted {
    font-style: italic;
    font-weight: 200;
    padding: 2em;
    font-size: calc(16px + (16 - 14) * ((100vw - 300px) / (1920 - 300)));
}
.col-footer{
    padding:2em;
}
.title-hover-image{
    position: absolute;
    bottom:50px;
}
.spacing{
    padding:2em;
}
.bordered-top{
    border-top:5px solid var(--secondary);
}
.hover-image{
    position: absolute;
}
.img-index{
    border:6px solid var(--btn-hover);
    
}
.img-hover-zoom {
    cursor:pointer;
    overflow: hidden;
}
.img-hover-zoom img {
    transition: transform .5s ease;
}
.img-hover-zoom:hover img {
    transform: scale(1.1);
}
.back-black-trasparent{
    background-color: var(--black-trasparent);
}
.white{
    color:var(--white);
}
#header-video{
    position: relative;
    z-index: -1;
    width:  100%;
    height: 74vh;
    object-fit: cover;
}
/* Background */
#header-servizi{
    padding-top:5em;
    position: relative;
    z-index: -1;
    width:  100%;
    height: 74vh;
    object-fit: cover;
}
#header-floreali{
    padding-top:5em;
    position: relative;
    z-index: -1;
    width:  100%;
    height: 74vh;
    object-fit: cover;
}
#header-cremazioni{
    padding-top:5em;
    position: relative;
    z-index: -1;
    width:  100%;
    height: 74vh;
    object-fit: cover;
}
#header-cimiteriali{
    padding-top:5em;
    position: relative;
    z-index: -1;
    width:  100%;
    height: 74vh;
    object-fit: cover;
}
.header-composizioni{
    background-image: url("../img/addobbi-floreali/header.jpg");
    background-size: cover;
    min-height:65vh;
    background-position: 50% 55%;
}
.header-cremazioni{
    background-image: url("../img/cremazione/header.jpg");
    background-size: cover;
    min-height:65vh;
    background-position: 50% 55%;
}

.header-cimiteriali{
    background-image: url("../img/addobbi-floreali/header.jpg");
    background-size: cover;
    min-height:65vh;
    background-position: 50% 10%;
}

.header-funerali{
    background-image: url("../img/cimiteriali/header.jpg");
    background-size: cover;
    min-height:75vh;
    background-position: 50% 80%;
}
.back-cimiteriali-1{
    background-image: url("../img/cimiteriali/cimiteriali-1.jpg");
    background-size: cover;
    min-height:45vh;
    background-position: 50% 50%;
}
.back-cimiteriali-2{
    background-image: url("../img/cimiteriali/cimiteriali-2.jpg");
    background-size: cover;
    min-height:45vh;
    background-position: 50% 50%;
}
.back-cimiteriali-3{
    background-image: url("../img/cimiteriali/cimiteriali-3.jpg");
    background-size: cover;
    min-height:45vh;
    background-position: 50% 50%;
}
.back-composizioni-1{
    background-image: url("../img/addobbi-floreali/composizioni-2.jpg");
    background-size: cover;
    min-height:45vh;
    background-position: 50% 50%;
}
.back-composizioni-2{
    background-image: url("../img/addobbi-floreali/composizioni-3.jpg");
    background-size: cover;
    min-height:45vh;
    background-position: 50% 50%;
}
.back-composizioni-3{
    background-image: url("../img/addobbi-floreali/composizioni-1.jpg");
    background-size: cover;
    min-height:45vh;
    background-position: 50% 50%;
}
.back-servizi-2{
    background-image: url("../img/servizi/servizi-2.jpg");
    background-size: cover;
    min-height:45vh;
    background-position: 50% 50%;
}
.back-servizi-3{
    background-image: url("../img/servizi/servizi-3.jpg");
    background-size: cover;
    min-height:55vh;
    background-position: 50% 50%;
}
.back-servizi-4{
    background-image: url("../img/servizi/servizi-4.jpg");
    background-size: cover;
    min-height:55vh;
    background-position: 50% 50%;
}
.back-cremazione-1{
    background-image: url("../img/cremazione/1.jpg");
    background-size: cover;
    min-height:55vh;
    background-position: 50% 50%;
}
.back-cremazione-2{
    background-image: url("../img/cremazione/2.jpg");
    background-size: cover;
    min-height:55vh;
    background-position: 50% 50%;
}
.back-cremazione-3{
    background-image: url("../img/cremazione/3.jpg");
    background-size: cover;
    min-height:55vh;
    background-position: 50% 50%;
}
.link{
    text-decoration: none;

}
.content{
    z-index:1;
    min-height:99vh;
}

.back-lapide{
    background-image: url("../img/lapide.jpg");
    background-size: cover;
    min-height: 45vh;
    width:33vw;
}
.back-tomba{
    background-image: url("../img/tomba.jpg");
    background-size: cover;
    min-height: 45vh;
    width:33vw;
}
.back-targa{
    background-image: url("../img/targa.jpg");
    background-size: cover;
    min-height: 45vh;
    width:33vw;
}
.back-marmo{
    clip-path: polygon(48.6% 13.8%, 100% 2.5%, 100% 79.3%, 49.7% 99.3%, 0% 82.3%, 0.3% 3.8%);
    background-image: url("../img/marmo.jpg");
    background-size: cover;
    background-attachment: fixed;
    min-height: 75vh;
   
}
.back-decorazioni{
    background-image: url("../img/decorazioni.jpg");
    background-size: 25vw;
    min-height:65vh;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    
}
.back-opere{
    background-image: url("../img/targa.jpg");
    background-size: cover;
    min-height:65vh;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    
}
.back-tomba-2{
    background-image: url("../img/tomba-2.jpg");
    background-size: cover;
    min-height:75vh;
    background-attachment: fixed;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    
}
.back-brown {
    color: var(--white);
    background-color: var(--secondary);
}
.back-black {
    background-color: var(--black);
}
.back-storia{
    background-image: url("../img/storia.jpg");
    background-size: cover;
    background-position: 30% 40%;
    min-height:45vh;
    width:30vw;
    border-radius: 25% 43% 38% 25% / 0% 45% 51% 0%;
}
.back-secondary{
    background-color: var(--secondary);
}

.back-lightblue {
    color: var(--white);
    background-color: var(--seconday-light);
}
.back-white{
    background-color: var(--white);
}
.back-white-trasparent {
    background-color: var(--white-opacity);
}
/*---------------*/
.img-hover{
    border-radius: 0% 26% 23% 0% / 25% 50% 50% 25%;
    position: absolute;
    bottom:0;
    left:0;
    padding:1em;
}
.container-wa{
    background-color: var(--white);
    padding:0.9em;
    border-radius:10%;
    color: #5e2b20;
    z-index:999999999;
    position: fixed;
    bottom: 25px;
    right: 25px;
}
.icon-wa{
    font-size:3rem;
}

.container-buttom {
    padding: 1em;
    padding-bottom: 2em;
}
.logo-footer{
    width:60%;
    padding:1em;
    
}
.section-contatti {
    padding-top: 2em;
}
.container-subtitle{
    position: relative;
    z-index:-1;
    padding:3em;
    padding-left:0;
}
#map {
    height: 600px;
}
.img-hover-video{
    width:60%;
}
.hover-video{
    padding:2em;
    border-radius: 0% 32% 30% 0% / 25% 47% 53% 25%;
    background-color: var(--white);
    position: absolute;
    min-height: 20vh;
    left:0;
    bottom:0;
    width:34vw;
}
.link-contatti {
    text-decoration: none;
    color: var(--white);
    font-size: calc(16px + (16 - 12) * ((100vw - 300px) / (1920 - 300)));
}

.button {
    white-space: nowrap;
    text-decoration: none;
    background-color: var(--btn-back);
    border: 1px solid var(--btn-back);
    color: var(--white);
    padding: 0.5em;
    border-radius: 10px;
    font-size: calc(20px + (20 - 18) * ((100vw - 300px) / (1920 - 300)));
}
.button-inverted {
    white-space: nowrap;
    text-decoration: none;
    background-color: var(--white);
    border: 1px solid var(--btn-back);
    color: var(--btn-back);
    padding: 0.5em;
    border-radius: 10px;
    font-size: calc(20px + (20 - 18) * ((100vw - 300px) / (1920 - 300)));
}
.button-inverted:hover {
    text-decoration: none;
    background-color: var(--btn-back);
    border: 1px solid var(--btn-back);
    color: var(--white);
    padding: 0.5em;
    border-radius: 10px;
    font-size: calc(20px + (20 - 18) * ((100vw - 300px) / (1920 - 300)));
}
.button:hover {
    text-decoration: none;
    background-color: var(--white);
    border: 1px solid var(--btn-back);
    color: var(--btn-back);
    padding: 0.5em;
    border-radius: 10px;
    font-size: calc(20px + (20 - 18) * ((100vw - 300px) / (1920 - 300)));
}
.btn-nav {
    white-space: nowrap;
    text-decoration: none;
    background-color: var(--secondary);
    border: 1px solid var(--white);
    color: var(--white);
    padding: 0.5em;
    border-radius: 10px;
    font-size: calc(16px + (16 - 14) * ((100vw - 300px) / (1920 - 300)));
}
.btn-nav:hover {
    white-space: nowrap;
    text-decoration: none;
    background-color: var(--btn-hover);
    border: 1px solid var(--btn-hover);
    color: var(--white);
    padding: 0.5em;
    border-radius: 10px;
    font-size: calc(16px + (16 - 14) * ((100vw - 300px) / (1920 - 300)));
}
.text-hover{
    position:relative;
    z-index:2;
}
/*flex-control*/
.flex-end {
    justify-content: end;
}
.flex-centered {
    display: flex;
    justify-content: center;
}
.vertical-center {
    align-items: center;
}
/*Navbar*/
.navbar {
    padding: 1em;
    background-color: var(--navbar);
}
.logo-nav{
    width:20%;
}
.subtitle-footer{
    text-transform: uppercase;
    font-size: calc(35px + (35 - 22) * ((100vw - 300px) / (1920 - 300))); 
}
/*title subtitle*/
.title-page {
    font-style: italic;
    padding-left:0.5em;
    padding:1em;
    color:var(--secondary);
    font-size: calc(35px + (55 - 35) * ((100vw - 300px) / (1920 - 300))); 
    text-transform: uppercase;
    font-weight: 700;
}
.sub-h1{
    font-size: calc(18px + (18 - 16) * ((100vw - 300px) / (1920 - 300))); 
}
.title-index {
    margin-bottom:0;
    padding-top:1em;
    padding-bottom:1em;
    text-transform: uppercase;
    line-height: 3rem;
    color: var(--secondary);
    font-size: calc(35px + (35 - 22) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 700;
    
}
.subtitle-page {
    padding-top: 1em;
}
.sottotitolo {
    font-size: calc(12px + (14 - 12) * ((100vw - 300px) / (1920 - 300)));
}
.subtitle-h1 {
    padding: 5em;
    padding-bottom: 10em;
    font-size: calc(16px + (16 - 12) * ((100vw - 300px) / (1920 - 300)));
}
/*text*/
.link-privacy {
    text-decoration: none;
    color: var(--white);
}
.subtitle-servizi-h2 {
    padding: 0.5em;
    padding-top: 4em;
    padding-bottom: 2em;
    font-size: calc(24px + (24 - 18) * ((100vw - 300px) / (1920 - 300)));
}
.subtitle-servizi {
    padding: 0.5em;
    font-size: calc(24px + (24 - 18) * ((100vw - 300px) / (1920 - 300)));
}
.section.contatti {
    padding: 2em;
}
.subtitle-contatti {
    font-weight: 700;
    padding-top:0.8em;
    padding-bottom:0.8em;
    color:var(--white);
}
.text-contatti {
    padding: 2em;
}
/*Color*/
.white {
    color: var(--white);
}
.servizi {
    margin: 1rem;
    border: 2px solid var(--border-color);
}
/*Chi sono*/
.container-servizi {
    background-color: var(--black);
    position: relative;
    z-index: -1;
    height: 25%;
    width: 33vw;
}
.sfumato {
    background: #ffffff;
    background: -webkit-linear-gradient(107deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(107deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}
.back-black {
    background-color: var(--black);
}
.icon-contatti{
    width:100px;
    position: absolute;
    top:-50px;
}
.line{
    background-color: var(--secondary);
    min-height: 5px;
    width:10%;
    margin-left:3rem;
}
.line-white{
    background-color: var(--white);
    min-height: 5px;
    width:10%;
    margin-left:3rem;
}
.overlay {
    padding:3em;
    position: relative;
}
.img-servizi {
    position: relative;
    z-index: -1;
}
.logo-nav {
    width: 10%;
}
.nav-item {
    padding-right: 2em;
}
.nav-link {
    text-transform: uppercase;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.1rem;
}
.nav-link:hover{
    text-transform: uppercase;
    font-weight: 600;
    color: var(--btn-back);
    background-color: var(--white);
    letter-spacing: 0.1rem;
    
}
.back-tomba-cosa-facciamo{
    background-size: cover;
    background-image: url("../img/tomba-cosa-facciamo.jpg");
    min-height: 54vh;
}
.back-materiali{
    background-size: cover;
    background-image: url("../img/materiali.jpg");
    min-height: 60vh;
}
.nopadding {
    padding: 0px;
}
#videohead {
    position: relative;
    z-index: -1;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}
.text-start {
    padding-bottom: 2em;
}
.text-intro {
    padding-left: 1em;
    box-shadow: -1.5px -4.5px 12px -3.5px #4d4d4d;
}
.text {
    padding-left: 2em;
}
.text-inverted {
    color:var(--white);
    padding-left: 2em;
}
.title-text {
    padding-bottom: 0.5em;
    padding-left: 0.5em;
}
.provincia {
    font-size: calc(12px + (14 - 12) * ((100vw - 300px) / (1920 - 300)));
}
.footer {
    background-color: var(--secondary);
    padding: 3em;
    padding-bottom: 0em;
    color: var(--white)
}
.link-footer {
    text-decoration: none;
    color: var(--white);
    font-size: calc(16px + (16 - 14) * ((100vw - 300px) / (1920 - 300)));
}
.dati-aziendali {
    background-color: #262626;
    color: var(--white);
    padding: 0.5em;
    margin-bottom: 0px;
}
.container-wa{
    border:2px solid var(--secondary);
    
}
.text-blue{
    color:var(--btn-back);
}
@media only screen and (max-width:1920px) {
    #header-servizi{
        padding-top:6em;
    }
    .logo-in-btn{
        width:80%;
    }
    .link-btn{
        width:20%;
    }
}
@media only screen and (max-width:1457px) {
#header-servizi{
    padding-top:5em;
}
.back-cremazione-3{
    min-height: 60vh;
}
.back-cremazione-2{
    min-height: 63vh;
}
.back-viale{
    min-height: 45vh;

}
.back-composizioni-1{
    min-height: 60vh;
}
.btn-nav{
    white-space: nowrap;
}
.navbar-collapse{
    justify-content: unset;
}
.nav-item{
    padding-right:1em;
}
.nav-logo{
    width:40%;
}
.link-btn{
    width:20%;
}
.logo-in-btn{
    width:80%;
}
}
@media only screen and (max-width:1333px) {
    
    .back-cremazione-2{
        min-height: 74vh;
    }
    .subtitle-inverted{
        font-size: calc(22px + (22 - 18) * ((100vw - 300px) / (1920 - 300)));
    }
    .text-inverted{
        font-size: calc(16px + (16 - 14) * ((100vw - 300px) / (1920 - 300)));
        padding:0;
        padding-left:1.5em;
    }
    .nav-item{
        padding-right:0.4em;
    }
    .logo-nav{
        width:13%;
    }
    .logo{
        width: 40%;
    }
    .nav-link{
        
        font-size: calc(12px + (13 - 12) * ((100vw - 300px) / (1920 - 300)));
    }
    .logo-footer{
        width:60%;
    }
    .btn-nav{
        white-space: nowrap;
    }
    .back-decorazioni{
        min-height: 70vh;
        background-size: 35vw;
    }
    .back-opere{
        min-height: 70vh;
    }
    .subtitle-inverted{
        padding-top:0.5em;
    }
    .hover-video{
        padding:0;
        padding-left:1em;
    }
    .spacing-bottom{
        padding-bottom:1em;
    }
}
@media only screen and (max-width:1024px) {
    .btn-nav{
        white-space: nowrap;
    }
    #map{
        height:350px;
    }

}
@media only screen and (max-width:991px) {
    .btn-nav{
        display:block!important;
    }
    .logo{
        width:60%;
    }

    .container-logo-footer{
        text-align: center;
    }
    .subtitle-footer{
        padding-top:1em;
    }
    .overlay-servizi{
        padding:1em;
        padding-top:3em;
        min-height: 35vh;
    }
    .back-servizi{
        min-height: 35vh;
    }
    .back-floreali{
        min-height: 35vh;
    }
    .back-cimiteriali{
        min-height: 35vh;
    }
    .back-cremazioni{
        min-height:35vh;
        
    }
    .title {
        padding: 0;
    }
    .subtitle-h1 {
        padding: 0;
    }
    .text-chi-sono {
        padding-left: 1em;
    }
    .section-contatti {
        padding: 1em;
    }
    #header-video {
        height:unset;
        padding-top:2em;
        object-fit: contain;
        min-height:unset;
    }
    #header-servizi {
        height:unset;
        padding-top:2em;
        object-fit: contain;
        min-height:unset;
    }
    #header-floreali{
        height:unset;
        padding-top:2em;
        object-fit: contain;
        min-height:unset;
    }
    #header-cimiteriali{
        height:unset;
        padding-top:2em;
        object-fit: contain;
        min-height:unset;
    }
    #header-cremazioni{
        height:unset;
        padding-top:2em;
        object-fit: contain;
        min-height:unset;
    }
    .back-viale{
        min-height:40vh;
    }
    .logo-nav{
        width: 100%;
    }
    .link-btn{
        width:50%;
    }
}
@media only screen and (max-width:580px) {
    .popup {
        width: 295px;
        
    }
    .back-cremazione-1{
        min-height:35vh;
    }
    .back-cremazione-2{
        min-height:35vh;
    }
    .back-cremazione-3{
        min-height:35vh;
    }
    .header-cremazioni{
        min-height: 35vh;
    }
    .spacing{
        padding:1em;
    }
    .logo{
        width:unset; 
    }
    .overlay-servizi{
        min-height: 35vh;
    }
    .back-servizi{
        min-height: 35vh;
    }
    .back-cremazioni{
        min-height:35vh;
        
    }
    .back-floreali{
        min-height: 35vh;
    }
    .back-cimiteriali{
        min-height: 35vh;
    }
    .title-index{
        line-height: 1rem;
        font-size: calc(16px + (16 - 14) * ((100vw - 300px) / (1920 - 300)));
    }
    .back-decorazioni{
        min-height: 45vh;
        width:100vw;
        background-position: 50% 10%;
    }
    .back-tomba-2{
        background-attachment: unset; 
    }
    .back-marmo{
        background-attachment: unset;
    }
    .back-decorazioni{
        background-size: cover;
    }
    .back-marmo{
        clip-path: unset;
    }
    .hover-video{
        padding:0;
        padding-left:1em;
        border-radius: 0% 32% 30% 0% / 25% 47% 53% 25%;
        background-color: var(--white);
        position: absolute;
        min-height: 20vh;
        left:0;
        bottom:0;
        width:60vw;
    }
    .back-cosa-facciamo{
        background-position: 50% 10%;
        min-height: 45vh;  
    }
    .back-materiali{
        min-height: 45vh; 
    }
    .header-vision{
        min-height: 45vh;
    }
    .title-page{
        padding-top:0.7em;
        padding-left:1em;
        line-height: 2rem;
        font-size: calc(22px + (22 - 18) * ((100vw - 300px) / (1920 - 300)));
    }
    .footer{
        padding:1em;
    }
    .subtitle-footer{
        padding-top:1em;
    }
    .container-logo-footer{
        text-align:center;
    }
    .dati-aziendali{
        padding:1em;
        font-size: calc(11px + (11 - 9) * ((100vw - 300px) / (1920 - 300)));
    }
    .subtitle-section-inverted{
        padding:1;
        padding-top:2em;
        font-size: calc(28px + (28 - 22) * ((100vw - 300px) / (1920 - 300)));
    }
    .subtitle-section{
        padding-top:1em;
    }
    .text {
        padding: 1.5em;
        font-size: calc(16px + (18 - 16) * ((100vw - 300px) / (1920 - 300)));
    }
    .container-subtitle{
        padding:0em;
    }
    .col-footer{
        padding:0;
    }
    .text-pages{
        padding:1em;
        padding-left:2em;
    }
    .container-wa{
        border:2px solid var(--secondary);
        bottom:10px;
        right:10px;
    }
    .icon-wa{
        font-size:3rem;
    }
    .logo-nav{
        width:40%;
    }
    #map {
        height: 250px;
    }
    .logo-footer{
        width:100%;
    }
    .title {
        padding: 0;
    }
    .content {
        min-height: 99vh;
    }
    .subtitle-h1 {
        padding: 0;
    }
    .container-chi-siamo {
        padding: 1em;
    }
    .text-chi-sono {
        padding-left: 1em;
    }
    .section-contatti {
        padding: 0px;
    }
    .line{
        width: 40%;
        margin-left:1.5rem;
    }
    .spacing-bottom{
        padding-bottom:1em;
    }
    .button{
        font-size: calc(14px + (16 - 14) * ((100vw - 300px) / (1920 - 300)));  
    }
    .button-inverted{
        font-size: calc(14px + (16 - 14) * ((100vw - 300px) / (1920 - 300)));  
    }
    .subtitle{
        padding:0;
        padding-top:1em;
        padding-left:1em;
        font-size: calc(24px + (28 - 24) * ((100vw - 300px) / (1920 - 300)));
    }
    .line-white{
        width: 40%;
        margin-left:1.5rem;
    }
    .subtitle-inverted{
        padding:0;
        padding-top:1em;
        padding-left:1em;
        font-size: calc(22px + (22 - 19) * ((100vw - 300px) / (1920 - 300)));
    }
    .text-inverted {
        font-size: calc(14px + (16 - 14) * ((100vw - 300px) / (1920 - 300)));
    }
    .dati-aziendali {
        font-size: calc(13px + (15 - 13) * ((100vw - 300px) / (1920 - 300)));
    }
    .header-servizi{
        min-height: 35vh;
    }
    .header-composizioni{
        min-height: 35vh;
    }
    .header-funerali{
        min-height: 35vh;
    }
    .back-servizi-2{
        min-height: 35vh;
    }
    .back-servizi-3{
        min-height: 35vh;
    }
    .back-servizi-4{
        min-height: 35vh;
    }
    .back-composizioni-1{
        min-height: 35vh;
    }
    .back-composizioni-2{
        min-height: 35vh;
    }
    .back-composizioni-3{
        min-height: 35vh;
    }
    .back-cimiteriali-1{
        min-height: 35vh;
    }
    .back-cimiteriali-2{
        min-height: 35vh;
    }
    .back-cimiteriali-3{
        min-height: 35vh;
    }
    .back-viale{
        min-height: 35vh;
    }
    #header-video {
        height:unset;
        padding-top:3em;
        object-fit: contain;
        min-height:unset;
    }
    #header-servizi {
        height:unset;
        padding-top:6em;
        object-fit: contain;
        min-height:unset;
    }
    #header-floreali{
        height:unset;
        padding-top:6em;
        object-fit: contain;
        min-height:unset;
    }
    #header-cimiteriali{
        height:unset;
        padding-top:6em;
        object-fit: contain;
        min-height:unset;
    }
    #header-cremazioni{
        height:unset;
        padding-top:6em;
        object-fit: contain;
        min-height:unset;
    }
    .container-nav{
        justify-content: unset!important;
    }
    .link-btn{
        width:60%;
    }
    .logo-in-btn{
        padding:1em;
        width:100%;
    }
    .container-wa{
        bottom:92px;
    }
}
@media only screen and (max-width:486px) {
    .link-btn{
        width:50%;
    }
}
@media only screen and (max-width:391px) {
    .link-btn{
        width:40%;
    }

}