/* Layout base */
body,
html {
  margin: 0;
  padding: 0;
  font-family: Roboto, 'Helvetica Neue', 'Arial', sans-serif;
  overflow-x: hidden;

  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
header {
  background-color: #2f334e;
  width: 100%;
}

.header-container {
  display: flex;
  justify-content: left;
  align-items: flex-start;
  padding: 20px;
  max-width: 100%;
}

header .immagini {
  display: flex;
  gap: 10px;
  align-items: center;
}

header .immagini img {
  height: 50px;
  width: auto;
}

/* Background contenuto principale */
.background {
  flex-grow: 1;
  padding: 20px;
  background-image: url(/assets/images/unsplash-background.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Titoli */
h1 {
  font-size: 40px;
  text-align: center;
}

h2 {
  margin-top: 1.5em;
  text-align: center;
}
/* Linl */

.link-halo-web {
  color: #46a4b5;
  text-decoration: underline;
}

.link-halo-web:hover {
  color: #368a8f;
}

.project-objective {
  text-align: center;
}

/* Footer */
.main-footer {
  border-top: 5px solid #7a9472;
  padding: 20px;
  text-align: center;
  font-size: 16px;
  color: #333;
}

.main-footer .immagini img {
  max-width: 50%;
  height: auto;
  margin-top: 10px;
}

.secondary-footer {
  background-color: #2f334e;
  padding: 30px;
  text-align: center;
  font-size: 1rem;
}

.secondary-footer .link-privacy-policy {
  color: #ffffff;
  text-transform: uppercase;
  text-decoration: none;
  margin: 0 8px;
  font-size: 14px;
}

.secondary-footer .link-privacy-policy:hover {
  color: #368a8f;
  text-decoration: underline;
}

.space-link {
  color: #ffffff;
  margin: 0 5px 0 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
  }

  header .immagini {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  header .immagini img {
    height: 40px;
  }

  .store-links {
    flex-direction: column;
    align-items: center;
  }
}
