/*

Kirby Starterkit

Author: Bastian Allgeier / Sascha Lack
URL:    http://getkirby.com
Email:  support@getkirby.com

*/

/*Mobile*/
@media only screen and (max-width: 767px){

}

/*Tablette*/
@media only screen and (min-width: 768px){

}

/*Desktop*/
@media only screen and (min-width: 1200px){

}

/* Reset
-------------------------------------------------- */
*, *:before, *:after {
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section, summary {
  display: block;
}


/* Pix
-------------------------------------------------- */
img {
  display: block;
  max-width: 100%;
    width: 100%;
}

figure {
    margin-left: 0;
    margin-right: 0;
}


/* Links
-------------------------------------------------- */
a {
  color: #000;
  text-decoration: none;
  transition: color .3s, background .3s, border .3s;
}


/* Clearfix
-------------------------------------------------- */
.cf:after {
  content: "";
  display: table;
  clear: both;
}

.clear{
    clear: left;
}



/* Site
-------------------------------------------------- */
html {
  height: 101%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  font-size: 1.25em;
  background: #fff;
  color: #222;
  font-family: 'DM Sans', sans-serif;
}


/* Header
-------------------------------------------------- */
.header {
  margin-bottom: 1.5em;
  margin-top: 3.5em;
  font-size: 1.2em;
}
.logo {
  display: block;
  margin-bottom: 1.5em;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
}


video { 
/*
    width: 100vw;
    height: auto;
*/
    z-index: -100;
}




/* Navigation
-------------------------------------------------- */
.menu a {
  display: block;
  color: #222;
}
.menu a:hover {
  text-decoration: none;
}
.menu .active {
}
.menu li {
  list-style: none;
}
.menu > li {
  position: relative;
}
.menu > li > a {
  padding: .35em 0;
  font-weight: 400;
  font-family: 'DM Sans', sans-serif;    
}


@media screen and (min-width: 40em) {

  .logo {
    float: left;
  }
  .menu {
    float: right;
    margin-right: -1em;
  }
  .menu > li {
    float: left;
  }
  .menu > li > a {
    padding: .35em 1em;
    border: 0;
  }
  .menu > li:hover .submenu {
    display: block;
  }
}

@media screen and (min-width: 40em) {
    
}


/* Headings
-------------------------------------------------- */
h1 {
  font-size: 4em;
  line-height: 1.25em;
  font-weight: 500;
  margin-bottom: .5em;
  display: block;
}
h2 {
  font-size: 2em;
  line-height: 1.25em;
  font-weight: 300;
  margin-bottom: .5em;
  font-family: 'DM Sans', sans-serif;
}
h3 {
  font-size: 1.6em;
  line-height: 1.5em;
  font-weight: 700;
  margin-bottom: .5em;
  font-family: 'DM Sans', sans-serif;    
}


h4 {
  font-size: 1.125em;
  font-weight: 600;
  line-height: 1.5em;
  margin-bottom: .5em;
}
h1 a, h2 a, h3 a, h4 a {
  color: inherit;
  border: 0 !important;
}

/* Gallery Home
-------------------------------------------------- */


.textHome h3{
    margin-top: 3em;
    margin-bottom: 3em;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
}
.textHome span{
    font-weight: 300;
}

@media only screen and (max-width: 767px){
  .mask h2{
    font-size: 1.3em;
    font-weight: 400;
    margin-top: 15px
    margin-bottom: 0px;
  }

  .mask h3 {
    font-size: 1.3em;
    font-weight: 300;
    margin-top: 0px;
    margin-bottom: 0px;
    color: #6E6E6E;
  }
}

@media only screen and (min-width: 768px){
  .mask h2{
    font-size: 1.3em;
    font-weight: 400;
    margin-top: 15px
    margin-bottom: 0px;
  }

  .mask h3 {
    font-size: 1.3em;
    font-weight: 300;
    margin-top: 0px;
    margin-bottom: 0px;
    color: #6E6E6E;
  }
}

/*Desktop*/
@media only screen and (min-width: 1200px){


.view {
    overflow: hidden;
    text-align: center;
}
.view .mask, .view .content {
    position: absolute;
    overflow: hidden;
    top: 7.5%;
    left: 7.5%;
    text-align: center;
    width: 85%;
    height: 85%;
}
.view img {
    display: block;
}
.view h2 {
    color: #323232;
    text-align: center;
    position: relative;
    font-size: 22px;
    padding-top: 40px;
    font-family: 'DM Sans', sans-serif; 
    font-weight: 700;
    transform: translateY(30px);
    
}

.view h3 {
    color: #797979;
    text-align: center;
    position: relative;
    font-size: 13px;
    font-family: 'DM Sans', sans-serif;
}


.view-first img { 
    transition: all 0.2s linear;
}
.view-first .mask {
    opacity: 0;
    background-color: white; 
    transition: all 0.4s ease-in-out;
}
.view-first h2 {
    opacity: 0;
    transition: all 0.2s ease-in-out;
}
.view-first a.info{
    opacity: 0;
	transition: all 0.2s ease-in-out;
}

.view-first:hover .mask { 
	opacity: 1;
}
.view-first:hover h2,
.view-first:hover p,
.view-first:hover a.info {
        transform: translateY(0px);
    opacity: 1;
}
.view-first:hover p {
    transition-delay: 0.1s;
}
.view-first:hover a.info {
    transition-delay: 0.2s;
}

}

/* Main
-------------------------------------------------- */
.main {
  padding-bottom: 1.5em;
}
.main hr {
/*  margin: 3em 0;*/
  height: 0px;
}
.main p,
.main figure,
.main ul,
.main ol {
  margin-bottom: 1.5em;
}

.main a:hover{
  text-decoration: none;
}

/* Text blocks */
.text ul,
.text ol {
  margin-left: 1em;
}

/* Project meta
-------------------------------------------------- */
.meta {
  margin-bottom: 1.5em;
}
.meta li {
  float: left;
  list-style: none;
  margin-right: 2em;
}
.meta li b {
  font-weight: 400;
  color: #000;
  padding-right: .25em;
}


/* Project teaser
-------------------------------------------------- */
.teaser {
  list-style: none;
}

@media only screen and (max-width: 767px){

.teaser li {
  margin-bottom: 3.5em;
  list-style: none;
}

}

@media only screen and (min-width: 768px){

.teaser li {
  margin-bottom: 3.5em;
  list-style: none;
}

}

@media only screen and (min-width: 1200px){

.teaser li {
  margin-bottom: 2.5em;
  list-style: none;
}

}

.img-projects{
  width: 100%;
  height: 208px;
  background-size: cover;
  background-position: center;
}

/* Project 
-------------------------------------------------- */
.video{
    height: 50%;
    width: 100%;
    margin-bottom: 40px;
}

.textWork{
    margin-bottom: 40px;
    display: block;
    font-size: 1.5em;
}

@media only screen and (max-width: 767px){
  iframe{
    padding-right: 15px;
    padding-left: 15px;
    width: 100%;
    height: 220px;
    margin-bottom: 40px;
  }

}

@media only screen and (min-width: 768px){
  iframe{
    padding-right: 15px;
    padding-left: 15px;
    width: 100%;
    height: 420px;
    margin-bottom: 40px;
  }

}

/*Desktop*/
@media only screen and (min-width: 1200px){
   iframe{
    width: 100%;
    height: 659px;
    margin-bottom: 64px;
    padding-right: 15px;
    padding-left: 15px;
}

}


/* Next/Prev nav
-------------------------------------------------- */
.nextprev {
  padding: 1em 15px;
}
.nextprev a {
  font-size: 2em;
  border: 0;
  text-transform: uppercase;
}
.nextprev .prev {
  float: left;
}
.nextprev .next {
  float: right;
}

/* About Page
-------------------------------------------------- */
.about{
    margin-top: 50px;
    color: #2D2D2D;
}
.aboutInfos .text {
    font-family: 'DM Sans', sans-serif;
    font-size: 30px;
    line-height: normal;
    font-weight: 600;
}


.aboutInfos .text a{
    position: relative;
    color: #2D2D2D;
}

.aboutInfos .text a:after {
    content: '';
    position: absolute;
    bottom: 2px;
    width: 100%;
    height: 13px;
    z-index: -11;
    opacity: 1;
    display: block;
    background-color: #FFFE1F;
    -webkit-transition: 320ms ease all;
    transition: 320ms ease all;
}

.aboutInfos .text a:hover:after{
    height: 28px;
    -webkit-transition: 320ms ease all;
    transition: 320ms ease all;
}

.imgAbout{
    height: auto;
}

.social ul li {
    list-style-type: none;
    display: inline;
}

.social img{
    display: inline!important;
    margin-right: 20px;
    width: 4%;
}

.social img:hover{
    opacity: .7;
}

/* Footer
-------------------------------------------------- */
.footer {
  padding: 1em 15px 6em 15px;
  font-size: .8em;
}
.copyright {
  float: left;
}
.colophon {
  float: right;
}
.colophon a b {
  padding-left: .25em;
}

/* Mobile 
-------------------------------------------------- */
@media screen and (max-width: 1200px) {
    .imgAbout{
        display: none;
    }
}

@media screen and (max-width: 435px) {
    .aboutInfos .text{
        font-size: 18px;
    }
}

