/* genereal
 * ============================ */
*, *:before, *:after { 
  -webkit-box-sizing: border-box; 
  -moz-box-sizing: border-box; 
  box-sizing: border-box; 
  outline: none; 
}
::selection { 
  color: #f00; 
}
::-moz-selection { 
  color: #f00; 
}

html, body {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  letter-spacing: -0.5px;
  background-color: #eee;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.big-container {
  padding: 20px 0;
  font-size: 2em;
  line-height: 1.4em;
  position: relative;
  z-index: 5;
}
.kern { margin-left: 2px; }
.black { color: #000; }
.red { color: #f00; }
a { text-decoration: none; color: #00f; }
a:hover { color: #000; }

.link {
  border-bottom: 1px solid #00f;
}
a:hover .proj-title {
  border-color: #000;
}
.section {
  padding: 0 30px;
  margin-bottom: 30px;
}
.proj {
  display: block;
  margin-top: 8px;
}
.proj-caption {
  font-size: 0.9rem;
  margin-left: 5px;
  opacity: 0.6;
}
.proj:hover .proj-caption {
  opacity: 1
}
.work-img-layer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  display: table;  
  width: 50%;
  height: 100%;
  text-align: center;
  padding: 10px 10px 10px 0;
}
.work-img {
  overflow: auto;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  width: 100%;
}
.work-img img {
  max-width: 100%;
  width: 100%;
}
.external-link {
  display: none
}
/* ============================ */
#work04 .col {
  display: inline-block;
  vertical-align: middle;
  margin: 0 10px;
  position: relative;
}
#work04 video {
  width: 100%;
  height: auto;
}
#work04 .frame {
  max-width: 220px;
  padding: 50px 10px;
  border-radius: 25px;
  background-color: #222;
}
@media screen and (max-width:990px) {
  #work04 .col {
    width: 40%
  }
}
/* ============================ */
@media screen and (max-width:768px) {
  .work-detail { padding: 0; }
  .title {
    padding: 0 30px 10px;
  }
  .proj {
    background-color: #fff;
    padding: 15px 40px 15px 30px;
    margin: 0 0 1px 0;
    line-height: 1.2;
    position: relative;
  }
  .proj-title, .proj-title:hover {
    display: block;
    border-bottom: none;
  }
  .proj-caption {
    opacity: 0.6;
    margin: 0;
  }
  .external-link {
    display: block;
    position: absolute;
    right: 15px;
    top: 20px;
    font-size: 15px;
    color: #ccc;
  }
  .work-img-layer {
    opacity: 0;
  }
}