/* 蓝色风格 */
/*
:root{
    --headnav-bg-color: #21337a;
    --headnav-color: gold;
    --headnav-focus-color: white;
    --headnav-menu-open-color: white;
    --headnav-menu-close-color: white;

    --buzz-list-title-color: #344999;
    --buzz-detail-title-color: #344999;
}
*/
/* 灰色风格 */
/*
:root{
    --headnav-bg-color: #f5f5f5;
    --headnav-color: black;  
    --headnav-focus-color: #b5b053;
    
    --headnav-menu-open-color: black;
    --headnav-menu-close-color: black;

    --buzz-list-title-color: black;
    --buzz-detail-title-color: black;    
}
*/
/* 橘红风格 */
:root{
    --headnav-bg-color: #dd504a;
    --headnav-color: white;  
    --headnav-focus-color: #b5b053;
    
    --headnav-menu-open-color: white;
    --headnav-menu-close-color: white;

    --buzz-list-title-color: #dc6f4e;
    --buzz-detail-title-color: #dc6f4e;
}



/* #region 顶部导航栏 */
.header {
    position: fixed;
    top: 0;
    width: 100vw;
    background-color: var(--headnav-bg-color, #21337a);
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(30px);
    z-index: 10;
}
.header .center {
    height: 50px;
    box-sizing: border-box;
    padding: 20px 45px;
    display: flex;
    flex-direction: row;
    align-items: center;
}
@media screen and (min-width: 1100px) {
    .header .center{
        width: 1050px;
    }         
}

@media screen and (min-width: 900px) and (max-width: 1100px){
    .header .center{
        width: 850px;
    }         
}

@media screen and (max-width: 900px){
    .header .center{
        width: 100%;
    }         
}

.header img {
    height: 40px;
}

.header .go_back{
    color: var(--headnav-color, gold);
    text-decoration: none;
    visibility: hidden;

}

.header .links {
    display: flex;
}

@media screen and (min-width: 900px){
    .header .links{
        margin-left: 150px;
    }

    .header .link{
        color: var(--headnav-color, gold);
        padding: 9px 15px;
        margin-left: 10px;
        border-radius: 2px;
        text-decoration: none;
        transition: background 200ms;
    }

    .header .link:hover{
        background-color: rgba(255, 255, 255, .2);
    }

    .header .link_current{
        color: var(--headnav-focus-color, white);
    }

    .header .closemenu{
        display: none;
    }

    .header .openmenu{
        display: none;
    }

    .header .menubg{
        display: none;
    }
}

@media screen and (max-width: 900px){
    .header .center {
        height: 50px;
        box-sizing: border-box;
        padding: 20px 45px;
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .header .go_back{
        visibility: visible;
    }

    .header img{
        margin-left: auto;
        border: 0;
    }

    .header .links{
        position: fixed;
        top: 0;
        right: -190px;
        width: 180px;
        height: 100vh;
        padding: 0;
        transform: translateX(0);
        background-color: var(--headnav-bg-color, #21337a);
        flex-direction: column;
        align-items: start;
        transition: transform 250ms;
        z-index: 20;
    }

    .header .menuopen .links{
        transform: translateX(-190px);
    }

    .header .links .link{
        margin: 0;
        padding: 10px 25px;
        width: 100%;
        box-sizing: border-box;
        color: var(--headnav-color, gold);
        text-decoration: none;
    }

    .header .links .link:hover{
        background-color: rgba(255, 255, 255, .2);
    }

    .header .links .link_current{
        color: var(--headnav-focus-color, white);
    }

    .header .closemenu{
        all: unset;
        height: 70px;
        width: 100%;
        margin-left: auto;
        box-sizing: border-box;
        padding: 20px 25px 20px 25px;
        position: relative;
    }

    .header .closemenu span{
        position: absolute;
        top: 30px;
        left: 35px;
        display: inline-block;
        height: 20px;
        width: 2px;
        background-color: var(--headnav-menu-open-color,#fff);
    }

    .header .closemenu .l {
        transform: rotate(45deg);
    }

    .header .closemenu .r {
        transform: rotate(-45deg);
    }

    .header .openmenu{
        all: unset;
        margin-left: auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 1.5rem;
        height: 1.2rem;
    }
    .header .openmenu span{
        display: inline-block;
        width: 100%;
        height: 2px;
        background: var(--headnav-menu-open-color, white);
    }

    .header .menubg{
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 120vh;
        background: rgba(0,0,0, .25);
        opacity: 0;
        visibility: hidden;
        transition: opacity 250ms, visibility 0ms 250ms;
    }

    .header .menuopen .menubg{
        opacity: 1;
        visibility: visible;
        transition: opacity 250ms;
    }
}

/* #endregion 顶部导航栏 */

/* #region 页脚 start */
.footer {
    width: 100%;
    height: 180px;
    background-color: var(--headnav-bg-color, #21337a);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.footer .center {
    width: 80%;
    box-sizing: border-box;
    margin-left: auto;
}

.footer .links {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.footer .link{
    width: 140px;
    color: var(--headnav-color, gold);
    padding: 9px 15px;
    font-family:Georgia, Helvetica, sans-serif;
    text-align: center;
    text-decoration: none;
    transition: background 200ms;
}

@media screen and (min-width: 900px){
    .footer .link:hover{
        border-radius: 2px;
        background-color: rgba(255, 255, 255, .2);
    }    
}
/* #endregion 页脚 end */