body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  background: linear-gradient(135deg, #fdfcfb, #e2d1c3);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: #333;
}

.main {
  text-align: center;
  padding: 3rem 1rem;
}

/* .logo {
  max-width: 180px;
  margin-bottom: 1rem;
} */

.logo {
  width: 600px;              /* vie 80% näytön leveydestä */
  max-width: 800px;        /* (valinnainen) rajoitus, ettei kasva liian suureksi isoilla näytöillä */
  display: block;          /* keskittämistä varten */
  margin: 1rem auto;       /* ylä- ja alaväli + keskitys vaakasuunnassa */
  border-radius: 15px;     /* pyöristetyt kulmat */
  border: 3px solid silver; /* hopeanharmaa reunus */
}

h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  color: #222;
}

.creative {
  color: #004080;
  font-weight: 700;
}

.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-title {
  font-size: 1.25rem;
  margin: 1rem;
  color: #004080;
}

.card-text {
  margin: 0 1rem 1.5rem;
  line-height: 1.6;
}

footer {
  text-align: center;
  padding: 1.5rem;
  background: #004080;
  color: #fff;
  margin-top: auto;
  font-size: 0.9rem;
}