@import url("//hello.myfonts.net/count/400f45");
  
@font-face {
  font-family: "Aestetico";
  font-style: normal;
  font-weight: normal;
  font-stretch: normal;
  src: url('https://ferdiwieling.com/css/aestetico/normal_normal_normal.woff2') format('woff2'), url('https://ferdiwieling.com/css/aestetico/normal_normal_normal.woff') format('woff');
}
@font-face {
  font-family: "Aestetico";
  font-style: normal;
  font-weight: bold;
  font-stretch: normal;
  src: url('https://ferdiwieling.com/css/aestetico/normal_normal_bold.woff2') format('woff2'), url('https://ferdiwieling.com/css/aestetico/normal_normal_bold.woff') format('woff');
}

html {
  color: #eee;
  font-size: 12px;
  line-height: 2.5em;
  background: #151515;
  font-family: "Aestetico", sans-serif;
  letter-spacing: 0.05em;
  padding: 0;
}
body {
  font-size: 1em;
}
#copyright {
  font-size: .7em;
  color: #444;
}

a {
  color: #ddd;
  transition: all .4s ease-in-out;
} a:hover {
  color: #fff;
}

header {
  position: relative;
  padding: 250px 10% 70px;
} header h1 {
  font-size: 1em;
  font-weight: normal;
  display: inline-block;
  margin: 0;
  padding: 0;
}

#mainmenu {
  display: inline-block;
  float: right;
} #mainmenu ul {
  list-style: none;
  padding:0;
  margin: 0;
} #mainmenu ul li {
  display: inline-block;
  margin-left:20px;
} #mainmenu ul li a, header h1 a {
  text-decoration: none;
}

section {
  padding: 50px 10%;
} #about {
  padding:  170px 10% 50px;
} #about-sec {
  padding:  50px 10% 170px;
} .copyhalf p {
  width: 400px;
  text-align: justify;
} .copyfull p {
  width: 700px;
  text-align: justify;
}

#work {
  padding: 0;
}
#work ul {
  margin: 0;
  padding: 0;
  list-style: none;
} #work ul li {
  display: block;
  margin: 0;
  padding: 0;
  height: auto;
  background-size: cover !important;
  background-repeat: none;
  background-position: center center;
} #work ul li h2 {
  margin: 0;
  padding: 0;
  font-weight: normal;
} #work ul li a {
  text-decoration: none;
  display: block;
  padding: 300px 10% 100px;  
  background: rgba(0,0,0,.8);
  margin: 0;
} #work ul li a:hover{
  background: rgba(0,0,0,.5);
  padding: 320px 10% 120px;  
} 

#work #apple01 {background-image:url(/img/cover_apple1.jpg);}
#work #mitsu {background-image:url(/img/cover_mitsu.jpg);}
#work #diageo01 {background-image:url(/img/cover_diageo.jpg);}
#work #iml {background-image:url(/img/cover_infiniti.jpg);}
#work #apple02 {background-image:url(/img/cover_apple2.jpg);}
#work #salient {background-image:url(/img/cover_salient.jpg);}
#work #barclays {background-image:url(/img/cover_barclays.jpg);}

.eyebrow {
  font-size: .7em;
  text-transform: uppercase;
  letter-spacing: .4em;
  color: #aaa;
  font-weight: bold;
}

#error section h1 {
  font-size: 25em;
  margin-top: 1.2em;
  margin-bottom: 0;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

section.inverted {
  background: #eee;
  color: #151515;
} section.inverted a {
  color: #151515;
} section.inverted a:hover {
  color: black;
}

footer {
  padding:  200px 10% 100px;
} footer h3 {
  font-weight: normal;
  margin-bottom: 100px;
} footer ul {
  margin:  0 0 0 -10px;
  padding:  0;
  list-style: none;
} footer ul li {
  display: inline-block;
  text-transform: uppercase;
  font-size: .8em;
  letter-spacing: .4em;
} footer ul li a {
  text-decoration: none;
  color: #9B9B9B;
  padding: 2px 10px;
  border-right: 1px solid #333;
} footer ul li:last-child a {
  border: none;
}


hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 600px) {
  
  html {
    font-size: .8em;
  } 

  .copyhalf p, .copyfull p {
    width: 90%;
  }

  section {
    padding: 50px 10%;
  }

  footer {
    padding: 50vh 10% 10px;
  } footer h3 {
    margin-bottom:  50px;
  }
  footer ul {
    margin-bottom: 50px;
  } footer ul li {
    display: block;
  } footer ul li a {
    border:  0;
  }

#error section {
  padding-bottom: 20px;
}
#error section h1 {
  font-size: 11em;
  font-weight: bold;
  margin-top: 1.2em;
  margin-bottom: 0;
}

}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

