@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

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

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

.menu-link {
  position: relative;
  padding-bottom: 4px;
  display: inline-block;
}

.menu-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 3px;
  background-color: transparent;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.li-titolo span,
.li-testo span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
}


.team-title {
  opacity: 0;
  transform: translateY(3rem);
}


.scopri {
  transform-origin: center center;
  display: inline-block;
}

#caroselloscuola .splide__pagination {
	margin-top: 2rem;
	justify-content: center;
	position: absolute;
	width: 6rem;
	display: inline-block;
	left: 41.5%;
}

.from-left,
.from-right {
  will-change: transform, opacity;
  opacity: 1 !important;
}

#custom-cursor svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.3s ease;
}

#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  pointer-events: none;
  z-index: 9999;
  opacity: .8;
}

#carosello-esperienz .splide__list {
  margin: 0 !important;
}

.splide__arrow--prev{
	left: -7rem;
}

.splide__arrow--next{
	right: -7rem;
}

.splide__arrow{
	top: 32%;
}


@keyframes floatBluIn {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floatArancioIn {
  0% {
    opacity: 0;
    transform: translateX(100px) rotate(15deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
  }
}

.animate-floatblu {
  animation: floatBluIn 1s ease-out forwards;
}

.animate-floatarancio {
  animation: floatArancioIn 1s ease-out forwards;
}


  /* Colore dots inattivi */
  .splide__pagination__page {
    background: #A4A7AE; /* grigio chiaro */
    opacity: 1;
  }

  /* Colore dot attivo */
  .splide__pagination__page.is-active {
    background: #000;
    transform: scale(1.2); /* opzionale: leggermente più grande */
  }

.menu-link:hover::after {
  width: 100%;
  background-color: var(--random-color);
}

@keyframes zoomIn {
  from { transform: scale(1); }
  to   { transform: scale(1.05); }
}

@keyframes zoomOut {
  from { transform: scale(1.05); }
  to   { transform: scale(1); }
}

.zoom-in {
  animation: zoomIn 0.4s ease-in-out forwards;
}

.zoom-out {
  animation: zoomOut 0.4s ease-in-out forwards;
}

.zoom-button {
  will-change: transform;
}


.input-form{
	border: solid 1px #fff;
	padding: .25rem 1rem;
	background-color: transparent;
	font-size: 1rem;

}


#carosello-esperienza .splide__pagination {
  position: absolute;
  bottom: -4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

#carosello-esperienza .splide__pagination__page {
  width: 0.75rem;
  height: 0.75rem;
  background-color: #ccc;
  border-radius: 9999px;
  opacity: 0.5;
  transition: all 0.3s ease;
}

#carosello-esperienza .splide__pagination__page.is-active {
  background-color: #f87171;
  opacity: 1;
}



@media screen and (max-width: 1024px) and (min-width: 769px) {

	.logo{
		width: 12rem !important;
	}

	.colonnalogo{
		width: 20% !important;
	}

	.colonnapeople{
		width: 30% !important;
		display: none;
	}

	.colonnastudio{
		padding-left: 6rem;
	}

	.circleblu{
		top: 5.5rem !important;
	}

	.pp{
		top: 0 !important;
	}

	.people{
		top: 6.7rem !important;
	}

}

