/* 默认样式适用于电脑端 */
.item {
    position: relative;
    float: right;
    margin-right: 20px;
    margin-bottom: 34px;
}

h1 {
    margin: 0;
    font-size: 40px;
    margin-top: 24px;
}

body {
    font-family: 'Bree Serif', serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
}

.logo-title-container {
    display: flex;
    align-items: center;
}

.dropdown {
    position: relative;
    display: inline-block;
    margin-right: 100px;
}

.dropbtn {
    background-color: transparent;
    color: black;
    font-size: 30px;
    border: none;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    box-shadow: none;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, +28%);
}

.dropdown-content .flex-container {
    display: flex;
    flex-direction: row;
    padding: 0;
    align-items: center;
}

.dropdown-content a{
    padding: 12px 16px;
}
a {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    color: black;
    background-color: transparent;
    border: none;
    white-space: nowrap;
}


.dropdown-content a:hover {
    color: green;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.green {
    color: green;
}

.imglogo {
    position: relative;
    width: 80px;
    height: auto;
    margin-right: 10px;
    margin-left: 20px;
    margin-top: 20px;
}

.imglogobottom {
    position: relative;
    margin-top: 6px;
    width: 80px;
    height: auto;
}

.image-container {
    position: relative;
    margin-top: 30px; /* 保持距离为30px */
}

.container {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start; /* 修改为flex-start以使子项在列表标题下方 */
    margin-top: 80px;
    margin-right: 40px; /* 根据需要调整此边距 */
    position: relative; /* 添加相对定位，以便后续绝对定位的使用 */
}

.column {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    margin-left: 20px; /* 根据需要调整此边距 */
}

.list-title {
    font-size: 20px; /* 根据需要调整此字体大小 */
    margin-right: 100px;
}

.sub-list {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: column; /* 列表项垂直排列 */
    margin-left: 14px;

}

.sub-list li {
    font-size: 14px;
    margin-bottom: 4px; /* 根据需要调整此边距 */
    margin-top: 6px;
}

.spanarrow{
    font-size: 24px;
}
.line {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 1px;
    margin-top: 10px;
    border-left: 1px  solid black; /* 使用border属性来绘制细线 */
    height: 46px;
}
.announcementContent{
    margin-right: 48px;
    margin-left: 48px;
    margin-top: -20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column; /* 列表项垂直排列 */
}
.title{
    margin-right: 48px;
    margin-left: 48px;
    margin-top: 120px;
    font-size: 40px;
    font-weight: bold;
}

.time{
    margin-right: 48px;
    margin-left: 48px;
    margin-top: -20px;
    margin-bottom: 40px;
}

.announcementContent p{
    font-size: 26px;
    text-align: justify;
    line-height: 1.5;
}


.imgPosition {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
    margin-top: 20px;
}

.imgStats {
    width: 140%; /* 或者设置一个适当的百分比 */
    height: auto;
    max-width: 100%; /* 保持图片不超过其实际大小 */
}

.announcementContent {
    margin-right: 48px;
    margin-left: 48px;
    margin-top: -20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column; /* 列表项垂直排列 */
}
.pdiv{
    margin-top: 68px;
}
.pdiv p {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    line-height: 0.5; /* 设置行距为1.5倍行高，可以根据需要调整 */
    color: grey;
    font-size: 14px;
}
.a-banner{
    text-decoration: underline;
    text-align: center;
    align-items: center;
    color: green;
}
.center-div {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2vh; /* 让 div 充满整个视口高度，可根据需要调整 */
    font-size: 36px;
}
.exitBtnP{
    display: flex;
    align-items: center;
}
.exitBtn {
    width: 60px; /* 设置按钮的宽度 */
    height: 60px; /* 设置按钮的高度，以创建正方形 */
    border-radius: 60px; /* 设置按钮的圆角 */
    background-color: #d7d7d7; /* 设置按钮的背景颜色为灰色 */
    color: #000000; /* 设置按钮的文本颜色 */
    font-size: 16px; /* 设置按钮的字体大小 */
    display: flex;
    justify-content: center;
    align-items: center;
    border: none; /* 移除按钮的边框 */
    cursor: pointer; /* 设置初始的鼠标样式 */
}
/* 添加手机端适配样式 */

@media only screen and (max-width: 600px) {
    /* 在屏幕宽度小于等于600px时应用以下样式 */
    /*基本框架代码*/
    .item {
        float: none;
        margin-right: 0;
        margin-bottom: 20px;
    }

    h1 {
        font-size: 24px;
        margin-top: 12px;
    }

    body {
        overflow-x: visible;
        overflow-y: scroll; /* 始终显示垂直滚动条 */
    }

    .dropdown {
        margin-right: 0px;
    }

    .dropbtn {
        margin-left: 10px;
        font-size: 20px;
    }
    .spanarrow{
        font-size: 20px;
    }
    .dropdown-content {
        min-width: 120px;
        transform: translate(-30%, 10%);
        font-size: 12px;
    }

    .dropdown-content .flex-container {
        flex-direction: row;
        justify-content: space-between;  /* 在水平方向上平均分布子元素 */
    }
    .dropdown-content a {
        padding: 8px 10px;  /* 调整下拉项的内边距 */
    }
    .imglogo {
        width: 60px;
        margin-top: 10px;
    }
    .image-container {
        margin-top: 6px; /* 保持距离为30px */
    }

    .imglogobottom {
        width: 50%; /* 相对宽度，按比例缩小 */
        max-width: 50px; /* 设置最大宽度，防止过度缩小 */
        margin-top: 4px;
    }

    .container {
        flex-direction: row;
        align-items: flex-start;
        margin-top: 20px;
        margin-right: 20px;
    }

    .column {
        flex-direction: row;
        margin-top:6px;
        margin-left: -20px;
    }

    .list-title {
        margin-right: 6px;
        font-size: 16px;
    }

    .sub-list {
        margin-left: 4px;
    }

    .sub-list li {
        font-size: 10px;
        margin-bottom: 2px; /* 调整边距 */
        margin-top: 2px; /* 调整边距 */
    }

    .pdiv {
        margin-top: 20px; /* 调整上边距 */
    }

    .pdiv p {
        margin-top: 0;
        line-height: 0.5;
        font-size: 8px;
    }

    .line {
        margin-top: 8px; /* 调整上边距 */
        height: 26px; /* 调整线的高度 */
    }
    /*
    other
     */
    .announcementContent,
    .title,
    .time {
        margin-right: 20px; /* 调整右边距 */
        margin-left: 20px; /* 调整左边距 */
        margin-top: 40px; /* 调整上边距 */
    }

    .title {
        font-size: 28px; /* 根据需要调整字体大小 */
    }

    .announcementContent {
        flex-direction: column; /* 垂直方向布局，元素堆叠 */
        text-align: justify; /* 文字两端对齐 */
    }

    .announcementContent p {
        font-size: 16px; /* 根据需要调整字体大小 */
        line-height: 1.5; /* 根据需要调整行距 */
    }

    .time {
        margin-top: 20px; /* 调整上边距 */
    }

    .exitBtnP {
        display: flex;
        justify-content: center; /* 居中对齐 */
        align-items: center;
        margin-top: 20px; /* 调整上边距 */
    }

    .exitBtn {
        width: 50px; /* 设置按钮的宽度 */
        height: 50px; /* 设置按钮的高度，以创建正方形 */
        border-radius: 50px; /* 设置按钮的圆角 */
        font-size: 14px; /* 设置按钮的字体大小 */
    }

    .imgPosition {
        margin-top: 40px; /* 调整上边距 */
        text-align: center; /* 图片居中对齐 */
        margin-left: 20px; /* 调整左边距 */
        margin-right: 20px; /* 调整右边距 */
        margin-bottom: 30px;
    }

    .imgStats {
        width: 100%; /* 图片宽度100%，自适应容器宽度 */
        max-width: 100%; /* 设置最大宽度 */
    }
    .center-div {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 2vh; /* 让 div 充满整个视口高度，可根据需要调整 */
        font-size: 16px;
        margin-bottom: -10px;
    }
}
