/* Reset di base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cursor-size: 40px;
  --cursor-color: #ffd400;
  --title-rotate: 1.5deg;
}

html, body {
  height: 100%;
}

body {
  background: #ffffff;
  font-family: "Inria Serif", serif;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  cursor: none;
  overflow-x: hidden;
  padding: 2rem;
  color: #111;
}

/* Cursor giallo */
.cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--cursor-size);
  height: var(--cursor-size);
  border-radius: 50%;
  background: var(--cursor-color);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

/* Contenuto principale */
.about {
  max-width: 800px;
  text-align: left;
  margin-top: 5rem;
}

.about h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  transform: rotate(var(--title-rotate));
}

.about h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-top: 5rem;
  margin-bottom: 0.5rem;
  color: #000000;
  margin-top: 3rem;
}


.about p {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  line-height: 1.5;
  margin-bottom: 1rem;
  transform: rotate(-1deg);
}

.about a {
  color: #222;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.about a:hover {
  color: var(--cursor-color);
  border-color: #222;
}

.about strong {
  color: var(--cursor-color);
}

.contact-row {
  display: grid;
  grid-template-columns: 200px auto; /* colonna fissa a sinistra, link allineati a destra */
  margin: 0.5rem 0;
  align-items: center;
  column-gap: 1rem; /* piccolo spazio come tab */
}

.contact-row span {
  font-size: 1rem;
}

.contact-row a {
  text-decoration: underline;
  text-decoration-color: #FFD700; /* linea gialla */
  color: black;
}

.back-home {
  display: inline-block;
  margin-top: 5rem;   /* aumenta lo spazio sopra */
  font-size: 1.1rem;
  text-decoration: underline;
  text-decoration-color: #FFD700; /* giallo */
  color: black;
}
