/* Impedire lo scorrimento laterale sul contenitore principale */
#contenuto-principale {
    width: 100vw;  /* Imposta la larghezza del contenuto uguale alla larghezza del viewport */
    /*height: 100vh; /* Imposta l'altezza del contenuto uguale all'altezza del viewport */
    overflow: hidden; /* Nasconde qualsiasi overflow che esca fuori dal contenitore */
  }
  
  
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
  }
  
  canvas,
  img,
  picture,
  svg,
  video {
    display: block;
    max-width: 100%;
  }
  
  button,
  input,
  select,
  textarea {
    font: inherit;
  }
  
  h1 {
    font-family: KodeMono;
    text-transform: uppercase;
  }
  
  h2,
  h3,
  h4,
  h5,
  h6,
  p {
    overflow-wrap: break-word;
  }
  
  /* Fonts */
  @font-face {
    font-family: AcidGrotesk;
    src: url(font/Acid_Grotesk/acid-grotesk-regular.otf);
    font-weight: regular;
  }
  
  @font-face {
    font-family: AcidGrotesk;
    src: url(font/Acid_Grotesk/acid-grotesk-normal.otf);
    font-weight: normal;
  }
  
  @font-face {
    font-family: AcidGrotesk;
    src: url(font/Acid_Grotesk/AcidGrotesk-Bold.otf);
    font-weight: bold;
  }
  
  @font-face {
    font-family: KodeMono;
    src: url(font/Kode_Mono/KodeMono-VariableFont_wght.ttf);
    font-weight: normal;
  }
  
  
  html {
    overflow-x: hidden;
    overflow-y: scroll;
    font-size: 16px;
  }
  
  body {
    font-family: 'AcidGrotesk', sans-serif;
    background-color: black;
    color: white;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
  }
  
  .video-background {
    position: fixed;
    object-fit: cover;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: -999;
  }
  
  #container {
    height: 500vh;
    z-index: -999;
  }
  
  .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    z-index: 999;
    color: #E4007C;
    
  }
  
  .navbar-brand {
    color: #E4007C;
    font-family: KodeMono;
    font-weight: bold;
    font-size: bold;
    font-size: 2rem;
  }
  
  /* Rimuove il bordo del pulsante */
  #menuDropdown {
    border: none;
    background: transparent;
    color: #E4007C;
    padding: 8px;
    font-size: 2rem;
  }
  
  #menuDropdown:hover {
    background: transparent;
  }
  
  
  .dropdown-menu {
    background-color: transparent;
    border: none;
    font-family: AcidGrotesk;
  }
  
  .dropdown-item {
    color: #E4007C;
  }
  
  .dropdown-item:hover {
    background-color: transparent;
  }
  
  
  .dropdown-item {
    color: #E4007C; 
  }
  
  .dropdown-item:hover {
    background-color: transparent;
  }
  
  
  #contenuto-principale {
    position: relative;
  overflow: auto;
  }
  
  
  .titolo {
    text-align: center;
    padding-top: 20vh;
    padding-bottom: 5vh;
  }
  
  .titolo h1 {
    font-size: 5rem;
    font-family: KodeMono;
    width: 100vw;
  }
  
  .tema {
    display: flex; 
    flex-direction: column;                 
    justify-content: space-between; 
  align-items: flex-start;
    height: auto;                 
    margin-top: 35vh;
    padding: 0px 40px;;
    font-size: 1rem;
  }
  
  
  .tema h1 {
    width: auto;
  }
  
  .testo2 {
    width: auto;
  }
  
  .video {
      margin: 20vh auto;
      padding-top: 5vw;
      width: 80vw;
  }
  
  .infografica1 {
    margin-top: 15vh;
    padding: 0px 40px;
    display: flex;
    align-items: center;
    display: flex;
    align-items: center; 
    color: white;
    font-size: 20px;
    white-space: nowrap;
  }
  
  .infografica1 h1 {
    color: white;
    font-size: 2rem;
    border-radius: 0;
    display: inline-block;
    white-space: nowrap;
    width: 50vw;
  }
  
  img[alt="Infografica 1"] {
    display: block;
    margin: 20px auto; 
    padding-top: 20px;
    max-width: 80vw;
    height: auto;
  }
  
  img[alt="Infografica 2"] {
    display: block;
    margin: 20px auto; 
    padding-top: 20px;
    max-width: 80vw;
    height: auto;
  }
  
  carousel-inner {
   padding-top: 50vh;
  }

  .text-2xl font-bold {
    font-family: KodeMono;
  }

.carousel-indicators li {
  list-style-type: none;  /* Rimuove qualsiasi punto o numero */
}

/* Impostazioni per il carosello per renderlo più stretto e responsivo */
#carouselExampleIndicators {
  width: 50%; /* Il carosello occupa l'80% della larghezza del viewport */
  height: auto;
  margin: 0 auto; /* Centrato orizzontalmente */
}
  
  .tema-header {
    display: flex;
    align-items: center;
  }
  
  .tema-header img {
    margin-right: 10px;
    width: 24px;
    height: auto;
  }
  
  #content-container {
    width: 100%;
    max-width: 100vw;
    /*background-color: #1b1b1b;*/
    
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px auto;
    padding-top: 20vh;
  }
  
  #content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 40px;
  }
  
  #content > div {
    flex: 2;
  }
  
  #content img {
    flex: 1;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
  }
  
  /* Buttons and layout adjustments */
  .fixed-btn {
    
    margin-top: 20vh;
    background-color: #E4007C;
    border: none;
  }
  
  #text {
    width: 80vw;
  }
  
  .photo-gallery {
    padding-top: 10vh;
    padding-bottom: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  
  /* Rimuove numeri o simboli accanto agli indicatori */
  .carousel-indicators li {
    list-style-type: none;  /* Rimuove qualsiasi punto o numero */
  }
  
  /* Impostazioni per il carosello per renderlo più stretto e responsivo */
  #carouselExampleIndicators {
    width: 80%; 
    height: auto;
    margin: 0 auto;
  }
  
  .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
  }
  

  .photo-gallery {
    padding: 5vh ;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  
  .photo {
    width: 150px;
    height: 150px;
    background-color: #ccc;
    border-radius: 10%;
   
  }
  
  .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
  }

  .footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-around;
    background-color: #E4007C;
    padding: 10vw;
  }

  .footer p{
    display: flex;
    flex-direction: column;

  }

  .logo-isia{
    height: 5em;
    width: auto;
  }

  .fixed-btn {
    left: 50%;
    margin-top: 10vh;
    background-color: #E4007C;
    border: none;
    max-width: 30vw;
}
  
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { }

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { }

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    /* Inserire qui le variazioni per desktop (a salire), quando la larghezza dello schermo raggiunge 992px */
   
    .container-fluid {
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      justify-content: space-between;
      max-width: 80vw;
      }

    .titolo h1 {
      font-size: 10rem;
    }

.tema {
  display: flex; 
  flex-direction: row;                 
}

.testo2 {
  width: 40vw;
}

.photo-gallery {
  padding: 20vh ;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.footer {
  display: flex;
  flex-direction: row;
  align-items: space-around;
  max-height: 200px;
}
 
#content-container {
  width: 100%;
  max-width: 80vw;
  padding: 100px;
  display: flex;
  /* flex-direction: row; */
  justify-content: flex-start;
  align-items: center;
  margin: 40px auto;
}


#content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-around;
  width: 80vw;
  gap: 40px;
}

#text {
  width: 40vw;
}
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { }

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) { }