* {
      box-sizing: border-box;
  }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.5;
  background: #111;
  color: #f5f5f5;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 10px;
}

header, main, footer {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

h1, h2, h3 {
  font-weight: 700;
}

.gallery-card {
  border: 1px solid #333;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #1b1b1b;
}

.gallery-card a {
  color: #ffe082;
  text-decoration: none;
}

.gallery-card a:hover,
.gallery-card a:focus {
  text-decoration: underline;
}
.gallery-grid {
  display:grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap:10rem;
}
a:focus-visible {
  outline: 3px solid #ffeb3b;
  outline-offset: 2px;
}
.card-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.thumb {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 1px solid #444;
}
.container {
  max-width:1000px; 
  margin:0 auto; 
  padding:1rem;
}