
html, body {
    margin: 0;
    background-color: rgb(var(--bg-color));
}
.newslist{
    width: 90%;
    min-height: 70vh;
    height: auto;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 25px;
    
}
.selected{
    background-color: rgba(var(--accent-color));
}
.selector{
    width: 50%;
    height: 50px;
    position: relative;
    left: 50%;
    transform: translateX(-50);
    background-color: gray;
}
.news{
    border: solid 1px rgba(0,0,0,0.1);
    width: 100%;
    height: 140px;
    margin-bottom:8px ;
    display: flex;
    flex-direction: row;
    position: relative;
    background-color: rgba(var(--bg-color));
}
.newslist a{
    text-decoration: none;
    color: rgb(var(--text-color));
}
.newstitle{
    position: absolute;
    background-color:rgba(var(--accent-color),1);
    color: rgb(var(--text-color));
    width: 100%;
    min-height: 40px;
    text-align: center;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.newsdate{
    position: absolute;
    bottom: 3px;
    right: 10px;
    width: 100px;
    height: 40px;
    line-height: 40px;
    text-align: right;
}
.news img{
    max-width: 95%;
}
.maintitle{
    width: 100%;
    min-height: 45px;
    text-align: center;
    font-size: 32px;
    background-color: #202022;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.reader{
    width: 100%;
    min-height: 100%;
    height: fit-content;
    position: relative;
    padding: 20px;
    box-sizing: border-box;
}
.reader img{
    max-width: 95%;
}
.news_page{
    width: 75vw;
    margin-inline: auto;
    position: relative;
    background:rgb(var(--page-bg-color));
    border: 1px solid silver;
    box-sizing: border-box;
    word-wrap: break-word;
}
.news_page *{
    box-sizing: border-box;
}
.news_title{
    width: 100%;
    height: 60px;
    background: rgb(var(--page-bg-color));
    font-size: x-large;
    font-weight: bold;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.news_img{
    position: relative;
    left: 50%;
    margin-top: 12px;
    transform: translateX(-50%);
}
.news_date{
width: 100%;
height: 30px;
font-size: 14px;
font-weight: bold;
display: flex;
align-items: center;
justify-content: flex-end;
padding-right: 10px;
margin-top: 5px;
}
.news_content{
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
}
.return_news{
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-inline: 10px;
}
.return_news a{
    text-decoration: none;
    color: rgb(var(--main-color));
}
.pagination{
    width: 100%;
    height: 50px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    box-sizing: border-box;
    gap: 4px;
    margin-top: 5px;
    border-top: 1px solid rgb(var(--main-color));
    padding: 5px;
}
.button{
    background-color: #fff; 
    border: none;
    color: #000;
    width: 40px;
    height: 40px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}
.active{
    background-color: rgb(var(--main-color));
    color: #fff;
}
@media only screen and (max-width: 600px) {
    .news_page{
        width: 100vw;
    }
    .reader{
        padding: 0;
    }
    }