@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1d1d20;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  padding: 2rem;
}

/* il wrapper serve per dare un limite e comportamento scrollabile su mobile */
main {
  text-align: left;
  max-width: 800px;
  width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  body {
    align-items: flex-start; /* non più centrato verticalmente */
    justify-content: center;
    min-height: auto;
  }

  main {
    margin-top: 2rem; /* un po’ di spazio in alto */
  }

  h1 {
    font-size: 2.5rem;
  }

  .description {
    font-size: 1.1rem;
  }
}

h1 {
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #ffffff;
}

.description {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 2rem;
}

.icons {
    display: flex;
    justify-content: left;
    gap: 2rem;
}

.icons img {
    width: 36px;
    height: 36px;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.icons a:hover img {
    filter: invert(70%);
    transform: scale(1.1);
}

/* Effetto fade-in al caricamento */
body {
    opacity: 0;
    animation: fadeIn 0.8s ease-in-out forwards 0.2s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}