/* ---------------- RESPONSIVE UPDATE ---------------- */

/* Mantiene il tuo design desktop, ma aggiunge regole per mobile */

/* Smartphone & Tablet */
@media (max-width: 768px) {

/* NAVBAR - versione mobile con link affiancati */
.nav-list {
  flex-direction: row;        /* restano in orizzontale */
  justify-content: center;    /* centrati */
  gap: 20px;                  /* spazio più stretto tra i pulsanti */
  flex-wrap: wrap;            /* se non ci sta, va a capo in automatico */
}

.nav-list a {
  font-size: 0.9rem;          /* testo più piccolo */
  padding: 6px 10px;          /* pulsanti compatti */
  border-radius: 6px;
}

  /* BRANDING */
  main h1 {
    font-size: 10rem; /* ridotto da 100px */
    text-align: center;
  }

  /* TYPEWRITER */
  #typewriter-container {
    font-size: 1.1rem;
    text-align: center;
    margin: 2rem 1rem;
  }

  /* SLOGAN */
  .slogan {
    font-size: 0.8rem;
    padding: 1rem;
    margin-top: 1rem;
    position: static; /* niente absolute */
  }

  /* ICON SLIDER */
  .icon-slider {
    position: static;
    margin: 2rem 0;
  }

  .icon-track img {
    margin: 0 10px;
    width: 40px;
    height: auto;
  }


  /* ----------- ARROW DOWN ↓ ------------- */
/*
.arrow-down {
  position: static;
  margin-top: 1 rem;   
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  cursor: pointer;
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateX(-50%) translateY(15px);
    opacity: 0.7;
  }
}
*/



  /* ABOUT ME */
  .about_me {
    position: static;
    height: auto;
    padding: 2rem 1rem;
    font-size: 1rem;
  }

  .about_me .container {
    width: 100%;
  }

  /* TECHNOLOGIES */
  .Tech_Title {
    position: static;      /* niente absolute */
    /* margin: 2rem auto 1rem auto; */
    margin: auto; 
    text-align: center;
    font-size: 1.2rem;
    width: 100%;
  }

  .Tech_Title h1 {
    text-align: center;
    left: 50%;
    font-size: 1.5rem;     /* più leggibile su smartphone */
  }

  .Technologies_image-row {
    position: static;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(55px, 1fr)); /* 55 */
    gap: 1rem;
    margin-bottom: 5 rem;
    justify-items: center;
  }


  .image-wrapper {
    width: 60px; 
    max-width: 100px;
  }

  .Technologies_image-row img {
    width: 100%;
    height: auto;
  }

  /* FOOTER */
  footer {
    position: relative;
    margin-top: 2rem;
  }
}

/* Schermi molto piccoli (tipo 400px o meno) */
@media (max-width: 400px) {
  main h1 {
    font-size: 2.2rem;
  }
  #typewriter-container {
    font-size: 1rem;
  }
  .slogan {
    font-size: 0.9rem;
  }
  .Tech_Title h1 {
    font-size: 1.2rem;
  }
}