:root {
  min-width: 1200px;
}
:root::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
:root::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background: #808080;
}
:root body {
  margin: 0;
  font-family: '微软雅黑';
  color: #434343;
  letter-spacing: 1px;
}
input,
button {
  padding: 0;
  border: none;
  outline: none;
}
button {
  background: none;
  cursor: pointer;
}
a {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
img {
  display: block;
}
.main {
  width: 1200px;
  margin: auto;
}
.flex {
  display: flex;
}
.flex.justify-between {
  justify-content: space-between;
}
.flex.justify-center {
  justify-content: center;
}
.flex.align-center {
  align-items: center;
}
.flex .item {
  flex: 1;
}
.header {
  background: #fff;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  letter-spacing: 0;
  z-index: 1;
}
.header .header-search {
  width: 400px;
  background: #fafafa;
  border: 1px solid #ddd;
}
.header .header-search.focus {
  background: none;
}
.header .header-search .header-search-input {
  font-size: 12px;
  padding-left: 8px;
  background: none;
}
.header .header-search .header-search-button {
  width: 30px;
  height: 30px;
  background: url(../icon/search.png) center no-repeat;
}
.header .header-nav {
  font-size: 14px;
  line-height: 40px;
  margin-left: 24px;
  position: relative;
}
.header .header-nav:first-child {
  margin: 0;
}
.header .header-nav > div{
    display: none;
    position: absolute;
    width: 100px;
    left: 50%;
    transform: translateX(-50%);
    top: 40px;
    background: #fff;
    text-align: center;
    line-height: 30px;
    box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
}
.header .header-nav:hover > div{
    display: block;
}
.header .header-nav > div > div{
    position: relative;
}
.header .header-nav > div > div > div{
    position: absolute;
    top: 0;
    left: 100px;
    width: 100px;
    background: #fff;
    box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
    display: none;
}
.header .header-nav > div > div:hover,.header .header-nav div a:hover{
    background: #000;
    color: #fff;
}
.header .header-nav > div > div:hover > div{
    display: block;
    color: #434343;
}
.header .header-user {
  padding: 10px 0;
}
.header .header-user .header-avatar {
  width: 38px;
  height: 38px;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  object-fit: cover;
}
.header .header-user i {
  display: block;
  width: 38px;
  height: 38px;
  border: 1px solid #e5e5e5;
  background: #f2f2f2;
  border-radius: 50%;
}
.header .header-user > div{
    top: 60px;
}
.section {
  padding: 40px 0 55px;
}
.section .section-title {
  font-size: 24px;
  color: #333;
  letter-spacing: 2px;
}
.section .section-info {
  font-size: 14px;
  color: #999;
  margin-top: 12px;
}
.section .list-wrapper {
  padding-top: 20px;
  margin-top: 24px;
  border-top: 2px solid #e5e5e5;
  align-items: flex-start;
}
.section .list-wrapper.related {
  padding-top: 48px;
  margin-top: 64px;
}
.section .list-wrapper.related .list-column {
  width: 360px;
}
.section .list-wrapper.related .list-column .list:nth-child(n+2) {
  margin-top: 34px;
}
.section .list-wrapper .list {
  display: block;
  transition: 0.5s;
}
.section .list-wrapper .list:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.25);
}
.section .list-wrapper .list .list-pic {
  width: 100%;
}
.section .list-wrapper .list .list-content {
  background: #fff;
  padding: 10px;
  border: 1px solid #f2f2f2;
  border-top: none;
}
.section .list-wrapper .list .list-content .list-title {
  font-size: 14px;
  font-weight: bold;
}
.section .list-wrapper .list .list-content .list-info {
  font-size: 12px;
  margin-top: 10px;
}
.section .section-button {
  font-size: 12px;
  line-height: 32px;
  color: #fff;
  text-align: center;
  width: 140px;
  background: #3b3b3b;
  border-radius: 3px;
  display: block;
  margin: 70px auto 0;
}
.footer {
  height: 200px;
  background: #333;
  font-size: 12px;
  color: #fff;
}
.background {
  background: #f2f2f2;
}
.works-title {
  padding: 20px 0;
  border-top: 2px solid #e5e5e5;
  border-bottom: 2px solid #e5e5e5;
}
.works-title .works-right {
  text-align: right;
}
.works-title .works-right .works-creator {
  font-size: 16px;
}
.works-title .works-right .works-info {
  font-size: 12px;
  color: #808080;
  margin-top: 8px;
}
.works-pic {
  max-width: 100%;
  margin: 48px auto 32px;
}
.works-content {
  font-size: 16px;
  line-height: 2;
  text-align: justify;
  width: 800px;
  margin: 0 auto 80px;
}
.works-button {
  font-size: 12px;
  color: #000;
  border: 1px solid #808080;
  border-radius: 8px;
  padding: 12px 20px;
  margin: 0 30px;
}
.works-button .works-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  background-repeat: no-repeat;
  background-position: center;
}
.works-button .works-icon.works-collect {
  background-image: url(../icon/collect.png);
}
.works-button .works-icon.works-share {
  background-image: url(../icon/share.png);
}

.works-button .works-icon.works-like {
    background-image: url(../icon/like.png);
}
.login-container {
  height: calc(100vh - 272px);
}
.login-container .login-wrapper {
  width: 300px;
  padding: 50px 70px;
  margin: auto;
  background: #fff;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}
.login-container .login-wrapper .login-title {
  font-size: 20px;
  text-align: center;
}
.login-container .login-wrapper .login-input-wrapper {
  margin: 20px 0;
}
.login-container .login-wrapper .login-input-wrapper .login-input {
  width: 100%;
  font-size: 14px;
  height: 50px;
  box-sizing: border-box;
  border: 1px solid #e5e5e5;
  border-radius: 3px;
  padding: 0 10px;
  margin-top: 12px;
}
.login-container .login-wrapper .login-input-wrapper .login-input:first-child {
  margin: 0;
}
.login-container .login-wrapper .login-input-wrapper .login-code-wrapper {
  margin-top: 12px;
  position: relative;
}
.login-container .login-wrapper .login-input-wrapper .login-code-wrapper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.login-container .login-wrapper .login-input-wrapper .login-code-wrapper .login-code-button {
  position: absolute;
  top: 50%;
  right: 11px;
  transform: translateY(-50%);
}
.login-container .login-wrapper .login-button {
  display: block;
  width: 100%;
  font-size: 16px;
  line-height: 50px;
  color: #fff;
  text-align: center;
  background: #3b3b3b;
  border-radius: 3px;
}
.login-container .login-wrapper .login-operate {
  font-size: 14px;
  color: #3b3b3b;
}
.user-tab{
    cursor: pointer;
}
.user-tab.active{
    color: #b3b3b3;
}
.user-data{
    margin: 30px 0;
}
.avatar-wrapper{
    width: 98px;
    height: 98px;
    border: 1px solid #e5e5e5;
    background: #f2f2f2;
    margin: auto;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
}
.avatar{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.avatar-choose{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.user-input-wrapper{
    margin-top: 20px;
}
.user-title{
    font-size: 14px;
}
.user-title-en{
    width: 82px;
}
.user-input{
    font-size: 14px;
    height: 38px;
    border: 1px solid #e5e5e5;
    padding: 0 10px;
}