* {
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.grid-container {
  display : grid;
  grid-template-areas :
    'header'
    'header-title'
    'menu'
    'main'
    'footer';
  background-color : #e4e4ef;
  gap: 0.15vw;  
}

.header {
  grid-area: header;
  background-color: #d2d2f6; 
  padding: 10px;
  display: flex;
  align-items: center;
  border-bottom: 0.2vw solid #0d0dec;
}

.header img {
    width: 8%;
  	 height: auto%;
  	 object-fit: cover;
    border-radius: 5%;
    border: 5% solid white;
    background-color: #ddd; /* Colore di fallback se l'immagine manca */
}

.header-title {
    text-align: center;
    flex-grow: 1;
    padding: 0 20px;
}

.header-title h3 {
    font-size: 1.5vw;
    margin-top: 0.2vw;
 	 margin-bottom: 0.2vw;
}

.header-title p {
    font-size: 1vw;
    opacity: 0.8;
    margin-top: 0.2vw;
 	 margin-bottom: 0.2vw;
}
.menu {
  grid-area : menu;
  background-color : #d2d2f6;
  border-bottom : 0.2vw solid #0d0dec;
  border-top : 0.2vw solid #0d0dec;
  border-right : 0.2vw solid #0d0dec;
  }
  
.menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu li {
  padding: 2px;
  margin-bottom: 0.2vw;
  background-color: #d2d2f6;
  color: #ffffff;
}
.menu li a {
	 color: black;
    text-decoration: none; 
    display: block;
    padding: 5px;
    border-radius: 10%;
    transition: background 0.3s;
}

.menu li a:hover {
  background-color: #e4e4ef;
  color: #0000f6;
}
  
.content {
  grid-area: main;
  background: #e4e4ef;
  border-bottom: 0.2vw solid #0d0dec;
  border-top : 0.2vw solid #0d0dec;
  border-left : 0.2vw solid #0d0dec;
}

.content > h1 {
  font-size: 30px;
  margin-bottom: 7px;
}

.content > p {
  margin-bottom: 7px;
}
.footer {
	 grid-area: footer;
    background-color: #d2d2f6;
    color: black;
    text-align: center;
    padding: 10px;
    margin-top: auto;
    border-top: 0.2vw solid #0d0dec;
}

.footer-images {
    display: flex-wrap;
    justify-content: center;
    margin-top : 0.2vw;
}

.footer-img {
    height : 90px;
    width : auto;
    object-fit: fill;
    border-radius : 2% / 0.5%;
    background-color: #d2d2f6;
    border: 0.1vw solid white;
}

@media (min-width: 600px) {
  .header {grid-area: 1 / span 6;}
  .menu {grid-area: 2 / span 1;}
  .content {grid-area: 2 / span 5;}
  .footer {grid-area: 3 / span 6;}
}

@media (min-width: 768px) {
  .header {grid-area : 1 / span 6;}
  .menu {grid-area : 2 / span 1;}
  .content {grid-area : 2 / span 5;}
  .footer {grid-area : 3 / span 6;}
}