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

/* Reset */
body, html{scroll-behavior: smooth; font-family: "Inter", serif;
 line-height: 1; font-size: 16px; color: #000; box-sizing: border-box;margin: 0;padding: 0;}*,*:before,*:after{ box-sizing: border-box; }h1,h2,h3,h4,h5,h6, p, ol, ul{margin: 0 0 1rem 0;padding: 0;}ol,ul{padding-left: 0;line-height: 1.5;}img{height: auto;}h1{font-size: 4rem;} h2{font-size: 3rem;} h3{font-size: 2rem;} h4{font-size: 1rem;} h5{font-size: 0.8rem;} h6{font-size: 0.6rem;}a{text-decoration:none}


/* ! Grid System */
.grid { margin: 0 auto; padding: 0 15px; display: flex; flex-flow: row; flex-wrap: wrap; z-index: 2;}
.grid-swiper { margin: 0 auto; padding: 0 15px; width: 100%; display: flex; flex-flow: row; flex-wrap: wrap;}
.grid--center{justify-content: center;}
.col{ flex: 1;}

.wrapper{width: 100%;padding: 0 3%;overflow: hidden; position: relative;}

/* Stile di base: wrapper nascosto e spostato in basso */
.wrapper {
  opacity: 0;                   /* completamente trasparente */
  transform: translateY(20px);  /* spostato di 20px in basso */
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Stile quando viene aggiunta la classe .load */
.wrapper.load {
  opacity: 1;                   /* completamente visibile */
  transform: translateY(0);     /* posizione iniziale */
}


[class*='col-'] { position: relative;padding: 0 15px;}

.col-20{ width: 20%; }
.col-25{ width: 25%; }
.col-30{ width: 30%; }
.col-33{ width: 33.33%; }
.col-40{ width: 40%; }
.col-50{ width: 50%; }
.col-60{ width: 60%; }
.col-70{ width: 70%; }
.col-80{ width: 80%; }
.col-100{ width: 100%; }

@media (max-width: 991px) {
  .tab-20 { width: 20%; }
  .tab-25 { width: 25%; }
  .tab-33 { width: 33.33%; }
  .tab-50 { width: 50%; }
  .tab-100 { width: 100%; }
}

@media (max-width: 768px) {
  [class*='col-'] { width: 100%;}
  .sma-20 { width: 20%; }
  .sma-25 { width: 25%; }
  .sma-33 { width: 33.33%; }
  .sma-50 { width: 50%; }
  .sma-100 { width: 100%; }
}

.alignwide {
  margin-right: calc((100% - 1200px)/2);
  max-width: 1200px;
  width: 100%;
}

.alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  position: relative;
}

/* ! Helpers  */
.mt-0{margin-top: 0 }
.mt-1{margin-top: 10px}
.mt-2{margin-top: 20px}
.mt-3{margin-top: 40px}
.mt-4{margin-top: 100px }
.mt-5{margin-top: 200px }

.mb-0{margin-bottom: 0}
.mb-1{margin-bottom: 10px}
.mb-2{margin-bottom: 20px}
.mb-3{margin-bottom: 40px}
.mb-4{margin-bottom: 100px}

.p-0{padding: 0}
.p-1{padding: 10px}
.p-2{padding: 20px}
.p-3{padding: 40px}
.p-4{padding: 100px}

.pt-1{padding-top: 10px;}
.pt-3{padding-top: 20px;}
.pt-3{padding-top: 40px;}
.pt-4{padding-top: 15vh;}

.pb-1{padding-bottom: 10px;}
.pb-2{padding-bottom: 20px;}
.pb-3{padding-bottom: 40px;}
.pb-4{padding-bottom: 15vh;}

.container {max-width: 1360px; margin: auto;}
.z-index {position: relative; z-index: 9;}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.img-res { width: 100%; height: auto; margin-bottom: 20px;vertical-align: middle;}
.img-round { border-radius:50%; }

h1 {
    color: #fff;
    font-size: 60px;
    font-weight: 500;
    letter-spacing: -0.025em;
    transition: 0.5s;
  }

h2 {
    font-size: 30px;
}

h3 {
    font-size: 20px;
}

p {
    font-size: 16px;
	color: #848892;
    line-height: 26px;
    color: #848892;
    font-weight: 300;
	-webkit-font-smoothing: antialiased;
}

a, p a {
    color: #999;
}

/* ! Navigation menu */

/* Menu */
:root { --menu-bg: #F4FBFF; --menu-color: #303FC8; }

main {position: relative; max-width: 1320px; margin: auto;}

nav {
	color: #303FC8;
}

/* ! Navigation menu  */

.sticky-anchor-menu {
  position: -webkit-sticky; /* supporto per Safari */
  position: sticky;
  top: 0;         /* attacca il menu al top della pagina */
  z-index: 9999;  /* assicura che rimanga sopra altri elementi */
  width: 100%;    /* garantisce che occupi tutta la larghezza disponibile */
  background: #fff; /* esempio: sfondo bianco per evidenziare il menu */
}

.logo {width: 200px;}

header {
      position: fixed;
      width: 100%;
	  height: 100px;
      top: 0;
      right: 0;
      z-index: 1000;
      transition: background-color 0.3s ease; /* per un effetto di transizione morbida */
    }
    /* Stile dell’header di base */
    header {
      background: #193dc9;
    }
    /* Stile dell’header quando scorre oltre una certa soglia */
    header.scrolled {
      background-color: #fff; /* il colore di sfondo che desideri */
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* opzionale, aggiunge un’ombra sotto l’header */
    }

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  transition: all 0.5s ease;
  max-width: 1480px;
  height: 100px;
  margin: auto;
}
.navbar__menu {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style-type: none;
}
@media screen and (max-width: 1024px) {
  .navbar__menu {
    position: absolute;
	background: #002b93;
    top: 70px;
    right: -100%;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2rem;
    padding: 2rem 1rem;
    transition: all 0.5s ease;
  }
  .navbar__menu.right-open {
    right: 0;
  }
}
.navbar__list {
  display: flex;
  justify-content: center;
  flex-grow: 1;
  gap: 2rem;
  list-style-type: none;
  margin: 0;
}
@media screen and (max-width: 1024px) {
  .navbar__list {
    flex-direction: column;
    flex-grow: 0;
  }
}

.navbar__list li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  transition: all 0.5s ease;
  color: #fff;
  
  /* Aggiunto per l'elemento pseudo */
  position: relative;
}

.navbar__list li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px; /* spessore della linea */
  background-color: white;
  transition: width 0.3s ease; /* durata e tipo di transizione */
}

.navbar__list li a:hover::after {
  width: 100%;
}

header.scrolled .navbar__list li a {
  color: black;
}


.navbar__list li .arrow {
  transition: 0.3s ease;
}
.navbar__list li .arrow.up {
  transform: rotate(180deg);
}
.navbar__list-drop {
  display: inline-block;
  position: relative;
}
.navbar__list-drop-menu {
  display: none;
  position: absolute;
  width: max-content;
  margin-top: 1rem;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.122);
  z-index: 999;
}

@media screen and (max-width: 1024px) {
  .navbar__list-drop-menu {
    position: inherit;
    background-color: transparent;
    box-shadow: none;
    padding: 0.5rem 1rem;
  }
}

.navbar__list-drop-menu li a {color: black;}

.navbar__list-drop-menu.open {
  display: flex;
}
.navbar__list-drop-menu.features {
  right: 0;
}
.navbar__list-drop-menu.company {
  left: 0;
  width: max-content;
}
.navbar__buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style-type: none;
    border: 1px solid white;
    padding: 5px 15px;
    color: white;
    margin-left: 10px;
}
@media screen and (max-width: 1024px) {
  .navbar__buttons {
    width: 100%;
    flex-direction: column;
  }
}
.navbar__buttons a {
    color: black;
    font-weight: 500;
    transition: 0.3s ease;
    list-style-type: none;
    background: white;
    padding: 10px 15px;
}
.navbar__buttons a:hover {
  color: var(--theme-dark-color);
}
.navbar__buttons-register, .navbar__buttons-login {
  width: 100%;
  font-weight: 500;
  color: #073ee3;
  padding: 0.8rem 1.5rem;
  border: 2px #073ee3;
  border-radius: 1rem;
  transition: 0.3s ease;
}
.navbar__buttons-register:hover {
  border: 2px solid var(--theme-dark-color);
  color: var(--theme-dark-color);
}
.navbar .menu {
  display: none;
  float: left;
  transition: all 275ms ease;
  cursor: pointer;
}
@media screen and (max-width: 1024px) {
  .navbar .menu {
    display: block;
  }
}
.navbar .menu span {
  display: block;
  width: 22px;
  height: 4px;
  background: #000000;
  margin-bottom: 2px;
  border-radius: 1px;
  transition: all 275ms ease;
}
.navbar .menu.active {
  transform: rotate(-90deg);
}
.navbar .menu.active .bar1 {
  transform: rotate(0deg) translateY(6px);
}
.navbar .menu.active .bar2 {
  opacity: 0;
}
.navbar .menu.active .bar3 {
  transform: rotate(-90deg) translateX(5px);
}

.navbar-widget {display: none; width: 100%}

 /* Menu Button 5 */
        .menu-btn-5 {
            height: 32px;
            width: 40px;
            cursor: pointer;
        }

        
.menu-btn-5 span:nth-child(1), 
.menu-btn-5 span:nth-child(1)::before, 
.menu-btn-5 span:nth-child(1)::after {
    background: #fff;
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    margin-top: 13px;
    transition: .3s ease-in-out;
}

.menu-btn-5.scrolled span:nth-child(1),
.menu-btn-5.scrolled span:nth-child(1)::before,
.menu-btn-5.scrolled span:nth-child(1)::after {
    background: #000; /* Colore cambiato al momento dello scroll */
}


        .menu-btn-5 span:nth-child(1)::before {
            margin-top:-12px;
            
            -webkit-transition: .3s ease-in-out .3s;
            -moz-transition: .3s ease-in-out .3s;
            -o-transition: .3s ease-in-out .3s;
            transition: .3s ease-in-out .3s;
        }

        .menu-btn-5 span:nth-child(1)::after {
            margin-top:12px;
            
            -webkit-transition: .3s ease-in-out .3s;
            -moz-transition: .3s ease-in-out .3s;
            -o-transition: .3s ease-in-out .3s;
            transition: .3s ease-in-out .3s;
        }

        .menu-btn-5 span:nth-child(2) {
            background: #fff;
            content: '';
            position: absolute;
            width: 0px;
            height: 2px;         
            margin-top: 13px;
            
            -webkit-transform: rotate(-45deg);
            -moz-transform: rotate(-45deg);
            -o-transform: rotate(-45deg);
            transform: rotate(-45deg);

            -webkit-transition: .3s ease-in-out;
            -moz-transition: .3s ease-in-out;
            -o-transition: .3s ease-in-out;
            transition: .3s ease-in-out;
        }

        .menu-btn-5.active span:nth-child(1)::before,
        .menu-btn-5.active span:nth-child(1)::after {
            margin-top:0;
        }

        .menu-btn-5.active span:nth-child(1) {
            -webkit-transition: .5s ease-in-out .6s;
            -moz-transition: .5s ease-in-out .6s;
            -o-transition: .5s ease-in-out .6s;
            transition: .5s ease-in-out .5s;

            -webkit-transform:rotate(45deg);
            -moz-transform:rotate(45deg);
            -o-transform:rotate(45deg);
            transform:rotate(45deg);
        }

        .menu-btn-5.active span:nth-child(2) {
            width: 40px;
            
            -webkit-transition: .3s ease-in-out .8s;
            -moz-transition: .3s ease-in-out .8s;
            -o-transition: .3s ease-in-out .8s;
            transition: .3s ease-in-out .8s;
        }

.menu-btn-5.scrolled span:nth-child(2),
.menu-btn-5.scrolled span:nth-child(2)::before,
.menu-btn-5.scrolled span:nth-child(2)::after {
    background: #000; /* Colore cambiato al momento dello scroll */
}


/* Pseudoelemento per la “linea” animata */
.header__menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px; /* spessore della linea */
  background-color: white;
  transition: width 0.3s ease; /* durata e tipo di transizione */
}

/* Effetto in hover: la larghezza passa al 100% */
.header__menu li a:hover::after {
  width: 100%;
}


@media (max-width: 768px) {
  .header__menu{   
    position: absolute; top:85px; right:0; background-color: white; width: 100%; height: 100vh;  
    overflow: hidden;transition: all 0.5s cubic-bezier(.215, .61, .355, 1); transform: translateX(101%);
  }

  .header__menu li{width: 100%;}
  .menu-open .header__menu{transform: translateX(0%);}

  .icon-hamburger{height: 50px;width: 40px;margin-left: 20px;padding-top: 5px;}
  .icon-hamburger span{height: 2px; width: 30px;background: var(--menu-color);position: relative;display: block;margin-top: 11px;transition: all 0.2s cubic-bezier(.215, .61, .355, 1);}
  
  .menu-open .icon-hamburger span:nth-child(1){transform: rotate(45deg) translateY(9px);}
  .menu-open .icon-hamburger span:nth-child(2){transform: rotate(-45deg) translateY(-9px);}

  .header__quick{display: flex; justify-content: flex-end; width: 50%;}

}
/* LOGO SLIDER */

@keyframes slides {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 30px 0px;
  white-space: nowrap;
  position: relative;
}

.logos:before, .logos:after {
  position: absolute;
  top: 0;
  content: '';
  width: 250px;
  height: 100%;
  z-index: 2;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255,255,255,0), rgb(255, 255, 255));
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255,255,255,0), rgb(255, 255, 255));
}

.logo_items {
  display: inline-block;
  animation: 50s slides infinite linear;
}

.logos:hover .logo_items {
  animation-play-state: paused;
}

.logo_items img{
  height: 100px;
}

/* ! Servce */

.service-block {
    transition: border-color 0.3s ease, transform 0.3s ease; /* Imposta la transizione per un effetto fluido */
}

.service-block:hover {
    border-color: #FF0000; /* Sostituisci con il colore desiderato */
    transform: translateY(-5px); /* Sposta il blocco verso l'alto di 5px */
}


  /* ! Footer  */

  footer {
      color: white;
  }
  
  .footer__menu{padding: 0;margin: 0; display: block; align-items: center;}
  .footer__menu li{display: block;}
  .footer__menu li a{color: white; opacity: 0.8;display: block;padding: 5px;font-size: 11px; font-weight: 400; text-transform: uppercase;
  }
  
  .footer-title {
    font-size: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid white;
  }
  
  .footer-p {
    font-size: 14px;
	color: white;
  }
  
  .social-links a {
    color: white;
    padding-right: 20px;
  }
  
  .copy {
    margin-top: 25px;
    padding-top: 25px;
      padding-bottom: 25px;
      border-top: 1px solid white;
    font-size: 11px;
  }
  
  .copy a {
    color: white;
  }


/* Desktop */
@media only screen and (min-width: 992px) {
  /* Inserisci qui le tue regole CSS per desktop */
	
	.menu-btn-5 {display: none;}
	
}

/* Tablet in modalità landscape */
@media only screen and (min-width: 768px) and (max-width: 991px) and (orientation: landscape) {
  /* Inserisci qui le tue regole CSS per tablet in modalità landscape */
	
	
	
}

/* Tablet in modalità portrait */
@media only screen and (min-width: 768px) and (max-width: 991px) and (orientation: portrait) {
  /* Inserisci qui le tue regole CSS per tablet in modalità portrait */
	
	.spettacolo-content {
    display: block;
}
	
.spettacolo-right-column {
    padding-left: 0;
	padding-top: 20px;
}
	
.list-compagnia {
    font-size: 22px;
	line-height: 25px;
}
	
.spettacolo-item h2, .evento-title, .professionals-title {
    font-size: 30px;
}
	
}

/* Smartphone in modalità landscape */
@media only screen and (max-width: 1180px) and (orientation: landscape) {
  /* Inserisci qui le tue regole CSS per smartphone in modalità landscape */
	
	.NavMenu li a {
    display: block;
    padding: 17px 16px;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
    position: relative;
}
	
}

/* Smartphone in modalità portrait */
@media only screen and (max-width: 767px) and (orientation: portrait) {
  /* Inserisci qui le tue regole CSS per smartphone in modalità portrait */
	
	.header {padding-left: 10px; padding-right: 10px;}
	
	.navbar__list-drop-menu li a {
    color: white;
}
	
p {
    font-size: 14px;
	line-height: 20px;
}
	
	
}
