*{
    /* 初始化 */
    margin: 0;
    padding: 0;
}
/* @font-face{
    font-family: 'Anton-Regular';
    src:url(../font/Anton-Regular.ttf);
} */
body{
    /* 100%窗口高度 */
    height: 100vh;
    /* 溢出隐藏 */
    overflow-x: hidden;
    font-family: Arial,  sans-serif;


}
.w-full{width: 100%;}
.container{
    opacity: .5;
    /* 绝对定位 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../img/space.webp") no-repeat;
    /* 把背景图像扩展至足够大，以使背景图像完全覆盖背景区域 */
    background-size: cover;
    /* 定位背景图像为正中间 */
    background-position-x: center;
    /* 执行动画：动画名称 时长 线性的 无限次播放 */
    animation: animateBg 15s linear infinite;
}
#superContainer .section2{
    background: url("../img/earth.jpg") no-repeat;
    background-size: cover;
}
.container span{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background-color: #fff;
    border-radius: 50%;
    /* 发光效果 */
    box-shadow: 0 0 0 4px rgba(255,255,255,0.1),
    0 0 0 8px rgba(255,255,255,0.1),
    0 0 20px rgba(255,255,255,1);
    /* 执行动画 */
    animation: animate 20s linear infinite;
}
/* 拖尾效果 */
.container span::before{
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 3px;
    background: linear-gradient(90deg,#fff,transparent);
}
/* 接下来分别为每一个流星设置位置、动画延迟时间、动画时长 */
.container span:nth-child(1){
    top: 0;
    right: 0;
    /* initial关键字用于设置CSS属性为它的默认值 */
    left: initial;
    /* 动画延迟时间 */
    animation-delay: 0s;
    /* 动画时长 */
    animation-duration: 3s;
}
.container span:nth-child(2){
    top: 0;
    right: 80px;
    left: initial;
    animation-delay: 0.2s;
    animation-duration: 6s;
}
.container span:nth-child(3){
    top: 80px;
    right: 0;
    left: initial;
    animation-delay: 0.4s;
    animation-duration: 6s;
}
.container span:nth-child(4){
    top: 0;
    right: 180px;
    left: initial;
    animation-delay: 0.6s;
    animation-duration: 8s;
}
.container span:nth-child(5){
    top: 0;
    right: 400px;
    left: initial;
    animation-delay: 0.8s;
    animation-duration: 8s;
}
.container span:nth-child(6){
    top: 0;
    right: 600px;
    left: initial;
    animation-delay: 1s;
    animation-duration: 9s;
}
.container span:nth-child(7){
    top: 300px;
    right: 0;
    left: initial;
    animation-delay: 1.2s;
    animation-duration: 5s;
}
.container span:nth-child(8){
    top: 0;
    right: 700px;
    left: initial;
    animation-delay: 1.4s;
    animation-duration: 5s;
}
.container span:nth-child(9){
    top: 0;
    right: 1000px;
    left: initial;
    animation-delay: 0.75s;
    animation-duration: 7s;
}
.container span:nth-child(10){
    top: 0;
    right: 450px;
    left: initial;
    animation-delay: 2.75s;
    animation-duration: 7s;
}

/* 定义动画 */
/* 背景缩放动画 */
@keyframes animateBg {
    0%,100%{
        transform: scale(1);
    }
    50%{
        transform: scale(1.2);
    }
}
/* 流星划过动画 */
@keyframes animate {
    0%{
        transform: rotate(315deg) translateX(0);
        opacity: .5;
    }
    90%{
        opacity: 8;
    }
    100%{
        transform: rotate(315deg) translateX(-1000px);
        opacity: 0;
    }
}

@keyframes blink{
    0%{transform:translate(-50%,0);opacity:0;}
    20%{transform:translate(-50%,3px);opacity:1;}
    80%{transform:translate(-50%,10px);opacity:1;}
    90%{transform:translate(-50%,10px);opacity:0;}
    100%{transform:translate(-50%,10px);opacity:0;}
}
@keyframes xblink{
    0%{transform:translate(0,5px) rotate(-90deg) ;opacity:0;}
    20%{transform:translate(3px,5px) rotate(-90deg);opacity:1;}
    80%{transform:translate(10px,5px) rotate(-90deg);opacity:1;}
    90%{transform:translate(10px,5px) rotate(-90deg);opacity:0;}
    100%{transform:translate(10px,5px) rotate(-90deg);opacity:0;}
}

.title{text-align: center; padding-top: 2rem;}
.type {
    position: absolute;
    top: 40%;
    left: 50%;
    line-height: 2;
    transform: translate(-50%, -50%);
    text-align: left;
    color: #f8efd4;
    z-index: 1;
    width: 90%;
    overflow: hidden;
  } 
  .type h1 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
  }  
  .type p {
    font-size: 1.25rem;
    font-weight: 400;
  }
  .section{
    position: relative;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    color: #fff;
    overflow: hidden;
  }
  .contact {
    position: relative;
    color: #fff;
    text-align: center;
  }
  .sculpture {
    height: 25%;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 2;
  }
  .sculpture img {
    height: 100%;
  }
  .pt-4{padding-top: 1rem;}
  .contact{ width: 60%; text-align: left; width: 80%; margin: 0 auto;z-index: 1;}
  .contact h2{font-size: 1.5rem; line-height: 2;}
  .contact p{font-size: 1.25rem; line-height: 1.6; padding-bottom: .5rem;}
  .social{display: flex; margin-top: 2rem;}
  .social ul{display: flex; margin: 0 auto; justify-content: left; margin: 0;}
  .social li{list-style: none; position: relative;}
  .social a{margin: 0 1rem; font-size: 1.5rem; color: #fff; width: 2rem; display: block; transition: all .5s ease; }
  .social a:hover{ opacity: .75;}
  .social ul li .qr{position: absolute;  left: -2rem; width: 150px;  opacity: 0; transition: 1s; top: 4rem; border-radius: 10px; overflow: hidden;}
  .social ul li .qr img{width: 100%;}
  .social ul li a img{width: 100%;}
  .social ul li a img{width: 100%;}
  #canvas{position: absolute; top: 0; left: 0; z-index: 0; opacity: .5; height: 100%;}
  .earth{position: absolute;  left: 0; z-index: 1;width: 100%; bottom: 0;}
  .earth img{width: 100%;}
  p a{color: #fff; text-decoration: none; font-weight: bold;}

  .arr{animation: blink 1.5s linear 0s infinite; text-align: center; position: absolute; bottom: 1rem; left:calc(50% - 12px);}
  .contact p a img{transform: rotate(-90deg) translateX(-5px); animation: xblink 1s ease infinite;}
@media screen and (min-width: 768px){
        .type{width: auto; opacity: 0;}
      .type h1 {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 20px;
      }  
      .type p {
        font-size: 2.5rem;
        font-weight: 400;
      }

      .contact h2{font-size: 3rem; line-height: 2;}
      .contact p{font-size: 1.5rem; line-height: 2;}
      .social a{width: 3.5rem;}
      .sculpture{height: 50%;}
      .social ul li:hover .qr{opacity: 1;}
      .title{width: 50%; margin: 0 auto;}
      
    
}