@import "reset.css";
@charset "utf-8";

/* CSS变量定义 */

html {
  overflow-y: scroll;
  scroll-behavior: smooth;
}

body {
  font-family: 'NanumGothicWeb', 'Helvetica Neue', Helvetica, Verdana, Arial, sans-serif;
  background: var(--primary-color);
  color: var(--text-color);
  line-height: 1.6;
}

#page-wrap {
  width: 90%;
  max-width: 1200px;
  margin: 10px auto;
  padding: 0 10px;
  box-sizing: border-box;
}

h1 {
  color: var(--text-color);
  font-weight: bold;
  text-align: center;
  text-shadow: 0px 2px #111;
  margin-bottom: 20px;
  font-size: 2rem;
}

h1 span {
  display: block;
  margin-top: 6px;
  letter-spacing: 7px;
  font: 14px Verdana;
}

/* 响应式页面容器和标题 */
@media (max-width: 1024px) {
  #page-wrap {
    width: 92%;
    padding: 0 15px;
  }
  
  h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  #page-wrap {
    width: 95%;
    padding: 0 10px;
    margin: 8px auto;
  }
  
  h1 {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }
  
  h1 span {
    letter-spacing: 4px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  #page-wrap {
    width: 95%;
    padding: 0 8px;
    margin: 5px auto;
  }
  
  h1 {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }
  
  h1 span {
    letter-spacing: 3px;
    font-size: 11px;
    margin-top: 4px;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 1.2rem;
  }
  
  h1 span {
    font-size: 10px;
  }
}

/* ///////////////////////////////////////// 
	=.no-js 优雅降级
///////////////////////////////////////// */
.no-js #tab_design {
    overflow: hidden;
    padding: 2em;
    background: #fff;
    color: #333;
}

.no-js #tab_design li {
    float: left;
    margin-right: 20px;
    margin-top: 20px;
}

.no-js #tab_design a {
    color: #333;
}

.no-js #tab_design img {
    vertical-align: bottom;
}

/* ///////////////////////////////////////// 
	=.Global Classes
///////////////////////////////////////// */
.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

.blind {
  visibility: hidden;
  position: absolute;
  top: -10000px;
  height: 1px;
  width: 1px;
}
