.nav {
  display: block;
  /* justify-content: space-between; */
  /* align-items: center; */
  /* background-color: #23aa9f; */
  background: linear-gradient(to right, #fff 0%, #23aa9f 30%, #23aa9f 70%, #fff 100%);

  color: #fff;

  position: relative;
  text-align: center;
  left: 20%;
  width: 60%;
  padding-top: 1vw;
  padding-bottom: 1vw;
  font-size: 5vw;
  font-family: '等线';
  /* border-radius: 10px; */
  /* box-shadow: 0px 0px 10px #dddddd; */
}



.reference_box {
  display: block;
  position: absolute;
  top:22vw;
  border: #23aa9f solid 0.5vw;
  border-radius: 1.5vw;
  padding: 1vw;
  background-color: #fff;
  transform: translate(10vw, -10vw);
  width: 55vw;

  font-size: 1.5vw;
  text-align: left;
  box-shadow: 0px 0px 10px #dddddd;
}

.reference {
  display: inline-block;
  position: relative;

  font-size: 2.8vw;
  font-family: 'dengxian';
}

.jump_button {
  display: flex;
  float: right;

  padding: 0.5vw 2vw;
  background-color: #ed8888;
  /* 浅红色 */
  color: #333;
  /* 文字颜色 */
  text-decoration: none;
  border-radius: 2vw;
  /* 圆角 */
  transition: all 0.6s ease;
  /* 过渡动画 */
  border: #000000 solid 0.3vw;
  font-size: 1.5vw;
  text-align: center;
  box-shadow: 1vw 1vw 1vw rgba(0, 0, 0, 0.1);
  /* 阴影效果 */
}

/* 鼠标悬停效果 */
.jump_button:hover {
  background-color: #6ac8c8;
  /* 青色 */
  /* color: #000000; */
  /* box-shadow: 0 4px 8px rgba(0,0,0,0.2); */
  transform: scale(1.2);
}

.fufu {
  display:block;
  max-width: 20vw;
  position: absolute;
  left: 78%;
  z-index: 1000;
    /* transform: translateX(-80%); */
}

.fufu:hover {
  animation: bounceScale 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes bounceScale {
  0% {
    transform: scaleY(1);
  }

  30% {
    transform: scaleY(2);
    /* 首次放大 */
  }

  60% {
    transform: scaleY(0.5);
    /* 模拟物理回弹 */
  }

  80% {
    transform: scaleY(1.1);
    /* 二次回弹 */
  }

  100% {
    transform: scaleY(1);
  }
}

.fixed-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 1vw;
  background-color: #ffffff;
  /* box-shadow: 0 -2px 10px rgba(0,0,0,0.1); */
  z-index: 1000;
  font-size: 1.5vw;
}

.mikuooeeoo{
  z-index: 800;
  padding-top: 1vw;
  display: block;
  transition: scale(0.1);
  max-width: 20vw;
  position:absolute;
  top:25vw;
  left:78%;
}

/* .ribbon {
    position: fixed;
    width: 10px;
    height: 30px;
    background: #ff0000;
    pointer-events: none;
    animation: sway ,fall linear forwards;
    background: linear-gradient(45deg, #fff0, #fffa);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
    }
}

@keyframes sway {
    50% { transform: translateX(50px) rotate(10deg); }
} */

.ribbon {
    position: fixed;
    width: 10px;
    height: 30px;
    pointer-events: none;
    animation: fall linear forwards;
    /* 初始位置设置在可视区域上方 */
    top: -30px;
    z-index: 2000;
}

@keyframes fall {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(calc(100vh + 30px)) rotate(360deg);
    }
}

.happybirthday {
  position:absolute;
  top:42vw;
  left:16vw;

  font-size: 4.5vw;
  font-family:'Times New Roman', Times, serif;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  -webkit-background-clip: text;
  color: transparent;
  font-weight:600;
}