/* GENERALI */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

* {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-optical-sizing: auto;
    /* font-weight: 400;
    font-style: normal; */
}

.purple-text-faded {
    font-weight: 600;
    background: linear-gradient(90deg, #7b3cff, #c58cff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

body {
    background-color: #f7f7f7;
    min-height: 100dvh;
}

::-webkit-scrollbar {
    display: none;
}

main {
    overflow-x: hidden;
    min-height: calc(100dvh - 400px);
}

main .container:first-of-type {
    margin-top: 150px;
}

*::selection {
    background: #382b5b;
    color: white;
}

.row {
    padding-right: 12px;
    padding-left: 12px;
}

/* hover generli */
.hover-viola:hover {
    span {
        color: #382b5b;
    }

    i {
        color: #382b5b;
    }

    a:hover {
        color: #5f19af !important;
    }
}

.hover-bold:hover,
.hover-bold.active {
    font-weight: bold;
}

/* bottoni generali */
.btn-viola {
    background-color: #5f19b0;
    color: white;
    border: 1px solid transparent;
}

.btn-viola:hover,
.btn-viola:active {
    background-color: transparent;
    color: #5f19b0 !important;
    border: 1px solid #5f19b0;
}

.btn-outline-viola {
    transition: 0ms;
    color: #382B5b;
    background-color: white;
    border: 1px solid #382B5b
}

.btn-outline-viola:hover,
.btn-outline-viola:active,
.btn-outline-viola.active {
    background-color: #382B5b !important;
    border: 1px solid white !important;
    color: white !important;
}

.btn-viola-chiaro {
    background-color: #5F19AF;
    color: white;
    border: none;
}

.btn-viola-chiaro:hover,
.btn-viola-chiaro:active {
    background-color: #7238b4 !important;
    color: white !important;
}

.btn-freccia-destra i {
    display: inline-block;
    transition: 0.1s ease-in;
}

.btn-freccia-destra:hover i {
    transform: translateX(30%);
    padding-right: 8px;
}

.btn-freccia-sinistra {
    display: inline-block;
    transition: 0.1s ease-in;
}

.btn-freccia-sinistra:hover i {
    transform: translateX(-30%);
    padding-left: 8px;
}

.btn-underline-viola {
    border: none !important;
    border-bottom: 1px solid transparent !important;
    background-color: white;
    border-radius: 0 !important;
}

.btn-underline-viola.active,
.btn-underline-viola:hover {
    border: none !important;
    border-bottom: 1px solid #2B0D3A !important;
    color: #2B0D3A;
    transition: .18s ease;
    background: linear-gradient(to top, #b38fe328, transparent);
}

.btn-carosello,
.btn-carosello:hover {
    background-size: 28px 28px;
    opacity: 1;
    background-color: #5f19b0;
}

/* input generali */
input,
select,
textarea {
    width: 100%;
    display: inline-block;
    border-radius: 7px;
    box-sizing: border-box;
    background-color: transparent;
    border: 1px solid #7238b4 !important;
    box-shadow: none !important;
}

.input-underline {
    border-bottom: 1px solid #2B0D3A;
    max-height: 37px;
}

.btn-x-progetti {
    max-height: 36px;
}

.btn-x-news {
    border: 1px solid #7238b4 !important;
    box-shadow: none !important;
}

.btn-x-progetti:active,
.btn-x-progetti:focus {
    border-color: transparent !important;
    box-shadow: none !important;
}

select {
    padding: 7px;
}

.select2-search__field,
.select2-search__field:hover,
.select2-search__field:focus,
.select2-search__field:focus-visible {
    border: none !important;
    min-height: 25px !important;
    color: #212529 !important;
}

.select2-selection__choice .form-check-input:checked {
    accent-color: #5d2684;
    background-color: #5d2684;
    border-color: #5d2684;
}

.select2-selection__choice {
    border: none !important;
    background-color: transparent !important;
    padding: 0 !important;
}

.select2-selection__choice__remove {
    display: none;
}

.select2-results__option--selected {
    background-color: #2B0D3A !important;
    color: white !important;
}

.select2-results__option:hover,
.select2-results__option:focus,
.select2-results__option:focus-visible,
.select2-results__option--highlighted,
.select2-container--default .select2-results__option--highlighted[aria-selected="true"] {
    background-color: #7E40B5 !important;
    color: white !important;
}

.select2-selection {
    border: 1px solid #7238b4 !important;
    background-color: #2B0D3A;
    min-height: 38px !important;
    align-content: center center !important;
    border-radius: 7px !important;
}

.multiselect,
.ricerca {
    width: 310px !important;
}

/* link generali */
.underline,
.underline a {
    display: inline;
    position: relative;
    overflow: hidden;
    color: rgb(39, 39, 39);
}

.underline:after,
.underline a:after {
    content: "";
    position: absolute;
    right: 0;
    width: 0;
    bottom: 0;
    background: black;
    height: 1px;
    transition-property: width;
    transition-duration: 0.3s;
    transition-timing-function: ease-out;
}

.underline:hover:after,
.underline:focus:after,
.underline:active:after,
.underline.active:after,
.underline a:hover:after,
.underline a:focus:after,
.underline a:active:after,
.underline a.active:after {
    left: 0;
    right: auto;
    width: 100%;
}

.hover-nero a:hover {
    color: black;
}

.underline-viola:after {
    background: #5f19af
}

a {
    text-decoration: none;
}


/* NAVBAR */
.navbar {
    transition: top 0.4s ease-in-out;
}

.dropdown-menu-end {
    top: 100px !important;
    right: auto !important;
    min-width: 0 !important;
    width: 70px !important;
}

.dropdown-item:hover,
.dropdown-item:active,
.dropdown-item:focus {
    background-color: #7e40b5;
    color: white;
}

/* .dropdown-item.active {
    background-color: #2B0D3A;
    color: white;
} */

.nav-link,
.nav-item button {
    color: black;
}

.btn.hover-1:hover,
.btn.hover-1:active,
.btn.hover-1.active {
    background-color: #2B0D3A;
    color: white;
    font-size: 16px;
}

.btn.hover-2:hover,
.btn.hover-2:active,
.btn.hover-2.active {
    background-color: #3D1460;
    color: white;
    font-size: 16px;
}

.btn.hover-3:hover,
.btn.hover-3:active,
.btn.hover-3.active {
    background-color: #5A1F89;
    color: white;
    font-size: 16px;
}

.btn.hover-4:hover,
.btn.hover-4:active,
.btn.hover-4.active {
    background-color: #7E40B5;
    color: white;
    font-size: 16px;
}

.btn.hover-5:hover,
.btn.hover-5:active,
.btn.hover-5.active {
    background-color: #B38FE3;
    color: white;
    font-size: 16px;
}

.btn.hover-6:hover,
.btn.hover-6:active,
.btn.hover-6.active {
    background-color: #ededed;
    font-size: 16px;
}

.btn.hover-7:hover,
.btn.hover-7:active,
.btn.hover-7.active {
    color: white;
    background-color: black;
    font-size: 16px;
}

.navbar .btn:not(.hover-7),
.navbar .btn:active:not(.hover-7),
.navbar .btn:focus:not(.hover-7),
.navbar .btn:focus-visible:not(.hover-7) {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
    -webkit-tap-highlight-color: transparent;
}

.navbar .btn::-moz-focus-inner {
    border: 0;
}

.navbar-toggler:active,
.navbar-toggler:focus,
.navbar-toggler:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.logo {
    height: 38px;
    width: auto;
}

/* burger */
.navbar-toggler {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 35px;
    height: 30px;
    padding: 4px;
}

.toggler-icon-bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: black;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease, background-color 0.25s ease;
}

.navbar-toggler[aria-expanded="true"] .toggler-icon-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .toggler-icon-bar:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .toggler-icon-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.navbar.scrolled .container {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.navbar.scrolled {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}


/* FOOTER */
footer {
    background-color: white;
    width: 100%;
    bottom: 0px;
}

.bandiere-overlay.active {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.bandiere-overlay.active::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(126, 64, 181, 0.45);
    z-index: 2;
    border-radius: 100%;
    pointer-events: none;
}


/* HERO */
#video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    object-fit: cover;
    z-index: -1;
}


.blocco-home {
    height: 100dvh;
}

.responsive-text {
    font-size: 1.3rem;
}

.posizionamento-responsive {
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

/* tablet e cell */
@media (max-width: 767px) {
    .responsive-text {
        font-size: 1rem;
    }

    #video {
        height: 80dvh;
    }

    .blocco-home {
        height: 80dvh;
    }
}

/* mini cell bastardi*/
@media (max-width: 340px) {
    .logo {
        height: 30px;
        width: auto;
    }
}

/* medium */
@media (max-width: 992px) {
    .posizionamento-responsive {
        bottom: 50;
        left: 50;
        right: 50;
        padding: 1.5rem;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }
}


@media (max-width: 992px) {

    .blocco-home {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .blocco-home>.container.position-absolute {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 100%;
    }

    .blocco-home .d-flex.justify-content-between.align-items-end.w-100 {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}



/* SLIDER CLIENTI */
@keyframes slide {
    from {
        transform: translateX(-120%);
    }

    to {
        transform: translateX(0);
    }
}

.logos {
    overflow: hidden;
    padding: 20px 0;
    white-space: nowrap;
    position: relative;
    font-size: 0;
}

.logos:before,
.logos:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
    pointer-events: none;
}

.logos:hover .logos-slide {
    animation-play-state: paused;
}

.logos-slide {
    display: inline-block;
    animation: slide infinite linear;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.logo-card {
    display: inline-block;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 0 10px;
    padding: 30px;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-card img {
    height: 50px;
    padding: 0;
    margin: 0;
    transition: transform 0.3s ease;
    z-index: 3;
    position: relative;
}

.logo-card img.logo-bg {
    position: absolute;
    margin: 0;
    padding: 0;
    z-index: 1;
    pointer-events: none;
    transition: transform 0.3s ease;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.logo-card:hover img:not(.logo-bg) {
    z-index: 4;
    opacity: 0;
    transform: scale(1.1);
}

.logo-card:hover img.logo-bg {
    transform: translate(-50%, -50%) scale(1.1);
}


@media (min-width: 992px) {

    .logos:before {
        left: 0;
        background: linear-gradient(to left, rgba(255, 255, 255, 0), #f7f7f7);
    }

    .logos:after {
        right: 0;
        background: linear-gradient(to right, rgba(255, 255, 255, 0), #f7f7f7);
    }
}



/* SERVIZI */
/* cards servizi */
.card-servizi {
    background-color: #f7f7f7;
    border: none;
    transition: all 0.3s ease;
    min-height: 285px;
    display: flex;
    flex-direction: column;
}

div.icona-servizi {
    background-color: #382B5b;
    color: white;
    width: 80px !important;
    height: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: row !important;
}

a.link-servizi {
    color: #5F19AF;
    text-decoration: none;
    width: max-content;
}

.spaziatura-elementi {
    margin-bottom: 15px
}

.background-gif {
    width: 70px;
    height: 35px;
    object-fit: cover;
}

.animated-gif {
    display: none;
    width: 70px;
    height: 35px;
    object-fit: cover;
}

div.card-servizi:hover {
    background-color: #382B5b;
    color: white;
    border-radius: 10px;

    .icona-servizi {
        color: #382B5b;
    }

    a.link-servizi {
        color: white;
        max-width: fit-content;
    }

    .background-gif {
        display: none;
    }

    .animated-gif {
        display: block;
    }
}

/* Swiper */
.carosello {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.swiper-wrapper-servizi {
    display: flex;
}

.swiper-slide-servizi {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-shrink: 0;
    width: auto;
}

.swiper-pagination-servizi {
    position: relative;
    margin-top: 20px;
    text-align: center;
}

.swiper-pagination-servizi .swiper-pagination-bullet {
    background-color: #382B5b;
    opacity: 0.5;
    width: 7px;
    height: 7px;
    margin: 0 5px;
    border-radius: 50%;
    cursor: pointer;
}

.swiper-pagination-servizi .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: #5F19AF;
}

@media (max-width: 768px) {

    /* card */
    .card-servizi-active {
        background-color: #382B5b;
        color: white;
        transition: all 0.6s ease;
        min-height: 285px;
    }

    div.icona-servizi-active {
        color: #382B5b;
        transition: all 0.6s ease;
        width: 60px !important;
        height: 60px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: row !important;
    }

    .background-gif {
        display: none;
    }

    .animated-gif {
        display: block;
    }

    /* link */
    a.link-servizi-active {
        color: white;
        max-width: fit-content;
        text-decoration: none;
        transition: all 0.6s ease;
    }

    /* card */
    .card-servizi-none {
        color: #382B5b;
        transition: all 0.6s ease;
        min-height: 285px;
    }

    div.icona-servizi-none {
        margin: 0 30px;
        color: white;
        background-color: #382B5b;
        transition: all 0.6s ease;
        width: 60px !important;
        height: 60px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: row !important;
        transition: all 0.6s ease;
    }

    /* link */
    a.link-servizi-none {
        color: #5F19AF;
        transition: all 0.6s ease;
    }
}

@media (min-width: 768px) {

    /* carosello */
    .carosello {
        overflow: visible;
    }

    .swiper-wrapper-servizi {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        flex-wrap: wrap;
    }

    .swiper-slide-servizi {
        width: auto;
        flex-shrink: 1;
    }

    .swiper-pagination-servizi {
        display: none;
    }
}

@media (min-width: 992px) {
    .swiper-wrapper-servizi {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* DOPPIO SLIDER */
div.scrollbar {
    display: inline-block;
    margin: 0 0.5em;
    font-size: 90px;
    padding: 10px 0;
    color: white;
    font-weight: bold;
}

.scroll-container-left {
    overflow: hidden;
    white-space: nowrap;
    width: 101%;
    background-color: #5f19af;
    rotate: 2deg;
    transform: translateX(-10px);
}

.scroll-content-left {
    display: inline-block;
    animation: scroll-left linear infinite;
}

.scroll-container-right {
    overflow: hidden;
    white-space: nowrap;
    width: 101%;
    background-color: #3b2b5b;
    rotate: -2deg;
    transform: translateX(-10px);
}

.scroll-content-right {
    display: inline-block;
    animation: scroll-right linear infinite;
}


/* SLIDER */
.single-scroll-container-right,
.single-scroll-container-left {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    background-color: #3b2b5b;
}

.single-scroll-content-left {
    display: inline-block;
    animation: scroll-left linear infinite;
}

.single-scroll-content-right {
    display: inline-block;
    animation: scroll-right linear infinite;
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0%);
    }
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* NEWS */
.mansonry-grid {
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.grid-sizer-news,
.mansonry-item-news {
    width: 33.3%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
}

.mansonry-item-news {
    height: auto;
}

.mansonry-item-news:hover {
    .card {
        background-color: #382b5b;
        color: white;
    }

    h6 {
        color: lightgrey;
    }

    .btn-outline-viola {
        border: 1px solid white;
        color: white;
        background-color: #382B5b
    }
}

.zoom-img {
    margin: 10px;
    overflow: hidden;
}

.zoom-img img {
    width: 100%;
    transition: all .3s ease-in-out;
}

.zoom-img img:hover {
    transform: scale(1.05);
}

h6 {
    color: gray
}

.filter-select {
    display: none;
}

.filter-select .select2,
.ricerca {
    max-width: 295px !important;
}

@media (max-width: 992px) {

    .grid-sizer-news,
    .mansonry-item-news {
        width: 50%;
    }

    .filter-list {
        display: none !important;
    }

    .filter-select {
        display: block;
    }
}

@media (max-width: 576px) {

    .grid-sizer-news,
    .mansonry-item-news {
        width: 100%;
    }
}

@media screen and (max-width: 340px) {
    button.news {
        width: 130px;
    }

    /* .clear-filters {
        width: 130px !important;
    } */
}


/* CONTATTI */
.icone-viola {
    width: 40px;
    height: 40px;
    color: #5d2684;
    border: 1px solid #5d2684;
    background-color: transparent;
}

.icone-viola:hover,
.icone-viola:active {
    background-color: #5d2684;
    color: white;
}

.bg-viola {
    background-color: #5d2684;
}

.card-contatti:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06) !important;
    transform: translateY(-3px);
    transition: 0.25s ease;
}


/* FADING TEXT */
.animated-text .word {
    display: inline-block;
    opacity: 0.15;
    transition: opacity 400ms ease;
    margin: 0 6px;
    will-change: opacity;
    color: #5f19af;
    font-size: larger;
    line-height: 1.1;
    letter-spacing: 1.5px;
}

.animated-text .word.visible {
    opacity: 1;
}

.start::before {
    font-size: 60px;
    content: "\201C";
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.end::after {
    font-size: 60px;
    content: "\201D";
    font-family: Georgia, 'Times New Roman', Times, serif;
}


/* NUMERI DINAMICI */
.numeri-responsive {
    color: white;
    font-size: 65px;
}

.testo-numeri {
    color: white;
    font-size: 30px;
    font-weight: 100;
}



/* SLIDER NEWS */
.swiper-news-slide {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.swiper-news.is-slider-1 {
    position: relative;
}

.swiper-news.is-slider-1 .swiper-news-wrapper {
    overflow: visible;
    align-items: center;
}

.swiper-img-news {
    width: 450px;
    height: 250px;
}

.swiper-slide-news .card-body {
    width: 450px;
    min-height: 230px;
}

.swiper-pagination-news .swiper-pagination-bullet-active,
.swiper-pagination-news .swiper-pagination-bullet {
    background: white;
}

@media screen and (max-width: 576px) {
    .swiper-img-news {
        width: 300px;
        height: 200px;
    }

    .swiper-slide-news .card-body {
        width: 300px;
    }
}

@media screen and (max-width: 390px) {
    .swiper-img-news {
        width: 235px;
        height: 150px;
    }

    .swiper-slide-news .card-body {
        width: 235px;
    }
}


/* SINGOLA NEWS */
.sidebar {
    position: sticky;
    top: 0;
    height: min-content;
}

body.single-news main {
    overflow-x: visible !important;
}

body.single-news .sidebar {
    align-self: start;
}

.maiuscolo {
    float: left;
    display: block;
    color: #382b5b;
}

.ultime-news:hover {
    h5 {
        color: #382b5b
    }

    .zoom-img img {
        transform: scale(1.1);
    }
}

.background-viola:hover {
    background-color: #382b5b;
    color: white;
}


/* TABS */
.tablinks {
    border: none !important;
}

.tablinks:hover,
.tablinks:active {
    background-color: lightgray !important;
}

.tablinks.active {
    background-color: #7e40b55d;
    pointer-events: none;
    cursor: not-allowed;
    user-select: none;
}

/* PROGETTI LIST & PROGETTI*/
.mansonry-item-progetti,
.grid-sizer-progetti {
    width: 33.3%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
}

.mansonry-item-progetti {
    height: auto;
}

.card .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 275px;
    background: linear-gradient(transparent 55%, white);
    z-index: 5;
}

.mansonry-item-progetti .card {
    transition: transform 0.4s ease;
}

.mansonry-item-progetti .card:hover {
    transform: translateY(-5px);
}

.altri-progetti {
    height: 700px;
}

.sidebar-progetto {
    border-left: 1px solid #212529;
}

.swiper-pagination-progetti .swiper-pagination-bullet {
    background-color: #B38FE3 !important;
    opacity: 1 !important;
}

.swiper-pagination-progetti .swiper-pagination-bullet-active {
    background-color: #5d2684 !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    content: none;
}

@media (max-width: 1200px) {

    .grid-sizer-progetti,
    .mansonry-item-progetti {
        width: 50%;
    }

    .altri-progetti {
        height: 1200px;
    }
}

@media screen and (max-width: 991px) {
    .sidebar-progetto {
        border: none;
    }

    .altri-progetti {
        height: 1400px;
    }
}

@media (max-width: 768px) {

    .grid-sizer-progetti,
    .mansonry-item-progetti {
        width: 100%;
    }

    .altri-progetti {
        height: 1700px;
    }
}


/* SERVIZI LIST */
.accordion-servizi .accordion-button:focus,
.accordion-item-servizi:has(.accordion-collapse.show) .accordion-button,
.accordion-collapse.show {
    box-shadow: none !important;
    background: #f7f7f7;
}

.accordion-item-servizi:has(.accordion-collapse.show) .accordion-button {
    pointer-events: none !important;
    cursor: not-allowed !important;
}

.accordion-button::after {
    content: none !important;
}

.accordion-header {
    overflow: hidden;
    position: relative;
    z-index: 2;
    transform: translateZ(0);
    transition: transform 220ms cubic-bezier(.2, .8, .2, 1);
}

.accordion-button {
    color: #7e40b5;
    font-size: 55px;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: background-color 0s, color 0s;
}

.accordion-item-servizi {
    border-top-left-radius: 1rem !important;
    border-top-right-radius: 1rem !important;
    border: 1px solid black !important;
    background-color: transparent;
    overflow: hidden;
    transition: transform 400ms ease;
    will-change: transform;
}

.accordion-item-servizi:not(:first-child) {
    position: relative;
}

.accordion-item-servizi:not(:has(.accordion-collapse.show)):hover {
    transform: translateY(-15px);
}

.accordion-item-servizi:has(.accordion-collapse.collapsing) .accordion-header,
.accordion-item-servizi:has(.accordion-collapse.collapsing):hover,
.accordion-item-servizi:has(.accordion-collapse.show) .accordion-header,
.accordion-item-servizi:has(.accordion-collapse.show):hover {
    transform: none !important;
    box-shadow: none !important;
    transform: translateZ(0) !important;
}

.accordion-item-servizi:has(.accordion-collapse.show) .accordion-button,
.accordion-collapse.show {
    background-color: #a090d0;
    color: white;
}

@media screen and (max-width: 1000px) {
    .accordion-button {
        font-size: 40px;
    }
}

@media screen and (max-width: 576px) {
    .accordion-button {
        font-size: 25px;
    }
}

/* slider img */
#carouselExampleAutoplaying {
    cursor: grab;
}

#carouselExampleAutoplaying.dragging {
    cursor: grabbing;
}

#carouselExampleAutoplaying img {
    pointer-events: none;
    user-select: none;
}

.material-symbols-outlined {
    color: #3D1460;
}

/* BANNER */
.social-icon {
    background-color: #8B5CF6;
    aspect-ratio: 1 / 1;
    width: 2.5rem;
    display: inline-grid;
    place-items: center;
}


/* FILOSOFIA */
.swiper-filosofia {
    height: max-content;
    width: 100%;
}

.swiper-filosofia .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-filosofia .swiper-slide img,
.swiper-filosofia .swiper-slide a {
    width: 320px;
    object-fit: cover;
    height: 320px;
    overflow: hidden;
}

.slide-filosofia {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-width: 350px;
    max-height: 450px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.swiper-slide.slide-filosofia:not(.swiper-slide-active) {
    img {
        opacity: 0.35;
    }

    .outlined-text {
        opacity: 0.35;
    }
}

.swiper-slide.slide-filosofia.swiper-slide-active .outlined-text {
    -webkit-text-fill-color: white;
}

.outlined-text {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 125px;
    line-height: 1;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    content: none;
}

.swiper-pagination-filosofia,
.undertext {
    width: 100%;
    padding: 0 20% 0 20%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.swiper-pagination-filosofia::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 60%;
    height: 1px;
    background: white;
    opacity: 0.2;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
}

.swiper-pagination-filosofia .swiper-pagination-bullet {
    background: rgb(140, 140, 140);
    opacity: 1;
    width: 10px;
    height: 10px;
    opacity: 0.6;
    margin: 0 !important;
}

.swiper-pagination-filosofia .swiper-pagination-bullet-active {
    background: white;
    opacity: 1;
    width: 15px;
    height: 15px;
}

@media screen and (max-width: 1400px) {

    .swiper-filosofia .swiper-slide img,
    .swiper-filosofia .swiper-slide a {
        width: 270px;
        height: 270px;
    }

    .outlined-text {
        font-size: 100px;
    }
}

@media screen and (max-width: 1200px) {

    .swiper-filosofia .swiper-slide img,
    .swiper-filosofia .swiper-slide a {
        width: 230px;
        height: 230px;
    }

    .outlined-text {
        font-size: 85px;
    }
}

@media screen and (max-width: 992px) {
    .swiper-filosofia {
        overflow: hidden;
    }

    .slide-filosofia,
    .swiper-filosofia {
        max-width: 84vw !important;
    }

    .outlined-text {
        font-size: 72px;
    }

    .swiper-pagination-filosofia,
    .undertext {
        padding: 0 10% 0 10%;
    }

    .swiper-pagination-filosofia::after {
        width: 80%;
    }

}

@media screen and (max-width: 768px) {

    .swiper-pagination-filosofia,
    .undertext {
        padding: 0 5% 0 5%;
    }

    .swiper-pagination-filosofia::after {
        width: 90%;
    }

}

@media screen and (max-width: 576px) {

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }

    .swiper-pagination-filosofia,
    .undertext {
        padding: 0;
    }

    .swiper-pagination-filosofia::after {
        width: 100%;
    }
}