body {
  margin: 0;
  font-family: system-ui, Arial, sans-serif;
  display: flex;            /* hozzáadva */
  justify-content: center;  /* vízszintesen középre */
  align-items: center;      /* függőlegesen középre */
  min-height: 100vh;        /* hogy a body a teljes magasságot elfoglalja */
}

/* --- CO2 card stílus --- */
.co2-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f0f7f4;
  border: 2px solid #4caf50;
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
  width: 100%;
  max-width: 360px;
  box-sizing: border-box;
}

.co2-title {
  font-size: clamp(1rem, 4vw, 1.5rem); /* automatikusan nő kisebb képernyőn */
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #2e7d32;
}

.co2-value {
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: bold;
  color: #222;
}

.co2-meta {
  font-size: clamp(0.9rem, 3vw, 1.2rem);
  color: #555;
  margin-top: 0.3rem;
}

/* --- Mobilra kicsit nagyobb padding --- */
@media (max-width: 480px) {
  .co2-card {
    padding: 1.2rem 1.5rem;
  }
}

.footer-copyright {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 20px;
    font-family: Arial, sans-serif;
}

.footer-copyright a {
    color: #4CAF50;
    text-decoration: none;
}

.footer-copyright a:hover {
    text-decoration: underline;
}