@import url(https://fonts.googleapis.com/css?family=Roboto:400,100,300,500,700,900);
@import url(https://fonts.googleapis.com/css?family=Titillium+Web:400,600,700,300,200);

body {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1.6em;
  font-weight: 300;
  color: #555;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* 防止页面溢出 */
}

h2 {
  margin-bottom: 10px !important;
}

p {
  margin-bottom: 2em;
}

header {
  border-bottom: solid 1px #e0e0e0;
  margin: 0 0 20px 0;
}

.pageTitle,
.pageSubTitle {
  font-family: 'Titillium', sans-serif;
  text-transform: uppercase;
  color: #333;
}

.pageTitle {
  color: #FF7600;
  font-size: 2em;
  font-weight: 700;
  line-height: 2em;
}

.pageSubTitle {
  margin-bottom: 1em;
  font-size: 1.4em;
  font-weight: 300;
}

.background {
  background: url("http://img.talkandroid.com/uploads/2013/03/htc-sense-5-wallpaper-3.jpg") repeat;
  background-size: 100% auto;
  position: fixed;
  width: 100%;
  height: 300%;
  top: 0;
  left: 0;
  z-index: -1;
}

.wrapper {
  width: 80%; /* 默认宽度 */
  max-width: 800px; /* 设置最大宽度 */
  padding: 40px;
  margin: 20px auto;
  background: #fff;
  box-shadow: 0px 3px 3px 1px rgba(0, 0, 0, 0.25);
  box-sizing: border-box; /* 确保padding和border不会导致宽度溢出 */
  border: 1px solid #fafafa;
}

.wrapper img {
  width: 100%;
  height: auto; /* 保持图片的纵横比 */
}

.slogan {
  position: fixed;
  display: block;
  top: 700px;
  width: 100%;
  padding: 20px 0;
  text-align: center;
  background: #222;
}

.sloganTitle {
  font-size: 70px;
  font-weight: 700;
  line-height: 80px;
  color: #fff;
  text-shadow: 0px 2px 1px rgba(0, 0, 0, 0.25);
}

.cover-up {
  position: relative;
  top: -100px;
  width: 100%;
  background: #fff;
  padding: 50px 0;
}

nav {
  background: #fff;
  width: 100%;
  text-align: center;
  position: fixed;
  top: 0;
}

nav a.current {
  color: #0540ff !important; /* 文本颜色变为蓝色 */
  font-weight: 800 !important; /* 加粗文本 */
}

/* 手机端样式 */
@media screen and (max-width: 500px) {
  .wrapper {
    width: 96%; /* 设置为100%宽度 */
    max-width: none; /* 移除最大宽度限制 */
    padding: 10px 15px;
    margin:15% 2%;
  }

  nav {
    text-align: center;
    font-size: 16px;
    padding: 10px 0;
  }

  .pageTitle {
    font-size: 1.5em;
  }

  .pageSubTitle {
    font-size: 1.2em;
  }

  iframe {
    width: 100%;
  }


}
