* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



#header {
    position: fixed;
    top: 0px;
    width: 100%;
    left: 0px;
    background-color: darkgreen;
    z-index: 100;
    height: 100px;
}

h1 {
    font-family: '';
    color: white;
    text-align: center;
}

#centrale {
    margin-top: 10%;
}

#nav {
    position: relative;
    text-align: center;
}

#header img {
    width: 210px;  /* Imposta la larghezza a 300px */
    height: auto;
    position: absolute;
      /* Calcola l'altezza in modo proporzionale */
}

#header p {
    color: white;
    text-decoration: underline;
    text-align: right;
}

.lingua {
    text-align: right;
}

#header button {
    background-color:red;
    margin: 25px;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
}

#header button {
    background-color: #fd7004;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    padding: 15px 20px;  /* Rimpicciolisce lo spazio interno (top/bottom e left/right) */
    font-size: 16px;     /* Riduce la dimensione del testo */
    border-radius: 4px;  /* Puoi mantenere angoli arrotondati se lo desideri */
    width: auto;         /* Imposta la larghezza in modo che si adatti al contenuto */
    height: auto;        /* Imposta l'altezza in modo che si adatti al contenuto */
    cursor: pointer;    /* Cambia il cursore quando ci passi sopra */
}

#dona button {
    background-color: red;
}

#language button {
    background-color: transparent;
}

#navbar {
    text-align: center;
    display: flex;
    justify-content: flex-end; /* Distribuisce lo spazio in modo uguale tra i bottoni */
    width: 100%;
}

#header li {
    display: inline;
}

#wrapper img {
    width: 300px;
    clip-path: circle(50%);
    cursor: pointer;
}

#centrale p {
    text-align: center;
}

#wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* Crea 3 colonne di dimensioni uguali */
    gap: 10px;  /* Spaziatura tra le immagini */
}

#wrapper {
    width: 100%;  /* Le immagini riempiono completamente le celle del grid */
    object-fit: cover;
}

#aside {
    float: left;
    width: 20%;
}

#wrapper {
    text-align: center;
    margin-top: 5%;
    background-color: white;
}

#wrapper figure {
    margin: 20px;
    display: inline-block;
}

#wrapper button {
    border: none;
    background-color:white;
    border-radius: 35%;
}

#footer {
    top: 0px;
    width: 100%;
    left: 0px;
    right: 0px;
    background-color: darkgreen;
    color: white;
    height: 100px;
}

.btn {
    background-color: orangered;
    color: white;
    padding: 13px 20px;
    font-size: 13px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
}
.btn:hover {
    background-color: orangered;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
.allineare {
    display: flex;
    justify-content: center;  
    align-items: center;                  
    width: 100%;              
}
.speciale-btn {
    background-color:red;
    color: white;
    padding: 13px 20px;
    font-size: 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
}
.speciale-btn:hover {
    background-color: red;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

#Progetti_titolo {
    font-size:50px;
}

#FooterSocial {
    text-align: center;
}

#LoghiSocial{
    left:38%;
    position: absolute;
    border: 1px solid black;
    background-color:white;
}

#LoghiSocial img{
    width: 50px;
    height: 50px;
}

#copyright {
    position: relative;
    top: 45px;
}

#logo_isp {
    width: 20%;
    height: 20%;
}

/* Contenitore della barra di navigazione che usa Flexbox */
.navbar {
    display: flex; /* Dispone i menu orizzontalmente */
    justify-content: flex-start; /* Allinea i menu a sinistra */
    gap: 10px; /* Spazio tra i menu */
    padding: 10px;
}

/* Stili di base per i bottoni */
.btn {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    position: relative;
}

/* Stile per ogni menu a tendina */
.menu {
    position: absolute;
    top: 0px;
    left: 300px;
}

#menu1 {
    position: absolute;
    top: 0px;
    left: 200px;
}

/* Menu a tendina nascosto di default */
.dropdown-content {
    display: none;
    position: absolute;
    top: 70%; /* Posiziona il menu direttamente sotto il bottone */
    left: 0;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Menu a tendina, nascosto di default */
.dropdown-content {
    display: none;  /* Nascosto finché non viene cliccato il bottone */
    position: absolute;
    top: 100%; /* Posiziona il menu immediatamente sotto il bottone */
    left: 0;
    background-color: white;  /* Sfondo bianco per il menu */
    min-width: 100%; /* Larghezza uguale al bottone */
    border: 1px solid #ddd;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2); /* Ombra per dare effetto di profondità */
    z-index: 0;
    margin-top: 0; /* Assicurati che non ci sia spazio tra il bottone e il menu */
}

/* Voci del menu */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Cambia colore quando si passa sopra */
.dropdown-content a:hover {
    background-color: #ddd;
}

/* Mostra il menu quando il bottone è cliccato */
.menu.active .dropdown-content {
    display: block;
}

/* Stile per il bottone speciale (se necessario) */
.speciale-btn {
    background-color: #FF5733;
}

.speciale-btn:hover {
    background-color: #C1351D;
}

#footer {
    width: 100%;
    background-color: darkgreen;
    color: white;
    height: 200px;
    margin: 0;
    padding: 0;
}
 
.testo-footer {
    display: flex;
    top: 10px;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
    background-color: darkgreen;
    color: white;
}
 
.logo {
    position: absolute;
    left: 20px; /* distanza dal bordo sinistro */
    display: flex;
    align-items: center;
}
 
.footer-logo {
    width: 80px;
    height: auto;
}
 
.footer-center {
    text-align: center;
}
 
.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
 
.footer-title {
    font-size: 19px;
    margin-right: 15px;
}
 
.social-icons {
    display: flex;
    gap: 15px;
}
 
.social-icons a {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: white;
    font-size: 19px;
    transition: color 0.3s ease;
}
 
.social-icons a:hover {
    color: #ddd;
}
 
.social-icons img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}
 
.social-icons img:hover {
    transform: scale(1.1);
}
 
#contatti {
    font-size: 20px;
    text-align: center;
}
 
#contatti p {
    margin: 5px 0;
}
 
#copyright {
    position: absolute;
    left: 20px;;
}

#wrapper figcaption {
    font-size: 18pt;
}
#titolo {
    font-size: 24px;
    margin-bottom: 20px;
}

.slider {
    width: 1000px;
    margin: 50px auto;
    text-align: center;
}

.slider-container {
    position: relative;
    width: 1000px;
    height: 600px;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-track img{
    clip-path: none !important;
}

.slide {
    flex: 0 0 1000px;
    height: 600px;
    object-fit: cover;
}
  
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent !important;
    color: white;
    font-size: 3em;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1;
}
  
.prev { left: 15px; }
.next { right: 15px; }
  
.dots {
    text-align: center;
    margin-top: 15px;
}

.dot {
    display: inline-block;
  width: 30px;            /* più largo */
  height: 6px;            /* più basso */
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 2px;     /* smussato ai bordi, opzionale */
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
    background-color: #717171;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#header {
    position: fixed;
    top: 0px;
    width: 100%;
    height: 10%;
    left: 0px;
    background-color: darkgreen;
    z-index: 1000;
}

h1  {
    font-family: 'Arial';
    color: white;
    text-align: center;
}

#centrale {
    margin-top: 20%;
}

#nav {
    position: relative;
    text-align: center;
}

#header p {
    color: white;
    text-decoration: underline;
    text-align: right;
}

.lingua {
    text-align: right;
}

#header button {
    background-color:red;
    margin: 25px;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
}
#header button {
    background-color: red;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}


#header li {
    display: inline;
}
#wrapper img {
    width: 200px;
    clip-path: circle(50%);
}

#aside {
    float: left;
    width: 20%;
}

#wrapper {
    text-align: center;
    margin-top: 5%;

    background-color: white;
}

#wrapper figure {
    margin: 20px;
    display: inline-block;
}

#wrapper button {
    border: none;
    background-color:white;
    border-radius: 35%;
}

#titolo {
    font-size: 24px;
    margin-bottom: 20px;
}

.slider {
    width: 1000px;
    margin: 50px auto;
    text-align: center;
}

.slider-container {
    position: relative;
    width: 1000px;
    height: 600px;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-track img{
    clip-path: none !important;
}

.slide {
    flex: 0 0 1000px;
    height: 600px;
    object-fit: cover;
}
  
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent !important;
    color: white;
    font-size: 3em;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1;
}
  
.prev { left: 15px; }
.next { right: 15px; }
  
.dots {
    text-align: center;
    margin-top: 15px;
}

.dot {
    display: inline-block;
  width: 30px;            /* più largo */
  height: 6px;            /* più basso */
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 2px;     /* smussato ai bordi, opzionale */
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
    background-color: #717171;
}


#footer {
    width: 100%;
    background-color: darkgreen;
    color: white;
    height: 200px;
    margin: 0;
    padding: 0;
}

.testo-footer {
    display: flex;
    top: 10px;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
    background-color: darkgreen;
    color: white;
}
  
.logo {
    position: absolute;
    left: 20px; /* distanza dal bordo sinistro */
    display: flex; 
    align-items: center;
}
  
.footer-logo {
    width: 80px;
    height: auto;
}
  
.footer-center {
    text-align: center;
}
  
.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
  
.footer-title {
    font-size: 19px;
    margin-right: 15px; 
}
  
.social-icons {
    display: flex;
    gap: 15px;
}
  
.social-icons a {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: white;
    font-size: 19px;
    transition: color 0.3s ease;
}
  
.social-icons a:hover {
    color: #ddd;
}
  
.social-icons img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}
  
.social-icons img:hover {
    transform: scale(1.1);
}

#contatti {
    font-size: 20px;
    text-align: center;
}

#contatti p {
    margin: 5px 0;
}

#copyright {
    position: absolute;
    left: 20px;;
}
