header {
    .header__content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 0;
        @media screen and (max-width: 767px) {
            .btn {
                display: none;
            }
        }
        .header__logo__wrapper {
            width: 120px;
        }
        nav {
            ul {
                display: flex;
                align-items: center;
                gap: 1.25rem;
                li {
                    a {
                        color: var(--color-secondary);
                        font-size: 0.875rem;
                        font-weight: 600;
                        text-decoration: none;
                        text-transform: uppercase;
                        transition: color 0.2s ease;
                        &.active,
                        &:hover {
                            color: var(--color-accent);
                        }
                    }
                    &.user-item {
                        display: none;
                        @media screen and (max-width: 767px) {
                            display: inline;
                        }
                    }
                }
            }

            #close-mobile-sidebar {
                width: 40px;
                height: 40px;
                align-items: center;
                justify-content: center;
                position: absolute;
                top: 5px;
                right: 5px;
                display: none;
                cursor: pointer;
                @media screen and (max-width: 767px) {
                    display: flex;
                }
            }

            @media screen and (max-width: 767px) {
                position: fixed;
                background-color: var(--color-white);
                top: 0;
                left: 0;
                width: 250px;
                height: 100vh;
                z-index: 10;
                transition: all 0.25s ease-out;
                padding-top: 35px;
                ul {
                    flex-direction: column;
                    align-items: flex-start;
                    gap: 0;
                    li {
                        width: 100%;
                        a {
                            display: block;
                            padding: 1rem 1rem;
                            border-bottom: solid 1px var(--color-gray-300);
                        }
                    }
                }
                &.mobile-hide {
                    left: -250px;
                }
            }
        }
        .hamburger {
            cursor: pointer;
            display: none;
            @media screen and (max-width: 767px) {
                display: block;
            }
        }
    }
}

#mobile-sidebar-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: var(--color-black);
    opacity: 0;
    z-index: 9;
    top: 0;
    left: 0;
    transition: all 0.25s ease-out;
    display: none;
    @media screen and (max-width: 767px) {
        display: block;
    }
    &.hide {
        display: none;
    }
}

.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    @media screen and (max-width: 767px) {
        height: 40vh;
    }
    .hero__img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .hero__content__wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: end;
        .hero__title {
            color: var(--color-white);
            font-weight: 600;
            font-size: clamp(
                1.5rem,
                5vw,
                4.0625rem
            ); /* 65px = 4.0625rem se 16px = 1rem */
            line-height: clamp(1.5rem, 4.8vw, 4rem);
            text-transform: uppercase;
        }
        .hero__subtitle {
            color: var(--color-white);
            font-weight: 500;
            margin-top: clamp(0.5rem, 1vw, 0.7rem);
        }
    }

    &::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
    }

    &.internal {
        height: 20vh;
        background-color: var(--color-accent-dark);
        .hero__img {
            opacity: 0.3;
        }
        .hero__content__wrapper {
            justify-content: center;
            align-items: center;
            .hero__title {
                color: var(--color-white);
                font-weight: 600;
                font-size: clamp(
                    1.5rem,
                    5vw,
                    3rem
                ); /* 65px = 4.0625rem se 16px = 1rem */
                line-height: clamp(2rem, 4vw, 3.75rem);
                text-transform: uppercase;
                text-align: center;
            }
        }
    }
}

.services-main-wrapper {
    margin-top: 3rem;
    @media screen and (max-width: 767px) {
        margin-top: 1.5rem;
    }
    .service-card {
        background-color: #f2f2f2;
        border-radius: 3px;
        padding: 1.25rem;
        h3 {
            font-size: 1.125rem;
            text-transform: uppercase;
        }
        p {
            margin-top: 1rem;
        }
    }
}

.glide {
    .glide__arrow {
        background-color: #f6f6f6;
        color: #acb5bd;
        border-radius: 50px;
        line-height: 0;
        padding: 10px;
        top: 45%;
        @media screen and (max-width: 767px) {
            top: 28%;
            padding: 7px;
            &.glide__arrow--left {
                left: -18px;
            }
            &.glide__arrow--right {
                right: -18px;
            }
        }
    }
    .glide__slides {
        li {
            @media screen and (max-width: 767px) {
                /* // height: 300px; */
            }
            img {
                margin-bottom: 0.6rem;
                @media screen and (max-width: 767px) {
                    margin-bottom: 0.15rem;
                    /* // height: 100%;
                        // object-fit: cover; */
                }
            }
        }
    }
    .glide__arrows {
        @media screen and (max-width: 767px) {
            /* // display: none; */
        }
    }
}

footer {
    .footer__menu {
        a {
            color: var(--color-white);
            text-decoration: none;
            &:hover {
                text-decoration: underline;
            }
        }
    }
    .footer__disclaimer {
        .footer__disclaimer__right {
            p {
                display: flex;
                align-items: center;
                gap: 0.2rem;
                justify-content: end;
                @media screen and (max-width: 768px) {
                    justify-content: start;
                }
                a {
                    color: var(--color-white);
                }
            }

            #ot-sdk-btn {
                border: none;
                padding: 0;
                font-size: 0.75rem;
                background-color: transparent;
                /* text-decoration: underline; */
            }
        }
    }
}

.thankyou-content {
    min-height: 550px;
    @media screen and (max-width: 768px) {
        min-height: auto;
    }
}

.dettaglio-h1 {
    @media screen and (max-width: 768px) {
        font-size: 1.5rem;
    }
}
