html {
    scroll-behavior: smooth;
}

body {
    background-color: #161616;
    color: #fff;
    font-family: "Barlow", sans-serif;
}

header, header.sticked.sticky {
    background-color: #161616 !important;
}

.bg-orange {
    background-color: #ff764c;
    color: #fff;
}

a {
    color: #fff;
}

a:hover {
    text-decoration: none;
    color: #ff764c;
}

hr {
    border: none;
    border-top: 2px solid #545454; /* Colore e spessore */
}

.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link {
    color: #fff;
}

header .navbar-light .navbar-nav .active>.nav-link, header .navbar-light .navbar-nav .nav-link.active, header .navbar-light .navbar-nav .nav-link.show, header .navbar-light .navbar-nav .show>.nav-link, header .navbar-light .navbar-nav .nav-link:hover {
    color: #ff764c;
}

.home-bg {
    height: 100vh;
    background-attachment: fixed;
    background-size: cover;
    padding-left: 5%;
    padding-right: 5%;
    line-height: 0.9;
}

.header-small-txt {
    font-size: 20px;
    font-weight: 300;
    font-style: normal;
}

.header-big-txt {
    font-size: 6.5rem;
    font-weight: 800;
}

.txt-right {
    text-align:right;
}

.txt-orange {
    color: #ff764c;
}

.txt-black {
    color: #161616;
}

.center-container-header {
    margin: 0;
    position: absolute;
    top: 35%;
    transform: translate(0%, -35%);
    width: 90%;
}

.center-container {
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translate(0%, -50%);
}

.centered {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.first-block-home h2, .second-block-home h2, .third-block-home h2 {
    font-size: 60px;
    font-weight: 800;
}

.full-height {
    height: 100vh;
}

.first-block-home .left-block, .second-block-home .right-block, .third-block-home .left-block, .form-block .left-block {
    padding: 5%;
    padding-top: 10%;
    padding-bottom: 10%;
}

.first-block-home .small-txt {
    font-size: 22px;
    font-weight: 300;
}

.parallax-right {
    background-attachment: fixed;
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
}

.parallax-left {
    background-attachment: fixed;
    background-size: contain;
    background-position: left;
    background-repeat: no-repeat;
}

.module-box {
    padding: 3%;
    border-right: 1px solid #2c2c2c;
    transition: 0.5s;
}

.module-box:hover {
    border-right: 1px solid #fff;
    background: #ff764c;
    transition: 0.5s;
}

.module-box h3 {
    font-size: 30px;
    font-weight: 600;
}

.module-box p {
    font-size: 16px;
    font-weight: 400;
}

.module-box i {
    font-size: 50px;
}

.second-block-home .small-txt, .third-block-home .small-txt, .form-block .small-txt {
    font-size: 18px;
    font-weight: 300;
}

.cta, .wpcf7-submit {
    background: #fff;
    padding: 15px;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 25px;
    color: #161616;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #fff;
    transition: 0.5s;
}

.cta:hover, .wpcf7-submit:hover {
    background: #161616;
    border:1px solid #fff;
    color: #fff;
    text-decoration: none;
    transition: 0.5s;
}

.carousel-container {
    padding-top: 5%;
    text-align: center;
}

.carousel-container h3 {
    font-size: 30px;
    font-weight: 800;
}

.carousel-container p, .footer-contatti p {
    font-size: 16px;
    font-weight: 400;
}

.circle-container {
    padding-top: 3rem;
}

.circle {
    width: 60px;
    height: 60px;
    border: 1px dashed #fff;
    border-radius: 50%;
    margin-right: 30px;
    position: relative;
}

#accordionHome .card {
    background-color: #161616;
    border: unset;
}

#accordionHome {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

#accordionHome .card-header {
    background-color: unset;
    border-bottom: 1px solid #fff;
}

#accordionHome .btn-link {
    font-weight: 600;
    color: #fff;
    font-size: 20px;
}

#accordionHome .btn-link:hover, #accordionHome .btn-link.focus, #accordionHome .btn-link:focus {
    text-decoration: none;
}

.accordion-counter {
    padding-right: 30px;
}

#accordionHome .card-body {
    padding-left: 87px;
}

.form-block h3{
    font-size: 44px;
    font-weight: 800;
}

.contact-form-container {
    padding-top: 5%;
    padding-bottom:5%;
    padding-right: 5%;
}

.contact-form-container .wpcf7-text, .contact-form-container textarea{
    width: 100%;
    border-radius: 20px;
    padding: 10px;
    background-color: #ff8762;
    color: #fff;
    border: 1px solid #fff;
}

.contact-form-container input::placeholder, .contact-form-container textarea::placeholder {
    color: #fff;
    opacity: 0.7;
}

textarea:focus, input:focus {
    border: 1px solid #fff;
    outline: unset;
}

.contact-form-container input[type="checkbox"] {
    background-color: #ff8762;
}

.footer-container {
    padding-top: 5%;
    padding-bottom:5%;
    padding-right: 5%;
}

.footer-contatti h3 {
    font-size: 30px;
    font-weight: 800;
}

.social-container {
    padding-right: 5%;
    padding-left: 5%;
    padding-bottom: 1rem;
}

.social-container a {
    margin-right: 15px;
}

.social-container p {
    margin-bottom:0px;
    color: rgba(255, 255, 255, 0.5);
}

.header-big-txt {
    font-size: 6.5rem;
    font-weight: 800;
}

.menu-lingue {
    padding-left: 30px;
}

.phone-view {
    display: none;
}

@media (max-width: 575.98px) {
    .header-big-txt {
        font-size: 35px;
    }
    .header-small-txt {
        font-size: 12px;
    }
    .home-bg {
        height: 40vh;
        background-attachment: unset;
        background-size: cover;
    }
    .first-block-home h2, .second-block-home h2, .third-block-home h2, .form-block h3 {
        font-size: 35px;
    }
    .parallax-right, .parallax-left {
        height: 40vh;
        background-attachment: unset;
    }
    .accordion .btn {
        white-space: normal; /* permette al testo di andare a capo */
    }
    .accordion .btn > div {
        flex: 1; /* lascia spazio al testo per andare a capo */
    }
    .accordion-counter {
        padding-right: 0;
        display: none;
    }
    .footer-container img {
        padding-bottom: 40px;
        padding-top: 30px;
    }
    #accordionHome .card-body, #accordionHome .btn-link {
        padding-left: 0;
    }
    #accordionHome .card-header {
        padding-left: 0;
        padding-right: 0;
    }
    .module-box {
        padding: 3rem;
    }
    .web-view {
        display: none;
    }
    .phone-view {
        display: block;
    }
}

/* iPad portrait */
@media (min-width: 768px) and (max-width: 991.98px) {
    .home-bg {
        height: 50vh;
        background-attachment: unset;
    }
    .header-big-txt {
        font-size: 50px;
    }
    .first-block-home .col-md-6, .second-block-home .col-md-6, .accordion-block-home .col-md-8, .footer-container .col-md-6 {
        max-width: 100%;
        flex: 0 0 100%;
    }
    .first-block-home .offset-md-6, .accordion-block-home .offset-md-2{
        margin-left: 0;
    }
    .parallax-right, .parallax-left {
        height: 50vh;
        background-attachment: unset;
    }
    .form-block h3 {
        font-size: 40px;
    }
    .first-block-home h2, .second-block-home h2, .third-block-home h2 {
        font-size: 50px;
    }
    .module-box h3 {
        font-size: 18px;
    }
    .footer-container img {
        padding-bottom: 30px;
    }
}

/* iPad landscape */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Stili per iPad orizzontali */
}
