body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    background: #f9f9f9;
    color: #222;
  }
  
  .container {
    width: 90%;
    max-width: 1000px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  header {
    background: #cc0000;
    color: white;
    padding: 20px 0;
  }
  
  header h1 {
    margin: 0;
    font-size: 1.8em;
  }
  
  header nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
  }
  
  header nav a:hover {
    text-decoration: underline;
  }
  
  main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
  }
  
  .bio {
    flex: 1 1 55%;
    font-size: 1.1em;
    line-height: 1.6;
    padding-right: 20px;
  }
  
  .photo {
    flex: 1 1 40%;
    text-align: center;
  }
  
  .photo img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  }
  
  @media (max-width: 768px) {
    main {
      flex-direction: column;
    }
  
    .bio {
      padding-right: 0;
      margin-bottom: 20px;
    }
  
    header .container {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  
    header nav {
      float: none;
      margin-top: 10px;
      display: flex;
      justify-content: center;
      gap: 20px;
    }
  
    header nav a {
      margin: 0;
    }
  }
  
  