@charset "UTF-8";
@font-face {
  font-family: "Cutive Mono";
  src: url("../font/CutiveMono.woff");
}
@font-face {
  font-family: "AxoBook";
  src: url("../font/Axo-Book.woff");
}
/* VARS */
html {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "AxoBook", sans-serif;
  font-size: 16px;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #003ce6;
}

a {
  text-transform: none;
  color: #003ce6;
  text-decoration: none;
  -webkit-transition: color 0.1s;
  -ms-transition: color 0.1s;
  -moz-transition: color 0.1s;
  -o-transition: color 0.1s;
  transition: color 0.1s;
}
a:hover {
  border-bottom: 2px solid #003ce6;
}

hr {
  border: 0.1px solid #003ce6;
}

#wrapper {
  max-width: 100%;
  margin: 0 auto;
}

#navigation {
  position: fixed;
  top: 0;
  padding: 38px 0 0 0;
  margin: 0 auto;
  z-index: 99;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: normal;
  padding: 0 5%;
  box-sizing: border-box;
}
#navigation .nav-item {
  list-style: none;
  margin: 0.83em 0;
}
#navigation .nav-item:nth-child(2) {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
#navigation a {
  color: #003ce6;
}
#navigation a:hover {
  color: #003ce6;
  border-bottom: 2px solid #003ce6;
}
#navigation .active {
  color: #003ce6;
  border-bottom: 2px solid #003ce6;
}
#navigation #sitetitle .active {
  color: white;
  border-bottom: none;
}

.press {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.press a:after {
  content: " ⤴︎";
}

@media (max-width: 600px) {
  #navigation {
    position: relative;
    padding: 0 8px;
  }
  #navigation #sitetitle {
    display: none;
  }
}
#projectnav {
  top: 50%;
  line-height: 2rem;
  font-family: monospace;
}
#projectnav a {
  display: inline-block;
  color: #003ce6;
  background: #f9f9f9;
  border: 1px solid #003ce6;
  padding: 8px 10px;
  margin: 0;
}
#projectnav a:hover {
  border: 1px solid #003ce6;
  background: #f9f9f9;
  color: #003ce6;
}
#projectnav .navprev,
#projectnav .navnext {
  position: fixed;
  top: 50%;
  z-index: 1;
  margin: -28px 0 0 0;
  opacity: 0.4;
  font-family: "AxoBook", sans-serif;
  font-size: 14px;
  -webkit-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
  -webkit-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);
  -webkit-transform-origin: center top;
  -ms-transform-origin: center top;
  -moz-transform-origin: center top;
  -o-transform-origin: center top;
  transform-origin: center top;
}
#projectnav .navprev:hover,
#projectnav .navnext:hover {
  opacity: 1;
}
#projectnav .navprev {
  left: -65px;
  margin-left: 10px;
}
#projectnav .navprev:hover {
  -webkit-transform: rotate(-93deg);
  -ms-transform: rotate(-93deg);
  -moz-transform: rotate(-93deg);
  -o-transform: rotate(-93deg);
  transform: rotate(-93deg);
}
#projectnav .navnext {
  right: -5px;
  margin-right: 10px;
}
#projectnav .navnext:hover {
  -webkit-transform: rotate(-87deg);
  -ms-transform: rotate(-87deg);
  -moz-transform: rotate(-87deg);
  -o-transform: rotate(-87deg);
  transform: rotate(-87deg);
}

article {
  margin: 0 auto;
  position: relative;
  font-family: "Cutive Mono", monospace;
}
article #language {
  position: absolute;
  border: 1px solid #003ce6;
  color: #003ce6;
}
article #language .fr,
article #language .en {
  cursor: pointer;
  font-size: 15px;
  background: transparent;
}
article #language .fr:hover,
article #language .en:hover {
  background: #003ce6;
  color: white;
}
article #language .fr {
  padding: 10px 10px 2px 10px;
}
article #language .en {
  padding: 2px 10px 10px 10px;
}
article #language .active {
  background: url(../../images/placeholder.png) !important;
  color: #003ce6 !important;
}
article #language .active:hover {
  cursor: default;
}
article #content {
  margin: 0 auto;
  padding: 0 0 80px 0;
}
article #content .details {
  text-align: center;
  color: #003ce6;
  padding: 0 0 0 0;
  margin: 0 auto;
  width: 100%;
}
article #content .details img {
  width: 100%;
  height: auto;
  -webkit-border-radius: 1px;
  -ms-border-radius: 1px;
  -moz-border-radius: 1px;
  -o-border-radius: 1px;
  border-radius: 1px;
}
article #content .details .title {
  font-family: "AxoBook", sans-serif;
  font-size: 40px;
  margin: 0 0 80px;
  color: #003ce6;
}
article #content .details .info {
  font-size: 13px;
  font-size: 12px;
  margin: 20px 0 100px 0;
}
article #content .text {
  line-height: 20px;
  margin: 0 0 0 auto;
  width: 80%;
  padding: 0;
  position: relative;
}
article #content .text a {
  color: #003ce6;
  border-bottom: 1px solid #003ce6;
  -webkit-transition: all 0.1s;
  -ms-transition: all 0.1s;
  -moz-transition: all 0.1s;
  -o-transition: all 0.1s;
  transition: all 0.1s;
}
article #content .text a:hover {
  color: #003ce6;
  border-bottom: 2px solid #003ce6;
}
article #content .text p > .inline-image:first-child {
  margin-top: 100px;
}
article #content .text .inline-image {
  position: relative;
  width: 125%;
  margin: 0 -25% 40px;
}
article #content .text img {
  position: relative;
  left: 0;
  width: 100%;
  height: auto;
  margin: 0;
  display: block !important;
}
article #content .text .legende {
  text-align: center;
  font-size: 12px;
  line-height: 0.9rem;
  padding: 10px 0 40px 0;
  margin: auto;
}

.project_footer {
  padding: 0 0 80px 0;
  display: none;
}

.text img,
.details img {
  background-image: url("../../images/placeholder.png");
  background-repeat: repeat;
}

/****************
/* AUDIOPLAYER 
****************/
.audioplayer {
  min-height: 2.5em; /* 40 */
  color: #003ce6;
  background: transparent;
  position: relative;
  z-index: 1;
  padding: 5vw 0 0 0;
}
.audioplayer .audioplayer-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 5vw;
  width: 100%;
  border: 1px solid #003ce6;
  background: url("../../images/placeholder.png") repeat;
}
.audioplayer .audioplayer-bar .audioplayer-bar-loaded,
.audioplayer .audioplayer-bar .audioplayer-bar-played {
  position: absolute;
  top: 0;
  left: 0;
  height: 5vw;
}
.audioplayer .audioplayer-bar .audioplayer-bar-loaded {
  width: 100%;
  background: transparent;
}
.audioplayer .audioplayer-bar .audioplayer-bar-played {
  background: #003ce6;
}
.audioplayer .audioplayer-playpause {
  float: left;
  margin: 10px 0 0 0;
}
.audioplayer .audioplayer-volume {
  float: right;
  text-align: right;
  margin: 10px 0 0 0;
}
.audioplayer .audioplayer-volume-button a:before {
  content: "Audio on";
}
.audioplayer .audioplayer-time {
  margin: 10px 0 0 0;
  float: right;
}
.audioplayer .audioplayer-time-duration:after {
  content: "/";
}
.audioplayer .audioplayer-volume {
  float: right;
  margin: 10px 10px 0 0;
}

.audioplayer-muted .audioplayer-volume-button a:before {
  content: "Audio off";
}

/* SCREENS */
@media screen and (max-height: 800px) {
  article {
    padding: 60px 0 0 0;
  }
  article #content {
    width: 48%;
    max-width: 720px;
  }
  article #content .details .title {
    font-size: 30px;
    margin: 0 0 50px;
  }
}
@media screen and (min-height: 800px) {
  article {
    padding: 100px 0 0 0;
  }
  article #content {
    width: 90%;
    max-width: 820px;
  }
  article #content .details .title {
    font-size: 40px;
    margin: 0 0 80px;
  }
}
@media screen and (min-height: 1000px) {
  article {
    padding: 100px 0 0 0;
  }
  article #content {
    width: 100%;
    max-width: 840px;
  }
  article #content .details .title {
    font-size: 40px;
    margin: 0 0 80px;
  }
}
@media screen and (min-width: 1280px) and (max-height: 840px) {
  article {
    padding: 60px 0 0 0;
  }
  article #content {
    width: 100%;
    max-width: 820px;
  }
  article #content .details .title {
    font-size: 30px;
    margin: 0 0 30px;
  }
}
@media screen and (min-width: 1280px) and (min-height: 840px) {
  article {
    padding: 100px 0 0 0;
  }
  article #content {
    width: 100%;
    max-width: 840px;
  }
  article #content .details .title {
    font-size: 40px;
    margin: 0 0 80px;
  }
}
/* iPhone 5 */
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) {
  article {
    padding: 100px 0 110px 0;
  }
  article #content {
    width: 90%;
    max-width: 820px;
  }
  article #content .details .title {
    font-size: 40px;
    margin: 0 0 80px;
  }
}
/* iPhone 2G,4S */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
  body {
    background-position-x: -100%;
  }
  nav {
    display: none;
  }
  article {
    padding: 84px 0 24px 0;
  }
  article #content {
    width: 90%;
    max-width: 90%;
    padding: 0 0 0 0;
  }
  article #content .details .title {
    font-size: 30px;
    margin: 0 0 48px;
    line-height: 2.2rem;
  }
  article #content .details .info {
    margin: 10px auto 40px auto;
    text-align: center;
  }
  article #content .text {
    width: 90%;
    font-size: 12px;
    font-family: "Cutive Mono", monospace;
    position: relative;
    margin: 0 auto;
  }
  article #content .text p .inline-image:first-child {
    margin-top: 40px;
  }
  article #content .text .inline-image {
    width: 110%;
    margin: 0 0 15px -5%;
  }
  article #content .text .inline-image .legende {
    position: relative;
    font-family: "Cutive Mono", monospace mono;
    text-align: center;
    margin: auto;
  }
  article #content .text img {
    margin: 0 0 0 0;
  }
  article #content .text p:last-child .inline-image:last-child .legende {
    padding-bottom: 0 !important;
  }
  #language {
    display: none;
  }
  .project_footer {
    padding: 0 0 80px 0;
    display: none;
  }
}
/* iPad */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
  article {
    padding: 70px 0 0 0;
  }
  article #content {
    width: 70%;
  }
  article #content .details {
    text-align: center;
    color: #003ce6;
    padding: 0 0 0 0;
    margin: 0 auto;
    width: 100%;
  }
  article #content .details .title {
    font-family: "AxoBook", sans-serif;
    font-size: 40px;
    margin: 0 0 30px;
    color: #003ce6;
  }
}
/* iPad 3,4 */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {
  #projects li {
    margin: 0 auto 94px auto;
  }
  article {
    padding: 70px 0 0 0;
  }
  article #content {
    width: 70%;
  }
  article #content .details {
    text-align: center;
    color: #003ce6;
    padding: 0 0 0 0;
    margin: 0 auto;
    width: 100%;
  }
  article #content .details .title {
    font-family: "AxoBook", sans-serif;
    font-size: 40px;
    margin: 0 0 30px;
    color: #003ce6;
  }
}
/* Smartphones (portrait and landscape) ----------- */
