/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}
/* Header */
header {
  text-align: center;
  margin-bottom: 40px;
}

.wrapper {
  max-width: 1000px;
  margin: auto;
}

/* Banner image */
.header {
  background-image: url('img/banner.jpg');
  background-size: cover;
  background-position: center;
  height: 250px;
}

/* Top section */
.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 40px 20px;
}

/* Text content */
.top_content {
  flex: 1 1 60%;
}

.title {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.subtitle a {
  font-size: 1.2em;
  color: #0077cc;
  text-decoration: none;
}

.subtitle a:hover {
  text-decoration: underline;
}

/* Profile image */
.top_profile {
  flex: 1 1 30%;
  background-image: url('img/profile.jpg');
  background-size: cover;
  background-position: center;
  width: 200px;
  height: 200px;
  margin: 20px auto;
}

/* Social links */
.social {
  margin-top: 20px;
}

.social_item {
  margin-bottom: 10px;
}

.social_item i {
  margin-right: 8px;
}

.social_copy {
  color: #333;
  text-decoration: none;
}

.social_copy:hover {
  text-decoration: underline;
}

/* Gallery styles */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  padding: 40px;
}

figure {
  margin: 0;
  text-align: center;
}

figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: #555;
}

