*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #333;
  background: #fff;
}

a {
  color: inherit;
}

.header {
  height: 50px;
  background: #fff;
}

.nav {
  max-width: 1080px;
  height: 50px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  color: #000;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}

.nav nav a {
  display: inline-block;
  color: #000;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-left: 24px;
  line-height: 20px;
  padding: 0 2px;
}

.nav nav a.active {
  font-weight: 500;
  border-bottom: 3px solid #F5C51F;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
}

.footer {
  background: #2A2A2A;
  color: #fff;
  padding: 20px 0;
}

.company-info {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  font-size: 16px;
  line-height: 30px;
}

.company-info h2 {
  font-size: 18px;
  font-weight: 400;
  height: 70px;
  line-height: 70px;
}

.company-info a {
  color: #fff;
  text-decoration: underline;
}

.copyright {
  text-align: center;
  height: 60px;
  color: #999;
  font-size: 12px;
  line-height: 60px;
}

@media (max-width: 600px) {
  .nav nav a {
    margin-left: 16px;
  }

  .company-info {
    font-size: 15px;
  }

  .company-info h2 {
    height: auto;
    line-height: 1.5;
    padding: 16px 0 8px;
  }

  .copyright {
    height: auto;
    line-height: 1.5;
    padding: 16px 12px;
  }
}
