/* --- Base Styles --- */
html {
  font-size: 16px;
  font-weight: 100;
  text-rendering: optimizeLegibility;
}

body {
  background-color: #131313;
  color: #F2F5FF;
  font-family: Helvetica, Gotham, Arial, sans-serif;
  font-weight: 100;
  line-height: 1.45;
}

/* --- Typography --- */
h1, h2, h3, p, blockquote {
  font-weight: 100;
}

h1 { font-size: 2em; }
h2 { font-size: 1.6em; }
h3 { font-size: 1em; }

p {
  margin: 12px 0;
  margin-bottom: 1em;
  line-height: 1.8em;
}

blockquote {
  margin: 50px 0 20px 0;
  font-size: 2em;
  line-height: 1.2em;
}

a {
  color: #F2F5FF;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* --- Selection Highlighting --- */
::selection { background: #666; }
::-moz-selection { background: #666; }

/* --- Globals & Helpers --- */
img {
  width: 100%;
  margin: 0;
}

.easing {
  transition: all 250ms ease-in-out;
}

/* --- Utility Colors --- */
.yellow     { background-color: #FC0; }
.orange     { background-color: #F90; }
.grey_dark  { background-color: #111; }
.grey_light { background-color: #36393B; }
.black      { background-color: #131313; }

/* --- Interactive Effects --- */
.float {
  transition: transform 0.3s;
  transform: translateZ(0);
}

.float:hover, 
.float:focus, 
.float:active {
  transform: translateY(-52%);
}

/* --- Layout Sections --- */
header, 
section, 
footer {
  height: 100vh;
}

main {
  width: 100%;
  min-height: 400px;
}

/* --- Header & Hero --- */
header {
  background: url(../imgs/blueprint.gif) no-repeat center center;
  background-size: cover;
  text-align: center;
  color: #F2F5FF;
}

.dieter {
  position: relative;
  top: 50%;
  margin: 0 auto;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  transform: translateY(-50%);
}

.title_box {
  position: absolute;
  bottom: 50px;
  width: 100%;
}

.title {
  position: relative;
  display: block;
  margin: 0 auto;
  max-width: 800px;
}

.title h1{
  margin-bottom:20px; 
}

/* --- Content Items --- */
.item {
  display: block;
  position: relative;
  top: 50%;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  transform: translateY(-50%);
}

.item-title {
  clear: both;
  position: relative;
  display: block;
  top: 50%;
  text-align: center;
  transform: translateY(-50%);
}

.down { font-size: 2em; }

/* --- Footer & Contact --- */
footer {
  background-color: #36393B;
  color: #F2F5FF;
  padding: 52px 0;
}

footer h3 {
  display: block;
  float: right;
  position: relative;
}

.about {
  display: block;
  position: relative;
  top: 50%;
  max-width: 500px;
  margin: 0 auto;
  padding: 30px;
  text-align: center;
  transform: translateY(-50%);
}

.about ul { text-align: center; }

.about li {
  float: left;
  margin: 0 10px;
  color: #F2F5FF;
  font-size: 16px;
  list-style: none;
}

.about span {
  display: inline-block;
  width: 40px;
  height: 40px;
  padding: 13px 12px 9px 12px;
  background-color: #36393B;
  border-radius: 50%;
  overflow: hidden;
}

.about .twitter:hover { background-color: #00aced; }
.about .behance:hover { background-color: #1769ff; }
.about .mail:hover    { background-color: #131313; }

.contact {
  display: block;
  position: relative;
  max-width: 180px;
  margin: 0 auto;
  padding: 20px 0;
}

.quote {
  max-width: 355px;
  margin: 0 auto;
}

/* --- Animations --- */
.plate {
  position: absolute;
  z-index: 7;
  display: block;
  top: 5%;
  left: 12%;
  max-width: 50%;
  animation: spin 4s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade-in {
  opacity: 0;
  animation: fadeIn ease-in 1;
  animation-fill-mode: forwards;
  animation-duration: 1s;
}

.fade-in.one   { animation-delay: 0.5s; }
.fade-in.two   { animation-delay: 1.5s; }
.fade-in.three { animation-delay: 2s; }

/* --- Clockwork Components --- */
.watch { overflow: hidden; }

#clock {
  position: relative;
  width: 266px;
  height: 475px;
  margin: 0 auto;
  background: url(../imgs/watch.svg) center center no-repeat;
  list-style: none;
  overflow: hidden;
}

#second, #minute, #hour {
  position: absolute;
  top: 31%;
  left: 47%;
  width: 15px;
  height: 180px;
}

#second { background: url(../imgs/sechand.svg); z-index: 3; }
#minute { background: url(../imgs/minhand.svg); z-index: 2; }
#hour   { background: url(../imgs/hourhand.svg); z-index: 1; }

/* --- Responsive Design --- */
@media only screen and (max-width: 480px) {
  #clock { transform: scale(0.7); }

  header, section, footer { height: 500px; }

  .item {
    top: 35%;
    transform: translateY(-35%);
  }

  .dieter {
    top: 24%;
    width: 160px;
    height: 160px;
    margin: 0 auto;
    transform: translateY(10%);
  }

  .title_box {
    position: relative;
    top: 140px;
    margin: 20px auto;
  }

  .plate { max-width: 50%; }
  
  .watch h3 {
      margin-top: -70px;
  }
  
 
}