:root {
    --primary: #045906;
    --secondary: #ffd23f;
    --tertiary: #a18276;
    --blue: #345995;
    --light: #fcf9e0;
    --lighter: #f8f7ef;
    --dark: hsl(121, 91%, 12%);
    --border-radius-lg: 18px;
    --border-radius-md: 2px;
}

.border-radius-lg {
    border-radius: var(--border-radius-lg) !important;
}
.border-radius-md {
    border-radius: var(--border-radius-md) !important;
}

.bg-light {
    background-color: var(--light) !important;
}
.bg-lighter {
    background-color: var(--lighter) !important;
}
.bg-primary {
    background-color: var(--primary) !important;
}
.bg-secondary{
    background-color: var(--secondary) !important;
}
.bg-tertiary{
    background-color: var(--tertiary) !important;
}
.bg-blue{
    background-color: var(--blue) !important;
}
.bg-dark {
    background-color: hsl(121, 91%, 12%) !important;
}
.bg-tertiary-light {
    background: #f1ece3 !important;
}

.text-light {
    color: var(--light) !important;
}
.text-primary {
    color: var(--primary) !important;
}
.text-secondary {
    color: var(--secondary) !important;
}
.text-tertiary {
    color: var(--tertiary) !important;
}
.text-blue {
    color: var(--blue) !important;
}

* {
    scroll-margin-top: 120px;
}

body {
    font-family: "Titillium Web", sans-serif;
    color: var(--dark);
    margin: 0;
    padding: 0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-size: 17px;
}

p {
    font-size: 17px;
}

.serif {
    font-family: "Sacramento", cursive !important;
    text-transform: none !important;
    font-weight: 400 !important;
    font-size: 150%;
}

.sans-serif {
    font-family: "Titillium Web", sans-serif !important;
}

.lead {
    line-height: 1.4;
    font-size: 21px;
}

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

a {
    color: var(--primary);
    text-underline-offset: 16%;
    position: relative;
    transition: all 200ms ease-in-out;
}

a:hover, a:focus, a:active {
    transition: all 200ms ease-in-out;
}

b,strong {
    font-weight: 700;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5
{
    margin-bottom: 1.25rem;
    line-height: 120%;
    font-weight: 600;
}

.title { 
    text-transform: uppercase;
}

h1, .h1 {
    font-size: 110px;
}

h2, .h2 {
    font-size: 88px;
}

h3, .h3 {
    font-size: 64px;
}


h4, .h4 {
    font-size: 48px;
}

h5, .h5 {
	font-size: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 30px;
    border-radius: 45px;
    gap: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.btn-link {
    font-weight: 600;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border: none;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:focus-visible,
:not(.btn-check) + .btn-primary:active {
    background-color: hsl(128, 16%, 18%) !important;
    outline: none;
    color: #fff;
}

.btn i {
	font-size: 12px;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    background: rgba(62, 86, 65, 0.1) !important;
}

.btn-dark {
    --bs-btn-bg: var(--dark);
    --bs-btn-border-color: var(--dark);
}

.btn-light {
    --bs-btn-bg: var(--light);
    --bs-btn-border-color: var(--light);
    --bs-btn-color: var(--primary);
}

.btn-light:hover {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);
}

.btn-sm {
    padding: 8px 12px;
}

.btn-submit {
    position: absolute;
    right: 0;
    top: 4px;
}

.form-control:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: var(--sage) !important;
    background: rgba(255,255,255,0.5) !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--dark) !important;
  -webkit-box-shadow: 0 0 0px 1000px  rgba(255,255,255,0.5) inset !important;
  transition: background-color 5000s ease-in-out 0s !important;
}


.section-margin {
    margin: 100px 0;
}


.section-padding {
    padding: 100px 0;
}

.section-padding-lg {
    padding: 100px 0;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}


.card {
    padding: 20px;
    border: none;
    border-radius: 2px;
    color: var(--primary);
}

.card-icon {
    width: 100px;
    height: 90px;
    border-radius: 50%;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}


.custom-list {
    padding-left: 16px;
    margin-top: 12px;
}

.custom-list ::marker {
    color: var(--tertiary);
}

#approccio-amore {
    background: var(--lighter) url('../img/logo-mask-dark.svg') no-repeat;
    background-position: -100px 400px;
    background-size: 600px;
}





/********************** HERO **********************/

.hero {
    min-height: 600px;
    height: 100vh;
    position: relative;
}

.hero .hero-title {
    line-height: 1;
}

.hero .serif {
    font-size: 12rem;
    line-height: 120px;
}


.hero-img {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background-size: cover;
}

.hero-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

/******************** END HERO ********************/





/********************** INVERDIRE *********************/

#cosa-distingue-inverdire .card {
    background: rgba(255,255,255,0.1);
}

/******************* END INVERDIRE *******************/





/********************* COME LO FACCIAMO ***********************/

.section-circle {
    background: url(../img/logo-mask2.svg) no-repeat;
    background-position: calc(50% + 200px) calc(50% + 10px);
    background-size: 1800px;
    padding-bottom: 30px;
}

.label-list {
    list-style: none;
    display: flex;
    padding: 0;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.circle-container {
    position: relative;
    width: 800px;
    height: 600px;
    margin: auto;
    border-radius: 50%;
}

.item {
    position: absolute;
    text-align: center;
    left: 50%;
    top: 50%;
    width: max-content;
    transform-origin: center;
    background: var(--secondary);
    color: var(--primary);
    padding: 22px 36px;
    border-radius: 45px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 18px;
    transform: translate(-50%, -50%);
}

.item:nth-of-type(1) {
    top: 0;
    left: 55%;
}
.item:nth-of-type(2) {
    top: 23%;
    left: 88%;
}
.item:nth-of-type(3) {
    top: 50%;
    left: 96%;
}
.item:nth-of-type(4) {
    top: 80%;
    left: 94%;
}
.item:nth-of-type(5) {
    top: 80%;
    left: 0;
}
.item:nth-of-type(6) {
    top: 50%;
    left: 1%;
}
.item:nth-of-type(7) {
    top: 23%;
    left: 10%;
}

.circle-title {
    position: absolute;
    left: 50%;
    top: 50%;
    width: fit-content;
    transform: translate(-50%, -50%);
}

@media screen and (max-width: 991px) {
    .section-circle {
        background-position: calc(50% + 90px) calc(50% - 40px);
        background-size: 730px;
    }

    .circle-container {
        width: 100%;
        text-align: center;
    }

    .circle-title {
        width: 100%;
    }

    .circle-title, .item {
        position: relative;
        top: auto !important;
        left: auto !important;
        transform: none;
    }

    .item {
        font-size: 16px;
        padding: 12px 26px;
        margin: 0 auto 12px;
    }
}

/******************** END COME LO FACCIAMO ********************/



/********************** ACCORDION **********************/

.accordion-item {
    background: transparent;
    border: none;
}

.accordion-button {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 18px;
}

.accordion-button span {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    line-height: 40px;
    color: #fff;
}

/******************** END ACCORDION ********************/





/********************** TAB **********************/

.nav-tabs {
    justify-content: center;
    gap: 16px;
    flex-wrap: nowrap;
}

.nav-tabs .nav-item {
    flex: 0 0 auto;
    height: 43px;
}

.nav-tabs .nav-link {
    opacity: 0.5;
    color: var(--primary);
    font-weight: 600;
    font-size: 18px;
    border: none !important;
}

.nav-tabs .nav-link.active {
    background: transparent;
    border: none !important;
    opacity: 1;
}

.tab-content {
    background: var(--lighter) url('../img/logo-mask.svg') no-repeat;
    background-position: calc(100% + 400px) -420px;
    background-size: 1200px;
}

/******************** END TAB ********************/





/********************** FORM **********************/

.section-form {
    background: linear-gradient(90deg, transparent 50%, var(--secondary) 50%);
}

.form-label {
    text-transform: uppercase;
    font-weight: 600;
}

.form-control {
    border-radius: 30px !important;
    border: none;
    min-height: 50px;
    background: rgba(255,255,255,0.5);
    padding-left: 20px;
}

.form-check-input {
    background: rgba(255,255,255,0.5);
    border: none;
    border-radius: 50%;
}

.form-check-input:focus {
    border-color: transparent;
    box-shadow: 0 0 0 .25rem rgba(62, 86, 65, 0.2);
}

footer .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

footer .form-control {
    color: #fff !important;
    background: rgba(255,255,255,0.3);
}

footer .form-control:focus {
    background: rgba(255,255,255,0.3) !important;
}

.form-check-input:checked {
    background-color: var(--primary);
}

footer .form-check-input:focus {
    box-shadow: 0 0 0 .25rem rgba(255, 255, 255, 0.1);
}

footer .form-check-input:checked {
    background-color: var(--secondary);
}

.entry__error {
    padding: 2px 6px;
}

/******************** END FORM ********************/







/********************** CONTATTI **********************/

.contact-icon {
    text-decoration: none;
}

/******************** END CONTATTI ********************/







@media screen and (min-width: 1200px) {
    .container-fluid {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media screen and (min-width: 992px) {
    .img-container {
        position: relative;
        height: 100%;
    }

    .img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
    }

    .mt-lg-section-margin {
        margin-top: 100px !important;
    }

    .pb-lg-section-padding {
        padding-bottom: 100px !important;
    }
}

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

    .hero {
        padding-top: 120px;
        height: auto;
    }

    .hero-img {
        position: relative;
        left: auto;
        width: 100%;
        height: 400px;
        right: auto;
        margin-top: 40px;
    }
}


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

    h1, .h1 {
        font-size: 52px;
    }

    h2, .h2 {
        font-size: 48px;
    }

    h3, .h3 {
        font-size: 42px;
    }

    h4, .h4 {
        font-size: 32px;
    }

    h5, .h5 {
        font-size: 26px;
    }

    .section-margin {
        margin: 40px 0;
    }

    .section-padding {
        padding: 40px 0;
    }

    .section-padding-lg {
        padding: 60px 0;
    }

    .hero .serif {
        font-size: 180%;
        line-height: 50px;
    }

    .hero .display-5 {
        font-size: 1.5rem;
    }

    .card-row .col {
        flex: 0 0 100%;
        margin-bottom: 24px;
    }

    .accordion-button {
        padding-left: 0;
        padding-right: 0;
    }

    .nav-tabs {
        justify-content: flex-start;
        overflow: scroll;
    }

    .tab-content {
        background-position: 30% bottom;
        background-size: 520px;
    }

    #servizi > .container {
        padding-left: 0;
        padding-right: 0;
    }

    .section-form {
        background: transparent;
    }

    .section-form form {
        background: var(--secondary);
        margin-top: 50px;
        padding: 30px 12px;
        width: calc(100% + 24px);
        margin-left: -12px;
    }

    .label-list {
        gap: 8px 4px;
    }

    .label-list li {
        padding: 6px 14px;
        font-size: 13px;
    }


}







