/* styles.css */

body {
  margin: 0;
  font-family: 'Fira Sans', 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom, #1e1e1e, #2c2c2c);
  color: #f0f0f0;
}

a {
  color: #66ccff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  background: linear-gradient(to right, #8a0303, #4700a3);
  padding: 2rem 1rem;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
  color: #fff;
}

header p {
  font-size: 1.2rem;
  color: #f5f5f5;
}

section {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

h2 {
  border-left: 5px solid #ffcc00;
  padding-left: 0.5rem;
  color: #ffcc00;
}

.bio {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.5rem;
}

.bio-text {
  flex: 1 1 200px;
}

.bio-image {
  flex: 0 0 325px;
}

.bio-image img {
  width: 100%;
  max-width: 325px;
  border-radius: 6px;
  border: 2px solid #444;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.gallery img {
  width: 100%;
  max-width: 350px;
  border: 3px solid #444;
  border-radius: 4px;
}

.links a {
  display: inline-block;
  margin-right: 1rem;
}

.footer {
  background: #111;
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #777;
}

.footer img {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-left: 0.5rem;
}

@media (max-width: 600px) {
  .gallery {
    flex-direction: column;
    align-items: center;
  }

  .bio {
    flex-direction: column;
    align-items: stretch; /* This keeps text left-aligned */
    text-align: left;
  }

  .bio-image {
    display: flex;
    justify-content: center;
  }

  .bio-image img {
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  border: 2px solid #444;
  display: block;
}
}
