@import url(http://fonts.googleapis.com/css?family=Roboto+Condensed);
* {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto Condensed', sans-serif;
  color: #222;
  line-height: 1.3;
}

p {
  margin-bottom: 5px;
}

header {
  position: relative;
  width: 100%;
  min-height: 350px;
  float: left;
  background: url(../../assets/shattered_blue.png);
}

header:after {
  position: absolute;
  bottom: -5px;
  width: 100%;
  content: '';
  height: 5px;
  background: linear-gradient(to left, #5C1212 0%, #B72C2C 100%);
}

header .content {
  position: relative;
  text-align: center;
  width: 70%;
  color: #fff;
  height: auto;
  margin: 50px auto;
}

header .content p {
  font-size: 140%;
}

header .content .block-image {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 20px auto;
}

header .content .block-image:before {
  position: absolute;
  content: '';
  width: 105%;
  height: 105%;
  top: -14px;
  left: -13px;
  border: 8px solid transparent;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

header .content .block-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: 100%;
}

header .content .social {
  font-size: 150%;
}

header .content .social a {
  color: #fff;
}

header .content .social a:hover {
  color: #999;
}

header .content .social a:active {
  color: #777;
}

header .content .social i {
  padding: 5px;
}

section {
  position: relative;
  width: 100%;
  float: left;
}

section .content {
  position: relative;
  width: 70%;
  max-width: 960px;
  margin: 20px auto;
  padding-bottom: 30px;
}

section .content h2 {
  text-align: center;
  margin-top: 25px;
  margin-bottom: 25px;
}

section .content:after {
  position: absolute;
  bottom: -5px;
  width: 100%;
  content: '';
  height: 5px;
  background: linear-gradient(to left, #5C1212 0%, #B72C2C 100%);
}

section.portfolio .content .block-container {
  position: relative;
  float: left;
  width: 100%;
}

section.portfolio .content .block-content {
  position: absolute;
  width: 60%;
  height: 70%;
  top: 50%;
  left: 50%;
  z-index: 2;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

section.portfolio .content .block {
  position: relative;
  cursor: pointer;
  float: left;
  color: #fff;
  height: 0;
  margin: 1%;
  transform: scale(0.9);
  background: url(../../assets/shattered_black.png);
  transition: transform 0.3s ease;
}

section.portfolio .content .block img {
  position: absolute;
  width: 88%;
  height: 88%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

section.portfolio .content .block .title {
  position: relative;
  text-align: center;
  box-sizing: border-box;
  background: #232323;
  color: #ccc;
  width: 100%;
  padding: 5px;
  font-size: 130%;
  text-align: center;
}

section.portfolio .content .block:hover {
  -webkit-transform: scale(1);
  transform: scale(1);
  transition: transform 0.3s ease;
}

section.skills .round-container {
  position: relative;
  width: 100%;
  float: left;
}

section.skills .round {
  position: relative;
  float: left;
  box-sizing: border-box;
  width: 67px;
  height: 70px;
  padding: 5px;
  overflow: hidden;
  -webkit-transition: width 0.4s;
  transition: width 0.4s;
}

section.skills .round.active {
  width: calc( 33.33% - 5px);
  -webkit-transition: width 0.4s;
  transition: width 0.4s;
}

section.skills .round div {
  position: absolute;
  top: 50%;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}

section.skills .round .round-content {
  text-align: center;
  left: 72px;
  box-sizing: border-box;
  padding: 5px 10px;
  width: calc( 100% - 75px);
  height: 60px;
  background: #333;
  color: #ccc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

section.skills .round .round-content .progress {
  position: absolute;
  width: 91%;
  height: 20px;
  top: 70%;
  left: 50%;
  overflow: hidden;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: default;
  overflow: hidden;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

section.skills .round .round-content .progress:focus {
  box-shadow: none;
  outline: none;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

section.skills .round .round-content .progress::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  background: none;
  -webkit-appearance: none;
  position: relative;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

section.skills .round .button {
  position: relative;
  width: 60px;
  height: 60px;
  background: #333;
  color: #ccc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

section.skills .round .button span {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

section:last-of-type .content:after {
  position: absolute;
  bottom: -5px;
  width: 100%;
  content: '';
  height: 0px;
  background: linear-gradient(to left, #5C1212 0%, #B72C2C 100%);
}

.column-row {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  float: left;
  padding: 10px;
}

.column-half {
  position: relative;
  box-sizing: border-box;
  width: 50%;
  float: left;
  padding: 10px;
}

.clear {
  display: inline-block;
}

.more-info {
  position: fixed;
  list-style-type: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 99;
  background: rgba(0, 0, 0, 0.4);
}

.hiddenblock {
  position: fixed;
  box-sizing: border-box;
  padding: 10px;
  background: #fff;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.hiddenblock .preview-img {
  position: absolute;
  width: 45%;
  top: 0;
  left: 0;
  height: 90%;
}

.hiddenblock .preview-img img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.hiddenblock .close {
  position: absolute;
  z-index: 999;
  width: 30px;
  height: 30px;
  top: 8px;
  right: 8px;
  cursor: pointer;
}

.hiddenblock .close:before {
  position: absolute;
  content: '';
  top: 15px;
  width: 30px;
  height: 2px;
  background: #444;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.hiddenblock .close:after {
  position: absolute;
  content: '';
  top: 15px;
  width: 30px;
  height: 2px;
  background: #444;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.hiddenblock .title {
  position: relative;
  box-sizing: border-box;
  width: 45%;
  left: -20px;
  font-size: 18pt;
  height: auto;
  float: left;
  padding: 0px 8px 8px 8px;
  z-index: 2;
  background: #FFF;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hiddenblock .info {
  position: relative;
  box-sizing: border-box;
  text-align: left;
  width: calc(50% - 30px);
  height: 70%;
  float: left;
  padding: 8px 12px;
  overflow: auto;
}

.hiddenblock .tags {
  position: absolute;
  width: 50%;
  bottom: 0;
  left: 0;
  color: #777;
  padding: 8px;
}

.hiddenblock .goto {
  position: absolute;
  box-sizing: border-box;
  padding: 5px;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 20%;
}

.hiddenblock .goto a, .hiddenblock .goto .no-link {
  position: relative;
  padding: 8px;
  border: 1px solid #444;
  color: #444;
  text-decoration: none;
}

footer {
  position: relative;
  float: left;
  width: 100%;
  margin-top: 50px;
  min-height: 100px;
  background: url(../../assets/shattered_black.png);
}

input {
  background: linear-gradient(to right, #008000, #005555 75%, #0000ff);
  border: solid 2px #444;
  height: 10px;
  -webkit-appearance: none;
}

/* -----------------------
  Mobile
------------------------*/
@media (min-width: 0px) and (max-width: 680px) {
  section .content {
    width: 95%;
  }
  section.skills .round.active {
    width: calc( 100% - 5px);
  }
  section.portfolio .block {
    width: 98%;
    padding-bottom: 98%;
  }
  section.portfolio .block-content {
    width: 100%;
    height: 100%;
  }
  .column-half {
    width: 100%;
  }
  .hiddenblock {
    width: 100%;
    height: 100%;
    max-height: 500px;
  }
  .hiddenblock .preview-img {
    display: none;
  }
  .hiddenblock .title, .hiddenblock .tags {
    width: 33.33%;
    left: 0;
  }
  .hiddenblock .info, .hiddenblock .goto {
    width: 66.66%;
  }
}

@media (min-width: 680px) and (max-width: 960px) {
  section .content {
    width: 95%;
  }
  section.skills .round.active {
    width: calc( 50% - 5px);
  }
  section.portfolio .block {
    width: 48%;
    padding-bottom: 48%;
  }
  .hiddenblock {
    width: 80%;
    height: 80%;
    max-height: 500px;
  }
}

@media (min-width: 960px) {
  section.portfolio .block {
    width: 31.33%;
    padding-bottom: 31.33%;
  }
  .hiddenblock {
    width: 60%;
    max-width: 960px;
    height: 60%;
    max-height: 450px;
  }
}
