@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
body{
    /*font-family: 'Press Start 2P', cursive;*/
    /*backdrop-filter:  url(#distortFilter);*/
    font-family: 'Playfair Display', serif;
    color: #fff;
    height: 100%;
    background-color: rgb(14, 25, 35);
    padding: 0 clamp(2vw,2vw,200px);
    max-width: 2100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    /*animation: fireFlicker 1s infinite;*/
    /*font-size: clamp(15px, 0.8vw, 200px);*/
}
.background-layer {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("imgs/wahit.png");
    background-repeat: repeat;
    background-size: clamp(60px,1vw,200px) 500px;
    background-position: top -200px left;
    background-color: #000000;
    filter: url(#distortFilter); /* 滤镜只加在背景图上 */
    z-index: -1;
    pointer-events: none;
}

.background-layer::before {
    content: '';
    position: absolute; /* 背景层不会滚动 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(100, 100, 157, 0); /* 黑色遮罩层，调节透明度 */
    z-index: -1; /* 在背景图和内容之间 */
    pointer-events: none;
    mix-blend-mode: saturation;
}

footer {
    position: relative;  /* 固定位置 */
    left: 0;          /* 左对齐 */
    bottom: 0;        /* 底部对齐 */
    width: 100%;      /* 宽度100% */
    text-align: center; /* 文字居中 */
    font-size: 14px;  /* 字体大小 */
    box-shadow: 0 -1px 2px rgba(0,0,0,0.1); /* 阴影效果 */
    top: 18px;
}



.blink {
    cursor: pointer;
    color: #fff;
    animation: blink-animation 2s;
}

nav ul li {
    cursor: pointer;
    color: #fff; /* 字体颜色 */
    /*animation: blink-animation 1s ;*/
}

@keyframes blink-animation {
    0%   { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

header .photo-bio {
    position: relative;
    margin: 20px 0;
    top: 40px;
    display: flex;
    align-items: center;

    % background: #000;
    padding: 20px;
}
.photo-bio h1 {
    mix-blend-mode: difference;
}
.photo-bio p {
    border: 1px solid #fff;
    background: #000;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 10px;

}

header img {
    width: 150px;
    height: 150px;
    margin-right: 30px;
    border-radius: 50%;
    box-shadow: 0px 0px 20px rgba(155, 232, 23, 0.91);
}



section {
    height: 70vb;
    z-index: 1;
    border: 1px solid #fff;
     background: #000061;
    /* background: #000000;*/
    box-shadow: 10px 10px 10px rgba(186, 106, 106, 0.91);
    /*font-family: 'Press Start 2P', cursive;*/
    margin: 50px 10px 12vb;
    font-family: 'Playfair Display', serif;
    padding: 5px 10px;
    position: relative;
    top: 72px;
}

/* News container: remove negative offset so that the list aligns
   consistently across different screen widths. */
.news-container {
    position: relative;
    /*padding-top: 16px;*/
    /*font-size: clamp(15px, 1vw, 20px);*/
    font-family: 'Playfair Display', serif;
    height: auto;
}

/* Reset offsets applied to paragraphs and list items within the news
   container.  Using a simple margin instead of positioning avoids
   alignment issues on very wide screens. */
/* Reset offsets on paragraphs and list items separately so that
   list items retain their own padding while paragraphs can indent
   slightly. */
.news-container p {
    position: relative;
    margin: 4px 0;
    margin-left: 1vw;
}
.news-container li {
    position: relative;
    margin: 4px 0;
}

.news-list {
    list-style: disc inside;
    padding: clamp(10px, 0.8vw, 10px) 20px 0.2vw 20px;
    /*font-family: 'Press Start 2P', cursive;*/
    font-family: 'Playfair Display', serif;
    font-size: clamp(15px, 0.8vw, 20px);
}

/* Each news item is a flex container so that the title, dashed fill
   and date align horizontally.  Remove absolute positioning and allow
   wrapping on smaller screens. */
.news-list li {
    display: flex;
    /*align-items: center;*/
    /*flex-wrap: wrap;*/
    /*white-space: normal;*/
    /*overflow: hidden;*/
    /*margin: 4px 0;*/
    padding-left: 1.2em; /* Space for the custom bullet */
}

/* On small screens the news items stack vertically.  This prevents
   titles and dates from overlapping and hides the dashed filler. */
@media (max-width: 1000px){
    .news-list li {
        flex-direction: column;
        align-items: flex-start;
    }
    .news-list .dash-fill {
        display: none;
    }
    .news-list .news-date {
        margin-left: 0;
        font-size: 0.9em;
        /*margin-top: 0.2em;*/
    }
}

.news-list li::before {
    content: "•"; /* Unicode 圆点 */
    position: absolute;
    left: 0;
    color:rgb(255, 247, 207); /* 你想要的颜色 */
    font-size: 1.2em;
    line-height: 1;
    top: 50%;
    transform: translateY(-50%);
}

.news-title {
    flex-shrink: 0;
}

.dash-fill {
    flex-grow: 1;
    overflow: hidden;
    padding: 0 8px;
    white-space: nowrap;
    font-family: monospace;
    color: #aaa;
}

.news-date {
    flex-shrink: 1;
    white-space: nowrap;
}


.background {
    z-index: 0;
    border: 1px solid #fff;
    background: #000000;
    margin: 70px 10px 0px;
    box-shadow: none;
    position: fixed;
}
/* Title of section */
section h2 {
    position: relative;
    top: -70px;
    left: -7px;
}
section h3 {
    font-size: 20px;
    position: relative;
    top: -55px;
    left: 10px;
    color: rgb(255, 247, 207);
    padding: 0;
}


/* Section links type */
section a {
    color: rgb(255, 247, 207); /* GitHub's color, or choose your own */
    text-decoration: none; /* Optional: removes underline */
}
section a:hover {
    scale: 1.9;
    text-decoration: underline;
}

.news-container p,li{
    position: relative;
    top: -68px;
    left: -12px;
}

.papers-container {
    position: relative;
    top: -16px;
}



/* Head line Titles */

.titles {
    z-index: 10;
    scale: 70%;
    position: fixed;
    top: -20px;
    left: 1px;
    mix-blend-mode: difference;
    padding: 0px 0px 0px 0px;
    margin: 0px;
}

.titles2 {
    z-index: 10;
    scale: 65%;
    position: fixed;
    top: 3px;
    left: 4.5vw;
    padding: 0px 0px 0px 0px;
    margin: 0px;

}

.explanation{
    position: relative;
    top: -25px;
    color: rgba(0, 255, 115, 0.65);
}

.sub_title {

    align-items: center;
    display: inline-flex;
    position: absolute;
    top: 35px;
    left: 40vw;
    text-decoration: none;
}
@media (max-width: 480px) {
    .sub_title a {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
}



.sub_title a {
    box-shadow: 5px 5px 10px rgb(146, 220, 36);
    display: flex;
    scale: 1.4;
    margin: 0px 8vw 00px;
    z-index: 0;
    padding: 0px 2vw;
    background: #000;
    color: #00ff29;
    border: 1px solid rgba(241, 233, 160, 0.98);
    cursor: pointer;
}
.sub_title a:hover {
    scale: 1.6;
    text-decoration: underline;
}



@keyframes vary_color {
    0%   { backdrop-filter: hue-rotate(0deg)  ; }
    50%   { backdrop-filter: hue-rotate(130deg)  ;}
    100%  { backdrop-filter: hue-rotate(0deg)  ; }
}




header a {
    color: rgba(0, 255, 115, 0.65); /* GitHub's color, or choose your own */
    text-decoration: none; /* Optional: removes underline */
}

header a:hover {
    text-decoration: underline; /* Adds underline on hover for emphasis */
}

.see_more {
    z-index: 0;
    position: fixed;
    bottom: 27px ;
    padding: 5px 20px;
    margin-top: 10px;
    background-color: #000000;
    color: #00ff29;
    border: 1px solid rgba(241, 233, 160, 0.98);
    cursor: pointer;
    right: 6vw;
    box-shadow: 0px 0px 5px rgba(155, 232, 23, 0.91);
}

.see_more:hover {
    scale: 1.1;
}

#datetime {
    z-index: 10;
    mix-blend-mode: difference;
    font-family: 'PixelMplus', cursive;
    scale: 0.8;
    color: white;
    position: fixed;
    top: -15px;
    right: -15px;
    padding: -20px -4px;
    font-weight: bold;
    font-size: 15px;
}
#datetime:hover {
     scale: 0.85;
    right: -10px;
 }

@keyframes fireFlicker {
    0%, 100% {
        box-shadow: 0 2px 15px -50px rgba(255, 100, 0, 0.9),
        0 2px 30px -100px rgba(255, 150, 0, 0.7);
    }
    50% {
        box-shadow: 0 2px 15px 10px rgba(255, 150, 0, 0.7),
        0 2px 30px -150px rgba(255, 200, 0, 0.5);
    }
}

