a{
    text-decoration: none;
}
  
  .new-background-image {
    /* 使用你的背景图片 */
    background-image: url('../images/xinwen1.jpg');
    height: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
  }
  
  .new-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 4em;
    text-align: center;
    /* 这里可以添加动画效果 */
    animation: fadeIn 2s ease-in-out;
  }
  
  /* 简单的浮现动画 */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }


.news-container {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.news-item {
    text-decoration: none;
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
}

.date {
    width: 100px; /* 可以根据需要调整宽度 */
    text-align: right;
    padding-right: 20px;
    font-size: 20px;
    /* font-weight: bold; */
    color: rgb(153, 153, 153);;
}

.content {
    flex-grow: 1;

}

.content h6 {
    margin: 0;
    font-size: 22px;
    margin-bottom: 10px;
}

.content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}
.layui-icon{
    font-size: 40px;
    padding-top: 20px;
    padding-right: 20px;
}
.new-a{
    text-decoration: none;
    transition: font-size 0.3s; /* 平滑字体大小变化 */
    
}


.new-a:hover{
    text-decoration: none;
    font-size: 18px;
}
