/* Importa Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;900&display=swap');


html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  font-family: "Outfit", serif;
}

.shadow-custom {
  box-shadow: -40px 40px 60px -1px rgba(0, 0, 0, 0.25);
}

/* caroselli */
.splide {
  cursor: grab;
}

.splide:active {
  cursor: grabbing;
}

.logos-carousel .splide__slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logos-carousel .splide__slide img {
  max-height: 120px;
}

@media (max-width: 768px) {
  .logos-carousel .splide__slide img {
    max-height: 84px;
  }
}

.imgs-carousel .splide__slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.imgs-carousel .splide__slide.original-ratio img {
  aspect-ratio: inherit !important;
}

.imgs-carousel .splide__arrow {
  top: calc(100% + 40px);
  background-color: #574f45;
  opacity: 1;
}

.imgs-carousel .splide__arrow svg {
  fill: #fff;
  height: 1em;
  width: 1em;
}

.imgs-carousel.privati .splide__arrow {
  top: calc(100% + 70px);
  background-color: #fff;
  opacity: 1;
}

.imgs-carousel.privati .splide__arrow svg {
  fill: #574f45;
  height: 1em;
  width: 1em;
}

.imgs-carousel .splide__arrow--next {
  right: calc(50% - 50px);
}

.imgs-carousel .splide__arrow--prev {
  left: calc(50% - 50px);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 150px;
  max-width: 1240px;
  padding: 0 20px;
  width: 100%;
  margin: 0 auto;
  z-index: 1000;
  position: relative;
}

@media (max-width: 1120px) {
  .nav-bar {
    padding: 0 20px;
  }
}

.nav-bar .logo {
  height: 60px;
  transition: all 0.5s ease;
}

.nav-bar .menu-icon {
  stroke: #092376;
  transition: all 0.5s ease;
  cursor: pointer;
}

.nav-bar.menu-open .menu-icon,
.nav-bar.menu-color-inverted .menu-icon {
  stroke: #ffffff;
}

@media (max-width: 768px) {
  ._mobile_invert_navbar .nav-bar .logo {
    /* filter: brightness(0) invert(1); */
    filter: brightness(0) invert(1) drop-shadow(0 0 4px rgba(0, 0, 0, 0.5));
  }

  ._mobile_invert_navbar .nav-bar .menu-icon {
    stroke: #ffffff;
    filter: brightness(0) invert(1) drop-shadow(0 0 4px rgba(0, 0, 0, 0.5));
  }
}

.nav-bar .menu-line {
  opacity: 1;
  transition: all 0.5s ease;
}

.nav-bar.menu-open .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(10px, -10px);
}

.nav-bar.menu-open .menu-line:nth-child(2) {
  opacity: 0;
  transform: translateX(5px);
  transition: all 0.2s ease;
}

.nav-bar.menu-open .menu-line:nth-child(3) {
  transform: rotate(-45deg) translate(-12px, 0px);
}

.nav-bar.menu-open .logo,
.nav-bar.menu-color-inverted:not(.only-icon) .logo {
  filter: brightness(0) invert(1);
}

.nav-bar-menu-overlay {
  position: fixed;
  top: -90vh;
  left: 0;
  width: 100vw;
  height: 90vh;
  background-color: #fff;
  transition: all 0.5s ease;
  z-index: 999;
  background-image: url("../img/menu-background.jpg");
  opacity: 0;
  pointer-events: none;
}

.nav-bar-menu-overlay.active {
  top: 0;
  opacity: 1;
  pointer-events: all;
}

@media screen and (max-height: 700px) {
  .nav-bar-menu-overlay.active {
    height: 100vh;
    overflow: scroll;
    padding-top: 180px;
  }
}

/* Gestione classe faded per il body */
body.faded {
  opacity: 0.01;
  transition: opacity 0.6s ease-in-out;
}

body.faded.loaded {
  opacity: 1;
}

/* Hide scrollbar for WebKit browsers (Chrome, Safari) */
.webkit-bar-hidden::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for Firefox */
.webkit-bar-hidden {
  scrollbar-width: none; /* For Firefox */
}


/* Firma Studio 121 */


.firma-s121 {
  font-family: 'Poppins', sans-serif, Arial, sans-serif;
}
