/* styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    min-height: 100vh;
    display: flex; 
    flex-direction: column;
}

.index {
    flex-direction: column;
}

.header {
    background-color: #333333;
    color: #fff;
    padding: 1rem;
    text-align: center;
}

.logo {
    font-size: large;
    float: left;
}

.logo img {
    margin: 0 1rem 0 1rem;
}

.sidebar {
    background-color: #f4f4f4;
    width: 200px;
    padding: 1rem;
    border-end-end-radius: 10px;
}

.sidebar ul {
    list-style-type: none;
}

.sidebar ul li {
    margin-bottom: 1rem;
}

.sidebar ul li a:hover {
    color: #a4a4a4;
}

.sidebar ul li a {
    text-decoration: none;
    color: #333;
    font-size: large;
}

.footer {
    background-color: #ffffff;
    color: #a4a4a4;
    text-align: center;
    width: 100%;
    border-top: 1px solid #ddd;
    margin-top: auto;
}


.main {
    display: flex;
    flex-direction: row;
}



.table-container {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    width: 100%;
}

.table-container button {
    width: fit-content;
    margin-left: 0.5rem;
    padding: 0.3rem;
}

.operation {
    max-width: 3rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    border: 1px solid #ddd;
    padding: 0.3rem;
    text-align: left;
}

table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.more {
    text-align: center;
    width: 100px;
    margin: 1rem auto;
}

.more:hover {
    cursor: pointer;
    color: #a4a4a4
}
.active {
    font-weight: bold;
}
.intro {
    color: #a4a4a4;
    margin-left: 1rem;
    font-size: small;
}
.line {
    margin: 1rem 0;
}

.line input {
    width: 90%;
    max-width: 800px;
    min-width: 300px;
    height: 1.5rem;
    font-size: medium;
}
.name {
    display: block;
    width: 200px;
    padding-bottom: 0.5rem;
    font-size: medium;
}
#img-change{
    height: 45px;
    width: 250px;
    vertical-align: bottom;
    cursor: pointer;
}

.mainimg {
    margin-top: 1rem;
    height: 200px;
    width: 300px;
}

.close{
    position: relative; 
    width: 30px; 
    height: 30px; 
    top: -160px; 
    right: 50px; 
    z-index:10;
    cursor: pointer;
}

#wechat-change{
    width: 100px;
    height: 100px;
    cursor: pointer;
    vertical-align: bottom;
}

.maxhi{
    width: 100%;
    max-height: 640px;
    object-fit: fill;
}

.center{
    text-align: center;
}

.light{
    color: #fd0d0d;
}

#editor—wrapper {
    border: 1px solid #ccc;
}
#toolbar-container {
    border-bottom: 1px solid #ccc;
}
#editor-container {
    height: 1000px;
}

#cover-change{
    width: 310px;
    height: 200px;
    cursor: pointer;
    vertical-align: bottom;
}
#favicon-change{
    width: 32px;
    height: 32px;
    cursor: pointer;
    vertical-align: bottom;
}

.imgszie{
    width: 310px;
    height: 200px;
    object-fit: fill;
}
.btext{
    width: 90%;
    min-width: 300px;
    max-width: 800px;
    height: 200px;
}

.imgsszie{
    width: 150px;
    height: 100px;
    object-fit: fill;
}

.imgbszie{
    width: 410px;
    height: 300px;
    object-fit: fill;
}

.btitle{
    text-align: center;
    font-size: xx-large;
    margin-bottom: 30px;
    font-weight: bold;
}
.copyright{
    width: 100%;
    text-align: center;
}
.company{
    color: #707070;
    margin: 0 10px 0 10px;
}
.range{
    font-size: small;
    color: #707070;
}
.nav-link{
    margin-top: 0.5rem;
}
.pdesc{
    display: inline-block; 
    min-width: 300px;
    max-width: 800px;
    width: 60%;
    vertical-align:top; 
    padding: 20px;
}

.cwidth {
    width: 80%;
}
.gwa{
    width: 20px;
    height: 20px;
    margin: 5px 5px;
}
.pname{
    font-size: large;
    font-weight: bold;
}
.bdate {
    text-align: center;
}
.loginout{
    float: right;
    margin-right: 1%;
}
.outa{
    color: #fff;
}