@font-face {
  font-family: Millik;
  font-weight: 700;
  src: url(./asset/font/Millik.c3f91cb.ttf) format("truetype");
  text-rendering: optimizeLegibility;
}

:root {
  --post-spacing: 1.78vw;
  --post-size: 25vw;
  --mask-size: 100vw;
}

* {
  padding: 0;
  margin: 0;
  font-family: "Millik", "Inter", sans-serif, "Abyssinica SIL, serif";
  font-size: 62.5%;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--main-font);
  line-height: 1.6;
  background-color: var(--background-color);
  color: var(--main-color);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
/* 主内容撑开页面，使 footer 自然位于底部 */
.main-content {
  flex: 1;
  padding-bottom: 150px;
}
.HomepageContent{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh
}
.title {
  position: absolute;
  left: 50%;
  top: calc(var(--post-size) / 0.72 - 30vw);
  transform: translateX(-50%);
  -webkit-transform: translate(-50%, -5%);
          transform: translate(-50%, -5%);
}

.title p {
  font-family: 'Abyssinica SIL', serif;
  font-size: 4vw;
  font-weight: 800;
  white-space: nowrap;
}

#banner {
  overflow: hidden;
  position: relative;
  width: 100vw;
  height: calc(var(--post-size) / 0.72);
  -webkit-mask: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNDQwIiBoZWlnaHQ9IjUwMCIgdmlld0JveD0iMCAwIDE0NDAgNTAwIiBpZD0iaiI+CiAgPHBhdGggZmlsbD0icmdiKDIwMCwyMDAsMjAwKSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMCAwczI3NS4wNCAxMDAgNzIwIDEwMFMxNDQwIDAgMTQ0MCAwdjUwMHMtMjc1LjA0LTEwMC03MjAtMTAwUzAgNTAwIDAgNTAwVjB6Ii8+Cjwvc3ZnPgo=);
          mask: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNDQwIiBoZWlnaHQ9IjUwMCIgdmlld0JveD0iMCAwIDE0NDAgNTAwIiBpZD0iaiI+CiAgPHBhdGggZmlsbD0icmdiKDIwMCwyMDAsMjAwKSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMCAwczI3NS4wNCAxMDAgNzIwIDEwMFMxNDQwIDAgMTQ0MCAwdjUwMHMtMjc1LjA0LTEwMC03MjAtMTAwUzAgNTAwIDAgNTAwVjB6Ii8+Cjwvc3ZnPgo=);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: var(--mask-size);
          mask-size: var(--mask-size);
  position: absolute;
  top: 10%;
}

#banner .img-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: absolute;
  width: 100%;
  float: left;
  height: calc(var(--post-size) / 0.72);
  -webkit-transform: translate(13.39vw, 0);
          transform: translate(13.39vw, 0);
  -webkit-animation: admission 1.5s;
          animation: admission 1.5s;
}

#banner .img-wrapper .img-box {
  height: 100%;
  display: inline-block;
  margin-right: var(--post-spacing);
  position: relative;
  cursor: pointer;
}

#banner .img-wrapper .img-box .info {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: rgba(23, 23, 23, 0.5);
  text-align: center;
  color: #fff9f1;
  font-size: 4rem;
  pointer-events: none; /* 让 .info 不拦截鼠标事件 */
}

#banner .img-wrapper .img-box img {
  width: var(--post-size);
  height: 100%;
  -o-object-position: center;
     object-position: center;
  -o-object-fit: cover;
     object-fit: cover;
}

#banner .img-wrapper .img-box:last-child {
  -webkit-transform: translate(-160.68vw, 0);
          transform: translate(-160.68vw, 0);
}

.btn-group {
  height: 15vh;
  position: absolute;
  left: 50%;
  bottom: 0%;
  top: calc(var(--post-size) / 0.72 + 80px);
  transform: translateX(-50%);
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  -webkit-transition: 1s;
  transition: 1s;
  opacity: 0;
}

.btn-group .btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid #171717;
  background-color: #fff;
  margin: 10px;
  cursor: pointer;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.btn-group .btn:hover {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
  background-color: #000;
}

.btn-group .btn:hover .icon {
  fill: #fff;
}

.btn-group .btn .icon {
  width: 30px;
  height: 30px;
}

.btn-group .btn .right {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

.img-list {
  left: 0;
}

@-webkit-keyframes admission {
  0% {
    -webkit-transform: translate(140vw, 0);
            transform: translate(140vw, 0);
  }
  100% {
    -webkit-transform: translate(13.39vw, 0);
            transform: translate(13.39vw, 0);
  }
}

@keyframes admission {
  0% {
    -webkit-transform: translate(140vw, 0);
            transform: translate(140vw, 0);
  }
  100% {
    -webkit-transform: translate(13.39vw, 0);
            transform: translate(13.39vw, 0);
  }
}
/*# sourceMappingURL=style.css.map */

/* 让 navbar 固定在屏幕右上角 */
.nav-bar {
  position: fixed; /* 关键修改点：固定在屏幕上，而非父级 */
  top: -10px;
  right: 20px; /* 确保与原始设计一致 */
  width: 318px; /* 让 navbar 和背景对齐 */
  height: 50px;
  z-index: 1000; /* 确保导航栏不会被其他元素覆盖 */
}

/* 背景色块 */
.nav-links-bg {
  width: 100%;
  height: 29px;
  background: rgb(217, 217, 217);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%); /* 确保背景居中 */
}

/* 导航链接容器 */
.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between; /* 让 Contact 和 Home 分布在两侧 */
  align-items: center;
  position: absolute;
  width: 100%;
  height: 100%;
}

/* 统一文本样式 */
.nav-text {
  font-size: 24px;
  font-weight: 400;
  font-family: Inter, sans-serif;
  text-decoration: none;
  color: black;
}

/* Contact 文本 */
.nav-text-contact {
  margin-left: 24px;
  text-decoration: none;
}

/* Portfolio 文本 */
.nav-text-portfolio {
  margin-right: 24px;
  text-decoration: none;
}
/* Home 文本 */
.nav-text-home {
  margin-right: 24px;
  text-decoration: underline;
}


/* 导航栏链接 */
.navbar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
}

.navbar li {
  display: inline;
}

.navbar a {
  text-decoration: none;
  font-size: 18px;
  font-family: Inter, sans-serif;
  color: black;
}

/* 固定导航栏 */
.navbar {
  position: fixed;
  top: 20px;  /* 距离顶部的间距 */
  right: 20px; /* 让最右侧和 footer 右对齐 */
  background: rgba(255, 255, 255, 0.8); /* 半透明背景 */
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 底部区域容器 */
.footer-container {
  width: 100%;  /* 使其自适应宽度，确保不会超出屏幕 */
  position: relative; /* 如果需要的话可以调整为相对定位 */
}

/* 底部样式 */
.footer {
  position: fixed;  /* 固定在底部 */
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px; /* 可以根据需要调整 */
  background: rgba(255, 255, 255, 0);
  display: flex;
  justify-content: space-between; /* 左右对齐 */
  align-items: center; /* 垂直居中 */
  padding: 0 40px; /* 给左右留点内边距 */
  font-size: 18px;
  font-family: Inter, sans-serif;
}

/* 容器样式 */
.container {
  top: calc(var(--post-size) / 0.72 + 30vw);
  position:relative;
  font-family: 'Inter', sans-serif;
  width: 100vw;
  max-width: 1440px;
  padding: 0 40px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1px; /* 设置固定间距 */
  padding-bottom: 150px;
}


p {
  font-size: 1rem;
}

img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
}

/* 处理链接样式 */
a {
  text-decoration: underline;
  color: var(--main-color);
  margin: 0 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  h1, h2 {
    font-size: 1.5rem;
  }

  p {
    font-size: 0.9rem;
  }

  img {
    width: 100%;
  }
}

/* 椭圆形图形 8 样式 */
.ellipse-8 {
  text-align: center;
  width: 14.5vw;
}

.name {
  text-align: center;
  vertical-align: top;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  font-size: 8.5vw;
  font-weight: 400;
  font-family: 'Abyssinica sil', serif;
  white-space: nowrap;
  color: #000000;
}
.designer-profile {
  text-align: center;
  vertical-align: top;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  font-size: 5vw;
  font-weight: 400;
  font-family: 'Abyssinica sil', serif;
  white-space: nowrap;
  color: #000000;
}

.Chinese-introduction {
  text-align: center;
  vertical-align: top;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  font-size: min(2vw, 14px);
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  white-space: break-spaces;
  color: rgb(0, 0, 0);
}
.Contact{
  text-align: center;
  display: flex;
  flex-direction: column;
  font-size: 1vw;
  font-weight: 400;
  font-family: 'Millik';
  font-weight: 700;
  white-space: break-spaces;
  color: #000;
}
.Contact p {
  display: flex;
  align-items: center; /* 让图标和文字对齐 */
  font-size: 1em; /* 让图标和文本一起自适应 */
}

.Contact p i {
  margin-right: 8px; /* 让图标和文字保持一定间距 */
  font-size: 1em; /* 确保图标大小跟随文本 */
}
.Contact p a {
  font-size: inherit;
}