* {
	margin: 0;
	padding: 0;
}
body {
	background-color: #228b2200;
}

#header {
	top: 0px; 
	left: 0px; 
	height: 110px;
    position: fixed;
	width: 100%;
	background-color: white;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}
/* Main image */
.header-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps aspect ratio while filling the container */
}
 
/* Transparent overlay */
.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Prevents interaction blocking */
}
 
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.0);
    color: rgb(0, 0, 0);
    border: none;
    padding: 0.5%;
    cursor: pointer;
    font-size: 300%;
}
.left {
    left: 0;
}
.right {
    right: 0;
}
 
 
/* Top bar for logo & menu */
.top-bar {
    position: absolute;
    top: 20%;
    left: 30%;
    right: 30%;
    display: flex;
    justify-content: space-between; /* Space between logo & menu */
    align-items: center;
    z-index: 100;
}
 
#dona {
    display: inline-block;
    border-radius: 10px;
    padding: 10px 20px;
    color:white;
    background-color: rgb(203, 3, 3);
}
 
/* Logo */
.logo{
    display: flex;
    align-items: left;
}
 
.logo img {
    height: 30%;
    width: 30%;
    margin-top: 1%;
    margin-left: 1%;
    margin-bottom: 1%;
}
 
/* Navigation menu */
.menu {
    position: absolute;
    top: 30%;
    right: 1%;
    display: flex;
    gap: 18px;
}
 
.menu a {
    display: flex;
    color: rgb(5, 5, 5);
    text-decoration: none;
    font-size: 18px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    transition: color 0.3s; /* Smooth hover effect */
    justify-content: center;
    align-items: center;
    padding: 10px 5px;
}
 
 
.menu a:hover {
    color: lightgray; /* Change color on hover */
}
 
/* Dropdown menu */
.dropdown {
    position: relative;
}
 
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgb(231, 230, 230);
    padding: 10px 0;
    border-radius: 5px;
    min-width: 150px;
    z-index: 999;
 
}
 
.dropdown-menu a {
    display: block;
    padding: 8px 15px;
    color: rgb(0, 0, 0);
    font-size: 16px;
    text-align: left;
    white-space: nowrap;
}
 
 
.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
}
 
 
/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

#aside {
	position:fixed;
	float: left;
	margin-top: 110px;
	height: 100%;
	width: 30%;
	left: 0px;
	margin-bottom: 100%;
	background-color:rgb(240, 139, 14);
}
#wrapper {
	position:fixed;
	margin-top: 110px;
	width: 75%;
	margin-left:25%;
	left: 0px;
	height: 100%;
	overflow: auto;
	margin-bottom:200px;
}
#wrapper p {
	margin-top: 10%;
	text-align: justify;
}
#footer {
	position:fixed;
	display: flex;
	align-items: center;
	bottom: 0;
	margin-top: 150px;
	width: 100%;
	left: 0px;
	background-color: rgb(101, 165, 101);
}
#footer p {
	font-size: 80%;
}
#aside td {
	font-size: 20px;
	text-align: center;
	background-color: rgba(255, 235, 209, 0.623);
	border-radius: 10px;
}

#aside tr {
	height: 60%;
}
#aside button {
	background:none; 
	border:none; 
	font-size: 80%;
	
}

button:hover {
	font-weight: bold;
}

#wrapper #testo {
	margin-left: 20%;
	margin-right: 20%;
	padding-bottom: 250px;
}
#wrapper h1{
	margin-top: 7%;
	font-size: 50px;
	color: rgb(240, 139, 14);
}
#wrapper p{
	margin-top:3%;
	font-size: 23px;
}
#aside h1{
	text-align: center;
	font-size: 5vw;
	margin-top: 10%;
}
#aside #tabella2 {
	border-collapse: separate;
	border-spacing:0.15cm;
	margin: auto;
	margin-top: 15%;
	margin-right: 100%;
	width: 80%;
	margin-left: 10%;
}
.riquadro {
	margin-top: 10%;
	padding: 20px; /* Spaziatura interna */
	background-color: #f0f0f0; /* Colore di sfondo grigio chiaro */
	border-radius: 15px; /* Angoli smussati */
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Leggera ombra */
	display: inline-block; /* Si adatta automaticamente al contenuto */
	max-width: 30%;
	align-items: left;
	margin-left: 10%;
	flex: 1 1 calc(33.333% - 20px)
}
.riquadro img {
	width: 100%; /* L'immagine occupa tutta la larghezza del contenitore */		
	height: auto; /* Mantiene le proporzioni dell'immagine */
	border-radius: 10px; /* Angoli smussati per l'immagine */
}
.riquadro figcaption {
	margin-top: 10px; /* Spazio sopra la didascalia */
	font-size: 70%; /* Dimensione del testo */
	font-weight: bold;
	color: #333;
	text-align: center;
}
.riquadro button {
	text-align: center;
}
#wrapper button {
	background:none; 
	border:none; 
	font-size: 80%;
}
  /* Logo */
  .logo_footer {
    width: 20%;
    height: auto;
    margin: 20px;
  }
 
  /* Info */
  .info {
    color: white;
    font-family: Arial, sans-serif;
    margin: 20px;
    max-width: 600px;
  }
 
  .info a {
    color: white;
    text-decoration: underline;
  }
 
  /* Social Icons */
  .social {
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
  }
 
  .social img {
    width: 40px;
    height: auto;
    transition: transform 0.2s ease;
  }
 
  .social img:hover {
    transform: scale(1.1);
  }
 
  /* Mobile Styles */
  @media (max-width: 768px) {
    .footer {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
 
    .logo_footer {
      width: 25%;
      margin-bottom: 10px;
    }
 
    .info {
      margin: 10px;
    }
 
    .social {
      justify-content: center;
    }
  }
h2{
	margin-top: 10%;
}