/* 这是引入了一些字体 */
@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800,900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  /* 当用户手动导航或者 CSSOM scrolling API 触发滚动操作时 */
  scroll-behavior: smooth;
}
.QRimage{
  width: 468px;
  height: 468px;
}
body {
  min-height: 100vh;
  overflow-x: hidden;
  background: linear-gradient(#2b1055, #7597de);
}
.list{
  display: flex;
}
.list li{
  list-style:armenian;
  margin-left: 20px;
}
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10000;
}

header .logo {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 2em;
  text-transform: uppercase;
  /* 大写 */
  letter-spacing: 2px;
  /* 字符间距 */
}

header ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

header ul li {
  list-style: none;
  margin-left: 20px;
}

header ul li a {
  text-decoration: none;
  padding: 6px 15px;
  color: #fff;
  border-radius: 20px;
}

header ul li a:hover,
header ul li a.active {
  background: #fff;
  color: #2b1055;
}

section {
  position: relative;
  width: 100%;
  height: 100vh;
  padding: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

section::before {
  content: '';
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, #1c0522, transparent);
  z-index: 1000;
}

section img {
  position: absolute;
  image-rendering: auto;
  shape-rendering: auto;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* object-fit CSS 属性指定可替换元素（例如：<img> 或 <video>）的内容应该如何适应到其使用高度和宽度确定的框。 */
  object-fit: cover;
  pointer-events: none;
}

section img#moon {
  /* mix-blend-mode CSS 属性描述了元素的内容应该与元素的直系父元素的内容和元素的背景如何混合。 */
  mix-blend-mode: screen;
}

section img#mountains_front {
  z-index: 10;
}

.sponsor-container {
  position: relative;
  display: inline-block;
}

.sponsor-container2 {
  position: relative;
  display: inline-block;
}

.sponsor-image {
  display: none;
  position: absolute;
  top: 130%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: 300px;
  /* 根据需要调整图片大小 */
  height: auto;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 2%;
  image-rendering: auto;
}

.sponsor-image2 {
  display: none;
  position: absolute;
  top: 150%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: 200px;
  /* 根据需要调整图片大小 */
  height: auto;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 2%;
  image-rendering: auto;
  /*background-color: #ccc*/
  ;
}

.sponsor-container:hover .sponsor-image {
  display: block;
}

.sponsor-container2:hover .sponsor-image2 {
  display: block;
}

#text1,
#text2 {
  position: absolute;
  right: -550px;
  color: #fff;
  white-space: nowrap;
  font-size: 7.5vw;
  z-index: 9;
}

#btn {
  text-decoration: none;
  display: inline-block;
  padding: 8px 30px;
  border-radius: 40px;
  background: #fff;
  color: #1c0522;
  font-size: 1.5em;
  z-index: 9;
  transform: translateY(100px);
}

#textToCopy {
  color: #19df23;
  background-clip: content-box;
  background-color: rgb(255, 255, 255);
}

#copyTextBtn {
  padding: 4px 15px;
  border-radius: 20px;
}

.sec {
  position: relative;
  padding: 100px;
  background: #1c0522;
}

.sec h2 {
  font-size: 3.5em;
  margin-bottom: 10px;
  color: #fff;
}

#text-to-copy {

  display: inline-block;
  /* 让文本和按钮在同一行 */
  font-size: 30px;
  color: #ffffff;
  margin: auto 10px;
  /* 去掉默认的外边距 */
}

.a{

  display: inline-block;
  /* 让文本和按钮在同一行 */
  font-size: 40px;
  color: #ffffff;
  margin: 0;
  /* 去掉默认的外边距 */

}

#copy-button,
#copy-button2 {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#copy-button:hover,
#copy-button2:hover {
  background-color: #37803b;
}

.scroll-container {
  width: 100%;
  image-rendering: auto;
  height: auto;
  overflow: hidden;
  white-space: nowrap;
  border: 2px solid #ccc;
  border-radius: 10px;
}

.scroll-content {
  display: inline-block;
  animation: scroll 20s linear infinite;
}

.scroll-content img {
  height: 600px;
  margin-right: 5px;
  border-radius: 5px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

#logo {
  height: 262px;
  width: 410px;
}

#back-to-top {
  display: none;
  /* 默认隐藏 */
  position: fixed;
  /* 固定在右下角 */
  bottom: 30px;
  right: 30px;
  z-index: 99;
  /* 确保按钮在最上层 */
  border: none;
  outline: none;
  background-color: #ffa24c;
  /* 按钮背景色 */
  color: white;
  /* 文字颜色 */
  cursor: pointer;
  padding: 20px;
  border-radius: 50%;
  /* 圆形按钮 */
  font-size: 18px;
  transition: background-color 0.3s ease;
  /* 悬停效果 */
}

#back-to-top:hover {
  background-color: #ffb875;
}

@media (max-width: 768px) {
  header {
    padding: 15px 20px;
    flex-direction: column;
    gap: 15px;
  }

  header .logo {
    font-size: 1.5em;
  }

  header ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  header ul li {
    margin: 5px;
  }

  header ul li a {
    padding: 5px 12px;
    font-size: 14px;
  }

  section {
    padding: 20px;
  }

  #text1,
  #text2 {
    font-size: 12vw;
    right: -300px;
  }

  #btn {
    font-size: 1.2em;
    padding: 6px 20px;
  }

  .sec {
    padding: 50px 20px;
  }

  .sec h2 {
    font-size: 2em;
  }

  #logo {
    height: 150px;
    width: 235px;
  }

  .scroll-content img {
    height: 300px;
  }

  #text-to-copy {
    font-size: 18px;
    word-break: break-all;
  }

  .a {
    font-size: 24px;
  }

  #copy-button,
  #copy-button2 {
    padding: 8px 15px;
    font-size: 14px;
  }

  .sponsor-image {
    width: 200px;
  }

  .sponsor-image2 {
    width: 150px;
  }

  #back-to-top {
    padding: 15px;
    font-size: 14px;
    bottom: 20px;
    right: 20px;
  }

  .list {
    flex-direction: column;
  }

  .list li {
    margin-left: 0;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  header .logo {
    font-size: 1.2em;
  }

  header ul li a {
    padding: 4px 10px;
    font-size: 12px;
  }

  #text1,
  #text2 {
    font-size: 10vw;
  }

  #btn {
    font-size: 1em;
    padding: 5px 15px;
  }

  .sec h2 {
    font-size: 1.5em;
  }

  #logo {
    height: 120px;
    width: 188px;
  }

  .scroll-content img {
    height: 200px;
  }

  #text-to-copy {
    font-size: 16px;
  }

  .a {
    font-size: 20px;
  }

  #back-to-top {
    padding: 12px;
    font-size: 12px;
  }
}