:root{
    /* 主题色 */
    --primary-color: #81acd4;
    --primary-color2: #ff4f7d;
    --focus-color: #425aef;
    --color-white: #ffffff;
    /* 文字颜色 */
    --font-color: #333333;
    --font-color-dark: #000000;
    --font-color-city: #878a94;
    --font-color-title: #ffffffe6;
    --font-color-post-mate: #ffffffe6;
    --font-color-link: #81acd4;
    --font-color-link-hover: #b2cee7cc;
    --font-color-strong: #628fba;
    /* 背景 */
    --bg-color-white: #fafafa;
    --bg-color-blur-white-cc: #ffffffb7;/* 模糊 */
    --bg-color-blur-white: #ffffff99;
    --bg-color-blur-white-inner:#ffffffa6;
    --bg-color-white-de: #ffffffde;
    --bg-color-white-99: #ffffff75;
    /* 阴影 */
    border: 1px solid var(--border-color-blur);
    --box-shadow: #00000037;
    /* 字体大小 */
    --font-size-title: 3rem;
    --font-size-h1: 2rem;
    --font-size-h2: 1.8rem;
    --font-size-h3: 1.6rem;
    --font-size-h4: 1.4rem;
    --font-size-h5: 1.2rem;
    --font-size-h6: 1em;
    /* 字体粗细 */
    --font-weight-bold: 700;
    --font-weight-semi-bold: 600;
    --font-weight-medium: 500;
    --font-weight-normal: 400;
    /* 描边 */
    --border-color-blur: rgba(74, 84, 96, 0.244);
    --border-select: #2f90ff;
    /* 圆角 */
    --border-rad-s: .3em;
    --border-rad-m: .6em;
    --border-rad-l: 1em;

}

/* 标签重写 */

a{
    text-decoration: none;
    color: var(--font-color-link);
}

::selection{
    background-color: #81acd49c;
}

/* 字体 font face */
@font-face{
    font-family: 'XLWK';
    src: url(../font/LXGWWenKai-Medium.ttf);
    font-weight: normal;
    font-display: swap;
}
@font-face{
    font-family: 'MM';
    src: url(../font/MapleMono-NF-CN-Medium.ttf);
    font-weight: normal;
    font-display: swap;
}
*{
    margin: 0;
    padding: 0;
}
body{
    margin-top: 60px;
    font-size: 16px;
    width: 100%;
    font-family: XLWK;
}


/* 背景 bg img */
.bg-img img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -99;
}


/* 顶栏 top bar */
.main-header{
    height: 64px;
    width: 100vw;
    display: flex;
    justify-content: space-between;
    align-content: center;
    position: fixed;
        top: 0px;
    background-color: var(--bg-color-blur-white-cc);
    backdrop-filter: blur(1em);
    box-shadow: 0 5px 4px var(--box-shadow);
    z-index: 100;
}

.hdr-left{
    margin-left: 80px;
    width: 340px;
}

.hdr-logo img{
    width: auto;
    height: 55px;
    margin: 4.5px auto;
    transition: all .5s ease;
}

.hdr-logo img:hover{
    filter: blur(.15em);
}

.hdr-tip{
    margin: auto 0;
    margin-right: 18px;
    padding: 5px 15px;
    height: 18px;
    width: 340px;
    line-height: 18px;
    color: var(--font-color-link);
    background-color: #94b4d140;
    border: 1px solid #7892aba1;
    box-shadow: 0 0 0 #81acd400;
    border-radius: 1em;
    transition: all .3s ease;
}
.hdr-tip:hover{
    transform: scale(1.01);
    color: var(--font-color-strong);
    box-shadow: 0 0 8px #5b728792;
}
.hdr-tip-link{
    color: #ff97c8;
    font-weight: 700;
}
.hdr-tip.mobile {
    display: none;
}
.hdr-tip.mobile .hdr-tip-link{
    color: #ff7eaf;
}

.main.container{
    width: 100%;
    box-sizing: border-box;
    min-height: calc(100vh - 64px);
}

/* 标题 */
.title.container{
    position: relative;
    top: 30vh;
    width: 100%;
    margin: 20px 0 30px 0;
}
.title,
.description{
    text-align: center;
    font-size: 2em;
    font-family: MM;
    color: var(--font-color-title);
    text-shadow: 0 0 20px #0c3c42; 
}
.description{
    font-size: 1.2em;
}

/* bar */
.nav-bar{
    position: relative;
    top: 50vh;
    margin: auto;
    display: flex;
    justify-content: center;
    align-content: center;
}

.nav-item{
    width: 200px;
    padding: 20px 25px;
    background-color: var(--bg-color-blur-white-cc);
    backdrop-filter: blur(1em);
    border-radius: 1em;
    border: 1px solid var(--border-color-blur);
    transition: all .3s ease;
}

.nav-item:hover{
    border: 1.5px solid var(--border-select);
    transform: translateY(-10px);
    box-shadow: 3px 2px 15px #6161619d;
    text-shadow: 0 0 15px #9aabb9;
}

.node-name{
    font-weight: 700;
    font-size: 2em;
    text-align: center;
}
.node-domain-name{
    margin-top: 10px;
    font-size: 1.5em;
    color: #6e8dab;
    text-align: center;
}
.go{
    margin-top: 10px;
    font-size: .8em;
    color: var(--font-color-city);
    font-size: 1em;
    text-align: center;
}

.bottom-bar{
    height: 60px;
    width: 50vw;
    margin: 0 25vw;

    display: flex;
    justify-content: center;
    align-content: center;
    position: fixed;
    bottom: 10px;
    background-color: var(--bg-color-blur-white-cc);
    backdrop-filter: blur(1em);
    box-shadow: 0 -5px 4px var(--box-shadow);
    z-index: 100;
}

/* 响应式 */
@media (max-width:1124px){
    .main-header{
        justify-content: center;
        height: 40px;
    }
    .hdr-logo img{
        height: 30px;
    }
    .hdr-left{
        display: none;
    }
    .hdr-tip{
        display: none;
    }
    .hdr-tip.mobile{
        display: block;
        position: relative;
        top: 40px;
        margin: auto;
        background-color: #94b4d16e;
        color: var(--font-color-title);
    }

    .hdr-tip.mobile 

    .title.container{
        top: 40vh;
    }
    .title{
        font-size: 1.7em;
    }
    .description {
        font-size: 1em;
        margin-top: 15px;
    }
    .nav-bar {
        top: 48vh;
    }
    .nav-item{
        margin-bottom: 20px;
    }
}


@media (max-width: 375px) {
    body {
            margin-top: 40px;
        }
    .hdr-tip.mobile {
        /* display: block; */
        /* position: relative; */
        top: 20px;
        font-size: 10px;
        max-width: 215px;
        width: auto;
        /* margin: auto; */
        /* background-color: #94b4d16e; */
        /* color: var(--font-color-title); */
    }
}

@media (max-width: 250px) {
    .hdr-tip.mobile {
        /* display: block;
        position: relative;
        top: 20px; */
        font-size: 3vw;
        max-width: 65vw;
        /* width: auto; */
        /* margin: auto; */
        padding-top: 0;
        padding-bottom: 0;
        /* background-color: #94b4d16e;
        color: var(--font-color-title); */
    }
}

