* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  padding-top: 108px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

a {
  text-decoration: none;
}

/* 头部 */

header {
  background: #000;
  text-align: center;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
}

header nav {
  height: 108px;
  max-width: 1366px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

header ul {
  list-style: none;
  display: flex;
  font-size: 20px;
  position: absolute;
  left: 0;
}

header li {
  margin-left: 36px;
}

header a {
  color: #fff;
}

header a:hover,
header .active {
  border-bottom: 2px solid #fff;
  padding-bottom: 3px;
}

header img {
  display: block;
  height: 62px;
}

/* 菜单 */

.menus {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: center;
  list-style: none;
  font-size: 20px;
  font-weight: 500;
}

.menus li {
  flex: 1;
}

.menus a {
  display: block;
  height: 60px;
  line-height: 52px;
  color: #fff;
  background: linear-gradient(to bottom, #ffd700 0%, #070707 100%);
  border: 2px solid #ffd700;
  box-shadow: 0px 0px 3px #f00;
}

/* 内容 */

main {
  display: flex;
  font-size: 20px;
  max-width: 1366px;
  margin: 0 auto;
  padding: 100px 30px;
}

main h1 {
  font-size: 48px;
  font-weight: 500;
  margin-bottom: 30px;
}

main p {
  line-height: 1.8;
  margin: 20px 0;
  word-wrap: break-word;
}

main p a {
  color: #f00;
}

main article {
  padding-right: 8%;
  flex: 1;
}

main article img {
  display: block;
}

main input {
  height: 74px;
  width: 120px;
  margin: -12px 0 40px;
  padding: 0 20px;
  font-size: 20px;
}

main button {
  display: block;
  width: 100%;
  height: 56px;
  line-height: 56px;
  background: #000;
  color: #fff;
  font-size: 16px;
  text-align: center;
}

main section {
  flex: 1;
  max-width: 500px;
  text-align: center;
}

main section img {
  width: 100%;
  object-fit: cover;
}

/* 底部 */

footer {
  background: #000;
  color: #fff;
  text-align: center;
  line-height: 90px;
}

footer a {
  color: #f00;
}

@media (max-width: 800px) {
  header nav ul {
    display: none;
  }

  main {
    flex-direction: column-reverse;
    padding-top: 30px;
    padding-bottom: 30px;
    font-size: 18px;
  }

  main article {
    padding-right: 0;
  }

  main article h1 {
    font-size: 34px;
  }

  main section {
    margin: 0 auto;
  }

  main section img {
    margin-bottom: 30px;
  }
}