body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

.container {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

header {
  text-align: center;
  margin-bottom: 20px;
}

.bio {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

h2 {
  margin: 10px 0;
}

button {
  background-color: #007BFF;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin: 5px;
}

button:hover {
  background-color: #0056b3;
}

.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}

.details .section-content {
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.details h3 {
  margin-top: 0;
}

.details ul {
  padding-left: 20px;
}

footer {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

footer button {
  margin: 0 10px;
}

.edit-button {
  background-color: #28a745;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
}

.edit-button:hover {
  background-color: #218838;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .details {
    grid-template-columns: 1fr;
    /* Stack sections vertically on smaller screens */
  }

  .container {
    width: 95%;
    padding: 10px;
  }

  #profile-pic {
    width: 120px;
    height: 120px;
  }

  button {
    font-size: 14px;
    padding: 8px 16px;
  }

  .edit-button {
    font-size: 14px;
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  #profile-pic {
    width: 100px;
    height: 100px;
  }

  button {
    font-size: 12px;
    padding: 6px 12px;
  }

  .edit-button {
    font-size: 12px;
    padding: 6px 12px;
  }
}
