/* --- Base Layout --- */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #ffe5c2;
}

/* --- Header --- */
header {
  display: flex;
  align-items: center;
  padding: 0.8rem;
  background-color: #d1ad7d;
  border-bottom: 5px solid #000;
  height: 5vh;
}

.logo {
  max-height: 75%;
}

/* --- Bio Section --- */
.bio-wrapper {
  display: flex;
  align-items: center;        /* Centers the face vertically */
  justify-content: flex-start;
  gap: 2rem;
  padding: 2rem 4rem;
  flex: 1;
}

.face {
  width: 600px;
  height: auto;
  border-radius: 50%;
  align-self: center;         /* Keeps the image centered vertically */
  margin-right: 50px;
}

.bio-wrapper-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transform: translateY(-50%); /* Aligns text top with image top */
}

.bio-wrapper-text h1 {
  margin: 0 0 0.5rem 0;
  font-size: 2rem;
}

.bio-wrapper-text p {
  margin: 0.3rem 0;
  font-size: 1.2rem;
}

/* --- Footer --- */
footer {
  background-color: #ffe5c2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0.8rem;
  font-size: 0.9rem;
  color: #000;
}

/* --- Responsive Layouts --- */

/* Tablet view (portrait and landscape) */
@media (max-width: 1124px) {
  .bio-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
  }

  .face {
    width: 400px;
    margin: 0 0 1.5rem 0;
  }

  .bio-wrapper-text {
    transform: none;
    align-items: center;
  }
}

/* Mobile view */
@media (max-width: 600px) {
  .bio-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
  }

  .face {
    width: 250px;
    margin: 2rem 0 1rem 0;
    
  }

  .bio-wrapper-text {
    transform: none;
    align-items: center;
  }

  .bio-wrapper-text h1 {
    font-size: 1.5rem;
  }

  .bio-wrapper-text p {
    font-size: 1rem;
  }

  header {
    height: auto;
    justify-content: center;
  }

  .logo {
    max-height: 50px;
  }
}
