/* @import "tailwindcss"; */

/* 定义字体 */
@font-face {
  font-family: 'MyKrona';
  src: url('./KRONAONE.ttf');
}

:root {
  --background: #ffffff;
  --foreground: #333333;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --font-sans: var(--font-geist-sans);
  --font-mono: var(--font-geist-mono);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #ededed;
  }
}

.krona {
  font-family: 'MyKrona';
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: "Source Han Sans CN", Arial, Helvetica, sans-serif !important;
  font-size: 14px;
}

html {
  -ms-overflow-style: none !important;
  /* IE and Edge */
  scrollbar-width: none !important;
  /* Firefox */
}

html::-webkit-scrollbar {
  display: none !important;
  /* Chrome, Safari and Opera */
}

h1,h2,h3,h4,h5,h6 { font-size:100%; font-weight:500 !important; }

/* 隐藏滚动条 */
.hide-scrollbar {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari and Opera */
}

/* nav */
.navbar-shadow {
  box-shadow: rgba(0, 0, 0, .1) 0 1px 5px;
}

.ant-menu-horizontal {
  border-bottom: none !important;
  font-size: 16px !important;
}

.ant-menu-overflow {
  .ant-menu-submenu-selected {
    .ant-menu-submenu-title {
      color: #333333 !important;
    }
  }
}

.ant-menu-title-content {
  color: #333 !important;
}

.ant-menu-overflow-item {
  margin: 0 25px !important;
}

.mobile-pop {
  a.adm-list-item:active:not(.adm-list-item-disabled):after {
    border: none !important;
  }

  .adm-list-body {
    background-color: transparent !important;
    border: none !important;
  }

  .adm-list-item-content {
    border: none !important;
  }

  .adm-list-item {
    background-color: transparent !important;
  }

  .adm-collapse-panel-header .adm-list-item-content-main {
    padding: 10px 0;
    font-size: 16px;
  }

  .adm-list-item {
    padding: 0;
  }
}

/* 首页产品类型交互 */
.home-mutually {
  .default-text {
    bottom: 25px;
    left: 20px;
    transition: bottom 0.5s;
    line-height: 20px;
  }

  .default-line {
    bottom: 18px;
    left: 20px;
    transition: bottom 0.5s;
  }

  .default-image {
    display: inherit;

  }

  .hover-image {
    display: none;
  }

  .hover-text {
    display: none;
  }
}


@media (min-width: 768px) {
  .home-mutually {

    .default-text {
      bottom: 46px;
      left: 26px;
      transition: bottom 0.5s;
    }

    .default-line {
      bottom: 30px;
      left: 26px;
      transition: bottom 0.5s;
    }

    .default-image {
      display: inherit;
    }

    .hover-image {
      display: none;
    }

    .hover-text {
      display: block;
      text-align: justify;
      top: 200px;
      left: 26px;
      opacity: 0;
    }
  }

  .home-mutually:hover {
    .default-text {
      bottom: 246px;
    }

    .default-line {
      bottom: 230px;
    }

    .default-image {
      display: none;
    }

    .hover-image {
      display: inherit;
    }

    .hover-text {
      top: 100px;
      opacity: 1;
      transition: 0.4s 0.3s;
    }
  }

}

/* 外包服务 */
/* 锚点样式 */
@media (min-width: 768px) {
  .outpage-titleItem {
    position: relative;

    .line {
      opacity: 0;
      position: absolute;
      bottom: -8px;
      margin-left: 50%;
      transform: translateX(-50%);
    }

    .lineActive {
      opacity: 1 !important;
    }
  }

  .outpage-titleItem:hover {
    .line {
      opacity: 1;
    }
  }
}

/* 为所有锚点添加导航栏高度 */
:target {
  scroll-margin-top: 128px;
}

/* 手机端默认有阴影，pc默认没有阴影，鼠标移入出现阴影并跳动 */
.shadow-mobile-only {
  box-shadow: 0 4px 32px rgba(110, 125, 150, .16);
}

@media (min-width: 768px) {
  .shadow-mobile-only {
    box-shadow: none;
    transition: all .3s;
  }

  .shadow-mobile-only:hover {
    box-shadow: 0 4px 32px rgba(110, 125, 150, .16);
    transform: translateY(-8px);
  }
}

/* 手机端默认没有阴影，pc默认没有阴影，鼠标移入出现阴影并跳动 */
@media (min-width: 768px) {
  .advantage-item {
    transition: all .3s;
  }

  .advantage-item:hover {
    box-shadow: 0 4px 32px rgba(110, 125, 150, .16);
    transform: translateY(-8px);
  }
}

/* 默认有阴影，鼠标移入出现阴影并跳动 */
.outpage-pro {
  box-shadow: 0 4px 32px rgba(110, 125, 150, .16);
}

@media (min-width: 768px) {
  .outpage-pro {
    transition: all .3s;
    box-shadow: 0 4px 32px rgba(110, 125, 150, .16);
  }

  .outpage-pro:hover {
    transform: translateY(-8px);

    .tag {
      color: #004DB9;
      border: 1px solid #004DB9;
    }

  }
}

/* 关于-集团简介 */
.intro-shadow {
  box-shadow: none;
}

@media (min-width: 768px) {
  .intro-shadow {
    box-shadow: 0 4px 32px rgba(110, 125, 150, .16);
  }
}

.intro-mission {
  box-shadow: 0 4px 32px rgba(110, 125, 150, .16);
}



/* 联系我们 */
.contact-form {
  input {
    height: 30px !important;
    background-color: #F7F8F9 !important;
    border: none !important;
  }

  label {
    padding: 0 !important;
    max-width: 100px !important;
    white-space: nowrap !important;
    flex: 0 0 100%;
  }

  @media (min-width: 768px) {
    label {
      max-width: initial !important;
      flex: 0 0 21%;
    }
  }

  .form-item {
    margin-bottom: 10px;
  }

  .subBtn {
    width: 120px;
    height: 40px;
    color: #fff;
    border-radius: 20px;
    background-color: #004DB9;
  }
}

@media (min-width: 768px) {
  .contact-form {
    label {
      height: 40px !important;
      line-height: 40px !important;
    }

    input {
      height: 40px !important;
      background-color: #F7F8F9 !important;
      border: none !important;
    }

    .form-item {
      margin-bottom: 24px;
    }

    .subBtn {
      width: 120px;
      height: 40px;
      color: #004DB9;
      border: 1px solid #004DB9;
      border-radius: 20px;
      background-color: #fff;
    }

    .subBtn:hover {
      background-color: #004DB9 !important;
      color: #fff !important;
    }
  }
}

/* 关于 */
.honor {
  box-shadow: 0 4px 32px rgba(110, 125, 150, .16);
}

#allAddressId {
  scroll-margin-top: 60px;
}