* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  background: #fff;
  padding: 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ccc;
}

.brand {
  font-size: 14px;
  font-weight: bold;
  color: #000;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

h1 {
  font-size: 28px;
  font-weight: normal;
  color: #000;
  margin-bottom: 5px;
}

.subtitle {
  font-size: 16px;
  color: #666;
}

.main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .main-grid {
    grid-template-columns: 2fr 1fr;
  }
}

main {
  min-width: 0;
}

section {
  margin-bottom: 30px;
}

h2 {
  font-size: 18px;
  font-weight: bold;
  color: #0000ee;
  margin-bottom: 10px;
}

p {
  margin-bottom: 10px;
  color: #000;
}

a {
  color: #0000ee;
  text-decoration: underline;
}

a:visited {
  color: #551a8b;
}

a:hover {
  color: #0000cc;
}

aside {
  position: sticky;
  top: 20px;
  height: fit-content;
}

.profile-image {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #ccc;
  background: #f5f5f5; /* Added background color to blend with photo edges */
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 15px;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-grid img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #ccc;
}

footer {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #ccc;
  font-size: 14px;
  color: #666;
}

footer p {
  margin-bottom: 5px;
  color: #666;
}

@media (max-width: 767px) {
  body {
    padding: 15px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 16px;
  }

  .main-grid {
    gap: 20px;
  }

  aside {
    position: static;
  }
}
