/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
  }
  
  header {
    text-align: center;
    padding: 20px;
    background-color: #8f9b92;
    color: black;
  }
  
  header h1 {
    font-size: 2.5em;
  }
  
  header p {
    font-size: 1.2em;
  }
  
  /* Styling for profile photo */
  .profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    margin-bottom: 20px;
  }
  
  /* Section styles */
  section {
    margin: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  
  ul {
    list-style-type: none;
    padding-left: 0;
  }
  
  ul li {
    margin: 10px 0;
  }
  
  a {
    color: #352c9c;
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  /* Footer */
  footer {
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: white;
  }
 /* 让 section 内元素居中 */
#social {
  text-align: center;
  margin-top: 40px;
}

/* 分割线样式 */
.divider {
  width: 80%;
  height: 2px;
  background-color: #ccc;
  border: none;
  margin: 30px auto;
}

/* 让图标居中排列 */
.social-icons {
  display: inline-block;
  justify-content: center;
  gap: 15px;
}

/* 图标样式 */
.icon {
  display: inline-block;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: #666;
  color: white;
  font-size: 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.icon:hover {
  background-color: #444;
  transform: scale(1.1);
}