@font-face {
  font-family: "Equitan Sans";
  src: url("Fonts/EquitanSans-Bold.otf") format("truetype");
  font-weight: normal;
}

@font-face {
  font-family: "Equitan Sans";
  src: url("Fonts/EquitanSans-Bold.otf") format("truetype");
  font-weight: bold;
}

@font-face {
  font-family: "Equitan Sans Italic";
  src: url("Fonts/Equitan Sans SemiBold Italic.otf") format("truetype");
}

body,
html{
  margin: 0;
  padding: 20px;
  width: calc(100%);
  height: calc(100%);
  color: white;
  font-family: "Equitan Sans", Arial, sans-serif;
  overflow: hidden;
  box-sizing: border-box;
}

a {
  font-family: "Equitan Sans Italic", Arial, sans-serif;
  font-size: 14px;
  color: #000;
}

#background {
  position: fixed;
  top: 0;
  left: 0;
  width: 101%;
  height: 101%;
  background: url("background.jpg") no-repeat center center;
  background-size: cover;
  z-index: -1;
}

.container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.scene {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: opacity 1s ease-in-out;
}

.scene.active {
  display: flex;
  opacity: 1;
}

.logo,
.image-container,
.text-container {
  padding: 20px;
  /* background: rgba(0, 0, 0, 0.5); */
  /* border-radius: 10px; */
  position: relative;
}

.logo img {
  width: 100px;
}

.corner {
  width: 10px;
  height: 10px;
  position: absolute;
}

.top-left {
  top: 0;
  left: 0;
}
.top-right {
  top: 0;
  right: 0;
}
.bottom-left {
  bottom: 0;
  left: 0;
}
.bottom-right {
  bottom: 0;
  right: 0;
}

.text {
  font-size: 20px;
  white-space: pre-wrap; /* 保证文本的换行效果 */
}

.image-container img {
  width: 100%;
  max-width: 300px;
}

.text-container {
  margin-top: 20px;
  width: 80%;
  max-width: 300px;
  background-color: white;
  color: black;
  padding: 10px;
  border-radius: 10px;
}

/* Scene 4 specific styles */
#scene4 {
  position: relative;
  padding: 0; /* 移除内填充 */
  box-sizing: border-box;
}

#background-video {
  position: fixed; /* 使视频全屏且固定 */
  top: 0;
  left: 0;
  width: 100vw; /* 使用视口宽度 */
  height: 100vh; /* 使用视口高度 */
  object-fit: cover; /* 确保视频覆盖整个视口 */
  z-index: -1; /* 确保视频在所有内容的后面 */
  margin: 0; /* 确保没有边距 */
  padding: 0; /* 确保没有内边距 */
}

.logo.top,
.logo.bottom {
  position: absolute;
  width: 100px;
  height: 100px;
  fill: #000;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  z-index: 1; /* 确保 logo 在视频上方 */
}

.logo.top {
  width: 150px;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-50px);
}

.logo.bottom {
  width: 200px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(50px);
}

#text3 {
  font-size: 1rem;
  line-height: 120%;
  color: #000;
}
#scene3 {
  flex-direction: column;
}
#text3-en {
  font-size: 1rem;
  line-height: 120%;
  color: #000;
  font-weight: normal;
  margin-bottom: 12px;
}
#text3-zh {
  font-size: 0.8rem;
  line-height: 150%;
  color: #000;
  font-weight: normal;
}
#text7 {
  font-size: 1rem;
  line-height: 120%;
  color: #000;
}
#text2 {
  color: #000;
}
