
 @import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;700&display=swap');

  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Noto Serif SC', serif;
            overflow-x: hidden;
             background-color: #dfd7c8;
        }
        
        /* 头部样式 */
        
        header {
            width: 100%;
            height: 100px;
            background-color: #4a90e2;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: bold;
        }
        
         .gk {
            
         }
        /* 顶部导航栏 */
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
            background: #dfd7c8;
            background-color: #dfd7c8;
            border-radius: 10px;
            border: 2px solid #4d4343;
            box-shadow: 5px 5px 0px -2px #434343, 5px 5px #434343;
            
        }

        .navbar .logo {
            font-size: 24px;
            font-weight: bold;
            color: white;
            text-decoration: none;
        }

        .navbar .archive-and-about {
            display: flex;
            align-items: center;
        }

        .navbar .archive-and-about a {
            font-size: 16px;
            color: black;
            text-decoration: none;
            margin-left: 16px;
        }
        
        
        
        
        .navbar .logo-title {
        isplay: flex;
    flex-direction: column;
        
        }
        
        
        .gk-title {
            font-size: 24px;
            margin-bottom: 5px;
            font-weight: 600;
            text-decoration: none;
            
             display: flex;
    justify-content: space-between;
        }
        .gk-title a{
            color: black;
            font-size: 24px;
            margin-bottom: 5px;
            font-weight: 700;
            text-decoration: none;
        }
        
        .gk-subtitle {
            color: #000;
            font-size: 14px;
        }
        
        
        
        
        
        
        .gk-container {
            display: flex;
            width: 100%;
        }
         /* 左边 */
        .left-column {
            width: 20%;
           
            padding: 20px;
            border-radius: 10px;
            border: 2px solid #4d4343;
                    }
         /* 中间栏 */
        .middle-column {
            width: 100%;
            padding: 20px;
           
        }
         /* 右边栏 */
        .right-column {
            width: 30%;
            display: flex;
            flex-direction: column;
        }
        
        .right-top {
            height: 200px;
            width: 240px;
            margin: 20px auto;
            background-color: #f8f9fa;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
             border: 2px solid #4d4343;
            box-shadow: 5px 5px 0px -2px #434343, 5px 5px #434343;
        }
        
        .right-bottom {
            width: 240px;
            margin: 0 auto 20px;
            background-color: #f8f9fa;
            border-radius: 8px;
            height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
             border: 2px solid #4d4343;
            box-shadow: 5px 5px 0px -2px #434343, 5px 5px #434343;
        }
        
        
        
         /* 主体文章样式 */
         .item {
             font-family: 'Noto Serif SC', serif;
            display: flex;
            align-items: flex-start; /* 顶部对齐 */
            padding: 10px 0;
            border-bottom: 1px solid #eee;
            justify-content: space-between;
        }
        
        .category {
            width: 100px;
            padding: 5px;
            text-align: center;
            border-radius: 4px 4px 0 0;
            color: white;
            font-size: 12px;
            position: relative; /* 为日期的绝对定位做准备 */
            margin-right: 10px; /* 分类标签与内容之间的水平间距 */
        }
        
        .music {
            background-color: #474646;
        }
        .music a{
            color: white;
        }
        
        .beauty {
            background-color: #2196F3;
        }
        
        .date {
            background-color: #f5f5f5;
            color: #666;
            font-size: 12px;
            
            position: absolute; /* 绝对定位 */
            top: 28px; /* 调整日期的位置，使其与分类标签保持距离 */
            left: 0; /* 左对齐 */
            width: 100%; /* 宽度占满分类标签 */
            text-align: center; /* 文字居中 */
        }
        
        .content {
            display: flex;
            flex-direction: column; /* 标题和副标题垂直排列 */
        }
        
  
        
         .card-title {
            font-size: 16px;
            margin-bottom: 5px;
            white-space: nowrap; /* 防止文字换行 */
  overflow: hidden; /* 隐藏超出部分 */
  text-overflow: ellipsis; /* 显示省略号 */
        }
        
        .card-title a{
           color: rgb(0 0 0);
           text-decoration: none;
           align-items: center;
  font-weight: 600; /* 减小字体粗细 */
        }
        
  
 
        
        
        .subtitle {
            color: #66666687;
            font-size: 14px;
        }
        .subtitle a{
            color: #66666687;
            font-size: 14px;
        }
        
        
        
        
        
        
        .gk-tainer {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 30px;
    background-color: #dfd7c8;
    display: flex;
    align-items: center;
    padding-left: 20px;
  }
        
         .gk-text {
    position: absolute;
    white-space: nowrap;
    animation: moveLeft 10s linear infinite;
  }

  @keyframes moveLeft {
    from {
      transform: translateX(100%);
      opacity: 1;
    }
    to {
      transform: translateX(-100%);
      opacity: 0;
    }
  }
        
        
        
        
        
        
        
        
        
        /* 搜索样式 */
       #search {
    padding: 3rem 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem;
    border-top: 1px solid #424242;
    border-bottom: 1px solid #424242;
    margin-bottom: 2rem;
}
        
        #search button {
    width: 6rem;
    background: unset;
    cursor: pointer;
    padding: 8px 16px;
}
        
      .button-search {
    border-width: 2px;
    box-shadow: 0px 0px 0px 0px #434343, 0px 0px #434343;
    border-color: #434343;
    word-break: break-all;
    border-radius: 0.25rem;
    border-top-left-radius: 250px 10px;
    border-top-right-radius: 15px 204px;
    border-bottom-left-radius: 15px 257px;
    border-bottom-right-radius: 230px 15px;
    border: 2px solid #4d4343;
    position: relative;
    overflow: auto;
    padding: 8px 16px;
    background-color: #dfd7c8;
}  
        
        
        
        
        
        /* 底部分页按钮样式 */
/* 分页按钮容器样式 */
.pagination-container {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
}

/* 上一页按钮样式 */
.prev {
  display: inline-block;
  color: #000000;
  text-decoration: none;
  transition: background-color 0.3s ease;
  border-width: 2px;
    box-shadow: 0px 0px 0px 0px #434343, 0px 0px #434343;
    border-color: #434343;
    word-break: break-all;
    border-radius: 0.25rem;
    border-top-left-radius: 250px 10px;
    border-top-right-radius: 15px 204px;
    border-bottom-left-radius: 15px 257px;
    border-bottom-right-radius: 230px 15px;
    border: 2px solid #4d4343;
    position: relative;
    overflow: auto;
    padding: 8px 16px;
}

.prev:hover {
  background-color: #d0d0d0;
}

/* 下一页按钮样式 */
.next {
  display: inline-block;
color: #000000;
text-decoration: none;
  transition: background-color 0.3s ease;
  border-width: 2px;
    box-shadow: 0px 0px 0px 0px #434343, 0px 0px #434343;
    border-color: #434343;
    word-break: break-all;
    border-radius: 0.25rem;
    border-top-left-radius: 250px 10px;
    border-top-right-radius: 15px 204px;
    border-bottom-left-radius: 15px 257px;
    border-bottom-right-radius: 230px 15px;
    border: 2px solid #4d4343;
    position: relative;
    overflow: auto;
    padding: 8px 16px;
  
  
  
  
}

.next:hover {
  background-color: #d0d0d0;
}
        
        
        
        
        
        /* 回到顶部按钮样式 */
        .scroll-top-btn {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background-color: #4a90e2;
            
            
            
           background: radial-gradient(100% 225% at 100% 0%, #5517d5 0%, #000000 100%),linear-gradient(35deg, #003105 0%, #17001F 75%),linear-gradient(55deg, #2400FF 0%, #000000 100%),linear-gradient(314deg, #FFE037 0%, #FFE037 40%, #1DCD9F 40%, #1DCD9F 50%, #088C6F 50%, #088C6F 70%, #23033C 70%, #23033C 100%),linear-gradient(180deg, #a70080 0%, #FF8FE5 45%, #FBFF64 45%, #ffffff 60%, #76E3FF 60%, #76E3FF 80%, #6EB6E7 80%, #6EB6E7 100%);
  background-blend-mode: screen,overlay,overlay,darken,normal;
            
            
            
            color: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s, transform 0.3s;
            transform: translateY(20px);
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
            z-index: 1000;
        }
        
        .scroll-top-btn.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        .scroll-top-btn:hover {
            background-color: #3a7bc8;
        }
        
        .scroll-top-btn .progress-ring {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            
            border: 4px solid black;
            border-top-color: #ffffff;

            animation: spin 2s linear infinite;
        }
        
        .scroll-top-btn .progress-text {
            position: relative;
            z-index: 1;
            font-size: 12px;
            font-weight: bold;
        }
        
        .scroll-top-btn .back-text {
            font-size: 14px;
            margin-top: 4px;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        /* 添加一些内容使页面可滚动 */
        .footer {
            padding: 10px;

            
        }
        
        .footer-txt {
            height: 100px;
           
        }
        
        
        
        @media (max-width: 768px) {
            .gk-container {
                flex-direction: column;
            }
            
            .left-column, .right-column {
                display: none;
            }
            
            .middle-content {
                width: 100%;
            }
            
            /* 设置文章标题的最大宽度 */
            .card-title {
            width: 300px; /* 设置标题的最大宽度 */
            font-size: 16px;
            margin-bottom: 5px;
            white-space: nowrap; /* 防止文字换行 */
  overflow: hidden; /* 隐藏超出部分 */
  text-overflow: ellipsis; /* 显示省略号 */
        }
            
            
            .gk {
            padding: 10px;
         }
            
            
           
           
           
           
           
           /* 输入框和文本域样式 */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
textarea {
 
  width: 100%;
  box-sizing: border-box;
   box-shadow: 0px 0px 0px 0px #434343, 0px 0px #434343;
    border-color: #434343;
    background-color: #dfd7c8;
    word-break: break-all;
    border-radius: 0.25rem;
    border-top-left-radius: 250px 10px;
    border-top-right-radius: 15px 204px;
    border-bottom-left-radius: 15px 257px;
    border-bottom-right-radius: 230px 15px;
    border: 2px solid #4d4343;
    position: relative;
    overflow: auto;
    padding: 8px 16px;
  
}
           
           
           
           
           
           
           
            
        }