/* General*/

body, h1, h2, h3, h4, h5, h6 {
    font-family: 'Suisse Intl', sans-serif;
    font-weight: 500;
    font-style: medium;
    margin: 0px;
}

::selection {
    background-color: #00f;
    color: #fff;
}

::-moz-selection {
    background-color: #00f;
    color: #fff;
}


/* Nav */

nav {}

.navtop {
    position: fixed;
    top: 3vh;
    right: 3vw;
    font-size: 2em;
    z-index: 200;
}

.navtop a {
    padding-left: 20px;
}

.navlogo {
    position: fixed;
    top: 3vh;
    left: 3vw;
    font-size: 2em;
    z-index: 100;
}

.navbottom {
    position: fixed;
    bottom: 60px;
    right: 3vw;
    font-size: 2em;
    z-index: 100;
}

.nav-arr-up,
.nav-arr-bottom {
    position: absolute;
    text-decoration: none;
    left: 45vw;
    width: 10vw;
    transition: transform .2s;
    text-align: center;
    font-size: 2em;
    height: initial;
}

.nav-arr-up {
    top: 3vh;
}

.nav-arr-up:hover,
.nav-arr-bottom:hover {
    transform: scale(1.2);
    text-decoration: none;
    height: initial;
    cursor: pointer;
}

.nav-arr-bottom {
    bottom: 3vh;
}

.nav-proj {
    padding-top: 100px;
}

.nav-bottom-l {
    padding-left: 3vw;
    font-size: 2em;
}

.nav-bottom-r {
    position: absolute;
    right: 3vw;
    font-size: 2em;
    text-align: right;
}

.proj-arr-bottom {
    position: absolute;
    text-decoration: none;
    left: 45vw;
    width: 10vw;
    transition: transform .2s;
    text-align: center;
    font-size: 3em;
    height: initial;
    bottom: 10vh;
}

.proj-arr-bottom:hover {
    transform: scale(1.2);
    text-decoration: none;
    height: initial;
    cursor: pointer;
}

.nav-lang {
    font-weight: 200;
    font-style: italic;
}



/* Hamburger Icon */
#nav-icon {
    display: none;
}

#nav-icon {
  width: 35px;
  height: 30px;
  position: fixed;

  top: 3.7vh;
  right: 6vw;

  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;

  z-index: 200;
}

#nav-icon span {
  display: block;
  position: fixed;

  height: 4px;

  width: 100%;
  background: #000;
  border-radius: 2px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon span:nth-child(1) {
  top: 0px;
}

#nav-icon span:nth-child(2),
#nav-icon span:nth-child(3) {
  top: 10px;
}

#nav-icon span:nth-child(4) {
  top: 20px;
}

#nav-icon.open span:nth-child(1) {
  top: 10px;
  width: 0%;
  left: 50%;
}

#nav-icon.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-icon.open span:nth-child(4) {
  top: 10px;
  width: 0%;
  left: 50%;
}

/* Gradient */
.gradient-top{
    content: '';
    position: fixed;
    top: 0;
    width: 100vw;
    height: 10vh;
    background: linear-gradient(white, rgba(255, 255, 255, 0)); /* transparent keyword is broken in Safari */
    pointer-events: none;
    z-index: 1;
}

/* Header */

header {
    width: 100vw;
    height: 85vh;
    overflow: hidden;
}

header img {
    display: block;
    width: 100vw;
    height: 85vh;
    object-fit:cover;
    object-position: 50% 50%;
}

/*header h1 {
    position: absolute;
    top: 40vh;
    left: 0;
    width: 100vw;
    text-align: center;
}

header h2 {
    position: absolute;
    top: 47vh;
    left: 0;
    width: 100vw;
    text-align: center;
}*/

.proj-header-txt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.proj-header-txt h1 {
    padding-bottom: 10px;
}

/* Container */

.container {
    z-index: 100;
    /*margin: 30vh 1vw 100px 20vw;*/
    /*background-color: rgba(255,0,0,0.5);*/
}

.cont-about-txt {
    padding: 30vh 40px 100px 20vw;
}

.cont-proj-txt {
    padding: 10vh 40px 20px 20vw;
}

.cont-small-txt {
    font-size: 2em;
}

.credits {
    margin-left: -50px;
    padding-bottom: 20px;
}

.credits p {
    font-size: 1.7em;
}

.cont-proj-txt h1 {
    font-size: 5em;
    padding: 0;
}

.cont-proj-txt h2 {
    font-size: 3em;
    margin: 0px;
    padding: 0 0 30px 0;
}

.cont-img-center {
    padding: 100px 10vw 20px 10vw;
}

.cont-img-center-r {
    padding: 100px 5vw 20px 15vw;
}

.cont-img-center-l {
    padding: 100px 15vw 20px 5vw;
}

.cont-img-full {
    padding: 100px 0 20px 0;
}

.cont-img-right {
    padding: 100px 0 20px 25vw;
}

.cont-img-left {
    padding: 100px 25vw 20px 0vw;
}

.cont-img-center img,
.cont-img-center video,
.cont-img-center-r img,
.cont-img-center-r video,
.cont-img-center-l img,
.cont-img-center-l video,
.cont-img-full img,
.cont-img-full video,
.cont-img-right img,
.cont-img-right video,
.cont-img-left img,
.cont-img-left video {
    max-width: 100%
}

h1 {
    font-size: 3em;
    margin: 0px;
    padding: 0 0 20px 0;
}

h2 {
    font-size: 1.5em;
}

h3 {
    font-size: 3em;
    margin: 20px 0 0 0;
}

p {
    font-size: 3em;
    margin: 0px;
    padding: 0 0 10px 0;
}

ul {
    font-size: 2em;
    margin: 0;
}

#intro h1,
#intro p {
    text-align: center;
}


/*Footer*/

footer {
    margin-top: 100px;
    height: 150px;
    width: 100vw;
    background-color: #000;
}

footer div {
    color: #fff;
    font-size: 2em;
    text-align: right;
    padding-right: 3vw;
    padding-top: 52px;
}

footer a {
    color: #fff;
}

footer a:hover {
    color: #fff;
}

/*Links*/

a {
    text-decoration: underline;
    color: #000000;
    height: 1px;
}

a:hover {
    text-decoration: line-through .25em;
    color: rgba(0,0,0,.8);
}

a.nodeco {
    text-decoration: none;
    color: #000000;
}

a.nodeco:hover {
    text-decoration: line-through .25em;
    color: rgba(0,0,0,.8);
}

a.nav-icon {
    text-decoration: none;
    color: #000000;
}

a.ext {
    text-decoration: underline;
    /*-webkit-text-decoration-color: rgb(0,140,140);
    text-decoration-color: rgb(0,140,140);*/
    -webkit-text-decoration-color: rgb(0,0,255);
    text-decoration-color: rgb(0,0,255);
    color: #000000;
}

a.ext:hover {
    text-decoration: line-through .25em;
    /*-webkit-text-decoration-color: rgb(0,140,140);
    text-decoration-color: rgb(0,140,140);*/
    -webkit-text-decoration-color: rgb(0,0,255);
    text-decoration-color: rgba(0,0,255,.8);
    color: #000000;
}

a.activ {
    text-decoration: line-through .25em;
    color: rgba(0,0,0,.8);
}

.arrow {
    transition: transform .2s;
    z-index: 1000;
}

.arrow:hover {
    transform: scale(1.2);
    cursor: pointer;
}

.contact {
    /*color: #00f;*/
/*    text-decoration: underline;
    -webkit-text-decoration-color: rgb(0,0,255);
    text-decoration-color: rgb(0,0,255);*/
}

/*Homepage IMG*/

.section-container{
    position: relative;
    text-align: center;

    transform: scale(1);
    transition: all .2s;
}

.section-img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width:80vw;
    max-height:80vh;
    width: auto;
    height: auto;
    vertical-align:middle;
    transition: transform .2s;
    z-index: -3;
}

.section-img:hover{
    /*transform: scale(1.05);*/
    z-index: 1;
    cursor: pointer;
}

.section-txt{
    z-index: 100;
    pointer-events: none;
    text-align: right;
    width: 88.5vw;
    transform: scale(1);
}

.section-txt h1{
    font-size: 1.2em;
    display: inline;
}

.section-txt h1:after {
    content: " —";
}

.section-txt h2{
    font-size: 1.2em;
    display: inline;
}

/*Homepage all projects*/
.table-container {
    width: 80vw;
    margin-left: auto;
    margin-right: auto;
}

.table-elem {
    background-color: rgba(255,255,255,0.8);
    margin: 0;
    padding: 10px;
    border-bottom: 2px solid #000;
}

.table-elem:first-of-type {
    border-top: 2px solid #000;
}

.table-elem h1,
.table-elem h2,
.table-elem h3,
.table-elem h4,
.table-elem p {
    display: inline;
    font-size: 2em;
}

.table-elem h1 {
}

.table-elem h2 {
    position: absolute;
    left: 40vw;
}

.table-elem p {
    position: absolute;
    right: 11vw;
}

.table-elem:hover {
    background-color: rgba(0,0,255,0.8);
    color: #fff;
}

/*Background*/

.bg {
    position: fixed;
    /*z-index: -100;*/
}

.bgdeco {
    position: fixed;
    /*color: #eeeeee;*/
    top: 2.8vh;
    left: 3vh;
    line-height: 8.6vh;
    font-size: 9vh;
    z-index: -100;
}

.bgtransparent {
    position: fixed;
    top: 0px;
    left: 0px;
    background-color: transparent;
    width: 100vw;
    height: 100vh;
    z-index: -90;
}

/*Colors*/

.grey {
    color: #eee;
}

.white {
    color: #fff;
}

.white:hover {
    color: #fff;
}

.white-shadow {
    text-shadow: white 0 0 15px;
}

.white-shadow-strong {
    text-shadow: white 0 0 25px, white 0 0 25px, white 0 0 25px, white 0 0 25px;
}

.black-shadow {
    text-shadow: black 0 0 15px;
}

.black-shadow-strong {
    text-shadow: black 0 0 25px, black 0 0 25px, black 0 0 25px, black 0 0 25px;
}

/*Videos Vimeo*/

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    height: auto;
    z-index: 0;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*tools*/
.txtcenter {
    text-align: center;
}

.hoverzoom {
    transform: scale(1.05);
}

/*——————————————————————————————————————————————————————————————————*/
/*——————————————————————————————————————————————————————————————————*/
/*——————————————————————————————————————————————————————————————————*/
/*——————————————————————————————————————————————————————————————————*/
/*——————————————————————————————————————————————————————————————————*/

/*Media Queries*/
@media only screen and (max-width: 768px) {
    /* About */
    .cont-about-txt p {
        font-size: 2em;
    }

    .cont-about-txt p.cont-small-txt {
        font-size: 1.5em;
    }

    .cont-about-txt h3 {
        font-size: 2em;
    }

    .cont-about-txt ul {
        font-size: 1.5em;
    }

    /* Project page */
    header {
        height: 50vh;
    }

    header img {
        height: 50vh;
    }

    .proj-header-txt,
    header a {
        display: none;
    }

    .cont-proj-txt p {
        font-size: 2em;
    }
}


/*Media Queries*/
@media only screen and (max-width: 480px) {

    /* Nav */
    #nav-icon {
        display: block;
    }

    .navtop {
        top: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        padding-top: 32vh;
        padding-right: 6vw;
        background-color: rgba(255,255,255,0.9);
        display: none;
    }

    .navtop a{
        display: block;
        height: initial;
        text-align: right;
        line-height: 1.5em;
    }

    .navlogo {
        top: 3vh;
        left: 5vw;
        font-size: 1.5em;
    }

    #fp-nav {
        display: none;
    }

    /* Gradient */
    .gradient-top{
        height: 15vh;
    }

    /* Background */
    .bgdeco {
        top: 1vh;
        left: 3vw;
        line-height: 7.8vh;
        font-size: 8vh;
        z-index: -100;
    }

    /* Intro */

    #intro h1 {
        text-align: right;
    }

    #intro h1 {
        font-size: 2em;
        margin-right: 6vw;
        margin-left: 30vw;
    }

    #intro p {
        margin-right: 6vw;
        margin-left: 60vw;
    }

    .arrow:hover {
        transform: scale(1.2);
    }

    /* Sections */

    .section-img {
        max-width: 90vw;
    }

    .section-txt {
        display: none;
    }

    .section-txt h1 {
        font-size: 2em;
        padding: 0px;
    }

    .section-txt h2 {
        display: none;
        font-size: 1em;
    }

    .nav-arr-up {
        top: 15vh;
    }

    .nav-arr-bottom {
        bottom: 15vh;
    }

    .section .nav-arr-up,
    .section .nav-arr-bottom {
        left: initial;
        right: 20vw;
    }

    /* About */
    .cont-about-txt {
        padding: 15vh 15px 100px 15px;
    }

    .cont-about-txt p {
        font-size: 1.5em;
    }

    .cont-about-txt p.cont-small-txt {
        font-size: 1.1em;
    }

    .cont-about-txt h3 {
        font-size: 1.5em;
        padding-bottom: 10px;
    }

    .cont-about-txt ul {
        font-size: 1.1em;
    }

    /* Project page */
    header {
        height: 50vh;
    }

    header img {
        height: 50vh;
    }

    .proj-header-txt,
    header a {
        display: none;
    }

    .cont-proj-txt {
        padding: 30px 15px 20px 15px;
    }

    .cont-proj-txt p {
        font-size: 1.5em;
    }

    .cont-proj-txt .credits {
        margin-left: 0;
    }

    .cont-proj-txt .credits p {
        font-size: 1.1em;
    }

    .cont-proj-txt h1 {
        font-size: 2em;
    }

    .cont-proj-txt h2 {
        font-size: 1.5em;
    }

    .cont-proj-txt h3 {
        font-size: 1.5em;
        padding-bottom: 10px;
    }

    .cont-proj-txt ul {
        font-size: 1.1em;
    }

    .cont-img-center {
        padding: 40px 5vw 20px 5vw;
    }

    .cont-img-center-r {
        padding: 40px 2vw 20px 8vw;
    }

    .cont-img-center-l {
        padding: 40px 8vw 20px 2vw;
    }

    .cont-img-full {
        padding: 40px 0 20px 0;
    }

    .cont-img-right {
        padding: 40px 0 20px 15vw;
    }

    .cont-img-left {
        padding: 40px 15vw 20px 0vw;
    }

    .nav-proj {
        padding-top: 20px;
    }

    .nav-proj a {
        height: initial;
    }

    .nav-bottom-l {
        display: block;
        padding-left: 3vw;
        font-size: 1.5em;
        padding-bottom: 15px;
    }

    .nav-bottom-r {
        display: block;
        font-size: 1.5em;
        text-align: right;
    }

    /* footer */

    footer {
        margin-top: 50px;
        height: 65px;
    }

    footer .contact {
        font-size: 1.5em;
    }

    footer div {
        padding-top: 15px;
    }
}
