@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: 800%;
    background-image: url("imgs/cover1.png");
    background-repeat: repeat;
    background-size: clamp(30px,1vw,200px) 50000px;
    background-position: top 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.7); /* 黑色遮罩层，调节透明度 */
    z-index: -1; /* 在背景图和内容之间 */
    pointer-events: none;
    mix-blend-mode: saturation;
}

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





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

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




section {
    /*border: 1px solid #fff;*/
    /*background: #000000;*/
    /*box-shadow: 10px 10px 10px rgba(186, 106, 106, 0.91);*/
    /* 删除 margin 和 top */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 20vw;
    font-family: 'Times New Roman', Times, serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    /*mix-blend-mode: screen;*/
    z-index: 1;
    margin: 0;
    scale: 1.0;
}


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



/* Title of section */
section h2 {
    display: flex;
    justify-content: center;
    position: relative;
    font-size:  clamp(20px, 4vw, 200px);
    font-weight: lighter;
    letter-spacing: 0.6em;
    word-spacing: 0.5em;
    /*top: -180px;*/
    /*margin-top: 50px;*/
    /*margin-bottom: 100px;*/
    mix-blend-mode: screen;
}

section h3 {
    font-size:  clamp(18px, 1.5vw, 200px);
    position: relative;
    top: -55px;
    left: 10px;
    color: rgb(255, 247, 207);
    padding: 0;
}


.about-container{
    position: relative;
    /*top: -250px;*/

    font-family: 'Times New Roman', Times, serif;
    font-style: normal;
    font-variant-emoji: auto;
    font-synthesis: none;
}

/* 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: -72px;
    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;
}

.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: 1;
    position: fixed;
    align-items: baseline;
    bottom: 12vh ;
    right: 10vw;
    padding: 5px 20px;
    /*margin-top: 10px;*/
    background-color: #000000;
    color: #00ff29;
    border: 1px solid rgba(241, 233, 160, 0.98);
    cursor: pointer;
    /*right: 1vw;*/
    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;
 }





/* Glitch effect adjustments */
.about-container .about-glitch {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    font-size: clamp(13px, 1.5vw, 200px);
    letter-spacing: 0.25em;
    word-spacing: 0.7em;
}

.no-jitter-char {
    display: inline-block;
    white-space: pre;
    vertical-align: baseline;
    overflow: hidden;
}
/* Avoid per-letter wrapping; keep words intact */
.word-lock {
    display: inline-block;
    white-space: nowrap;
}