*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: #222;
  background: #f5f5f7;
}
.second-header {
    max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  display: grid;
  gap: 1.5rem;
}
.site-header {
  border-radius: 20px;
}
.site-header,
.site-footer {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #1f5fbf;
  color: #f9fafb;
}

.site-header h1 {
  margin: 0 0 0.25rem;
  font-size: 1.75rem;
}

.site-header p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.8;
  
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  display: grid;
  gap: 1.5rem;
}

/* Cards */
.card {
  background: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column; 
  align-items: center;
}

.card h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

/* Responsive layout */
@media (min-width: 640px) {
  .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* Cards */
.card {
  background: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.card h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}
.site-header,
.site-footer {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #1f5fbf;
  color: #f9fafb;
}
}

@media (min-width: 960px) {
  .container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  /* Cards */
.card {
  background: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.card h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}
.site-header,
.site-footer {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #1f5fbf;
  color: #f9fafb;
}
}
