html,
body {
  margin: 0;
  padding: 0;
  color: #000;
  font-size: 16px;
  font-family: sans-serif;
}

p, li {
  line-height: 1.4;
}


img {
  max-width: 100%;
}

dialog {
  display: block;
}

.clearfix::after {
  display: table;
  clear: both;
  content: "";
}

.md {
  width: 48px;
  height: 48px;
}

.de:hover svg {
  fill: #05CC47;
}

.gi:hover svg {
  fill: #4078c0;
}

.tw:hover svg {
  fill: #00ACEE;
}

.li:hover svg {
  fill: #0077B5;
}

.sk:hover svg {
  fill: #3E9DD7;
}

.ma:hover svg {
  fill: #666;
}
header {
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  position: fixed;
  background-color: #fff;
  border-bottom: 1px solid #000;
}

.logo {
  color: #fff;
  float: left;
  width: 32px;
  height: 32px;
  margin: 10px 0;
  font-size: 24px;
  overflow: hidden;
  line-height: 34px;
  font-weight: bold;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  background: #000;
}

nav {
  float: right;
}

nav a {
  color: #000;
  font-size: 16px;
  padding: 0 25px;
  font-weight: bold;
  line-height: 52px;
  display: inline-block;
  text-decoration: none;
}

nav a:hover {
  color: #369;
  text-decoration: none;
  box-shadow: inset 0 5px 0 0 #369;
}

nav a.active {
  color: #000;
  box-shadow: inset 0 5px 0 0 #000;
}
.valign-middle {
  height: 100vh;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  box-pack: center;
  min-height: 500px;
  box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  transition: opacity 1s;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.banner {
  text-align: center;
}

.about p {
  font-size: 18px;
}

.wrap {
  width: 660px;
}

h1 {
  margin: 0;
  font-size: 112px;
  font-size: 7rem;
  font-weight: 100;
}

h2 {
  margin-top: 0;
  font-size: 48px;
  font-size: 3rem;
  font-weight: 100;
  text-align: center;
}

h2:after {
  height: 1px;
  content: "";
  width: 100px;
  display: block;
  background: black;
  margin: 8px auto auto;
  margin: 0.5rem auto auto;
}

h3 {
  font-size: 40px;
  font-size: 2.5rem;
  font-weight: 100;
  margin: 16px 0 48px 0;
  margin: 1rem 0 3rem 0;
}

h3 small {
  color: #999;
  font-size: 60%;
  display: block;
  margin-top: 8px;
  margin-top: 0.5rem;
  font-weight: normal;
}

h4 {
  font-size: 32px;
  font-size: 2rem;
  margin-bottom: 8px;
  margin-bottom: 0.5rem;
}

h6 {
  font-size: 16px;
  font-size: 1rem;
  margin-bottom: 0;
}

p {
  margin: 1em 0;
}
.container {
  width: 960px;
  margin: 0 auto;
}

section .container {
  padding: 50px 0;
}

.work {
  background-color: #eee;
}

.work h2 {
  margin-bottom: 0.5em;
}

.work a {
  width: 48%;
  float: left;
  font-size: 0;
  padding: 5px;
  margin-top: 4%;
  display: inline-block;
  box-sizing: border-box;
  background-color: #000;
}

.work a:hover {
  background-color: #369;
}

.work a:nth-child(2n) {
  margin-right: 4%;
}

.modal {
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100vh;
  display: none;
  overflow: auto;
  position: fixed;
  transition: opacity 1s ease 0s;
  background-color: rgba(0,0,0,0.7);
}

.modal h3 {
  margin: 0;
}

.modal h4 {
  font-size: 19px;
  font-size: 1.2rem;
  margin-bottom: 0;
}

.modal p {
  margin-top: 4px;
  margin-top: 0.25rem;
}

.modal ul {
  margin-bottom: 0;
}

.modal span {
  font-size: 0;
  margin: auto;
  padding: 3px;
  display: block;
  overflow: hidden;
  max-width: 960px;
  background: #333;
  margin-top: 50px;
}

.modal-body {
  padding: 50px;
  max-width: 860px;
  margin: 50px auto;
  background-color: #eee;
}

.close {
  top: 20px;
  right: 20px;
  color: white;
  position: fixed;
  font-size: 40px;
  line-height: 20px;
  text-decoration: none;
}

.close:hover {
  color: yellow;
}

.overflow-hidden {
  overflow: hidden;
}
footer {
  padding: 2em 0 0 0;
  text-align: center;
  border-top: 4px solid #000;
}
footer p {
  margin-top: 0;
  text-align: center;
}

.terms {
  color: #fff;
  padding: 2em 0;
  margin-top: 2em;
  background-color: #000;
}

.icon {
  margin: 0 0.5em;
  display: inline-block;
  text-decoration: none;
}

.icon + .separator {
  width: 1px;
  height: 28px;
  margin: 10px 20px;
  display: inline-block;
  background-color: #000;
}
