a, 
a:link, 
a:visited, 
a:hover, 
a:active, 
a:focus {
    text-decoration: none;
    color: inherit; /* 继承父元素的颜色，保持颜色不变 */
}



body{
    padding-top: 45px;
    height: 200vh;
    background-color: azure;
}
.title-article{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background-color: #333333;
    z-index: 1000;
    margin: 0;
    padding: 0;
}
.title-font{
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 25px;
    line-height: 1;
    margin: 0;
}
.menu-bar{
    position: fixed;
    top: 45px;
    left: 0;
    width: 100%;
    height: 32px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    box-sizing: border-box;
    transition: all 0.5s ease;
    z-index: 99;
}
.close-btn{
    cursor: pointer;
    font-size: 20px;
    user-select: none;
}
.content-bar{
    padding-top: 77px;
    transition: padding 0.5s ease;
}
.menu-bar.hidden{
    transform: translateY(-100%);
    opacity: 0;
}
.content-bar.closed{
    padding-top: 45px;
}
.dropdown{
    position: relative;
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
}
.dropdown-title{
    padding: 10px 20px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    cursor: default;
    user-select: none;
    border-radius: 4px;
}
.dropdown-menu{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    border-radius: 4px;
    z-index: 100;
}
.dropdown-item{
    padding: 10px 15px;
    color:#333;
    text-decoration: none;
    display: block;
    transition: background 0.2s;
}
.dropdown-item:hover{
    background: #f5f5f5;
}
.dropdown:hover .dropdown-menu{
    display: block;
}
#basic-text{
    font-size: 20px;
    font-family: "微软雅黑";
    color: aqua;
}
#button-basic{
    padding: 8px 16px;
    background: #4285f4;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font: 14px;
}
#button-basic:hover{
    background: #3367d6;
}
.news-ticker {
    width: 350px;
    background: #f8f9fa;
    border-radius: 6px;
    overflow: hidden;
}
  
.ticker-header {
    background: #4285f4;
    color: white;
    padding: 10px 15px;
    font-weight: bold;
}
  
.ticker-list {
    height: 120px;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    list-style: none;
}
  
.ticker-list li {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}
  
.ticker-list li:hover {
    background: #f1f3f4;
}
.news-alert {
    position: relative;
    width: 80%;
    max-width: 600px;
    margin: 20px auto;
    padding: 15px;
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
}
  
.close-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 20px;
    color: #888;
}
  
.close-btn:hover {
    color: #333;
}
.news-carousel {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  }
  
  .carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
  }
  
  .carousel-item {
    min-width: 100%;
    padding: 30px;
    background: #fff;
    box-sizing: border-box;
  }
  
  .carousel-item h4 {
    margin-top: 0;
    color: #1a73e8;
  }
  
  .carousel-prev,
  .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
  }
  
  .carousel-prev {
    left: 15px;
  }
  
  .carousel-next {
    right: 15px;
  }
.info-card {
    width: 280px;
    padding: 25px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  }
  
  .card-icon {
    font-size: 36px;
    margin-bottom: 15px;
  }
  
  .info-card h3 {
    margin: 0 0 10px;
    color: #333;
  }
  
  .info-card p {
    flex: 1;
  min-width: 280px;
  padding: 25px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .card-link {
    color: #4285f4;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
  }
  
  .card-link:hover {
    border-bottom-color: currentColor;
  }

  .menu-easteregg {
    background: #f0f0f0;
    padding: 15px;
    border-radius: 5px;
    width: 200px;
  }
  
  .menu-easteregg-item {
    padding: 10px;
    margin: 5px 0;
    background: #4285f4;
    color: white;
    border-radius: 3px;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s;
  }
  
  .menu-easteregg-item:hover {
    background: #3367d6;
  }
  .cards-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }