@charset "UTF-8";
/* CSS Document */

body:after {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    z-index: -1;
    content:
        url(../img/foto-head.png) url(../img/foto-head2.png) url(../img/foto-head3.png) url(../img/foto-head4.png);


}

body {
    background-color: white;
}

body,
h1,
h2,
h3,
h4,
h5,
p {
    font-family: 'Urbanist', sans-serif;
}

@font-face {
    font-family: AGENCYB;
    src: url(../img/font/AGENCYB.TTF);
}

.monumenti {
    min-height: 75dvh;
    background-size: cover;
    background-image: url("../img/gallery/arte-funeraria/slider/1.jpg");
}

.logo-desktop {
    margin-bottom: 1rem;
    max-width: 30vh;
    min-width: 30vh;
}

h1,
h2,
h3 {
    font-family: AGENCYB;
}

#video-back {
    height: 80dvh;
    width: 100%;
    object-fit: cover;
}

#video-page {
    object-fit: cover;
    width: 100%;
    height: 75dvh;
}

.spacing-primadopo {
    padding-left: 4vh;
    padding-right: 8vh;
}

.hover-video {
    left: 2vh;
    bottom: 4vh;
    position: absolute;
}

.nav-link {
    display: block;
    font-size: calc(16px + (24 - 16) * ((100vw - 300px) / (1920 - 300)));
    text-decoration: none;
    border-bottom: 2px solid #efefef;
    font-weight: 600;
    color: #212121;
    margin-left: 2rem;
}

.nav-link:hover {
    border-bottom: 2px solid #9c9c9c;

}

.space-slider {
    padding-left: 16vh;
}

.nav-cont {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}



.sp-nav {
    padding: 0.5rem;
}

.tit-menu {
    display: block;
    font-size: calc(18px + (22 - 18) * ((100vw - 300px) / (1920 - 300)));
    text-decoration: none;
    font-weight: 700;
    color: #212121;
    margin-bottom: 0.1rem;
}

.link-menu {
    display: block;
    font-size: calc(16px + (18 - 16) * ((100vw - 300px) / (1920 - 300)));
    text-decoration: none;
    font-weight: 500;
    color: #212121;
    margin-bottom: 0.1rem;
}

.logo-nav {
    min-width: 260px;
    max-width: 260px;
}

.navbar {
    background-color: #efefef;
    border-radius: 0.8rem;
    box-shadow: 0px 0px 10px 0px #1a1a1a75;
    max-width: 90%;
    margin-top: 1rem;
    padding-top: 0px;
    padding-bottom: 0px;
}

.navbar-collapse {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.sez-head {
    height: 100vh;
    border-bottom: 3px solid #202020;
}

.logo-head {
    position: relative;
    top: 17rem;
    bottom: 2rem;

    z-index: 4;
}

.link-head {
    bottom: 0;
}

.txt-vert {
    position: relative;
    text-align: center;
    margin: auto;
    bottom: 2rem;
    left: 0;
    right: 0;
    padding-top: 0.5em;
    letter-spacing: 0.7rem;
    font-size: calc(54px + (60 - 20) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(23px + (33 - 20) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 300;
    color: #fdf6e9;


}

.subtitle-head {
    font-size: calc(32px + (22 - 20) * ((100vw - 300px) / (1920 - 300)));
    letter-spacing: 0;
    font-family: 'Urbanist', sans-serif;
}

.sez-logo-head {
    border-left: 3px solid #202020;
    background-image: url(../img/back-head.jpg);
    background-position: center;
    background-size: cover;
    background-color: no-repeat;
}

.head-dsk {
    width: 100%;
}

.video-head {
    padding-top: 8rem;
}


/*-----------------------------------Video Back----------------------------------------------*/
.video-background-holder {
    position: relative;
    background-color: #222222;
    height: 93vh;
    min-height: 25rem;
    width: 100%;
    overflow: hidden;
    opacity: 0.8;
}

.video-background-holder video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;

    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.video-background-content {
    background-color: #1a1a1a67;
    position: relative;
    z-index: 2;
}

.video-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #fff;
    opacity: 0;
    z-index: 1;
}

.back-sez {
    background-color: #FDFBF8;
    padding: 0px;
}

/*-----------------------------------Video Back----------------------------------------------*/
.relative {
    position: relative;
}

.owl-nav {
    display: none;
}

.div-hover {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    z-index: 9;
    right: 7vh;
    top: 11vh;
    bottom: 0;
    min-height: 45vh;
    position: absolute;
    aspect-ratio: 16/9;
    background-color: #9c9c9c91;
}

.spacing-hover {
    padding-left: 12vh;
    padding-right: 12vh;
}

.title-h3-hover {

    font-size: calc(23px + (30 - 22) * ((100vw - 300px) / (1920 - 300)));
    text-transform: uppercase;
    font-weight: 800;
    color: #1A1A1A;
    padding-bottom: 2rem;

}

.text-hover {
    text-align: justify;
    color: #1A1A1A;
    font-size: calc(12px + (18 - 10) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(12px + (20 - 10) * ((100vw - 300px) / (1920 - 300)));
}



strong {
    font-weight: 800;
}

.navbar-brand {
    padding-top: 0px;
    padding-bottom: 0px;
}

.box-txt {
    padding-top: 4rem;
    padding-left: 4rem;
    padding-right: 4rem;
    padding-bottom: 4rem;
}

.title-h2 {
    color: #2F2E2C;
    font-size: calc(40px + (194 - 40) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(40px + (200 - 40) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 600;
    text-transform: uppercase;
}

.txt-chisiamo {
    font-size: calc(20px + (27 - 20) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(20px + (34 - 20) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 400;

    text-align: justify;

}

.title-storia {
    color: #2F2E2C;
    font-size: calc(40px + (114 - 40) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(30px + (200 - 30) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 800;
    text-transform: uppercase;
}

.anno {
    color: #2F2E2C;
    font-size: calc(30px + (64 - 30) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(20px + (70 - 20) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 900;
    text-transform: uppercase;
}

.txt-anno {
    color: #2F2E2C;
    font-size: calc(20px + (22 - 20) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(20px + (28 - 20) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 400;
}

.timeline {
    transform: rotate(-2deg) !important;
    border-bottom: 4px solid #2F2E2C;
    margin-right: -4rem;
}

.brd-anni {
    padding-left: 5rem;
    padding-right: 1rem;
    padding-bottom: 3rem;
}

.point {
    position: absolute;
    bottom: -1rem;
    max-width: 2rem;
    left: 1rem;
}

.sp-back {
    padding-bottom: 30vh;
}

.back-black {
    background-color: #373531;
}

.box-storia {
    padding-top: 2rem;
}


.box-title {

    font-weight: 700;
}

.box-text {
    padding: 4vh;
    font-size: calc(12px + (18 - 10) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(12px + (20 - 10) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 400;
    text-align: center;

}

.row-button {
    position: unset;
    bottom: 0;
    margin: auto;
    left: 0;
    right: 0;
}

.row-button>div {
    font-size: calc(22px + (23 - 22) * ((100vw - 300px) / (1920 - 300)));
    background-color: #EFEFEF;
    padding: 1.75rem;
}


.row-button>div:nth-child(2) {
    background-color: unset;
}



.box-servizi {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    min-height: 55vh;
    position: relative;
    bottom: -50px;
    transition: ease 1s;
    aspect-ratio: 4/3;
    background-color: #9C9C9C;
}

.box-chiaro {
    transition: ease 1s;
    bottom: unset;
    background-color: #EFEFEF;
}

.box-servizi:hover {

    transition: ease 1s;
    transform: translate(0, -60px);
}

.back-marmo {
    background-image: url(../img/back-marmo.svg);
    background-size: 102%;
    background-position: top;
    background-repeat: repeat-y;
}

.box-page {
    padding-left: 28vh;
    padding-right: 28vh;
    padding-top: 6vh;
    padding-bottom: 12vh;
}

.back-prodotti {
    background-image: url(../img/back-prodotti.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 30vh;
    padding-bottom: 30vh;
}

.tit-prodotti {
    color: #2f2e2c;
    font-size: calc(40px + (84 - 40) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(40px + (50 - 40) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

.tit-page {
    color: #2f2e2c;
    font-size: calc(40px + (84 - 40) * ((100vw - 300px) / (1920 - 300)));

    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

.txt-prodotti {
    color: #FBF2ED;
    font-size: calc(20px + (22 - 20) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(20px + (28 - 20) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 500;
    text-align: center;
    padding-top: 3rem;
}

.btn-chiaro {
    padding: 0.5rem 1.5rem;
    background-color: #efefef;
    border-radius: 3rem;
    font-size: calc(20px + (24 - 20) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(20px + (30 - 20) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 700;
    color: #9c9c9c;
    border: 0;
}

.btn-chiaro:hover {
    border: 2px solid #efefef;
    padding: 0.5rem 1.5rem;
    background-color: #9c9c9c;
    border-radius: 3rem;
    font-size: calc(20px + (24 - 20) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(20px + (30 - 20) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 700;
    color: #efefef;

}

.btn {
    padding: 0.5rem 1.5rem;
    background-color: #9c9c9c;
    border-radius: 3rem;
    font-size: calc(20px + (24 - 20) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(20px + (30 - 20) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 700;
    color: #efefef;
    border: 0;
}

.btn:hover {
    padding: 0.5rem 1.5rem;
    background-color: #efefef;
    border-radius: 3rem;
    font-size: calc(20px + (24 - 20) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(20px + (30 - 20) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 700;
    color: #9c9c9c;

}


/*-----------FORM---------------------*/
.sp-form {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.h-form {
    padding-top: 1rem;
}

.back-form {
    background-color: #9c9c9c;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: calc(14px + (22 - 14) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 500;
    line-height: 1.5;
    padding-left: 1.5rem;
    color: #1D1D1D;
    background-color: #efefef;
    background-clip: padding-box;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: #1D1D1D;
    background-color: #efefef;
    border-color: #1D1D1D;
    outline: 0;
    box-shadow: 0 0 0 0;
}

.form-check-input {
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 1.3rem;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid rgba(0, 0, 0, 0.25);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    print-color-adjust: exact;
}

.form-check-label {
    font-size: calc(14px + (22 - 14) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 400;
    color: #1D1D1D;

}

.txt-area {
    border-radius: 0rem;
}

input::placeholder {
    font-size: calc(14px + (22 - 14) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 800;
    color: #1D1D1D !important;
}

textarea::placeholder {
    font-size: calc(14px + (22 - 14) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 800;
    color: #1D1D1D !important;
}

.btn-form {
    color: #1D1D1D;
    background-color: #efefef;
    border: 0;
    font-size: calc(14px + (22 - 14) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 800;
    border-radius: 0rem;
    border: 3px solid #9c9c9c;
    padding-left: 2rem;
    padding-right: 2rem;
}

.btn-form:hover {
    color: #efefef;
    background-color: #777571;
    border: 3px solid #efefef;
    font-size: calc(14px + (22 - 14) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 800;
    border-radius: 0rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.title-h3-info {
    padding-top: 6rem;
    font-size: calc(52px + (90 - 52) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(54px + (90 - 54) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 800;
    color: #fff;
    padding-bottom: 2rem;

}

.title-h3-info {
    padding-top: 4rem;
    padding-bottom: 1rem;
    color: #1D1D1D;

}

.sp-form {
    padding-top: 2rem;
}

/*-----------FINE FORM---------------------*/


.mappa {
    height: 40vh;
}

.logo-foot {
    max-width: 88%;
}

.back-foot {
    background-image: url(../img/back-foot.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 2vh;
    padding-bottom: 2vh;
}

.tit-foot {
    font-size: calc(20px + (28 - 20) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(18px + (26 - 18) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 700;
    color: #2F2E2C;
    padding-top: 3rem;
}

.txt-foot {
    font-size: calc(16px + (24 - 16) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(20px + (30 - 20) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 400;
}


.sp-dati {
    border-top: 2px solid #1A1A1A;
    padding-top: 1rem;
    margin-top: 1rem;
}



.brd {
    border-left: 2px solid #3F3E3A;
    border-right: 2px solid #3F3E3A;
}

.brd-top {
    border-top: 2px solid #3F3E3A;
}


.white {
    color: #FDF6E9;
}

a {
    color: #212121;
    text-decoration: none !important;
}

a:hover {
    color: #5D5445;
}

.nav-link.dropdown-toggle {
    cursor: pointer;
}

.sendBtn {
    border: unset;
}

.header {
    height: 93dvh !important;
}

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

    .logo-head {

        top: 13rem;

    }
}


@media only screen and (max-width: 1830px) {
    .logo-head {
        top: 5rem;
    }

    .monumenti {
        min-height: 65dvh;

    }

    .nav-link {
        display: block;
        font-size: calc(16px + (18 - 16) * ((100vw - 300px) / (1920 - 300)));
        text-decoration: none;
        font-weight: 600;
        color: #212121;
        margin-left: 0.4rem;
    }

    .logo-nav {
        min-width: 160px;
        max-width: 160px;
    }

    .box-servizi {

        min-height: 65vh;

    }

    .box-servizi:hover {
        transition: ease 1s;
        transform: translate(0, -40px);
    }
}

@media only screen and (max-width: 1440px) {
    .monumenti {
        min-height: 75dvh;

    }

    .div-hover {
        min-height: 35vh;
    }

    .logo-head {
        top: 9rem;
    }



    .div-hover {
        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
        z-index: 9;
        right: 0vh;
        top: 2vh;
        bottom: 0;
        min-height: 40vh;
        position: absolute;
        aspect-ratio: 16 / 9;

    }

    .spacing-hover {
        padding-left: 10vh;
        padding-top: 2vh;
        padding-right: 1vh;

    }

}

@media only screen and (max-width: 1333px) {
    .logo-desktop {
        margin-bottom: 1rem;
        max-width: 22vh;
        min-width: 22vh;
    }

    .txt-vert {
        position: relative;
        letter-spacing: 0.7rem;
        font-size: calc(36px + (32 - 20) * ((100vw - 300px) / (1920 - 300)));
    }
}

@media only screen and (max-width: 1200px) {
    .logo-nav {
        min-width: 150px;
        max-width: 150px;
    }

    .navbar {
        background-color: #FDFBF8;
        border-radius: 0.8rem;
        box-shadow: 0px 0px 10px 0px #1a1a1a75;
        max-width: 100%;
        margin-top: 1rem;
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .navbar-collapse {
        padding-top: 0rem;
        padding-bottom: 0rem;
    }

    .nav-link {
        display: block;
        font-size: calc(16px + (18 - 16) * ((100vw - 300px) / (1920 - 300)));
        text-decoration: none;
        font-weight: 600;
        color: #212121;
        margin-left: 0.2rem;
    }

}

@media only screen and (max-width: 1024px) and (min-height: 1000px) {
    .logo-head {
        top: 54rem;
    }
}

@media only screen and (max-width: 1024px) {
    .logo-head {
        top: 30rem;
    }

    .box-page {
        padding-left: 2vh;
        padding-right: 2vh;
        padding-top: 2vh;
        padding-bottom: 2vh;
    }

    .txt-vert {
        writing-mode: unset;
        text-orientation: unset;
        font-size: calc(22px + (33 - 20) * ((100vw - 300px) / (1920 - 300)));
        position: relative;
        bottom: 0;
        left: 1rem;
        font-weight: 300;
        text-align: left;
    }

    .subtitle-head {
        font-size: calc(22px + (22 - 20) * ((100vw - 300px) / (1920 - 300)));

    }

    .spacing-section {
        padding-top: 3vh;
        padding-bottom: 5vh;
    }



    .div-hover {
        top: -2vh;
        min-height: 23vh;
    }

    .spacing-hover {
        padding-left: 7vh;

    }

    .nav-link {
        display: block;
        font-size: calc(13px + (14 - 12) * ((100vw - 300px) / (1920 - 300)));
        text-decoration: none;
        font-weight: 600;
        color: #212121;
        margin-left: 0.1rem;
    }

    .box-text {
        padding: 2em;
    }

    .box-txt {
        padding: 0
    }

    .box-servizi {
        min-height: 42vh;
    }

    .box-servizi:hover {
        transform: translate(0, -30px);
    }

}

@media only screen and (max-width: 991px) {
    .div-hover {


        right: 0vh;
        top: 0vh;
        bottom: 0;
        min-height: 33vh;

    }

    .spacing-hover {
        padding-left: 6vh;
        padding-right: 12vh;
    }

    .nav-link {
        font-size: calc(20px + (20 - 20)*((100vw - 300px) /(1920 - 300)));
        text-decoration: none;
        font-weight: 500;
        color: #212121;
        margin-left: 1rem;
    }

    .row-box {
        justify-content: center;
    }

    .nav-cont {
        margin-left: 0.1rem;
        margin-right: 0.1rem;
    }

    .sp-nav {
        padding: 0rem;
    }

    .navbar-toggler {
        border: 0px;
    }

    .navbar-toggler:focus {
        text-decoration: none;
        outline: 0;
        box-shadow: 0 0 0 0;
    }

    .back-foot {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .title-h2 {
        color: #2F2E2C;
        font-size: calc(40px + (194 - 40) * ((100vw - 300px) / (1920 - 300)));
        line-height: calc(40px + (200 - 40) * ((100vw - 300px) / (1920 - 300)));
        font-weight: 800;
        text-transform: uppercase;
    }

    .space-slider {
        padding: 1vh;
    }

    .logo-nav {
        min-width: 260px;
        max-width: 260px;
    }

    .logo-foot {
        max-width: 80%;
        padding-bottom: 1rem;
    }

    .timeline {
        transform: rotate(0deg) !important;
        border-bottom: 3px solid #2F2E2C;
        margin-right: 0rem;
    }

    .line-mobile {
        border-bottom: 3px solid #2F2E2C;
    }

    .box-txt {
        padding-top: 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
        padding-bottom: 2rem;
    }

    .brd-anni {
        padding-left: 5rem;
        padding-right: 1rem;
        padding-bottom: 1rem;
        padding-top: 2rem;
    }

    .foto-storia {
        padding-bottom: 1rem;
    }

    .tit-foot {
        padding-top: 1rem;
    }

    .txt-vert {
        writing-mode: unset;
        text-orientation: unset;
        font-size: calc(20px + (24 - 20) * ((100vw - 300px) / (1920 - 300)));
        line-height: calc(20px + (30 - 20) * ((100vw - 300px) / (1920 - 300)));
        position: relative;
        bottom: 0;
        left: 0.5rem;
        font-weight: 300;
        text-align: left;
    }



    .navbar {
        max-width: 80%;
    }

    .navbar>.container-fluid {
        justify-content: unset;
    }

    .video-background-holder {
        height: 60vh;
    }

    .logo-head {
        top: 22rem;
    }

    .link-head {
        font-size: calc(16px + (22 - 16) * ((100vw - 300px) / (1920 - 300)));
    }

    .row-box div:nth-child(3) {
        top: -1.3rem;
    }

    .row-box div:nth-child(2) {
        top: 2.6rem;
    }

    .nav-link {
        margin-right: 3rem;
        margin-left: 3rem;
    }

    .box-page {
        padding-left: 0vh;
        padding-right: 0vh;
        padding-top: 2vh;
        padding-bottom: 2vh;
    }
}

@media only screen and (max-width: 768px) {
    .row-box div:nth-child(3) {
        top: unset;
    }

    .row-box div:nth-child(2) {
        top: unset;
    }

    .txt-vert {

        letter-spacing: 0;
        font-size: calc(32px + (24 - 20) * ((100vw - 300px) / (1920 - 300)));
    }

    .subtitle-head {
        font-size: calc(19px + (18 - 20) * ((100vw - 300px) / (1920 - 300)));
    }

    .div-hover {
        position: unset;
        aspect-ratio: unset;
        min-height: unset;
        padding-top: 6vh;
        padding-bottom: 6vh;
    }

    .box-servizi {
        height: 48vh;
    }

    .box-txt {
        padding: 0;
    }

    .nav-link {
        margin-left: 0rem;
        margin-right: 3rem;
    }
}

@media only screen and (max-width: 590px) {
    .spacing-primadopo {
        padding-left: 2vh;
        padding-right: 2vh;
    }

    .monumenti {
        min-height: 45dvh;
        background-position: 20% 50%;
    }

    .back-marmo {
        padding-top: 1vh;
        padding-bottom: 1vh;
    }

    #video-page {

        height: 46dvh;
    }

    .box-page {
        padding-left: 0vh;
        padding-right: 0vh;
        padding-top: 2vh;
        padding-bottom: 2vh;
    }

    .space-slider {
        padding-left: 1vh;
    }

    #video-back {
        top: 2rem;
        object-fit: cover;
        position: relative;
        z-index: -1;
    }

    .box-video {
        padding-left: 0.1rem;
    }

    .link-head {
        padding: 0.5em;
    }

    .box-text,
    .text-hover,
    .txt-chisiamo {

        font-size: calc(16px + (18 - 10) * ((100vw - 300px) / (1920 - 300)));
        line-height: 1.2rem;

    }

    h1 {
        color: #EFEFEF;

    }

    .hover-video {


        position: absolute;
        margin: auto;
        left: 0;
        right: 0;
        bottom: 5vh;
    }

    .txt-vert {

        letter-spacing: 0.6rem;
        font-size: calc(43px + (24 - 20) * ((100vw - 300px) / (1920 - 300)));
        line-height: calc(25px + (30 - 20) * ((100vw - 300px) / (1920 - 300)));
        right: 0.7rem;
        left: 2.8rem;
        writing-mode: unset;
        text-orientation: unset;



    }

    .nav-link {
        margin-right: 1.5rem;
    }

    .video-background-holder {

        height: 22vh;
    }



    .box-servizi {
        aspect-ratio: unset;
        position: unset;
        min-height: unset;
    }

    .btn {
        margin-top: 1rem;
    }

    .btn-chiaro {
        margin-top: 1rem;
    }

    .div-hover {
        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
        z-index: unset;
        right: 7vh;
        top: 11vh;
        bottom: 0;
        min-height: unset;
        position: unset;
        aspect-ratio: unset;
        background-color: #9c9c9c;
    }

    .spacing-hover {
        padding-top: 3vh;
        padding-left: 5vh;
        padding-right: 5vh;
        padding-bottom: 2vh;
    }

    .owl-carousel .owl-item img {

        aspect-ratio: 4 / 3;
    }

    .box-servizi:hover {
        transition: ease 1s;
        transform: translate(0, -10px);
    }

    .logo-nav {
        max-width: 180px;
        min-width: 180px;
    }

    .navbar {
        max-width: 96%;
    }

    .box-servizi {
        height: auto;
    }
}

@media only screen and (max-width: 390px) {
    #video-page {

        height: 46dvh;
    }

    .logo-head-mobile {
        margin-left: 1.9rem;
    }

    .nav-link {
        margin-right: 1.2rem;
        border-color: #fdfbf8;


    }

    .logo-nav {
        max-width: 160px;
        min-width: 160px;
    }

    .row-button>div:nth-child(1),
    .row-button>div:nth-child(2),
    .row-button>div:nth-child(3) {
        padding: 0.7em;
    }

}