/* 字体定义 - 保持不变 */
@font-face {
  font-family: "HeptaSlab-Regular";
  src: url(../Fonts/Hepta_Slab/static/HeptaSlab-Regular.ttf);
}
.font1 {
  font-family: "HeptaSlab-Regular";
}

@font-face {
  font-family: "HeptaSlab-SemiBold";
  src: url(../Fonts/Hepta_Slab/static/HeptaSlab-SemiBold.ttf);
}
.font2 {
  font-family: "HeptaSlab-SemiBold";
}

/* 苹方字体部分保持不变 */
.pflight {
  font-family: "PingFang SC", "pflight", sans-serif;
}

.pfregular {
  font-family: "PingFang SC", "pfregular", sans-serif;
}

.pfmid {
  font-family: "PingFang SC", "pfmid", sans-serif;
}

.pfsemibold {
  font-family: "PingFang SC", "pfsemibold", sans-serif;
  font-weight: 700; /* 加粗 */
}

/* 响应式字体大小 */
/* 小屏幕（例如手机） */
@media (max-width: 600px) {
  .font1, .font2, .pflight, .pfregular, .pfmid, .pfsemibold {
    font-size: 14px; /* 调整为合适的小屏幕字体大小 */
  }
}

/* 中等屏幕（例如平板电脑） */
@media (min-width: 601px) and (max-width: 1024px) {
  .font1, .font2, .pflight, .pfregular, .pfmid, .pfsemibold {
    font-size: 16px; /* 调整为合适的中屏幕字体大小 */
  }
}

/* 大屏幕（例如笔记本电脑和桌面显示器） */
@media (min-width: 1025px) {
  .font1, .font2, .pflight, .pfregular, .pfmid, .pfsemibold {
    font-size: 18px; /* 调整为合适的大屏幕字体大小 */
  }
}


::-moz-selection {
  background-color: #ed1d24;
  color: #ffffff;
}

::selection {
  background-color: #ed1d24;
  color: #ffffff;
}

body {
  color: #121117;
  font-family: "Satoshi Regular";
  overflow-x: hidden;
}

.logo {
  width: 140px;
  height: auto;
}

.yellow {
  color: #121117;
}

.primary-button {
  color: #ffffff;
  background-color: #ed1d24;
  font-size: 14px;
  font-weight: bolder;
  font-family: "IBM Plex Mono";
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 0.5em 1em;
  border-radius: 0;
  -webkit-box-shadow: 0px 10px 30px 2px rgba(77, 49, 0, 0.15);
  box-shadow: 0px 10px 30px 2px rgba(77, 49, 0, 0.15);
}

.primary-button:hover {
  -webkit-transition: 300ms ease-out;
  transition: 300ms ease-out;
  background-color: #121117;
  color: #ffffff;
}

.secondary-button {
  color: #ed1d24;
  font-family: "Satoshi Medium";
  src: url(../Fonts/OTF/Satoshi-Medium.otf);
  font-size: 18px;
}

.fa-envelope {
  border-radius: 50%;
  padding: 1em;
  color: #ffffff;
  -webkit-transform: scale(1.5);
  transform: scale(1.5);
  background-color: #ed1d24;
}

.fa-envelope:hover {
  -webkit-transition: 300ms ease-out;
  transition: 300ms ease-out;
  background-color: #121117;
  color: #ffffff;
}

.fa-brands:hover {
  -webkit-transition: 300ms ease-out;
  transition: 300ms ease-out;
  color: #ed1d24;
}

.heroImg {
  width: 380px;
  height: auto;
}

#myImg {
  width: 220px;
  height: 220px;
}

.icons {
  background-color: #2825f37e;
  color: #121117;
}

.line {
  padding: 1px;
  background-color: #ed1d24;
}

.dot {
  width: 4px;
  height: 4px;
  background-color: #121117;
  opacity: 0.4;
  border-radius: 50%;
}

.problem-solved {
  background-color: #9af8ae;
  color: #064614;
  border-radius: 0 0 100px 0;
}

.big-title {
  font-size: 40px;
  line-height: 60px;
  font-family: "Satoshi Medium";
  src: url(../Fonts/OTF/Satoshi-Medium.otf);
}

.title {
  font-size: 26px;
  line-height: 48px;
  font-family: "Satoshi Medium";
  src: url(../Fonts/OTF/Satoshi-Medium.otf);
}

.subtitle {
  font-size: 12px;
  line-height: 30px;
  font-family: "Satoshi Regular";
  src: url(../Fonts/OTF/Satoshi-Regular.otf);
}

.tags {
  font-size: 14px;
  font-family: "Satoshi Bold";
  src: url(../Fonts/OTF/Satoshi-Bold.otf);
  text-transform: uppercase;
  padding: 0.5em 0.75em;
  background-color: #000000;
  color: #ffffff;
  display: inline;
  border-radius: 0px;
}

.caption {
  font-size: 16px;
  letter-spacing: 0.8px;
  font-family: "pfmid";
  text-transform: uppercase;
}

.accent-col {
  color: #ed1d24;
}

.case-study-cover {
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
  -webkit-transition: 500ms all ease-out;
  transition: 500ms all ease-out;
}

.case-study:hover .case-study-cover {
  -webkit-filter: grayscale(0);
  filter: grayscale(0);
}

.show-at-small {
  display: none;
}

.show-at-small .small-box {
  background-color: rgba(32, 32, 184, 0.145);
}

#uparrow {
  display: none;
  text-decoration: none;
  position: fixed;
  z-index: 999;
  top: 88%;
  right: 10%;
  width: 48px;
  height: 48px;
  padding-top: 12px;
  background-color: #ffffff;
  opacity: 0.7;
  border: 1px solid #121117;
  border-radius: 50%;
  text-align: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #121117;
}

@media only screen and (max-width: 640px) {
  .big-title {
    font-size: 38px;
    line-height: 60px;
    font-family: "Satoshi Medium";
    src: url(../Fonts/OTF/Satoshi-Medium.otf);
  }
  #footer .footer-logo {
    display: none;
  }
  .custom__cursor__inner,
  .custom__cursor__outer {
    display: none;
  }
  .prototype {
    display: none;
  }
  .show-at-small {
    display: block;
  }
  .show-at-small .small-box {
    background-color: rgba(32, 32, 184, 0.145);
  }
}

@media only screen and (max-width: 320px) {
  .big-title {
    font-size: 26px;
    line-height: 40px;
    font-family: "Satoshi Medium";
    src: url(../Fonts/OTF/Satoshi-Regular.otf);
  }
  .name {
    font-size: 16px;
  }
}

.mobile-menu {
  color: #121117;
}

.mobile-nav-items li {
  margin-top: 1em;
}

/*# sourceMappingURL=style.css.map */

.rlist {
  top: 30%;
  font-size: 14px;
  font-family: "pfregular";
  src: url(../Fonts/OTF/Satoshi-Regular.otf);
}

.tlist {
  top: 0%;
  left: 10%;
  font-size: 14px;
  font-family: "pfregular";
  src: url(../Fonts/OTF/Satoshi-Regular.otf);
}

.boldfont {
  font-family: "Satoshi Bold";
  src: url(../Fonts/OTF/Satoshi-Medium.otf);
}

.midfont {
  font-family: "Satoshi Medium";
  src: url(../Fonts/OTF/Satoshi-Medium.otf);
}

.regfont {
  font-family: "Satoshi Regular";
  src: url(../Fonts/OTF/Satoshi-Regular.otf);
}

.showout {
  z-index: 9999;
}

.swiper {
  width: 1300px;
}

.banner {
  width: 100%;
}

/* 0316 新增样式 */
#contentFather {
  position: relative;
}
#throughBox {
  position: absolute;
  width: 100vw;
  right: 0px;
}

.card {
  border: none;
  border-radius: 0px;
}

.card .card-img {
  border-radius: 0px;
}



.card-img-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: rgba(255, 255, 255, 0.85);
  /* 添加背景颜色并设置透明度 */
  backdrop-filter: blur(64px);
  /* 添加模糊效果 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card:hover .card-img-overlay {
  opacity: 1;
}

.card:hover {
  box-shadow: 0px 30px 60px rgba(0, 0, 0, 0.05);
  /* 添加投影效果 */
  transform: translate(0px, -10px);
  /* 卡片向左上方偏移5像素 */
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* 添加动画效果 */
}

/* 0120 */
.ratio-container {
  position: relative;
  width: 100%; /* 宽度取决于父元素 */
  padding-top: 67%; /* 16:9 比例，可以根据需要调整 */
  overflow: hidden;
}

.ratio-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 图片将填充整个容器，保持比例 */
}

.ratio-container-4-3 {
  position: relative;
  width: 100%;
  padding-top: 67%; /* 4:3比例 */
  overflow: hidden;
}

.ratio-img-4-3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


