body {
  margin: 0;
  background: #fff;
  color: #111;
  font-family: Arial, sans-serif;
}
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
header .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
}
.main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px;
}
@media (min-width: 1024px) {
  .main {
    grid-template-columns: 1fr 3fr;
  }
}
nav,
.navbar {
  display: flex;
}

nav {
  justify-content: space-around;
  align-items: center;
  height: 17vh;
}

.navbar {
  gap: 2rem;
  list-style: none;
  font: 1.5rem;
}

a:hover {
  color: grey;
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: rgb(181, 181, 181);
  cursor: pointer;
}

.logo {
  font-size: 2rem;
}

.logo:hover {
  cursor: default;
}
.sidebar {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 24px;
}
.sidebar h2 {
  margin: 12px 0 0;
  font-size: 18px;
  color: #111;
}
.sidebar p {
  color: #555;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 12px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 1024px), 1fr));
  gap: 8px;
  justify-items: center; /* center cards when track wider than card */
}
.card {
  background: transparent; /* blend with page */
  border: 0; /* remove borders */
  border-radius: 2px; /* soft corners */
  overflow: hidden; /* clip image */
  transition: transform 0.2s;
  width: 100%; /* fill the grid track */
  max-width: 1024px; /* cap at 1024px */
}
.card:hover {
  transform: translateY(-4px);
}
.card .preview {
  aspect-ratio: 1 / 1; /* square thumbnails */
  width: 100%;
  height: auto; /* height determined by aspect ratio */
  background: transparent; /* no grey plate */
}

.card .preview img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fill without distortion */
  display: block;
}
.card-content {
  display: none !important; /* image-only cards */
}
.card h3 {
  display: none;
}
.card p {
  display: none;
}
.badge {
  font-size: 10px;
  text-transform: uppercase;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 2px 6px;
  color: #555;
}
footer {
  text-align: center;
  padding: 32px 16px;
  color: #777;
  font-size: 12px;
}
button {
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 6px 12px;
  border-radius: 12px;
  color: #555;
}
button:hover {
  color: #000;
  border-color: #000;
}
