:root {
    --verde-scuro: #264621;
    --verde: #c4dab6;
    --black: #000000;
    --white: #ffffff;
}

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

.img-header {
    background-image: url('../img/header.png');
    background-size: cover;
    background-position: bottom;
}

.header-content {
    top: 45%;
    left: 12vh;
    position: absolute;
}

.form-check-input:checked {
    background-color: var(--verde-scuro);
    border-color: var(--verde-scuro);
}

.link-privacy {
    color: var(--white);
    text-decoration: none;
}

.link-privacy:hover {
    color: var(--verde);
    text-decoration: none;
}

.link-form {
    color: var(--white);
    text-decoration: none;
}

.link-form:hover {
    color: var(--verde-scuro);
    text-decoration: none;
}

.relative {
    position: relative;
}

.spacing-header {
    padding-left: 12vh;
    padding-top: 32vh;
    padding-bottom: 32vh;
    padding-right: 12vh;
}

.contatti-nav {
    gap: 2rem;
    padding-right: 1em;
    display: inline-flex;
    flex-direction: row;
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
    font-family: 1.4rem;
}

.sezione-smussata-1 {
    background-image: url(../img/sezione-smussata.png);
    background-position: 100% 100%;
    background-size: 100vw;
    background-repeat: no-repeat;
}

.sezione-smussata-2 {
    background-image: url(../img/sezione-smussata-2.png);
    background-size: 100vw;
    background-position: 0% 0%;
    background-repeat: no-repeat;
}

.title {
    font-weight: 700;
    color: var(--verde-scuro);
    font-size: 3.4rem;
}

.payof {
    color: var(--black);
    font-weight: 400;
    font-size: 2rem;
}

.list-button {
    margin-top: 1rem;
    list-style: none;
    padding-left: 0;
    gap: 1rem;
    display: inline-flex;
    flex-direction: row;
}

.spacing-section {

    padding-bottom: 12vh;
}

.img-absolute {
    filter: drop-shadow(10px 10px 4px #0000001c);
    border-radius: 20px;
    aspect-ratio: 4/5;
    object-fit: cover;

}

.subtitle {
    color: var(--verde-scuro);
    font-weight: 600;
    font-size: 4rem;
}

.back-verde-scuro {
    background-color: var(--verde-scuro);
}

.back-verde {
    background-color: var(--verde);
}

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

.text-box {
    text-align: justify;
    font-size: 1.4rem;
    padding-left: 12vh;

}

.title-logo {
    font-size: 3rem;
}

.txt {
    font-size: 1.4rem;
}

.txt-footer {
    color: white;
}

.box-shadowed {
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.228);
    border-radius: 20px;
}

.owl-item {
    padding: 1em;
}

.button {
    border-radius: 10px;
    transition: 0.3s;
    background-color: var(--verde-scuro);
    box-shadow: 1px 5px 5px rgba(0, 0, 0, 0.26);
    text-decoration: none;
    color: var(--verde);
    border: 3px solid transparent;
    font-size: 1.3rem;
    padding: 10px 30px 10px 30px;
    white-space: nowrap;
}

.button:hover {
    border: 3px solid var(--verde-scuro);
    box-shadow: unset;
    color: var(--verde-scuro);
    background-color: transparent;
}

#chi-siamo,
#visite {
    scroll-margin-top: 10rem;
}

.navbar {
    background-color: #e6e4dc;
    box-shadow: 1px 5px 5px rgba(0, 0, 0, 0.108);
}

.spacing-form {
    padding-top: 6vh;
    padding-bottom: 19vh;
}

hr {
    color: white;
}

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

.navbar-nav {
    gap: 3rem
}

.nav-link {
    border-bottom: 3px solid transparent;
    font-size: 1.4rem;
    text-decoration: none;
    color: var(--verde-scuro);
    font-weight: 500;
}

.nav-link:hover {
    border-bottom: 3px solid var(--verde-scuro);

}

.link-footer {
    text-decoration: none;
    color: var(--black);
}

.link-footer:hover {
    color: var(--verde);
    text-decoration: none;
}

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

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

.form-absolute {
    position: absolute;
    top: 5%;
}

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

.h-form input {
    padding: 1em;
}

.spacing-top {
    padding-top: 12vh;
}

.box-txt-servizi {

    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.img-box {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    aspect-ratio: 3/2;
    object-fit: cover;
}

.fiore {
    max-width: 42vh;
    right: 0;
    position: absolute;
}

#map {
    height: 45vh;
}

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

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

.link-footer {
    font-size: 1.3rem;
    color: var(--white);
}

.owl-theme .owl-dots .owl-dot {
    zoom: 2;
}

.owl-theme .owl-dots .owl-dot span {
    background: #c3c3c3;
}

.header-studio {
            background-image: url('../img/header-studio.png');
            background-size: cover;
            background-position: center;

        }

@media only screen and (max-width: 1640px) {
    .header-content {
        top: 20%;

    }

    .subtitle {
        color: var(--verde-scuro);
        font-weight: 600;
        font-size: 2rem;
    }

    .title {
        font-size: 2rem;
    }

    

    .spacing-header {

        padding-top: 42vh;
        padding-bottom: 42vh;

    }

    .text-box {
        font-size: 1.1rem;
    }
}

@media only screen and (max-width: 1440px) {
    .link-footer {
        font-size: 1.1rem;
    }
}

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

    .sezione-smussata-1,
    .sezione-smussata-2 {
        background-image: unset;

    }

    .img-header {
        background-image: url('../img/header.png');
        background-size: cover;
        background-position: 80%;
    }

    .spacing-header {

        padding-top: 32vh;
        padding-left: 2vh;
        padding-bottom: 22vh;

    }

    .nav-link {
        font-size: 1.2rem;
    }

    .navbar-nav {
        gap: 1rem
    }

    .text-box {
        position: unset;
        padding-left: 2vh;
    }

    .spacing-img {
        padding-top: 12vh;
    }

    .img-absolute {
        position: unset;
    }

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

    .text-box {
        padding-right: 2vh;

    }

    .spacing-top {
        padding-top: 2vh;
    }

    .form-absolute {
        background-image: url(../img/img-form.png);
        background-size: cover;
        padding-bottom: 6vh;
        padding-top: 6vh;
        padding-left: 3vh;
        padding-right: 3vh;
        background-position: top;
        position: unset;
    }

    .header-content {
        left: 2vh;
        top: 15vh;

    }

    .img-box {
        aspect-ratio: 3/2;
    }

    .title {
        font-size: 2rem;
    }

    .payof {
        font-size: 1.5rem;
    }

    .spacing-section {
        padding-top: 6vh;
        padding-bottom: 6vh;

    }

    .fiore {
        top: 0;
    }

    @media only screen and (max-width: 920px) {
        .box-shadowed {
            box-shadow: unset;
            border-radius: 20px;
            filter: drop-shadow(10px 10px 4px #00000009);
        }

        .img-header {
            background-position: 70%;
        }

        .img-absolute {
            margin-top: 2em;
            filter: drop-shadow(10px 10px 4px #00000019);
            border-radius: 20px;
            aspect-ratio: 16/9;
            object-fit: cover;
        }

        .title {
            font-size: 1.5rem;
        }

        .payof {
            font-size: 1.1rem;
        }

        .button {
            font-size: 1.1rem;
            padding: 9px 10px 10px 10px;
        }

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

    }

    @media only screen and (max-width: 650px) {
        .txt {
            font-size: 1.2rem;
        }

        .header-studio {
            background-image: url('../img/header-studio-mobile.png');
           
            

        }

        .spacing-header-mobile {
            padding-bottom: 0;
        }

        .img-header {
            aspect-ratio: 4 / 5;
            object-fit: cover;
            object-position: center;
        }

        .header-content {
            top: 22vh;
        }

        .navbar-nav {
            gap: 0rem;

        }

        .nav-link {
            font-size: 1.1rem;
        }

        .title-logo {
            font-size: 2rem;
        }
    }
}