@media (max-width: 768px) {
  html {
    font-size: calc(100vw / 18);
  }
}
@media (min-width: 768px) and (max-width: 1399.98px) {
  html {
    font-size: calc(100vw / 12.8);
  }
}
@media (min-width: 1400px) and (max-width: 1919.98px) {
  html {
    font-size: calc(100vw / 17.68);
  }
}
@media (min-width: 1920px) {
  html {
    font-size: calc(100vw / 18.8);
  }
}
/* 手机 */
@media (max-width: 768px) {
  /* banner */
  .main-content {
    width: 100%;
    height: 12rem;
    background: linear-gradient(135deg, var(--primary-200) 0%, var(--primary-100) 50%, var(--primary-50) 100%);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: black;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .main-content .module-container {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
  }
  .main-content .module-container h3 {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    padding: 0 10%;
  }
  .main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
  }
}




/* pc */
@media (min-width: 768px) {
  /* banner */
  .main-content {
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-200) 0%, var(--primary-100) 50%, var(--primary-50) 100%);
    background-image: none;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: black;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .main-content .module-container {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
  }
  .main-content .module-container h3 {
    font-size: 0.56rem;
    font-weight: 500;
    color: #fff;
  }
  .main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
  }
}
@media (min-width: 768px) and (max-width: 1399.99px) {
  .main-content .module-container h3 {
    font-size: 0.36rem;
    font-weight: bold;
  }
}
@media (min-width: 1400px) and (max-width: 1679.99px) {
  .main-content .module-container h3 {
    font-size: 0.4rem;
    font-weight: bold;
  }
}
@media (min-width: 1680px) and (max-width: 1919.99px) {
  .main-content .module-container h3 {
    font-size: 0.46rem;
    font-weight: bold;
  }
}
@media (min-width: 1920px) {
  .main-content .module-container h3 {
    font-size: 0.5rem;
    font-weight: bold;
  }
}
