
a {
  text-decoration: none;
}

.header-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
}

/*
.header-container img {
  width: 100%;
  height: 100%;
}*/

.domain_name {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: white;
  text-decoration: none;
  margin-left: 100px;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
}

.domain_name a {
  color: white;
  text-decoration: none;
  /*font-weight: bold;*/
}

.menu-container {
  position: absolute;
  top: 0;
  left: 1;
  height: 100%;
  width: 100%;
  display: flex;
  /*flex-direction: row-reverse;*/
  justify-content: space-between;
  align-items: center;
  padding-right: 10px;
  /*margin-left: 10px;*/
  z-index: 8;
}

.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
}

.menu a {
  color: white;
  text-decoration: none;
  margin-right: 10px;
  /*font-size: 14px;*/
  font-weight: bold;
}

.swiper{
  display: flex;
  align-items: center;
  justify-content: center;
  /*
  width: 1226px;
  height: 460px;
  position: absolute;
  left: 155px; */
  overflow: hidden;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 20px;
  margin-right: 20px;
}

/* 轮播图的图片 */
.swiper img{
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  /*width: 1080px;
  height: 360px;*/
}

.row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 20px;
  padding-left: 70px;
  padding-right: 70px;

}

.column {
  /*flex: 1;
  padding: 10px;
  text-align: center;*/
  /*display: flex;*/
  flex: 1;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px;
  padding-left: 5px;
  padding-right: 5px;
}

.column h2, .column p{
  margin: 0;
  line-height: 1.5;
}

.column img {
  max-width: 100%;
  height: auto;
}

/* 将页面铺满整个视口 */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f8f8f8;
  /*background-image: static/img/background.webp
  background-color: #f8f8f8;  替换成你想要的颜色 */
}

/*在CSS中，以"."开头的是class选择器，没有"."的是元素选择器。
    以"."开头的选择器可以用于对HTML中任何一个元素添加class属性，
    而元素选择器只能用于选取特定的HTML元素。
*/

/* 页脚布局 */
footer {
  border-top: 1px solid #aaa;
  padding-top: 5px;
  margin-top: auto;  /* auto;将页脚推到容器的底部 */
  display: flex;
  justify-content: center; /* 水平居中 */
}

.footer-content {
  text-align: center; /* 页脚内容水平居中 */
  margin-top: auto;
  margin-bottom: 15px;
  font-size: 12px;
}

/*home页分割线*/
.home_split_line {
   border-top: 1px dashed #ccd;
   margin-top: 15px;  /*auto;*/
   margin-left: 50px;
   margin-right: 50px;
}

.content1 {
  display: none;
  margin-left: 30px;
  margin-right: 30px;
  color: #FF7F00;
  transition: all 0.5s ease;
}

/*display: flex; margin-left: 20px; width: calc(100% - 40px);*/
.toggle-button1 {
  /* 设置按钮为块级元素*/
  /*display: flex;
  display: block;*/

   设置按钮为页面宽度
  width: calc(100% - 40px);;
  margin-left: 20px;
  /*margin-right:80px;*/
  /* 其他样式 */
  background-color: #ddd;
  border: none;
  padding: 10px;
}

.content2 {
  display: none;
  margin-left: 30px;
  margin-right: 30px;
  color: #FF7F00;
  transition: all 0.5s ease;
}

/*display: flex; margin-left: 20px; width: calc(100% - 40px);*/
.toggle-button2 {
  /* 设置按钮为块级元素*/
  /*display: flex;
  display: block;

   设置按钮为页面宽度*/
  width: calc(100% - 40px);;
  margin-left: 20px;
  margin-top: 5px;
  /*margin-right:80px;*/
  /* 其他样式 */
  background-color: #ddd;
  border: none;
  padding: 10px;
}

.title-container {
  display: flex;
  justify-content: space-between;
  align-items: center; /* 将元素垂直居中 */
  height: 50px;
  width: 100%;
}

.title-container > * {
  height: 50px;
  width: 210px;
  align-items: center; /* 将元素垂直居中 */
}

.title-container > h1 {
  text-align: left;
  padding-left: 20px;
  /*style="padding-left: 20px;"*/
}

.title-container > img {
  display: block;
  margin: 0 auto;
  justify-content: center; /* 将子元素水平居中 */
  align-items: center; /* 将元素垂直居中 */
}

.title-container > button {
  width: 120px;
  height: 35px;
  margin-right: 20px; /* 将按钮右边距设置为20像素 */
}

#popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* 用半透明的黑色作为背景 */
  display: none; /* 初始状态为隐藏 */
  justify-content: center;
  align-items: center;
}

#popup-content {
  position: relative;
  background-color: #fff;
  border: 1px solid #ccc;
  width: 700px;
  height: 600px;
  padding: 20px;
}

#popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
}

.container {
    margin-top: 5px;
    /* 设置容器为块级元素 */
    display: block;
    /* 设置容器为页面宽度 */
    width: 100%;

    /*display: flex;*/
    flex-direction: column;
    align-items: center;
}

.output-container {
    margin-left: 20px;
    margin-right:20px;
    margin-bottom: 20px;
    /*width: 100%;*/
}

.applyAPI p {
  margin-top: 5px;
  margin-left: 20px;
}

.APItab button {
  margin-right: 15px; /* 添加10px的右侧间隔 */
  width: 150px; /* 设置按钮的宽度为100px */
  height: 30px; /* 设置按钮的高度为30px */
}

form {
    margin-top: 5px;
    margin-left: 20px;
    margin-right: 20px;
    /*width: 95%;*/
}

textarea {
    height: 200px;
    width: 100%;
    resize: none;
    overflow-y: scroll;
    white-space: pre-wrap;
    line-height: 1.5;
    /*white-space: nowrap;
    white-space: pre-line;*/
    font-family: 'Roboto', sans-serif;
}

.output-container textarea {
  white-space: pre-wrap;
  line-height: 1.5;
}

#output-text {
    width: 100%;
    height: 200px;
}

#loading {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999; /* 确保动画在所有其他元素之上显示 */
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998; /* 使覆盖层位于其他元素之上 */
}

.APItab {
  margin-top: 5px;
  margin-left: 20px;
  margin-right: 20px;
}

#APIdoc * {
  margin-top: 10px;
  margin-left: 20px;
  margin-right: 20px;
}

#APIReturnCodes * {
  margin-top: 10px;
  margin-left: 20px;
  margin-right: 20px;
}

#APIReturnCodes table td:first-child {
  text-align: right; /* 设置第一列单元格中文本右对齐 */
}

#APIReturnCodes table td:last-child {
  text-align: left; /* 设置第二列单元格中文本左对齐 */
}

#APIExamples * {
  margin-top: 10px;
  margin-left: 20px;
  margin-right: 20px;
}

.logo-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px
  height: 60px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  z-index: 9;
}

/*
.logo-container a {
  display: block;
  width: 100%;
  height: 100%;
}*/

.logo-img {
  width: 75px;
  height: 50px;
  /*margin-left: 5px;  修改此值以调整logo位置 */
  position: absolute;
  left: 10px;
  top: 1px;
}

.background-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.background-container img {
  width: 100%;
  height: 100%;
}

.container_about {
  margin-left: 20px;
  margin-right: 20px;
  display: flex;
  flex-direction: row;
}

.image_about {
  width: 120px;
  height: 80px;
  margin-right: 20px;
}

.text_about {
  flex: 1;
}
