html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-family: "Outfit", sans-serif;
}

body {
  overflow-x: hidden;
  font-family: "Outfit", sans-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 {
  width: 100%;
  height: auto;
  max-width: 100px;
}

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

.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 .splide__arrow--next {
  right: calc(50% - 50px);
}

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

.imgs-carousel.large-card-image-carousel .splide__slide {
  height: 400px;
  max-height: 400px;
}

.imgs-carousel.large-card-image-carousel .splide__slide img {
  aspect-ratio: auto;
  height: 400px;
}

.imgs-carousel.large-card-image-carousel .splide__track {
  overflow: visible;
}

.imgs-carousel.large-card-image-carousel {
  overflow: hidden;
  width: 300%;
  padding-right: 200%;
}

.imgs-carousel.large-card-image-carousel.second {
  overflow: hidden;
  width: 300%;
  padding-right: 0px;
  margin-left: -200%;
  padding-left: 200%;
}

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

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

.top-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 80px;
  max-width: 1240px;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
  margin: 0 auto;
}

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

@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;
}

.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: -100vh;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  transition: all 0.5s ease;
  z-index: 999;
  background-image: url("../../assets/img/menu-bg.png");
  background-size: cover;
  background-position: center bottom;
  opacity: 0;
  pointer-events: none;
}

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

@media screen and (max-width: 767px) {
  .nav-bar {
      height: 135px;
  }
}

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

.home-carousel {
  padding-bottom: 80px;
}

.home-carousel .splide__slide {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.75;
  transition: opacity 0.5s ease;
}

.home-carousel .splide__slide.is-active {
  opacity: 1;
  border: 3px solid #ffffff !important;
}

.home-carousel .splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-carousel .splide__arrow {
  top: calc(100% + 60px);
  background-color: #275ca7;
  opacity: 1;
}

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

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

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

.imgs-carousel.large-card-image-carousel .splide__arrow--prev,
.imgs-carousel.large-card-image-carousel .splide__arrow--next {
    top: calc(100% - 35px);
    background-color: #ffffff;
}

.imgs-carousel.large-card-image-carousel .splide__arrow--prev svg,
.imgs-carousel.large-card-image-carousel .splide__arrow--next svg {
    fill: #275CA7;
}

.imgs-carousel.large-card-image-carousel .splide__arrow--next {
    right: auto;
    left: 70px;
}

.imgs-carousel.large-card-image-carousel .splide__arrow--prev {
    left: 20px;
}

.imgs-carousel.large-card-image-carousel.second .splide__arrow--next {
    right: 20px !important;
    left: auto !important;
}

.imgs-carousel.large-card-image-carousel.second .splide__arrow--prev {
    right: 70px !important;
    left: auto !important;
}

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

body.faded.loaded {
  opacity: 1;
}