:root {
  --txtclr: #ccc;
}

body {
  margin: 0;
  font-family: 'Oswald', sans-serif;
  background: linear-gradient(to bottom right, #000, #111);
  background-attachment: fixed;
  color: var(--txtclr);
}

h1 {
  text-align: center;
  font-size: 3rem;
  margin: 0;
  padding-top: 20px;
}

.about-section {
  max-width: 800px;
  align-items: center;
  color: var(--txtclr);
  padding: 20px;
  margin: 0 auto;
}

/* Flex container for picture + stats */
.top-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
  margin: 40px auto;
}

.portrait {
  flex: 0 0 240px;
  max-width: 240px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

.stats {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 24px 32px;
  font-size: 1.1rem;
  line-height: 1.6;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.05);

}

.stats ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stats li {
  margin-bottom: 10px;
}

.bio {
  font-size: 1.2rem;
  max-width: 700px;
  text-align: center;
  margin: 40px auto;
  line-height: 1.8;
  background-color: rgba(255, 255, 255, 0.03);
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.03);
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  max-width: 100vw;
  margin: 0 auto;
}

.gallery img {
  height: min(30vw, 200px); /* 30% of viewport width, max 200px */
  width: auto;   /* maintain natural aspect ratio */
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
  z-index: 1;
}


footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: var(--txtclr);
  border-top: 1px solid #222;
  margin-top: 4rem;
}
