html, body {
  height: 100%;
}
html {
  font-size: 15px;
}
body {
  font-size: 14px;
  padding: 0;
  margin: 0;
  text-align: center;
}
* {
  box-sizing: border-box;
}
.header {
  height: 7rem;
  line-height: 7rem;
  padding: 0 4.1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #61c1b6;
  min-width: 1020px;
  max-width: 1920px;
  text-align: left;
}
.sitename {
  padding: 1rem 0;
  color: rgba(0, 0, 0, 0.7);
  float: left;
}
.sitename .back a {
  text-decoration: none;
  color: #666;
}
.sitename .back a:hover {
  text-decoration: underline;
  color: #666;
}
.sitename .back {
  font-size: 1rem;
  line-height: 1.5rem;
}
.sitename .name {
  float: left;
  font-size: 2rem;
  line-height: 3.5rem;
  color: #222;
  font-weight: bold;
}
.sitename .lnk {
  float: left;
  font-size: 1.5rem;
  line-height: 3.5rem;
  color: #109ffd;
  font-weight: bold;
  display: block;
  margin-left: 20px;
}
.sitename .name br {
  display: none;
}
.userinfo {
  float: right;
  text-align: right;
  color: #666;
  font-size: 16px;
}
.userinfo a {
  color: #109ffd;
}
.container {
  padding: 0 4.1rem;
  font-size: 0;
  min-width: 1020px;
  max-width: 1920px;
  text-align: left;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .header {
    height: auto;
    line-height: 1.5rem;
    margin-bottom: 1rem;
    padding: 0 1rem 1rem 1rem;
    min-width: 100vw;
    max-width: 100vw;
  }
  .sitename {
    padding: 1rem 0;
    color: rgba(0, 0, 0, 0.7);
    float: none;
  }
  .sitename .back {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  .sitename .name {
    font-size: 1.4rem;
    line-height: 2rem;
    text-align: center;
  }
  .sitename .name br {
    display: block;
  }
  .userinfo {
    clear: both;
    float: none;
    text-align: center;
    font-size: 1rem;
  }
  .container {
    padding: 0 1rem;
    font-size: 0;
    min-width: 100vw;
    max-width: 100vw;
  }
}

/* case */

.case {
  vertical-align: top;
  display: inline-block;
  position: relative;
  width: 25%;
  height: auto;
}
.case-cover {
  margin: 0 0.5rem;
  padding: 0.5rem;
  border: 2px solid #61c1b6;
  border-radius: 1rem;
}
.case-cover img {
  width: 100%;
  border-radius: 0.5rem;
}
.case-title {
  font-size: 1.2rem;
  font-weight: bold;
  padding: 1.5rem 0.5rem;
  line-height: 2rem;
  height: 180px;
  color: #222;
}
.case-files {
  padding: 0.5rem;
  line-height: 1.5rem;
}
.case-file {
  padding: 0 0 0.5rem 0;
}
.case-file a {
  font-size: 1rem;
  color: #666;
  text-decoration: none;
}
.case-file a:hover {
  text-decoration: underline;
}


@media (max-width: 767px) {

  .case {
    vertical-align: top;
    display: inline-block;
    position: relative;
    width: 100%;
    height: auto;
  }
  .case-cover {
    margin: 0 0.5rem;
    padding: 0.5rem;
    border: 2px solid #61c1b6;
    border-radius: 1rem;
  }
  .case-cover img {
    width: 100%;
    border-radius: 0.5rem;
  }
  .case-title {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 1.5rem 0.5rem;
    line-height: 2rem;
    height: auto;
  }
  .case-files {
    padding: 0.5rem;
    line-height: 1.5rem;
  }
  .case-file {
    padding: 0 0 0.5rem 0;
  }
  .case-file a {
    font-size: 1rem;
    color: #666;
    text-decoration: none;
  }
  .case-file a:hover {
    text-decoration: underline;
  }
  
}
