@font-face {
  font-family: "Futura Bold";
  src: url("../fonts/Futura-Bold.ttf");
}
@font-face {
  font-family: "Futura Medium";
  src: url("../fonts/FuturaStd-Medium.otf");
}
@font-face {
  font-family: "Adobe Garamond Pro";
  src: url("../fonts/AGaramondPro-Regular.otf");
}

*{
  margin: 0;
  padding: 0;
}

html, body, #homepage main{
  width: 100%;
  height: 100%;
}

body{
  font-family: 'Futura Medium', sans-serif;
  font-size: 130%;
  font-weight: 400;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -moz-font-feature-settings: "liga" on;
  background-color:#000000;
  color:#fff;
  /* -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto; */
}

h1, h2, h3, h4, h5, #logo{
  font-family: 'Futura Bold', sans-serif;
  font-weight: 600;
}

header{
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 100;
  position: absolute;
}

#homepage header{
  background-color: #000;
  position: relative;
}

#logo,
#nav{
  transition: 0.3s ease-in-out;
  text-decoration: none;
  color: inherit;
}

#logo{
  padding: 15px;
  font-size: 1.5em;
}

#nav{
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

#logo:hover,
#nav:hover{
  transition: 0.3s ease-in-out;
  opacity: 0.65;
}

#body{ padding: 0 15px; }

h1, h2{
  text-transform: uppercase;
}

h2, h3, p{
  max-width: 720px;
  margin: 0 auto 1em auto;
}

#body.col_1 img,
#body.col_1 video{
  margin: 0 auto 3em auto;
  max-width: 1080px;
}

img,
video{
  display: block;
  max-width: 100%;
  margin: 3em auto;
}

video[poster]{
  object-fit: cover;
}
figure img{ margin-bottom: 0 !important; }
figcaption {
  font-size: 0.7em;
  opacity: 0.6;
  margin: 0.3em auto;
  max-width: 720px;
}
a{
  display: inline-block;
  color: #CC0000;
  text-decoration: none;
}
main{ height: 100%; }

@media (max-width: 750px){
  h2, h3, p, figcaption{
    margin-left: 15px;
    margin-right: 15px;
  }
}

#head{
  width: 100%;
  height: 100%;
  text-align: center;
  margin-bottom: 5em;
}

#footer{
  width: 100%;
  text-align: center;
  margin: 6em auto 3em auto;
  height: unset !important;
}

#head h1,
#footer h2{
  font-size: 8vw;
  line-height: 7.5vw;
  letter-spacing: 4vw;
  max-width: unset;
}

@supports(-webkit-text-stroke: 1px){
  #head h1,
  #footer h2{
    color: transparent;
    -webkit-text-stroke: 1.5px white;
  }
}

#head div,
#footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 87%;
}

/* #head_ws_01{
  background-image: url('../img/placeholder.jpg');
  background-repeat: no-repeat;
  background-size: cover;
} */

#head a{
  margin-top: 1em;
}

#head a:after{
  content: '';
  display: block;
  background-color: #ffffff;
  height: 60px;
  width: 1px;
  margin: 0.5em auto;
}

h3{ margin-top: 3em; }
h2, h3, .img, .video, p{ position: relative; }

.video, .img{ margin: 0 auto 3em auto; }

.video video,
.img img{ margin: 0 auto; }

#footer a{
  text-align: right;
  margin-right: 10%;
}

#footer a:before{
  content: '';
  display: inline-block;
  background-color: #ffffff;
  height: 1px;
  width: 60px;
  margin: 0.25em 0.75em;
}

.headline{
  display: inline;
}

.hidden{
  display: none !important;
}

/*
 *
 *                 CHALLENGE SECTION + SUMMARY SECTION
 *******************************************************************************
 *
 */

#challenge,
#summary{
  margin-bottom: 3em;
  background-color: #151515;
  padding: 3em 0;
}
#challenge h2,
#challenge p,
#summary h2,
#summary p{
  max-width: 900px;
}

#summary{
  margin-top: 3em;
}

#summary .video{
  max-width: 1080px;
}



/*
 *
 *                               BIFOCAL DISPLAY
 *******************************************************************************
 *
 */

#body.col_3 {
  padding: 0;
  position: relative;
}

#body.col_3 .img,
#body.col_3 .video{
  margin: 2em 0 3em 0;
}

#body_simon_hofmeister,
#body_david_kaipf,
#body_florian_kapaun{
  position: absolute;
  top: 0;
  width: 80%;
}

#body_simon_hofmeister.sidebar,
#body_david_kaipf.sidebar-left
#body_david_kaipf.sidebar-right,
#body_florian_kapaun.sidebar{
  width: 5%;
  overflow: hidden;
}

#body_simon_hofmeister{ left: 3.333%; }
#body_david_kaipf{ left: 10%; }
#body_florian_kapaun{ left: 16.667%; }

#body_simon_hofmeister.sidebar{ left: 0; }
#body_david_kaipf.sidebar-left{ left: 7.5%; }
#body_david_kaipf.sidebar-right{ left: 86.667%; }
#body_florian_kapaun.sidebar{ left: 95%; }

#body_simon_hofmeister.sidebar h2,
#body_david_kaipf.sidebar-left h2,
#body_david_kaipf.sidebar-right h2,
#body_florian_kapaun.sidebar h2,
#body_simon_hofmeister.sidebar h3,
#body_david_kaipf.sidebar-left h3,
#body_david_kaipf.sidebar-right h3,
#body_florian_kapaun.sidebar h3,
#body_simon_hofmeister.sidebar p,
#body_david_kaipf.sidebar-left p,
#body_david_kaipf.sidebar-right p,
#body_florian_kapaun.sidebar p{ margin: 0 0 1em 0; }

.sidebar .overflow-container,
.sidebar-left .overflow-container,
.sidebar-right .overflow-container{ width: 1600%; }

.sidebar h2,
.sidebar-left h2,
.sidebar-right h2
.sidebar h3,
.sidebar-left h3,
.sidebar-right h3,
.sidebar .img,
.sidebar-left .img,
.sidebar-right .img,
.sidebar .video,
.sidebar-left .video,
.sidebar-right .video,
.sidebar p,
.sidebar-left p,
.sidebar-right p{ padding: 1px; }

#body_simon_hofmeister.sidebar h2:after,
#body_simon_hofmeister.sidebar h3:after,
#body_simon_hofmeister.sidebar .img:after,
#body_simon_hofmeister.sidebar .video:after,
#body_simon_hofmeister.sidebar p:after,
#body_david_kaipf.sidebar-left h2:after,
#body_david_kaipf.sidebar-left h3:after,
#body_david_kaipf.sidebar-left .img:after,
#body_david_kaipf.sidebar-left .video:after,
#body_david_kaipf.sidebar-left p:after,
#body_david_kaipf.sidebar-right h2:after,
#body_david_kaipf.sidebar-right h3:after,
#body_david_kaipf.sidebar-right .img:after,
#body_david_kaipf.sidebar-right .video:after,
#body_david_kaipf.sidebar-right p:after,
#body_florian_kapaun.sidebar  h2:after,
#body_florian_kapaun.sidebar  h3:after,
#body_florian_kapaun.sidebar .img:after,
#body_florian_kapaun.sidebar .video:after,
#body_florian_kapaun.sidebar p:after{
  content: '';
  display: block;
  background-color: #222;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  transition: 0.3s ease-in-out;
}

#body_simon_hofmeister.sidebar h2:after,
#body_david_kaipf.sidebar-left h2:after,
#body_david_kaipf.sidebar-right h2:after,
#body_florian_kapaun.sidebar h2:after,
#body_simon_hofmeister.sidebar h3:after,
#body_david_kaipf.sidebar-left h3:after,
#body_david_kaipf.sidebar-right h3:after,
#body_florian_kapaun.sidebar h3:after,
#body_simon_hofmeister.sidebar p:after,
#body_david_kaipf.sidebar-left p:after,
#body_david_kaipf.sidebar-right p:after,
#body_florian_kapaun.sidebar p:after{ background-color: #151515; }

.img:hover::after,
.video:hover::after{
  cursor: pointer;
  background-color: #262626 !important;
}

h2:hover::after,
h3:hover::after,
p:hover::after{
  cursor: pointer;
  background-color: #1A1A1A !important;
}



/*
 *
 *                        BIFOCAL DISPLAY ANIMATION
 *******************************************************************************
 *
 */

.animate-in-from-left,
.animate-in-from-center-left,
.animate-in-from-center-right,
.animate-in-from-right{ animation: stretch-into-active 0.3s ease-in-out forwards; }
@keyframes stretch-into-active {
  0%  { width: 5%; }
  100%{ width: 80%; }
}

.animate-in-from-left h2:after,
.animate-in-from-left h3:after,
.animate-in-from-left p:after,
.animate-in-from-left .img:after,
.animate-in-from-left .video:after,
.animate-in-from-center-left h2:after,
.animate-in-from-center-left h3:after,
.animate-in-from-center-left p:after,
.animate-in-from-center-left .img:after,
.animate-in-from-center-left .video:after,
.animate-in-from-center-right h2:after,
.animate-in-from-center-right h3:after,
.animate-in-from-center-right p:after,
.animate-in-from-center-right .img:after,
.animate-in-from-center-right .video:after,
.animate-in-from-right h2:after,
.animate-in-from-right h3:after,
.animate-in-from-right p:after,
.animate-in-from-right .img:after,
.animate-in-from-right .video:after{
  transition: unset;
  animation: boxes-into-active 0.3s ease-in-out forwards;
}
@keyframes boxes-into-active {
  0%  { opacity: 1; }
  100%{ opacity: 0; }
}

.animate-in-from-left h2,
.animate-in-from-left h3,
.animate-in-from-left p,
.animate-in-from-left .img,
.animate-in-from-left .video{ animation: content-into-active-from-left 0.3s ease-in-out forwards; }
@keyframes content-into-active-from-left {
  0%  { transform: translateX(-100%); }
  100%{ transform: translateX(0); }
}

.animate-in-from-center-left h2,
.animate-in-from-center-left h3,
.animate-in-from-center-left p,
.animate-in-from-center-left .img,
.animate-in-from-center-left .video{ animation: content-into-active-from-center-left 0.3s ease-in-out forwards; }
@keyframes content-into-active-from-center-left {
  0%  { transform: translateX(-100%); }
  100%{ transform: translateX(0); }
}

.animate-in-from-center-right h2,
.animate-in-from-center-right h3,
.animate-in-from-center-right p,
.animate-in-from-center-right .img,
.animate-in-from-center-right .video{ animation: content-into-active-from-center-right 0.3s ease-in-out forwards; }
@keyframes content-into-active-from-center-right {
  0%  { transform: translateX(100%); }
  100%{ transform: translateX(0); }
}

.animate-in-from-right h2,
.animate-in-from-right h3,
.animate-in-from-right p,
.animate-in-from-right .img,
.animate-in-from-right .video{ animation: content-into-active-from-right 0.3s ease-in-out forwards; }
@keyframes content-into-active-from-right {
  0%  { transform: translateX(100%); }
  100%{ transform: translateX(0); }
}



/* .animate-out-to-center-right, */
.animate-out-to-left,
.animate-out-to-center-left{ animation: squeeze-into-sidebar 0.3s ease-in-out forwards; }
@keyframes squeeze-into-sidebar {
  0%   { width: 80%; }
  100% { width:  5%; }
}

.animate-out-to-center-right{
  animation: squeeze-into-sidebar-center-right 0.3s ease-in-out forwards;
}
@keyframes squeeze-into-sidebar-center-right{
  0%   {
    left:  10%;
    width: 80%;
  }
  100% {
    left:  86.667%;
    width:  5%;
  }
}

.animate-out-to-right{
  animation: squeeze-into-sidebar-right 0.3s ease-in-out forwards;
}
@keyframes squeeze-into-sidebar-right{
  0%   {
    left:  16.667%;
    width: 80%;
  }
  100% {
    left:  95%;
    width:  5%;
  }
}

.animate-out-to-left h2:after,
.animate-out-to-left h3:after,
.animate-out-to-left p:after,
.animate-out-to-left .img:after,
.animate-out-to-left .video:after,
.animate-out-to-center-left h2:after,
.animate-out-to-center-left h3:after,
.animate-out-to-center-left p:after,
.animate-out-to-center-left .img:after,
.animate-out-to-center-left .video:after,
.animate-out-to-center-right h2:after,
.animate-out-to-center-right h3:after,
.animate-out-to-center-right p:after,
.animate-out-to-center-right .img:after,
.animate-out-to-center-right .video:after,
.animate-out-to-right h2:after,
.animate-out-to-right h3:after,
.animate-out-to-right p:after,
.animate-out-to-right .img:after,
.animate-out-to-right .video:after{
  transition: unset;
  animation: boxes-into-sidebar 0.3s ease-in-out forwards;
}
@keyframes boxes-into-sidebar {
  0%  { opacity: 0; }
  100%{ opacity: 1; }
}

.animate-out-to-center-left h2,
.animate-out-to-center-left h3,
.animate-out-to-center-left p,
.animate-out-to-center-left .img,
.animate-out-to-center-left .video{
  transform: translateX(0);
}



/*
 *
 *                          DESKTOP SPECIFIC STYLING
 *******************************************************************************
 *
 */

@media (min-width: 900px){
  #logo{ padding: 0.75em; }
  #nav{ padding: 1em; }

  #homepage header{
    position: fixed;
    top: 0;
    background-color: rgba(0, 0, 0, 0.9);
  }

  /* #homepage main{ margin-top: 4.5em; } */

  body#homepage{ overflow:  hidden; }

  #homepage h1{ display: none; }
  #homepage h2{
    display: inline-block;
    max-width: unset;
    margin: unset;
  }

  #homepage main{
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 8fr;
    grid-template-rows: 2fr 1fr 1fr 1fr 1fr 1fr 4fr 2fr;
  }

  #homepage .headline{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    overflow: hidden;
  }

  @supports(-webkit-text-stroke: 1px){
    #homepage .headline{
      color: transparent;
      -webkit-text-stroke: 1.5px white;
    }
  }

  #homepage #headline_01 h2{
    font-size: 16vw;
    line-height: 15vw;
    letter-spacing: 5.5vw;
  }

  #homepage #headline_02_1 h2{
    font-size: 14vw;
    line-height: 15vw;
    letter-spacing: 5.5vw;
  }

  #homepage #headline_02_2 h2{
    font-size: 9vw;
    line-height: 9vw;
    letter-spacing: 4.5vw;
  }

  #homepage #headline_03 h2{
    font-size: 8vw;
    line-height: 7.5vw;
    letter-spacing: 4vw;
  }

  #homepage #headline_dt h2{
    font-size: 14vw;
    line-height: 14vw;
    letter-spacing: 5.5vw;
  }

  #homepage .headline h2{
    text-align: center;
  }

  #homepage #number_01  { grid-row: 2; }
  #homepage #number_02_1{ grid-row: 3; }
  #homepage #number_02_2{ grid-row: 4; }
  #homepage #number_03  { grid-row: 5; }
  #homepage #number_dt  { grid-row: 6; }

  #homepage .number{
    font-family: 'Adobe Garamond Pro', serif;
    text-align: center;
    grid-column: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    overflow: hidden;
    transform: translate(1px, 1px);
    transition: 0.3s ease-in-out;
    z-index: 5;
  }

  #homepage .number:hover{
    opacity: 0.6;
  }

  #homepage .number.is-active{
    font-family: 'Futura Bold', sans-serif;
    font-weight: 600;
    font-size: 1.8em;
    line-height: 1em;
  }

  #homepage .number span{
    transform: rotate(-90deg);
    transition: 0.5s ease-in-out;
  }

  #homepage .number span span{
    cursor: pointer;
    padding: 5px;
  }

  #homepage .number.is-active span{ transform: rotate(0); }

  #homepage .image{
    grid-column: 4;
    grid-row: 2 / 8;
    overflow: hidden;
  }

  #homepage .image img{
    min-width: 100%;
    max-width: 110%;
    min-height: 100%;
    max-height: 110%;
    margin: 0;
  }
  #homepage .image{ transition: 0.3s ease-in-out; }
  #homepage .image:hover{ opacity: 0.7; }

  #homepage .view-project{
    grid-column: 4;
    grid-row: 8;
    text-align: right;
    overflow: hidden;
    z-index: 1;
  }
  #homepage .view-project.fade-in{ z-index: 100; }

  #homepage .view-project span{
    overflow: hidden;
    display: inline-block;
  }
  #homepage .view-project a{
    margin: 0.5em 3em 0 0;
    transition: 0.3s ease-in-out;
    border-bottom: 1px solid transparent;
  }
  #homepage .view-project a:hover{
    transition: 0.3s ease-in-out;
    border-bottom: 1px solid #cc0000;
  }
  #homepage .headline.fade-in h2,
  #homepage .image.fade-in img{
    transform: translate(100%);
    animation: fade-in 1s forwards;
    animation-delay: 0.3s;
  }
  #homepage .headline.fade-out{
    transition: 1s;
    z-index: -1;
  }
  #homepage .headline.fade-out h2,
  #homepage .image.fade-out img{
    transform: translate(0);
    animation: fade-out 1s forwards;
    animation-delay: 0s;
  }
  #homepage .image.fade-out img{ padding: 1px; }

  #homepage .view-project.fade-in span{
    transform: translate(100%);
    animation: fade-in-view-button 1s forwards;
    animation-delay: 0.3s;
    opacity: 0;
  }
  #homepage .view-project.fade-out span{
    transform: translate(0);
    animation: fade-out-view-button 1s forwards;
    animation-delay: 0s;
    opacity: 1;
  }
}

@keyframes fade-in{
  0%   { transform: translate(100%); }
  100% { transform: translate(0); }
}

@keyframes fade-out{
  0%   { transform: translate(0); }
  100% { transform: translate(-100%); }
}

@keyframes fade-in-view-button{
  0%
  { transform: translate(100%);
    opacity: 0;
  }
  100%
  { transform: translate(0);
    opacity: 1;
  }
}

@keyframes fade-out-view-button{
  0%
  { transform: translate(0);
    opacity: 1;
  }
  100%
  { transform: translate(-100%);
    opacity: 0;
  }
}
