/* 背景图 */
body {
  background-image: url('../static/background/01.jpg');
  /* 设置背景图片重复方式，此处设置为不重复 */
  background-repeat: no-repeat;
  /* 设置背景图片在容器中的铺满方式 */
  background-size: cover;
  /* 设置背景图片居中显示 */
  background-position: center center;
  /* 设置背景图片不滚动 */
  background-attachment: fixed;
  /* 溢出隐藏，不会出现滚动条 */
  overflow: hidden;
  /* 元素不可被选中 */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.title {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.breathe {
  animation: breathe 10s infinite;
  /* letter-spacing:文本字母间距 */
  letter-spacing: 2vw;
  font-weight: 600;
}

@keyframes breathe {
  0% {
    font-size: 8vw;
  }

  50% {
    font-size: 10vw;
  }

  100% {
    font-size: 8vw;
  }
}

a {
  text-decoration: none;
  color: black;
}

button {
  padding: 0;
  margin: 0;
  border: none;
  background: none;
}

button {
  --primary-color: #111;
  --hovered-color: #c84747;
  position: relative;
  display: flex;
  font-weight: 600;
  font-size: 20px;
  gap: 0.5rem;
  align-items: center;
  cursor: pointer;
  position: fixed;
  /* 使用fixed位置使按钮相对于浏览器窗口定位 */
  bottom: 20px;
  /* 从底部偏移一定距离 */
  right: 20px;
  /* 从右侧偏移一定距离 */
}

button p {
  margin: 0;
  position: relative;
  font-size: 50px;
  color: var(--primary-color);
}

button::after {
  position: absolute;
  content: '';
  width: 0;
  left: 0;
  bottom: -7px;
  background: var(--hovered-color);
  height: 2px;
  transition: 0.3s ease-out;
}

button p::before {
  position: absolute;
  /* box-sizing: border-box; */
  content: 'Next';
  width: 0%;
  inset: 0;
  color: var(--hovered-color);
  overflow: hidden;
  transition: 0.3s ease-out;
}

button:hover::after {
  width: 100%;
}

button:hover p::before {
  width: 100%;
}

button:hover svg {
  transform: translateX(5px);
  color: var(--hovered-color);
}

button svg {
  color: var(--primary-color);
  transition: 0.2s;
  position: relative;
  width: 15px;
  transition-delay: 0.2s;
}

.f1 {
  display: inline-block;
  align-items: flex-end;
  justify-content: flex-end;
  height: auto;
  position: fixed;
  bottom: 5px;
  width: 100%;
}

a.custom-link {
  text-decoration: none;
  color: black;
}

a.custom-link:hover {
  text-decoration: underline;
}