* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  min-height: 100vh;
}

@font-face {
  font-family: 'Helvetica';
  src:
    local('Helvetica'),
    url('fonts/Helvetica.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Helvetica';
  src:
    local('Helvetica Bold'),
    url('fonts/Helvetica-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Helvetica';
  src:
    local('Helvetica Oblique'),
    url('fonts/Helvetica-Oblique.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}

body {
  background-image: url(img/sfondo2.webp);
  background-position: center center;   
  background-repeat: no-repeat;         
  background-size: cover;               
  font-family: 'Helvetica', sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  text-align: center;    
  padding: 40px 20px;   
  gap: 1.5rem;         
}

.logo img {
  width: 500px;
  height: auto;
  object-fit: contain;
  margin-bottom: 2rem;
}

.intro-text p {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 40px;
  max-width: 900px;
  font-weight: 300;
}

.intro-text .italic {
  font-family: 'Helvetica Oblique', sans-serif;
  font-style: italic;
}

.intro-text .author {
    display: block;    
    margin-top: 5px;  
    font-style: normal;
}

.buttons {
  display: flex;
  flex-wrap: wrap; 
  justify-content: center;
  gap: 1rem;      
  margin-bottom: 2vh;
}

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  background-color: transparent;
  color: #dfdf01;
  padding: 12px 28px;
  border: 3px solid #dfdf01;
  font-weight: 400;
  width: 150px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #dfdf01;
  color: #000;
}

footer {
  text-align: center;
  padding: 20px 10px;
  font-size: 1rem;
  color: #dfdf01;
  border-top: 1px solid #222;
  font-weight: 400;
  background-color: transparent;
}

footer p {
  line-height: 1.8; 
}

footer p span {
  display: inline-block; 
  margin-right: 2rem;
  margin-bottom: 0.5rem; 
}

footer p span:last-child {
  margin-right: 0; 
}

footer a {
  color: #dfdf01;
  text-decoration: none;
}

footer .social {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}

footer .social a {
  display: flex;
  width: 35px;   
  height: 35px;
  align-items: center; 
  justify-content: center; 
}

footer .social a img {
  width: 25px;
  height: 25px;
  object-fit: contain; 
  display: block;      
}

footer .social a[href*="facebook"] img {
   border-radius: 5px;
}

/* --------------------
   RESPONSIVE DESIGN
-------------------- */
/* Schermi molto larghi (ultra-wide / foldable laptop) */
@media (min-width: 1400px) {
  .intro-text p {
    font-size: 2.2rem;       
    max-width: 700px;        
  }

  .intro-text .author {
    font-size: 1.8rem;
    margin-top: 1rem;
  }

  .logo img {
    width: 600px;            
    max-width: 70%;
  }

  .btn {
    font-size: 1.2rem;
    padding: 16px 36px;
    width: 180px;
  }
}

/* Tablet grandi (768px–1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .logo img {
    width: 450px;       
    height: auto;
    max-height: 450px;
    margin-bottom: 2rem;
  }

  .intro-text p {
    font-size: 1.6rem;   
    margin-bottom: 2rem;
  }

  .buttons {
    gap: 2rem;           
    margin-bottom: 2rem;
  }

  .btn {
    padding: 14px 32px;   
    font-size: 1rem;     
    width: 160px;
  }

  .container {
    justify-content: center;  
    gap: 1.5rem;
    padding: 5vh 20px;
  }
}

/* Tablet (≤ 768px) */
@media (max-width: 768px) {
  .logo img {
    width: 350px;       
    max-width: 400px;
    margin-bottom: 2rem;
  }

  .intro-text p {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .btn {
    padding: 12px 28px;
    font-size: 1rem;
  }

  .container {
    justify-content: space-around; 
    gap: 1.5rem;
  }
}

/* Smartphone (≤ 480px) */
@media (max-width: 480px) {
  .logo img {
    width: 250px;   
    max-width: 300px;
  }

  .intro-text p {
    font-size: 1.15rem;
    margin-bottom: 1rem;
  }
  
  .intro-text .author {
    font-size: 1.15rem;    
    margin-top: 0.5rem;     
  }

  .buttons {
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1rem;
  }

  .btn {
    width: auto;              
    min-width: 120px;          
    max-width: 45%;             
  }

  .container {
    padding: 2vh 10px;  
    justify-content: space-evenly;       
  }

  footer {
    font-size: 0.8rem;
    padding: 10px;
  }

  footer .social img {
    width: 25px;
    height: 25px;
  }
}