body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: url('immagini/cina.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  margin: 0;
  padding: 0;
}

/*header*/
header {
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  padding: 30px 15px;
  border-bottom: 2px solid #00bfa6;
}

header h1 {
  color: #00e5ff;
  margin-bottom: 5px;
}

header p {
  color: #ccc;
  font-size: 14px;
}

/*grafico della pagina*/
.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  padding: 30px;
  background: rgba(0, 0, 0, 0.5);
}

/*card normale */
.card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 15px;
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00bfa6;
}

.card h2 {
  color: #00e5ff;
  font-size: 18px;
  margin: 10px 0;
}

/*link card*/
.card a {
  color: #ffd54f;
  text-decoration: none;
  font-weight: bold;
}

.card a:hover {
  color: #fff;
  text-decoration: underline;
}

/*lista */
ul {
  list-style-type: none;
  padding: 0;
}

ul li {
  margin: 5px 0;
}

/*footer*/
footer {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  font-size: 14px;
}

footer a {
  color: #80d8ff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/*contabile su talefono*/
@media (max-width: 600px) {
  header h1 {
    font-size: 22px;
  }

  .card img {
    width: 70px;
    height: 70px;
  }
}
