@import url("font/iconfont.css");
/* 在文件最开始定义CSS变量 */
:root {
  /* 主题色 */
  --primary-color: #39bf83;
  --secondary-color: #56e6a5;

  /* 文字颜色 */
  --text-primary: #2b2c2e;
  --text-secondary: rgba(43, 44, 46, 0.8);
  --text-light: rgba(43, 44, 46, 0.5);

  /* 背景色 */
  --bg-primary: #ffffff;
  --bg-secondary: rgba(255, 255, 255, 0.98);
  --bg-overlay: rgba(255, 255, 255, 0.9);

  /* 动画时间 */
  --transition-fast: 0.2s;
  --transition-normal: 0.3s;
  --transition-slow: 0.45s;

  /* 阴影 */
  --shadow-sm: 0 3px 8px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 20px 40px 0 rgba(0, 0, 0, 0.08);
}
/*基础标签样式初始化*/
* {
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
}
body::-webkit-scrollbar {
  display: none;
}
html,
body,
button,
dd,
dl,
dt,
fieldset,
form,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
input,
legend,
li,
ol,
p,
pre,
td,
textarea,
th,
ul {
  margin: 0;
  padding: 0;
}
ol,
ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: #2b2c2e;
  cursor: pointer;
}
::selection {
  background: #56e6a5;
  color: #2b2c2e;
}
::-moz-selection {
  background: #56e6a5;
  color: #2b2c2e;
}
::-webkit-selection {
  background: #56e6a5;
  color: #2b2c2e;
}
.bg-yellow {
  z-index: -5;
  opacity: 0.5;
  width: 896px;
  height: 664px;
  background-image: radial-gradient(circle, #e3ff89 0%, #e3ff89 20%, transparent 60%, transparent 100%);
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  top: -190px;
  left: -150px;
}
.bg-green {
  z-index: -4;
  opacity: 0.45;
  width: 1024px;
  height: 797px;
  background-image: radial-gradient(circle, #89ff90 0%, #89ff90 20%, transparent 60%, transparent 100%);
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  top: 130px;
  left: 20px;
}
.bg-purple {
  z-index: -3;
  opacity: 0.45;
  width: 1024px;
  height: 797px;
  background-image: radial-gradient(circle, #a988ff 0%, #a988ff 20%, transparent 60%, transparent 100%);
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  top: -400px;
  left: 230px;
}
header,
footer {
  width: 100%;
  position: fixed;
  text-align: center;
  z-index: 999;
}
footer {
  display: none;
  justify-content: center;
  align-items: center;
  bottom: 24px;
  top: auto;
  height: 60px;
  background-color: rgba(255, 255, 255);
  box-shadow: 0 3px 8px 2px rgba(0, 0, 0, 0.05);
  border-radius: 100px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  width: 94%;
  left: 3%;
}
footer #menu {
  display: inline-flex;
  gap: 12px;
}
footer #menu li {
  font-size: 14px;
  -webkit-transition: all 0.45s ease-in-out;
  transition: all 0.45s ease-in-out;
}
footer #menu li a {
  padding: 10px 20px;
  color: #2b2c2e;
  border-radius: 50px;
  transition: all 100ms ease-in 100ms;
  -webkit-transition: all 100ms ease-in 100ms;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
footer #menu li a > span:last-child {
  display: none;
}
footer #menu .active a {
  color: #fff;
  background: #39bf83;
}
footer #menu .active a > span:last-child {
  margin-left: 8px;
  display: inline;
}
header {
  top: 0;
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
}
header > a:first-child > img {
  height: 56px;
}
header #menu {
  display: inline-flex;
  gap: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
header #menu li {
  font-size: 14px;
  -webkit-transition: all 0.45s ease-in-out;
  transition: all 0.45s ease-in-out;
}
header #menu li a {
  padding: 10px 20px;
  color: #2b2c2e;
  text-decoration: none;
  border-radius: 10px;
  background: rgba(43, 44, 46, 0.06);
  border: 2px solid rgba(43, 44, 46, 0.05);
  transition: all 100ms ease-in 100ms;
  -webkit-transition: all 100ms ease-in 100ms;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
header #menu li a > span:last-child {
  display: none;
}
header #menu .active a {
  color: #fff;
  background-color: #2b2c2e;
}
header #menu .active a > span:last-child {
  margin-left: 8px;
  display: inline;
}
header #toggle-sidebar {
  font-size: 24px;
}
#sidebar {
  background: rgba(255, 255, 255);
}
#sidebar .sidebar-main {
  padding: 18px 50px 0;
}
#sidebar .sidebar-main-title {
  width: 100%;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
}
#sidebar .sidebar-main-title h3 {
  box-shadow: 0px 0px 106px rgba(124, 255, 0, 0.2);
  background-image: radial-gradient(circle, rgba(124, 255, 0, 0.2) 0%, #ffffff 100%);
  font: bold 18px "Bold";
  letter-spacing: 2px;
  color: #2b2c2e;
  height: 60px;
  line-height: 24px;
  padding: 18px 8px;
}
#sidebar .sidebar-main-title a {
  display: block;
  color: #2b2c2e;
  text-decoration: none;
  line-height: 20px;
  float: right;
  padding-top: 2px;
}
#sidebar .sidebar-main-title a span {
  font-size: 20px !important;
}
#sidebar .sidebar-main-content ul {
  padding-top: 30px;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
#sidebar .sidebar-main-content ul li {
  line-height: 40px;
  color: #2b2c2e;
  border-bottom: 1px solid rgba(43, 44, 46, 0.05);
  overflow: hidden;
  font-family: "Bold";
  letter-spacing: 2px;
  font-size: 12px;
  padding-left: 5px;
  width: 100%;
}
#sidebar .sidebar-main-content ul li span {
  font: bold 18px "Bold";
}
#sidebar .sidebar-main-content ul li a {
  color: #2b2c2e;
  text-decoration: underline;
}
#sidebar .sidebar-main-content ul li a:hover {
  text-decoration: none;
  color: #39bf83;
}
#sidebar .sidebar-main-content ul li.tagli {
  background: rgba(249, 249, 249, 0.9);
  border: 1px solid rgba(43, 44, 46, 0.05);
  border-radius: 8px;
  width: calc(50% - 12px);
  text-align: center;
}
.home .home-content {
  width: 70%;
  height: 100%;
  margin: 0 auto;
}
.home .home-content-left {
  float: left;
  width: 48%;
  position: relative;
  margin-top: 130px;
}
.home .home-content-left .home-hi {
  position: absolute;
  font: bold 80px "Bold";
  color: rgba(33, 33, 33, 0.3);
  letter-spacing: 8px;
  top: 0;
  left: -70px;
  z-index: -1;
}
.home .home-content-left .home-welcome {
  font-size: 14px;
  color: #2b2c2e;
  letter-spacing: 6px;
  line-height: 34px;
  text-align: left;
}
.home .home-content-left .home-line {
  border-top: 2px solid #2b2c2e;
  width: 30px;
  display: block;
  margin: 25px 0 14px;
}
.home .home-content-left .home-name {
  font: bold 12px "Bold";
  letter-spacing: 2px;
  display: block;
  padding-bottom: 8px;
  color: #39bf83;
}
.home .home-content-left .home-desc {
  font: bold 26px "Bold";
  letter-spacing: 2px;
}
.home .home-content-left .home-btn {
  display: flex;
  margin-top: 50px;
}
.home .home-content-left .home-btn a {
  display: block;
  line-height: 40px;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  -webkit-transition: background 0.45s ease-in-out;
  transition: background 0.45s ease-in-out;
}
.home .home-content-left .home-btn a:hover {
  background: #46c78d;
}
.home .home-content-left .home-btn > a:first-child {
  width: 40px;
  margin-right: 15px;
  background: #2b2c2e;
  color: #fff;
  box-shadow: 0 20px 40px 0 rgba(43, 44, 46, 0.15), 0 4px 10px 0 rgba(43, 44, 46, 0.18);
}
.home .home-content-left .home-btn > a:last-child {
  width: 100px;
  font-size: 12px;
  letter-spacing: 4px;
  font-weight: bold;
  background: #56e6a5;
  color: #2b2c2e;
  box-shadow: 0 20px 40px 0 rgba(0, 158, 87, 0.15), 0 4px 10px 0 rgba(0, 158, 87, 0.1);
}
.home .home-content-right {
  float: right;
  position: relative;
  margin-top: 130px;
}
.home .home-content-right .skill {
  display: block;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 40px 0 rgba(0, 0, 0, 0.08), 0 4px 8px 0 rgba(0, 0, 0, 0.03);
  border-radius: 6px;
  position: absolute;
  text-align: left;
  padding: 5px 12px 12px 10px;
  -webkit-transition: all 0.45s ease-in-out;
  transition: all 0.45s ease-in-out;
}
.home .home-content-right .skill .iconfont {
  margin: 8px 8px 0 0;
  float: left;
}
.home .home-content-right .skill span {
  float: left;
  letter-spacing: 1px;
}
.home .home-content-right .skill-title {
  font-size: 14px;
  font-family: "Bold";
  padding-top: 6px;
}
.home .home-content-right .skill-content {
  font-size: 12px;
  font-family: "Bold";
  padding-left: 28px;
  color: rgba(43, 44, 46, 0.8);
}
.home .home-content-right .skill-float {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 40px 0 rgba(0, 0, 0, 0.08), 0 4px 8px 0 rgba(0, 0, 0, 0.03);
  border-radius: 6px;
  width: 300px;
  padding: 15px 20px;
  position: absolute;
  top: 62px;
  z-index: 996;
  text-align: left;
  display: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  left: 0;
}
.home .home-content-right .skill-float h4 {
  padding-bottom: 6px;
  font-size: 12px;
  letter-spacing: 2px;
  font-family: "Bold";
}
.home .home-content-right .skill-float p {
  font-size: 12px;
  letter-spacing: 2px;
  line-height: 20px;
  opacity: 0.5;
}
.fp-slidesNav {
  text-align: center !important;
}
.fp-slidesNav ul li a span {
  background: rgba(43, 44, 46, 0.1) !important;
}
.fp-slidesNav ul li a.active span {
  background: #56e6a5 !important;
}
.fp-controlArrow {
  font-size: 28px;
  font-style: normal;
  background: rgba(43, 44, 46, 0.5);
  width: 40px !important;
  height: 40px !important;
  line-height: 40px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}
.fp-controlArrow:hover {
  background: #56e6a5;
  color: #2b2c2e;
}
.fp-controlArrow.fp-prev {
  left: 25px !important;
}
.fp-controlArrow.fp-next {
  right: 25px !important;
}
.show .fp-controlArrow {
  opacity: 0;
  -webkit-transition: all 0.45s ease-in-out;
  transition: all 0.45s ease-in-out;
}
.show:hover .fp-controlArrow {
  opacity: 1;
}
.show-content {
  width: 100%;
  height: 100%;
}
.show-content-left {
  padding-top: 14%;
  float: left;
  width: 40%;
  font-family: "Bold", "PingFangSC";
  letter-spacing: 2px;
  padding-left: 15%;
}
.show-content-left h1 {
  font-size: 20px;
  font-weight: 600;
}
.show-content-left h2 {
  font-size: 14px;
  color: rgba(43, 44, 46, 0.7);
  padding-top: 10px;
}
.show-content-left p {
  font-size: 12px;
  color: rgba(43, 44, 46, 0.5);
  padding-top: 20px;
  display: block;
  line-height: 22px;
  font-family: "Bold", "PingFangSC-Regular";
}
.show-content-left-button {
  padding-top: 60px;
  font-size: 12px;
  width: 100%;
  overflow: hidden;
}
.show-content-left-button a {
  padding: 0px 24px;
  text-decoration: none;
  display: block;
  float: left;
  border-radius: 4px;
  line-height: 40px;
  font-weight: 700;
  -webkit-transition: background 0.45s, color 0.45s ease-in-out;
  transition: background 0.45s, color 0.45s ease-in-out;
}
.show-content-left-button a span {
  font-size: 12px !important;
}
.show-content-left-button > a:first-child {
  background: rgba(43, 44, 46, 0.08);
  color: #2b2c2e;
}
.show-content-left-button > a:last-child {
  background: #2b2c2e;
  color: #fff;
  margin-left: 20px;
}
.show-content-left-button > a:first-child:hover {
  background: #56e6a5;
}
.show-content-left-button > a:last-child:hover {
  background: #56e6a5;
  color: #2b2c2e;
}
.show-content-right {
  float: left;
  width: 50%;
  position: relative;
  padding-left: 2%;
}
.show-content-right img {
  cursor: zoom-in;
  display: block;
  width: 100%;
  margin: 25% auto 0;
}
.about-content {
  width: 70%;
  margin: 0 auto;
  padding: 125px 0 100px;
}
.about-content-title {
  padding: 15px 10px;
  overflow: hidden;
  letter-spacing: 2px;
  cursor: pointer;
  font-family: "Futura_Bold", "PingFangSC";
}
.about-content-title > div {
  float: left;
}
.about-content-title > div h4 {
  font-size: 14px;
}
.about-content-title > div h3 {
  font-size: 12px;
  padding-top: 8px;
  color: rgba(43, 44, 46, 0.8);
}
.about-content-title > span {
  float: right;
  padding-top: 13px;
}
.about-content-title > span:before {
  content: "\e726";
}
.about-content-title.active > div h3,
.about-content-title.active > div h4 {
  color: #39bf83;
}
.about-content-title.active > span:before {
  content: "\e8b1";
}
.about-content-text {
  line-height: 25px;
  font-size: 12px;
  padding: 10px 10px 20px;
  color: rgba(43, 44, 46, 0.7);
  font-family: "Futura_MediumItalic", "PingFangSC-Regular";
  width: 90%;
}
.about-content-text b {
  color: rgba(43, 44, 46, 0.9);
}
.about-content-text a {
  text-decoration: underline;
  color: rgba(43, 44, 46, 0.9);
}
.about-content-text a:hover {
  text-decoration: none;
  color: #39bf83;
}
.about-content-line {
  border-bottom: 1px solid rgba(43, 44, 46, 0.05);
  width: 100%;
}
.other-content {
  width: 70%;
  margin: 0 auto;
  padding-top: 125px;
}
.other-content-email {
  background-color: #2b2c2e;
  border-radius: 12px;
  background-image: url(../images/email_bg.svg);
  background-size: cover;
  padding-bottom: 60px;
  width: 100%;
  margin: 0 auto;
}
.other-content-email .title {
  padding-top: 30px;
  text-align: center;
  position: relative;
  letter-spacing: 2px;
}
.other-content-email .title h2 {
  font: bold 26px "Bold";
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.05);
  text-transform: uppercase;
}
.other-content-email .title span {
  font: bold 22px "Bold";
  position: absolute;
  left: 0;
  top: 45px;
  color: #fff;
  width: 100%;
  text-align: center;
}
.other-content-email .title p {
  font-size: 14px;
  color: #fff;
  position: absolute;
  width: 100%;
  top: 80px;
}
.other-content-email .input {
  padding-top: 70px;
  position: relative;
  width: 50%;
  margin: 0 auto;
}
.other-content-email .input input {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  border: none;
  width: 100%;
  padding: 5px 5%;
  height: 50px;
  display: block;
  color: rgba(255, 255, 255, 0.3);
  font: bold 12px "Bold";
  -webkit-transition: box-shadow 0.45s, border-color 0.45s ease-in-out;
  transition: box-shadow 0.45s, border-color 0.45s ease-in-out;
}
.other-content-email .input input:focus {
  outline: none;
  box-shadow: inset 0 0 4px 3px rgba(57, 191, 131, 0.1);
  color: rgba(255, 255, 255, 0.9);
}
.other-content-email .input span {
  color: #56e6a5;
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 40px;
}
.other-content-footer {
  padding: 40px 0;
  text-align: center;
  letter-spacing: 2px;
  width: 100%;
  margin: 0 auto;
}
.other-content-footer .logo {
  display: block;
  margin: 0 auto;
  width: 80px;
}
.other-content-footer .text1 {
  display: block;
  padding-top: 10px;
  font-size: 10px;
  color: rgba(43, 44, 46, 0.5);
}
.other-content-footer .text2 {
  display: block;
  padding-top: 10px;
  font-size: 12px;
  color: rgba(43, 44, 46, 0.8);
  font-family: "Bold";
}
.other-content-footer .link span {
  cursor: pointer;
  font-size: 20px;
  border-radius: 100%;
  margin: 0 5px;
}
.other-content-footer .link span:hover {
  opacity: 0.6;
}
.section-title {
  position: relative;
  width: 100%;
  margin: 30px 0 0;
  text-align: center;
  z-index: 1;
  display: none;
}
.section-title h3 {
  font: bold 42px "Bold";
  letter-spacing: 4px;
  color: rgba(43, 44, 46, 0.04);
  text-transform: uppercase;
}
.section-title p {
  display: block;
  width: 120px;
  height: 15px;
  border-radius: 100%;
  filter: blur(10px);
  background: rgba(86, 230, 165, 0.9);
  position: absolute;
  top: 20px;
  left: 43.5%;
  z-index: 2;
}
.section-title span {
  font-family: "Bold";
  font-size: 14px;
  letter-spacing: 3px;
  display: block;
  position: absolute;
  top: 18px;
  left: 47%;
  z-index: 3;
}
#zoom {
  position: fixed;
  left: 0px;
  top: 0px;
  z-index: 1000;
  cursor: zoom-out;
  transition: all 0.3s;
}
#zoom img {
  width: 100%;
  background: rgba(43, 44, 46, 0.3);
  border-radius: 8px;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  max-height: 100%;
}
#zoom[zoom="false"] {
  width: 0px;
  height: 0px;
}
#zoom[zoom="true"] {
  width: 100vw;
  height: 100vh;
  background: #00000099;
}
#message {
  position: fixed;
  width: 100%;
  top: 100px;
  text-align: center;
  z-index: 9999;
}
#message span {
  padding: 8px 16px;
  border-radius: 8px;
  color: #000000cc;
}
#count {
  font-size: 20px;
}

/* 优化基础样式 */
html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 优化动画过渡 */
.skill {
  transition: transform var(--transition-normal) ease, box-shadow var(--transition-normal) ease;
}

.skill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* 添加加载状态动画 */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 优化滚动体验 */
.smooth-scroll {
  scroll-behavior: smooth;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

/* 添加hover状态过渡 */
.skill,
.show-content-left-button a,
.home-content-left .home-btn a {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 优化暗色模式 */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #121212;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --bg-secondary: rgba(255, 255, 255, 0.05);
  }

  .skill {
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
  }
}
