/* 隐藏 radio 按钮 */
.toggle-radio {
    display: none;
  }
  
  /* 容器样式 */
  .toggle-container {
        text-align: center;
        position: relative;
        margin: 20px auto;
        overflow: hidden;
  }
  
  /* 选项按钮 */
  .toggle-label {
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
    background-color: #eee;
    border-radius: 20px;
    transition: background 0.3s ease;
    margin: 5px;
    font-size: 1.4em;
  }
  
  .toggle-radio:checked + .toggle-label {
    background-color: #333;
    color: white;
  }
  
  /* 切换内容 */
  .toggle-content {
    position: absolute;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(10px);
    
  }
  
  /* 选中的内容显示 */
  #toggle-about:checked ~ .content-about,
  #toggle-site:checked ~ .content-site {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
    
  }
  
  #about-me .text,#about-site .text{
      text-align: left;
      

      
      
      
      
  }

.button-about {
    display: inline-block;
    padding: 6px 12px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: #007aff; /* iOS 蓝色 */
    border: none;
    border-radius: 20px; /* 圆角 */
    box-shadow: 0 4px 10px rgba(0, 122, 255, 0.3); /* iOS 阴影 */
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.button-about:hover {
    background: #005ecb; /* 悬停时变深 */
}

.button-about:active {
    background: #004a9f; /* 点击时变更深 */
    transform: scale(0.98); /* 轻微缩小，模拟按压 */
}

@media (min-width:828px){
    .button-about{
    font-size: 1em;
    }

    /* 选项按钮 */
  .toggle-label {
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
    background-color: #eee;
    border-radius: 20px;
    transition: background 0.3s ease;
    margin: 5px;
    font-size: 1.6em;
  }
}   
