/*-------------------------------- cookie -------------------------------*/
.cookie-bar{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  color: #fff;
  padding: 100px 0;
  text-align: center;
  z-index: 500;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
.accept-cookies{
  background-color: #a22239;
  color: #cecece;
  font-size: 1.1rem;
  font-weight: 500;
  border: none;
  padding: 10px 25px;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 10px;
}
/*-------------------------------- general -------------------------------*/
html,
body{
  background-color: black;
  font-family: "Open Sans", sans-serif;
  font-size: 1.1rem;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  width: 100%;
}
.bold{
  font-weight: bold;
}
.text-color{
  color: #a22239;
}
.title-spacing{
  margin-top: 50px;
}
/* -------------------------------- more ------------------------------*/
.more-button{
  margin: 100px 0 100px 0;
  border-radius: 8px;
  padding: 0.7rem 2.5rem;
  text-decoration: none;
  background-color: #999;
  color: white;
}
.more-button:hover{
  background-color: #a22239;
  color: white;
}
/* --------------------------------------- form --------------------------------------- */
.maschera{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.76);
  justify-content: center;
  align-items: center;
  z-index: 1;
}
.maschera.display{
  display: flex;
}
.form-container{
  position: relative; /* per dare riferimento al bottone di chiusura */
  border-radius: 15px;
  background-color: #24252e;
  padding: 100px 50px 40px 50px;
  margin: 0 10% 0 10%;
  max-width: 800px;
}
.close-btn{
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 0;
  margin: 0;
  cursor: pointer;
  z-index: 2;
}
.close-btn:hover{
  color: rgb(245, 57, 57);
}
.label{
  margin-top: 20px;
}
#send{
  color: #fff;
  background-color: #8b8b8b !important;
  margin-top: 20px;
}
#send:hover{
  background-color: #a22239 !important;
}
.mail-pic{
  width: 200px;
  position: relative;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -20%);
}
/* --------------------------- scroll to top ------------------------------------- */
#scrolled-indicator{
  position: fixed;
  background-color: #999;
  border-radius: 15px;
  right: 3%;
  bottom: 4%;
  margin: 0;
  opacity: 0.7;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  transition: opacity 0.3s;
}
#scrolled-indicator a{
  padding: 10px;
}
#scrolled-indicator:hover{
  opacity: 1;
}
#scrolled-indicator:hover .arrow{
  border: solid #a22239;
  border-width: 0 5px 5px 0;
}
.arrow{
  border: solid #181818;
  border-width: 0 5px 5px 0;
  display: inline-block;
  padding: 5px;
  margin-top: 10px;
}
.up{
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}
/*-------------------------------- layout -------------------------------*/
.header-container{
  margin: 0;
  padding: 0;
  background-color: #181818;
}
.main-container{
  display: flex;
  justify-content: center;
  align-items: center;
}
.content{
  color: #ceccca;
  margin: 0;
}
/*------------------------------- header -------------------------------*/
#logo-container {
  padding: 70px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-nuovo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: rgb(189, 189, 189);
  font-size: 5.5rem;
  font-weight: 700;
}

.inline-elements {
  display: flex;
  white-space: nowrap;
}

.logo-nuovo-testo {
  color: rgb(189, 189, 189);
  font-size: 2.5rem;
  font-weight: 600;
}
.red{
  color: #a22239;
}
.header-logo{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 55px 40px 40px 40px;
  width: 200px;
}
#title{
  font-family: "Open Sans", sans-serif;
  font-size: 5rem;
  color: rgb(189, 189, 189);
  -webkit-text-stroke: 2px #24252e; /* Larghezza e colore del bordo */
  font-weight: 700;
  text-align: center;
  margin-bottom: 400px;
}
.title-logo {
  position: relative; /* Impostare la posizione relativa per contenere lo pseudo-elemento */
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  min-height: 100vh;
  z-index: 1;
}
.title-logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../media/background/techtree2.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  filter: blur(3px);
  z-index: -1;
  }
  .title-logo::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(32, 32, 32, 0.4);
    z-index: -1;
  }
/*--------------------------------- nav ----------------------------------*/
#logo-container{
  background-color: #181818;
}
.logo {
  display: none;
}
.sticky{
  background-color: #181818;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-container.sticky{
  font-size: 1rem;
  height: 75px;
  top: -25px;
  background-color: #181818;
}
.nav-language.sticky{
  font-size: 1rem;
}
.link-pic.sticky{
  width: 20px;
}
.link-pic.youtube.sticky{
  margin-left: 3px;
  border-radius: 0;
}
.nav-container.sticky:hover{
  opacity: 1;
}
.nav-container{
  font-size: 1.15rem;
  background-color: #181818;
  transition: all 0.3s ease; /* transizione per una transizione più fluida */
  display: grid;
  grid-template-columns: 1fr 5fr 1fr;
}
.nav-language{
  font-size: 1.15rem;
  margin: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.nav-language a{
  color: #ceccca;
  font-weight: 500;
  margin: 3px;
  text-decoration: none;
}
.nav-language a:hover{
  color: #a22239;
}
.nav-language a.active{
  font-weight: 700;
  color: #a22239;
}
.nav-social{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin: 20px 0 20px 0;
}
.link-pic{
  padding-top: 5px;
  width: 23px;
  opacity: 0.8;
}
.youtube{
  width: 30px;
  height: 27px;
  border-radius: 40%;
}
.link-pic:hover{
  fill: #a22239;
  opacity: 1;
}
.navbar{
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ceccca;
}
.nav-menu{
  margin: 0;
  padding: 0;
}
.nav-item{
  text-decoration: none;
  display: inline-block;
  margin-right: 10px;
}
.nav-item:last-child{
  margin-right: 0;
}
.nav-item a{
  color: #ceccca;
  text-decoration: none;
}
.nav-item a:hover{
  color: #a22239;
}
.nav-item.active a{
  color: #a22239;
}
.nav-item{
  position: relative;
}
.nav-item:hover .underline{
  width: 100%;
}
/*--------------------------------- content -------------------------------*/
#description,
#next-event,
#festival,
#team,
#contacts{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px 0 150px 0;
}
.sub-title{
  color: #a22239;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  margin: 100px 0 50px 0;
  font-size: 2.5rem;
  text-align: center;
}
.sub-title-description{
  color: #a22239;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  margin: 100px 0 50px 0;
  font-size: 2.5rem;
}
h3{
  text-align: center;
}
.section-text{
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 50%;
  margin: 0 auto;
  text-align: center;
}
/*-------------------------------- chi siamo------------------------------- */
#description{
  background-color: #202020;
}
#description-container{
  display: flex;
  width: auto;
  max-width: 1000px;
  margin: 0 150px 100px 150px;
}
.text{
  padding: 0 150px 0px 0;
}
.description-picbox{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 130px;
}
.description-pic-home{
  object-fit: cover;
  border-radius: 5px;
  max-width: 550%;
  height: auto;
}
/*---------------------------- prossimi eventi -------------------------------*/
#next-event{
  background-color: #24252e;
}
.event-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
/*--------------------------------- festival --------------------------------*/
#festival{
  background-color: #202020;
  display: flex;
  width: auto;
}
.festival-logos{
  margin: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  height: 300px;
}
.festival-pic{
  border-radius: 5px;
  max-width: 20%;
  height: auto;
}
/*----------------------------------- team ----------------------------------*/
#team{
  background-color: #24252e;
}

/*--------------------------------- contatti --------------------------------*/
#contacts{
  background-color: #202020;
}
.contact-social{
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.contact-link{
  text-decoration: none;
}
.contact-pic{
  padding: 0;
  margin: 5px;
  opacity: 0.8;
}
.contact-pic:hover{
  opacity: 1;
  fill: #a22239;
}
.email-button{
  margin: 40px 0 100px 0;
  border-radius: 8px;
  padding: 0.7rem 2.5rem;
  text-decoration: none;
  background-color: #999;
  color: white;
}
.email-button:hover{
  background-color: #a22239;
  color: white;
}
/*---------------------------------- footer ---------------------------------*/
.footer-link{
  text-decoration: none;
}
.link-pic-footer{
  margin-right: 15px;
  width: 23px;
  opacity: 0.8;
}
.footer-container{
  background-color: #181818;
  display: grid;
  grid-template-columns: 1fr 5fr 1fr;
  padding: 20px;
  height: 300px;
}
.footer-right{
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
}
.footer-social{
  display: flex;
  align-items: flex-end;
  font-size: .9rem;
}
.footer-theme{
  fill: #ceccca;
}
.moon{
  width: 20px;
  height: 20px;
  margin-right: 10px;
}
.sun{
  margin-left: 10px;
}
.footer-sidebar,
.footer-content{
  margin-top: 40px;
}
.footer-sidebar{
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.footer-sidebar-right{
  margin-top: 50px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  color: #ceccca;
}
.footer-content{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 1.1rem;
  color: #ceccca;
}
.footer-partner{
  color: #ceccca;
  font-size: .9rem;
}
.footer-partners{
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  margin: 5px;
  text-decoration: none;
  color: #ceccca;
}
.footer-partners:hover{
  color: #a22239;
}
.footer-phone{
  width: 30px;
  height: 27px;
  border-radius: 40%;
}
.link-pic-footer:hover{
  fill: #a22239;
  opacity: 1;
}
/* ------------------------------------------------------------------------ */
/* sub quarry 1080p */
/* ------------------------------------------------------------------------ */
@media (max-width: 1920px){
  .sub-title{
    font-size: 2.5rem;
  }
  .sub-title-description{
    font-size: 2.5rem;
  }
  .text{
    font-size: 1.1rem;
  }
  .section-text{
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 50%;
    margin: 0 auto;
    text-align: center;
  }
}
/* ------------------------------------------------------------------------ */
/* sub quarry tablet portrait */
/* ------------------------------------------------------------------------ */
@media (max-width: 1024px) and (orientation: portrait){
  #description,
  #next-event,
  #festival,
  #team,
  #contacts{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 0 50px 0;
  }
  .sub-title{
    font-weight: 600;
    margin: 50px auto 30px auto;
    color: #ceccca;
    font-size: 2.3rem;
    text-align: center;
  }
  .sub-title-description{
    font-weight: 600;
    font-size: 2.3rem;
    color: #ceccca;
    margin: 50px auto 30px auto;
  }
  .text{
    font-size: 1rem;
  }
  .section-text{
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 60%;
    margin: 0 auto;
    text-align: center;
  }
  /*--------------------------------- more btn -------------------------------*/
  .more-button{
    background-color: #a22239;
    font-size: 1.2rem;
    margin: 50px auto 60px auto;
  }
  /* --------------------------- scroll to top ------------------------------------- */
  #scrolled-indicator{
    right: 2%;
    bottom: 5%;
    opacity: 1;
    width: 45px;
    height: 45px;
    opacity: 0.8;
    z-index: 300;
  }
  #scrolled-indicator a{
    padding: 20px;
  }
  .arrow{
    border: solid #a22239;
    border-width: 0 5px 5px 0;
  }
  /*--------------------------------- header -------------------------------*/
  .header-logo{
    margin: 25px 0;
    width: 120px;
  }
  .title-logo{
    display: none;
  }
  /*--------------------------------- nav -------------------------------*/
  .nav-container{
    background-color: #181818;
  }
  .nav-social{
    display: none;
  }
  .nav-language{
    margin: 0;
    font-size: 0;
  }
  .nav-language.active{
    z-index: 150;
    position: fixed;
    left: 10px;
    top: 10px;
    margin: 20px 12px;
    font-size: 1.5rem;
  }
  /*--------------------------------- hamburger -------------------------------*/
  .logo{
    margin: 15px auto 30px auto;
    display: block;
    width: 180px;
  }
  .logo-nuovo-hamburger{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: rgb(189, 189, 189);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: -10px;
  }
  .logo-nuovo-testo-hamburger{
    color: rgb(189, 189, 189);
    font-size: 2rem;
    font-weight: 600;
  }
  .hamburger{
    z-index: 150;
    position: fixed;
    right: 20px;
    top: 5px;
    display: none;
    margin: 15px 0px;
    background-color: #33333391;
    border-radius: 10px;
    padding: 0 10px;
  }
  .bar{
    display: block;
    width: 50px;
    height: 5px;
    margin: 10px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #a22239;
  }
  .navbar{
    font-size: 1.5rem;
    font-weight: 500;
  }
  .nav-menu{
    position: fixed;
    z-index: 100;
    left: 0;
    top: -160%;
    flex-direction: row;
    background-color: #181818;
    width: 100%;
    border-radius: 0 0 10px 10px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
  }
  .nav-menu.active{
    top: 0px;
  }
  .nav-menu:first-child{
    margin-top: -10px;
  }
  .nav-item{
    margin: 25px 0;
    font-size: 1.2rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  .hamburger{
    display: block;
    cursor: pointer;
  }
  .hamburger.active{
    background-color: rgba(0, 0, 0, 0);
  }
  .hamburger.active .bar:nth-child(2){
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1){
    transform: translateY(15px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3){
    transform: translateY(-15px) rotate(-45deg);
  }
  .navbar.menu-open{
    min-height: 0px;
  }
  /*--------------------------------- descrizione -------------------------------*/
  #description-container{
    display: flex;
    flex-direction: column;
    width: auto;
    text-align: center;
    max-width: 85%;
    margin: 0;
  }
  .text{
    padding: 0;
    margin: 0;
  }
  .description-picbox{
    display: none;
  }
  .description-pic-home{
    object-fit: cover;
    border-radius: 5px;
    aspect-ratio: 16/9;
    max-width: 100%;
    height: auto;
  }
  /*--------------------------------- festival --------------------------------*/
  .festival-logos{
    display: flex;
    margin: 0px 50px;
  }
  .festival-pic{
    border-radius: 5px;
    max-width: 25%;
    height: auto;
  }
  /*--------------------------------- team --------------------------------*/
  #team>.section-text{
    margin: 0 0 10px 0;
  }
  /*--------------------------------- contact --------------------------------*/
  .contact-text{
    text-align: center;
    min-width: 200px;
    max-width: 900px;
  }
  .contact-social{
    margin: -10px 0 20px 0;
  }
  .contact-link{
    text-decoration: none;
  }
  .contact-pic{
    padding: 0;
    margin: 5px;
    opacity: 1;
  }
  .contact-pic:hover{
    fill: #a22239;
  }
  .email-button{
    font-size: 1.2rem;
    margin: 50px auto 70px auto;
    background-color: #a22239;
  }
  /*---------------------------------- footer ---------------------------------*/
  .link-pic-footer{
    width: 28px;
    opacity: 1;
  }
  .footer-container{
    background-color: #181818;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 500px;
  }
  .footer-partner{
    text-align: center;
    margin: 50px 0 0 0;
  }
  .footer-sidebar,
  .footer-content{
    margin-top: 15px;
  }
  .footer-sidebar-right{
    margin: 20px 0 80px 0;
  }
  .footer-theme{
    width: 30px;
    height: 30px;
    border-radius: 40%;
  }
  .moon{
    width: 20px;
    height: 20px;
    margin-right: 15px;
  }
  .sun{
    margin-left: 15px;
  }
  .footer-sidebar{
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .footer-social{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin: 20px 0;
  }
  .footer-content{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    color: #ceccca;
  }
  .footer-phone{
    width: 35px;
    height: 35px;
    border-radius: 40%;
  }
}
/* ------------------------------------------------------------------------ */
/* sub quarry smartphone landscape */
/* ------------------------------------------------------------------------ */
@media (max-width: 920px) and (orientation: landscape){
  #description,
  #next-event,
  #festival,
  #team,
  #contacts{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 0 50px 0;
  }
  .sub-title{
    font-weight: 600;
    margin: 50px auto 30px auto;
    color: #ceccca;
    font-size: 2.3rem;
    text-align: center;
  }
  .sub-title-description{
    font-weight: 600;
    font-size: 2.3rem;
    color: #ceccca;
    margin: 50px auto 30px auto;
  }
  .text{
    font-size: 1rem;
  }
  .section-text{
    max-width: 60%;
    margin: 20px auto 20px auto;
    font-size: 1rem;
  }
  /*--------------------------------- more btn -------------------------------*/
  .more-button{
    background-color: #a22239;
    font-size: 1.2rem;
    margin: 30px auto 50px auto;
  }
  /* --------------------------- scroll to top ------------------------------------- */
  #scrolled-indicator{
    right: 2%;
    bottom: 5%;
    opacity: 1;
    width: 45px;
    height: 45px;
    opacity: 0.8;
    z-index: 300;
  }
  #scrolled-indicator a{
    padding: 20px;
  }
  .arrow{
    border: solid #a22239;
    border-width: 0 5px 5px 0;
  }
  /*--------------------------------- header -------------------------------*/
  .header-logo{
    margin: 25px 0;
    width: 100px;
  }
  .title-logo{
    display: none;
  }
  /*--------------------------------- nav -------------------------------*/
  .logo-nuovo-testo-hamburger{
    display: block;
    margin-left: -10px;
  }
  .nav-container{
    background-color: #181818;
  }
  .nav-social{
    display: none;
  }
  .nav-language{
    margin: 0;
    font-size: 0;
  }
  .nav-language.active{
    z-index: 150;
    position: fixed;
    left: 10px;
    top: 10px;
    margin: 20px 12px;
    font-size: 1.5rem;
  }
  ul.nav-menu{
    padding: 15px 0;
  }
  li.nav-item{
    margin: 10px;
  }
  /*--------------------------------- hamburger -------------------------------*/
  .logo{
    display: none;
  }
  .hamburger{
    z-index: 150;
    position: fixed;
    right: 20px;
    top: 5px;
    display: none;
    margin: 15px 0px;
    background-color: #333333e0;
    border-radius: 10px;
    padding: 0 10px;
  }
  .bar{
    display: block;
    width: 55px;
    height: 5px;
    margin: 10px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #a22239;
  }
  .navbar{
    font-size: 1.5rem;
    font-weight: 500;
  }
  .nav-menu{
    position: fixed;
    z-index: 100;
    left: 0;
    top: -160%;
    flex-direction: row;
    background-color: #181818;
    width: 100%;
    border-radius: 0 0 10px 10px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
  }
  .nav-menu.active{
    top: 0px;
  }
  .nav-menu:first-child{
    margin-top: -10px;
  }
  .nav-item{
    margin: 25px 0;
    font-size: 1.2rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  .hamburger{
    display: block;
    cursor: pointer;
  }
  .hamburger.active{
    background-color: rgba(0, 0, 0, 0);
  }
  .hamburger.active .bar:nth-child(2){
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1){
    transform: translateY(15px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3){
    transform: translateY(-15px) rotate(-45deg);
  }
  .navbar.menu-open{
    min-height: 0px;
  }
  /*--------------------------------- descrizione -------------------------------*/
  #description-container{
    display: flex;
    flex-direction: column;
    width: auto;
    text-align: center;
    max-width: 85%;
    margin: 0;
  }
  .text{
    padding: 0;
    margin: 0;
  }
  .description-picbox{
    display: none;
  }
  .description-pic-home{
    object-fit: cover;
    border-radius: 5px;
    aspect-ratio: 16/9;
    max-width: 100%;
    height: auto;
  }
  /*--------------------------------- festival --------------------------------*/
  .festival-logos{
    margin: 0;
    display: flex;
    margin: 0px 20px 20px 20px;
  }
  .festival-pic{
    border-radius: 5px;
    max-width: 20%;
    height: auto;
  }
  /*--------------------------------- team --------------------------------*/
  #team>.section-text{
    margin: 0 0 20px 0;
  }
  /*--------------------------------- contact --------------------------------*/
  .contact-text{
    text-align: center;
    min-width: 200px;
    max-width: 900px;
  }
  .contact-social{
    margin: -10px 0 20px 0;
  }
  .contact-link{
    text-decoration: none;
  }
  .contact-pic{
    padding: 0;
    margin: 5px;
    opacity: 1;
  }
  .contact-pic:hover{
    fill: #a22239;
  }
  .email-button{
    font-size: 1.2rem;
    margin: 30px auto 60px auto;
    background-color: #a22239;
  }
  /*---------------------------------- footer ---------------------------------*/
  .link-pic-footer{
    width: 28px;
    opacity: 1;
  }
  .footer-container{
    background-color: #181818;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 500px;
  }
  .footer-sidebar,
  .footer-content{
    margin-top: 15px;
  }
  .footer-partner{
    text-align: center;
    font-size: 1rem;
  }
  .footer-partners{
    text-align: center;
    font-size: 1rem;
    margin: 15px;
  }
  .footer-sidebar-right{
    margin: 30px 0 30px 0;
  }
  .footer-theme{
    width: 30px;
    height: 30px;
    border-radius: 40%;
  }.moon{
    width: 20px;
    height: 20px;
    margin-right: 15px;
  }
  .sun{
    margin-left: 15px;
  }
  .footer-sidebar{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
  }
  .footer-social{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 15px;
    margin-top: 15px;
  }
  .footer-content{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    color: #ceccca;
    margin-top: 0;
  }
  .footer-phone{
    width: 35px;
    height: 35px;
    border-radius: 40%;
  }
}
/* ------------------------------------------------------------------------ */
/* sub quarry smartphone portrait */
/* ------------------------------------------------------------------------ */
@media (max-width: 420px) and (orientation: portrait){
  #description,
  #next-event,
  #festival,
  #team,
  #contacts{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 0 50px 0;
  }
  .sub-title{
    font-weight: 500;
    margin: 50px auto 30px auto;
    color: #ceccca;
    font-size: 2rem;
    text-align: center;
  }
  .sub-title-description{
    font-weight: 500;
    color: #ceccca;
    margin: 50px auto 30px auto;
    font-size: 2rem;
  }
  .text{
    font-size: 1rem;
  }
  .section-text{
    max-width: 80%;
    font-size: 1rem;
  }
  /*--------------------------------- more btn ------------------------------*/
  .more-button{
    background-color: #a22239;
    font-size: 1.2rem;
    margin: 40px auto 50px auto;
  }
  /* --------------------------- scroll to top ----------------------------- */
  #scrolled-indicator{
    right: 2%;
    bottom: 5%;
    opacity: 1;
    width: 45px;
    height: 45px;
    opacity: 0.8;
    z-index: 300;
  }
  #scrolled-indicator a{
    padding: 20px;
  }
  .arrow{
    border: solid #a22239;
    border-width: 0 5px 5px 0;
  }
  /*--------------------------------- header -------------------------------*/
  .header-logo{
    margin: 25px 0 15px 0;
    width: 120px;
  }
  .title-logo{
    display: none;
  }
  /*--------------------------------- nav -------------------------------*/
  .logo-nuovo-testo-hamburger{
    margin-left: -32px;
  }
  .nav-container{
    background-color: #181818;
  }
  li.nav-item{
    margin: 30px 0;
  }
  .nav-social{
    display: none;
  }
  .nav-language{
    margin: 0;
    font-size: 0;
  }
  .nav-language.active{
    z-index: 150;
    position: fixed;
    left: 5px;
    top: 5px;
    margin: 20px 12px;
    font-size: 1.2rem;
    margin-right: 5px;
  }
  /*--------------------------------- hamburger -------------------------------*/
  .logo{
    margin: 25px auto;
    display: block;
    width: 120px;
  }
  .hamburger{
    z-index: 150;
    position: fixed;
    right: 10px;
    top: 1px;
    display: none;
    margin: 15px 0px;
    background-color: #33333391;
    border-radius: 10px;
    padding: 0 10px;
  }
  .bar{
    display: block;
    width: 45px;
    height: 4px;
    margin: 10px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #a22239;
  }
  .navbar{
    font-size: 1.3rem;
    font-weight: 500;
  }
  .nav-menu{
    position: fixed;
    z-index: 100;
    left: 0;
    top: -100%;
    flex-direction: row;
    background-color: #181818;
    width: 100%;
    border-radius: 0 0 10px 10px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
  }
  .nav-menu.active{
    top: 0px;
  }
  .nav-item{
    margin: 2rem 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  .hamburger{
    display: block;
    cursor: pointer;
  }
  .hamburger.active{
    background-color: rgba(0, 0, 0, 0);
  }
  .hamburger.active .bar:nth-child(2){
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1){
    transform: translateY(15px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3){
    transform: translateY(-15px) rotate(-45deg);
  }
  .navbar.menu-open{
    min-height: 0px;
  }
  /*--------------------------------- descrizione -------------------------------*/
  #description-container{
    display: flex;
    flex-direction: column;
    width: auto;
    text-align: center;
    max-width: 80%;
    margin: 0;
  }
  .text{
    padding: 0;
    margin: 0;
  }
  .description-picbox{
    display: none;
  }
  /*--------------------------------- Conoscenze --------------------------------*/

  /*--------------------------------- team --------------------------------*/
  .card{
    opacity: 1;
  }
  .card:hover{
    transform: none;
  }
  .slide-container{
    margin-bottom: 70px;
    padding: 0;
  }
  .slide-content{
    padding: 40px 0;
  }
  .name{
    color: #181818;
    font-weight: 700;
    font-size: 1.4rem;
  }
  .ruolo{
    font-size: 1.3rem;
  }
  .button{
    background-color: #a22239;
    font-size: 1.2rem;
    color: #fff;
    padding: 15px 35px;
  }
  .card-image{
    height: 220px;
    width: 220px;
    background: #a22239;
  }
  /*--------------------------------- contact --------------------------------*/
  .contact-text{
    text-align: center;
    min-width: 200px;
    max-width: 900px;
  }
  .contact-social{
    margin: 0px 0 20px 0;
    gap: 15px;
  }
  .contact-link{
    text-decoration: none;
  }
  .contact-pic{
    padding: 0;
    margin: 5px;
    opacity: 1;
  }
  .contact-pic:hover{
    fill: #a22239;
  }
  .email-button{
    font-size: 1.2rem;
    margin: 50px auto 50px auto;
    background-color: #a22239;
  }
  /*---------------------------------- footer ---------------------------------*/
  .link-pic-footer{
    width: 28px;
    opacity: 1;
  }
  .footer-container{
    background-color: #181818;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 500px;
  }
  .footer-sidebar,
  .footer-content{
    margin-top: 15px;
  }
  .footer-theme{
    width: 25px;
    height: 25px;
    border-radius: 40%;
  }
  .moon{
    width: 20px;
    height: 20px;
    margin-right: 15px;
  }
  .sun{
    margin-left: 15px;
  }
  .footer-sidebar{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
  }
  .footer-social{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  .footer-content{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    color: #ceccca;
  }
  .footer-phone{
    width: 35px;
    height: 35px;
    border-radius: 40%;
  }
}
/* ------------------------------------------------------------------------ */
/* light/dark theme  */
/* ------------------------------------------------------------------------ */
body{
  transition: background-color 0.5s, color 0.5s; /* transizioni per cambio colore fluido */
}
.footer-theme{
  width: 25px;
  height: 25px;
  border-radius: 40%;
}
.toggle-switch{
  flex-direction: row;
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}
.toggle-switch input{
  display: none;
}
.slider{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #a22239;
  border-radius: 34px;
  transition: 0.4s;
}
.slider:before{
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}
input:checked + .slider{
  background-color: #f3d421;
}
input:checked + .slider:before{
  transform: translateX(26px);
}
/*-------------------------------- light color -------------------------------*/
/*? ----------- header -------------- */
.light-theme{
  background-color: white;
  color: black;
}
.header-light{
  background-color: rgb(0, 52, 89) !important;
}
.hamburger-light{
  background-color: #c0d5df28 !important;
}
.bar-light{
  background-color: #2a82a8 !important;
}
/*? ----------- button -------------- */
.btn{
  background-color: #146C94 !important;
}
.bullet-light{
  background-color: #146C94 !important;
}
.active-light{
  color: #6cc0e4 !important;
}
.hover-effect-light{
  color: #6cc0e4 !important;
}
/*? ----------- link -------------- */
/*? ----------- text -------------- */
.sub-title-description-light{
  color: #146C94 !important;
}
.team-name-light{
  color: #146C94 !important;
}
.team-text-light{
  color: #24252e !important;
}
/*? ----------- section -------------- */
.section1-light{
  background-color: #F6F1F1 !important;
  color: #8b8b8b !important;
}
.section2-light{
  background-color: #c2d5dd !important;
  color: #24252e !important;
}
.text-light{
  color: #24252e !important;
}
/*? ----------- footer -------------- */
.footer-light{
  background-color: rgb(0, 52, 89) !important;
}
.contact-link-light{
  fill: #146b94d5 !important;
}
/* #19A7CE */
/* rgb(0, 52, 89)  */