* {
    margin: 0; /* 移除所有元素的外边距 */
    padding: 0; /* 移除所有元素的内边距 */
    box-sizing: border-box;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}
hr {
    border: 0.1vw solid #000;
}
h2,h5,p{
  margin-top: 10px;
  margin-bottom: 10px;
}

/* 导航栏容器 */
.navbar {
  overflow: hidden;
  background-color: #333;
  font-family: Arial;
  border-radius: 15px;
  position: fixed;
  top: 0;
  width: 100%;
}
/* 导航栏内的链接 */
.navbar a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}
/* 下拉容器 */
.navbar_dropdown {
  float: left;
  overflow: hidden;
  
}
/* 下拉按钮 */
.navbar_dropdown .navbar_dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit; /* 对手机垂直对齐很重要 */
  margin: 0; /* 对手机垂直对齐很重要 */
}
/* 为悬停时的导航栏链接添加背景颜色 */
.navbar a:hover, .navbar_dropdown:hover .navbar_dropbtn {
  background-color: rgb(60,180,230);
}
/* 下拉内容（默认隐藏）*/
.navbar_dropdown-content {
  display: none;
  position: fixed;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(3,35,74,0.2);
  z-index: 1;
}
/* 下拉列表中的链接 */
.navbar_dropdown-content a {
  float: none;
  color: rgb(0, 0, 0);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}
/* 为悬停时的下拉链接添加灰色背景颜色 */
.navbar_dropdown-content a:hover {
  background-color: #ddd;
}
/* 悬停时显示下拉菜单 */
.navbar_dropdown:hover .navbar_dropdown-content {
  display: block;
}

/* 列容器 */
.row {  
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
}

/* 创建两个相邻的不相等的列 */
/* 侧边栏/左栏 */
.side {
  -ms-flex: 20%; /* IE10 */
  flex: 20%;
  background-color: #f1f1f1;
  padding: 20px;
  height: 100%;
  margin-top: 30px;
  font-size: 20px;
}
.side img {
  max-width: 90%;
  height: auto;
}

/* 主列 */
.main {   
  -ms-flex: 80%; /* IE10 */
  flex: 80%;
  background-color: white;
  padding: 20px;
  margin-top: 30px;
  font-size: 18px;
}
.main a {
  text-decoration: none;
  color: #000;
}
.main a :hover{
  background-color: #ddd;
}
.main img {
  max-width: 1000px;
  max-height: 300px;
}

/* 页脚 */
.footer {
  padding: 20px;
  text-align: center;
  background: #ddd;
  font-size: 17px;
}

/* 回到顶部 */
#backTop {
  /* 固定定位 */
  position: fixed;
  bottom: 50px;
  right: 0;
  margin-right: 10px;
  z-index: 999;
  /* 回到顶部样式 */
  width: 70px;
  height: 70px;
  background-color: #5e5c5c;
  /* 字体在元素中水平垂直居中 */
  line-height: 70px;
  text-align: center;
  font-size: 14px;
  color: white;
  /* 设置圆角 */
  border-radius: 50%;
  /* 设置过渡效果 */
  transition: all linear 0.5s;
  cursor: pointer;
  /* 隐藏 透明度为0 */
  opacity: 0;
  }

  /* 响应式布局 - 当屏幕宽度小于时，使两列堆叠在彼此之上而不是彼此相邻 */
@media screen and (max-width: 1000px) {
  .row {   
    flex-direction: column;
  }
  .side{margin-top: 80px;}
  .main img{max-width: 90%;}
}
