body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

h1 {
  color: white;
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 20%;
  font-size: 3rem;
}
button {
  background-color: #4CAF50;    /* 背景色，绿色 */
  color: white;                 /* 字体颜色，白色 */
  padding: 5px 20px;           /* 内边距，上下10px，左右20px */
  border: none;                 /* 去掉默认边框 */
  border-radius: 5px;           /* 圆角 */
  font-size: 16px;              /* 字体大小 */
  cursor: pointer;              /* 鼠标悬停时变成小手 */
  transition: background-color 0.3s ease;  /* 背景色过渡效果 */
  max-width: 150px;
}

/* 按钮被点击时的样式 */
button:active {
  background-color: #3e8e41;
  transform: scale(0.8); /* 按钮稍微缩小 */
}


.btn-group {
  display: flex;
   margin: 200px auto 0; /* 上边距px，水平自动居中 */
   justify-content: center; /* 水平居中 */
}

.btn-group button {
  flex: 1;              /* 平均分配宽度 */
  margin: 0 5px;        /* 按钮之间留点空隙 */
  box-sizing: border-box;
}
/* 设置 section.a 的背景色和内边距 */


/* 设置 a 内的 h2 字体样式 */
.a {
  font-size: 24px;
  color: rgb(255,255,255);
  font-weight: bold;
  text-align: center;
    text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black,
    1px 1px 0 black,-1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black,
    1px 1px 0 black;
}
