header {
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin: 0 auto;
}

main {
  width: 80%;
  margin: 0 auto;
  flex: 1;

  display: flex;
  justify-content: center; 
  align-items: center; 
}

footer {
  display: flex;
  justify-content: center;
}

body {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

content{
    width: 80%;
    margin: 0 auto;
    flex: 1;

  display: flex;
  justify-content: center; 
  align-items: center; 
}

.image {
  text-align: center;
  margin: 1rem auto;
  max-width: 250px;
  width: 100%;
  height: auto;
}


* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; line-height: 1.45; color: #111; padding: 1rem; }


.site-header, .site-footer { max-width: 1100px; margin: 0 auto; padding: .75rem; }
.site-title a { text-decoration: none; color: inherit; }


.site-nav .main-nav {
  display: flex;
  gap: 1rem;
  list-style: none;
  align-items: center;
}
.site-nav a { text-decoration: none; padding: .45rem .75rem; border-radius: 6px; }


.hom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 1rem auto;
}

.list-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1100px;
  margin: 1rem auto;
}
.list-item {
  flex: 1 1 calc(33% - 1rem);
  padding: 1rem;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
}

.content-article { 
  max-width: 800px; margin: 1rem auto; padding: 1rem; }

  @media (max-width: 480px) {
  .hom-image img {
    max-width: 180px;
  }
}


@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .list-item { flex: 1 1 calc(50% - 1rem); }
  .site-nav .main-nav { gap: .5rem; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .list-item { flex: 1 1 100%; }
  .site-header { padding: .5rem; }
  .site-nav .main-nav { justify-content: space-between; width: 100%; }
  header .brand { margin-bottom: .5rem; }
}
