/* 基本的样式重置 */

body, html {

    margin: 0;

    padding: 0;

    height: 100%;

    font-family: Arial, sans-serif;

}

a{
    color: black;
}
a:hover{
    color: black;
}
.navbar-inverse{
    border-radius: 0;
    margin: 0;
}

  .centered-image {

    max-width: 100%; /* 确保图片不会超出视口宽度 */
    max-height: 100%; /* 确保图片不会超出视口高度 */

  }


/*
.message_remind{
    display: none;
    height: 1.5rem;
    width: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    border-radius: 50%;
    font-size: 1.2rem;
    background-color: orangered;
    color: white;
}
*/
.icp_footer{
    width: 100%;
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 3rem;
    color: white;
    background-color: #212121;
}

/********* 付费弹窗 ************/

.bg_layout{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.main_content{
    width: 50rem;
    height: 50rem;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
}
.main1_content {

    width: 80%; /* 设置主内容的宽度 */

    margin: 0 auto; /* 在父元素中水平居中 */

    text-align: center; /* 确保内部元素（如文本）也居中 */

    padding-top: 20px; /* 可选：为顶部添加一些填充 */

}
  .pay_info {
    color: red;
    font-size: 80px;
    white-space: nowrap; /* 防止文本换行 */
    /*margin-top: 10px;    !* 可选：为文本添加顶部间距以与图片分隔 *!*/
  }

  .pay_container {
    /*text-align: center; !* 居中所有子元素 *!*/
    margin-top: 20px;   /* 可选：为整个容器添加顶部间距 */
  }

.pay_code_area{
    /*margin: 2rem 0 1rem 0;*/
    max-width: 100%; /* 图片宽度自适应 */
    height: auto; /* 高度自动调整 */
}

/* 主要内容样式 */

.main_content {

    text-align: center; /* 文本居中 */

}

/* 设置背景布局 */

.bg_layout {

    position: fixed; /* 固定定位 */

    top: 70%; /* 垂直居中 */

    left: 40%; /* 水平居中 */

    transform: translate(-50%, -50%); /* 使用transform进行精确居中 */

    display: flex; /* 使用Flexbox布局 */

    justify-content: center; /* 水平方向居中 */

    align-items: center; /* 垂直方向居中 */

    width: 80vw; /* 宽度设置为视口宽度的80% */

    max-width: 600px; /* 最大宽度限制为600px，以适应大屏幕 */

    height: auto; /* 高度自动调整 */

    padding: 20px; /* 内边距 */

    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* 添加阴影效果 */

    background-color: #fff; /* 背景颜色 */

    border-radius: 10px; /* 圆角 */

    z-index: 1000; /* 确保悬浮窗在最上层 */

}

