@charset "utf-8";
/* CSS Document */
html {
  scroll-behavior: smooth;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: linear-gradient(to right, #c084fc, #3b82f6); /* lilla → blu */
  padding: 15px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  gap: 2em;
}

.navbar a {
  text-decoration: none;
  color: white; /* voci bianche */
  font-weight: bold;
  font-size: 1rem;
}

.navbar a:hover {
  text-decoration: underline;
}

/* compensa l'altezza della navbar per evitare sovrapposizione */
body {
  padding-top: px;
}
body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

header.hero {
  padding: 100px 20px;
  text-align: center;
  background-color: #000000;
  color: #fff
}

header.hero h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
}

section {
  padding: 60px 20px;
  max-width: 800px;
  margin: 0 auto;
}

section h2 {
  font-size: 2em;
  margin-bottom: 1em;
}

.projects ul {
  list-style: none;
  padding: 0;
}

.projects li {
  margin-bottom: 1em;
}

footer {
  text-align: center;
  padding: 40px 20px;
  background-color: #f5f5f5;
  font-size: 0.9em;
}
