@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

:root {
    --primary: #0000;
    --secondary: #0000;
    --black: #343434;
    --white: white;
    --fs-sm: clamp(0.8rem, 0.17vi + 0.76rem, 0.89rem);
    --fs-base: clamp(1rem, 0.34vi + 0.91rem, 1.19rem);
    --fs-md: clamp(1.25rem, 0.61vi + 1.1rem, 1.58rem);
    --fs-lg: clamp(1.56rem, 1vi + 1.31rem, 2.11rem);
    --fs-xl: clamp(1.95rem, 1.56vi + 1.56rem, 2.81rem);
    --fs-xxl: clamp(2.44rem, 2.38vi + 1.85rem, 3.75rem);
    --fs-xxxl: clamp(3.05rem, 3.54vi + 2.17rem, 5rem);
}

body {
    font-family: "Rubik", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Inter", sans-serif;
}

.spacer {
    height: 56px;
}
.img-header{
    width: 100%;
    height: 90vh;
    object-fit: cover;
}
.list-unstyled {
    gap: 2rem;
    display: inline-flex;
    flex-direction: row;
    padding-left: 0;
    margin-bottom: 0;

}
.link-list a{
    text-decoration: none;
    color: var(--black);
    color:var(--black);
    text-decoration: none;
    font-size: var(--fs-base);
    transition: color 0.3s ease;
}
.verde{
    color: #118c56;
}
.title-h1 {
    font-size: var(--fs-xxl);
    font-weight: 700;
    color: var(--black);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.txt {
    font-size: var(--fs-base);
}
.form-check-input:checked {
    background-color: var(--black);
    border-color: var(--black);
}
.btn {
    font-size: var(--fs-base);
    border: 2px solid var(--black)
}
.btn-white {
    background-color: var(--white);
    color: var(--black);
    border:2px solid transparent;
    
    
}
.form-floating{
    color: var(--black);
    padding-left:0.5em;
}
.btn-white:hover {
    background-color: var(--white);
    color: var(--black);
    border:2px solid var(--white);
}
.btn:hover {
    background-color: var(--black);
    color: var(--white);
}

.bg-dark {
    background-color: var(--black);
}

.griglia-item {


    justify-content: center;
    display: inline-flex;
}

.title-h3 {
    text-transform: uppercase;
    font-weight: 700;
}

.bg-white {
    background-color: var(--white);

}

.card-services {
    border-radius: 10px;
    transition: border-radius 0.3s ease;
}

.card-services img {
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
    transition: border-radius 0.3s ease;
}

.card-services:hover {
    border-radius: 40px;

}

.card-services:hover img {
    border-bottom-right-radius: 40px;
    border-top-right-radius: 40px;

}


.section-title {
    font-size: var(--fs-xxl);
    font-weight: 600;
    color: var(--black);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.title-h2 {
    font-size: var(--fs-xl);
    font-weight: 600;
    color: var(--black);

    margin-bottom: 1rem;

}



.line {
    height: 4px;
    background-color: var(--black);
    width: 100%;
}

.navbar-fixed {
    transition: background 0.3s;

    background-color: #343434 !important;
    border-bottom: 2px solid var(--white);
}

.navbar-sticky {

    background-color: var(--white);
    border-bottom: 2px solid var(--black);
}

.relative {
    position: relative;
}

.video-container {
    position: relative;
    background: #000;
}



.video-header {
    object-fit: cover;
    width: 100%;
    height: 80vh;
    display: block;
}

.navbar-colored {
    background-color: #343434 !important;

}

.nav-contatti {

    display: inline-flex;
    gap: 2rem;
    margin-bottom: 0;
    list-style: none;
    padding-right: 1em;
}

.logo-nav {
    min-width: 25vh;
    max-width: 25vh;
}

.relative {
    position: relative;
}
.button-white {
    background-color: var(--white);
    color: var(--black);
    border: 2px solid transparent;
    border-radius:10px;
    text-decoration: none;
    padding: 0.5em 1em;
    font-size: var(--fs-base);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.navbar-nav{
    gap:1rem;
}
.button-white:hover {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.list-button {
    list-style: none;
    padding-left: 0;
    display: inline-flex;
    flex-direction: row;
    gap:2rem;
}

.button {
    color: var(--black);
}

.button:hover {
    color: var(--black);
}

.nav-link {
    text-decoration: none;
    color: var(--black);
    font-weight: 600;
    font-size: var(--fs-base);
}
.title-logo {
    font-weight: 600;
    font-size: var(--fs-lg);
}
.link-privacy {
    text-decoration: none;
    color: var(--white);
    
}
.link-privacy:hover {
    text-decoration: none;
    color: #a1a1a1
    
}
.navlink:hover {
    text-decoration: none;
}

.link-footer {
    padding-bottom: 0.5em;
    position: relative;
    text-decoration: none;
    color: var(--white);
}

.title-footer {
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--white);

    margin-bottom: 1rem;
}

.link-footer::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: var(--white);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.dropdown-menu{

    padding-top:0;
    padding-bottom:0;
}
.dropdown-menu li a{
    padding-top:0.5em;
    padding-bottom:0.5em;
}
.link-footer:hover {
    color: var(--white);
}

.link-footer:hover::after,
.link-footer:focus::after {
    transform: scaleX(1);
    transform-origin: left;
}

.img-rounded {
    transition: 0.3s ease;
    border-radius: 10px;
}
.link-nostyle{
    text-decoration: none;
    color: var(--white);
}
.link-nostyle:hover{
    text-decoration: none;
    color:#a1a1a1;
}
.img-rounded:hover {
    border-radius: 40px;
}

.white {
    color: var(--white);
}

.black {
    color: var(--black);
}

#map {
    filter: grayscale(100%);
    height: 45vh;
}

.icon {
    width: 2rem;
    height: 2rem;
}

.icon-star {
    width: 1.5rem;
    height: 1.5rem;
}

#slider-reviews .item img {

    width: auto;
}

.card-review {
    position: relative;

    border: 6px solid var(--black);
    max-height: 50vh;
    border-radius: 10px;
    min-height: 25vh;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

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

.author {
    bottom: 2rem;
    position: absolute;
}
.subtitle {
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--black);
    margin-bottom: 1rem;
}
.txt-review {
    font-size: var(--fs-base);

}
.nav-link-colored{
    color: var(--white);
}
.nav-link-colored:hover{
    color: var(--white);
}
.list-vertical {
    display: flex;
    gap:1rem;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
}
.text-card {

    transition: 1s ease opacity;
    color: var(--white);
    padding: 2em;
    position: absolute;
    z-index: 2;
    left: 2rem;
    bottom: 2rem;
    opacity: 1;
}




.hoverlay {
    background: rgba(0, 0, 0, 0.278);
    transition: 0.5s ease background;
    border-radius: 20px;
    width: 100%;
    height: 100%;
    position: relative;

}
.col-card {

    position: relative;
    transition: 1.3s ease flex;
    display: flex;
    flex-wrap: nowrap;
    flex: 10%;
}
.col-active>.text-card {
    opacity: 0;
}
.col-active {
    flex: 15%;
}

.col-active>.text-card {
    opacity: 0;
}
.col-active>.hoverlay {
    background: rgba(0, 0, 0, 0);
}
.arrow {
    font-size: 1.5rem;
    color: var(--white);
    background-color: var(--primary);
    padding: 0.4em;
    border-radius: 100%;
    right: 2rem;
    top: 0.5rem;
    position: absolute;
    rotate: -127deg;
}
.col-card img {
    border-radius: 20px;
    position: relative;
    z-index: -1;
    object-fit: cover;
    height: 60vh;
    width: 100%;
}

.title-sedi{
    line-height: 2.5rem;
}
.white{
    color: var(--white);
}
.verde{
    color: #118c56;
}
.rosso{
    color: #ed1c24;
}
@media only screen and (max-width: 1620px) {

    .title-h1 {
        font-size: var(--fs-xl);

    }

    .txt {
        font-size: var(--fs-base);
    }

    .btn {
        font-size: var(--fs-sm);
    }

    .card-review {
        max-height: 60vh;
        min-height: 45vh;
    }

    .author {
        bottom: 1rem;
    }

}

@media only screen and (max-width: 1280px) {
    .list-unstyled {
        flex-direction: column;
        gap: 1rem;
    }

    .img-1 {
        aspect-ratio: 16/9;
    }
}

@media only screen and (max-width: 1024px) {
    .box {
        padding-left: 2rem;
        padding-right: 2rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    .card-review {
        max-height: 35vh;
        min-height: 28vh;
    }
}

@media only screen and (max-width: 768px) {
    .img-header {
        height: 50vh;
    }
    .card-services:hover {
        border-radius: 10px;
    }
    .card-services:hover img {
        border-bottom-right-radius: 10px;
        border-top-right-radius: 10px;
    }
    .title-logo {
        font-size: var(--fs-base);
    }
    .box {
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    .img-rounded:hover {
        border-radius: 10px;
        
    }
    .video-header {
        height: 50vh;
    }

    .card-review {
        min-height: auto;
        max-height: unset;
       
    }

    .author {
        margin-bottom:1em;
        position: unset;
        
        
    }

}