/* FONTS */

@font-face {
    font-family: 'Omnes';
    src: url('../font/omnes-regular-webfont.eot');
    src: url('../font/omnes-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/omnes-regular-webfont.woff2') format('woff2'),
         url('../font/omnes-regular-webfont.woff') format('woff'),
         url('../font/omnes-regular-webfont.ttf') format('truetype'),
         url('../font/omnes-regular-webfont.svg#omnes-regularregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
  font-family: 'VollkornItalic';
  src: url("../font/vollkorn-italic-webfont.eot");
  src: url("../font/vollkorn-italic-webfont.eot?#iefix") format("embedded-opentype"),
       url("../font/vollkorn-italic-webfont.woff") format("woff"),
       url("../font/vollkorn-italic-webfont.ttf") format("truetype"),
       url("../font/vollkorn-italic-webfont.svg#vollkornitalic") format("svg");
  font-weight: normal;
  font-style: normal;
}

#vid {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1000;
  overflow: hidden;
}

.fwa-top-right
{
  text-indent: -666em;
  position: absolute;
  right: 0;
  background-image: url('../img/assets/fwa-top-right.png');
  width: 100px;
  height: 100px;
  z-index: 200;
}

.awwwards
{
  background-image: url("../img/assets/awwwards_sotd_black_left.png");
  position: absolute;
  top: 0;
  left: 0;
  width: 90px;
  height: 135px;
  background-size: 90px 135px;
  background-repeat: no-repeat;
  z-index: 200;
}

@media only screen and (-Webkit-min-device-pixel-ratio: 1.5), only screen and (-moz-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (min-device-pixel-ratio: 1.5) {
  .awwwards {
    background-image: url("/img/assets/awwwards_sotd_black_left@2x.png");
  }
}


/* HELPERS */

.table {
    display: table;
    position:relative;
    width: 100%;
    height: 100%;
}

.row {
    display: table-row;
    width: 100%;
    height: 100%;
}

.cell {
  height: 100%;
  width: 100%;
  margin: 0 auto;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}


canvas
{
  opacity : 0;
  transition: opacity 2s;
  transition: opacity 2s;
}



/* GLOBALS */

html, body, #wrapper {
  width: 100%;
  height: 100%;
  min-height: 100%;
  font-size: 10px;
}

body {
  font-family: 'Vollkorn', serif;
  font-weight: 400;
  font-style: italic;
  background:#0D0D0D;
  color: #FFF;
  letter-spacing: 0.2em;
  margin:0;
  padding:0;
  overflow-x: hidden;
  -webkit-font-smoothing:antialiased;
}

section {
  position:relative;
  width:100%;
  clear:both;
}

.arrow {
  cursor:pointer !important;
  width:26px; height:26px;
  display:block;
  margin:0 auto;
  background:url('../img/right_arrow.svg');
  background-size:cover;
}

.title-arrow {
  bottom: 25vh;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
}

.tick { background:url(../img/tick.svg); background-size:cover; }




/* HOME */

#splash {
  height:100%;
  position: fixed;
  top: 0;
  left: 0;
}

.logo {
    position:relative;
    display:block; margin:0 auto;
    max-width:60%;
    max-height:30%;
}

a {
  text-align:center;
  letter-spacing: 0.5em;
  font-size:1.6rem;
  color:#FFF;
  text-decoration:none;
  cursor:pointer !important;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
 }

a:hover { text-decoration:underline; }

h1 {
  padding:1.6em 0 1.4em;
  font-size:1.6rem;
  font-weight:400;
  margin:0;
}

h2 {
  font-size:1.5rem;
  font-family:"Omnes";
  font-style: normal;
  text-transform: uppercase;
  color: #FFF;
  letter-spacing: 0.25em;
  padding:0 10%;
  margin:0;
  transition:0.2s ease;
}

h3 {
  font-size:1.2rem;
  letter-spacing: 3px;
  font-weight: normal;
  transition:0.2s ease 0.05s ;
}

p {
  font-size:1.6rem;
}

ul {
  list-style:none;
  display:flex;
  flex-wrap: wrap;
  height:100%;
  width:100%;
  padding:0;
  margin:0;
  background-color: black;
}

li {
  display:block;
  position:relative;
  width:100%;
  height: 230px;
  cursor:pointer;
  overflow: hidden;
}

li > a:hover
{
  text-decoration: none;
}


.img {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-size:cover;
  background-position:center center;
  transform: rotateZ(0);
  transition:0.5s ease-in-out;
}

.img::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.5);
  pointer-events: none;
  content: '';
}

#splash .arrow { background:url(../img/down_arrow.svg); background-size:cover; }

.fixed
{
  position: absolute;
  top: 0;
  left: 0;
}

#footer {
  width: 100%;
  position: fixed;
  display: flex;
  bottom: 50px;
  left: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-social {
  display: flex;
  width: 150px;
  justify-content: space-between;
  margin-top: 30px;
}

.footer-social > a > img {
  width: 20px;
}


li h2 , li h3 { opacity:1; transition:0.3s ease; }
li .arrow {
  transform: translateY(20px);
 }

li .img {
  opacity:1;
}

@media only screen and (min-width : 768px) {
  li {
    width:calc(100%/2);
    height: 250px;
  }
}

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

  .title-arrow {
    bottom: 35vh;
  }

  h2 {
    font-size:2.4rem;
    transform: translate( 0, -20px );
  }

  h3 {
    font-size:1.4rem;
    transform: translate( 0, 20px );
  }

  li {
    width:calc(100%/3);
    height: 350px;
  }
  li h2 , li h3 { opacity:0; transition:0.3s ease; }
  li .arrow { opacity:0; transition:0.3s ease 0.1s; }
  li .img {
    opacity:.7;
  }

  .img::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0);
    pointer-events: none;
    content: '';
  }
}

li > a:hover .img {
  opacity:0.2;
}

li > a:hover .arrow {
  transform(0,0);
  opacity:1;
}

li > a:hover h2 {
  transform: translate( 0, 0 ); opacity:1;
}

li > a:hover h3 {
  transform: translate( 0, 0 ); opacity:1;
}

iframe{
    position: absolute;
    top: 0;
    left: 0;
    width:100%;
    height: 100%;
    border:none;
}
