@charset "UTF-8";
/* CSS Document */
/* PALETTE
yellow #FED96A
purple #A65CA1
blue #36A9E0
*/

@font-face {
  font-family: 'Monoton';
  font-style: normal;
  font-weight: 400;
  src: local('Monoton'), local('Monoton-Regular'), url(http://themes.googleusercontent.com/static/fonts/monoton/v4/AKI-lyzyNHXByGHeOcds_w.woff) format('woff');
}

@font-face {
  font-family: 'PressStart';
  font-style: normal;
  font-weight: 400;
  src: local('Press Start 2P'), local('PressStart2P-Regular'), url(http://themes.googleusercontent.com/static/fonts/pressstart2p/v2/8Lg6LX8-ntOHUQnvQ0E7o3dD2UuwsmbX3BOp4SL_VwM.woff) format('woff');
}

a,a:hover,a:active,a:focus,a:visited {
    text-decoration: none;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Lato',"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 400;
    height: 100%;
    background: #111 url("../img/pattern.jpg") repeat;
}

p {
  font-weight: 300;
}

.container-full {
    width: 100%;
    height: 100%;
}

.container {
    padding: 0;
    width: 100%;
    margin: 0 auto;
}

.titre {
    font-family: 'Monoton',"Helvetica Neue",Helvetica,Arial,sans-serif;
    padding-top: 1em;
    padding-left: 2em;
    color: #36A9E0;
    font-size: 300%;
    text-shadow: -4px -4px 4px #FED96A, -8px -8px 8px #A65CA1;
    -webkit-animation: moving-shadow 5s linear infinite alternate;
    -moz-animation: moving-shadow 5s linear infinite alternate;
    animation: moving-shadow 5s linear infinite alternate; 
}

#subtitle {
  font-family: "Lato",Helvetica,Arial,sans-serif;
  color: lightgrey;
  font-size: 0.5em;
  white-space: nowrap;
}

#socials {
  font-size: 2em;
  letter-spacing: 5px;
  text-align: right;
  color: #FED96A;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}
ul li {
    float: left;
    width: 100%;
    height: 100%;
}

hr {
    border-color: #36A9E0;
}

.content {
    margin: 0 auto;
    width: 80%;
    color: #fafafa;
    padding: 2em;
    font-size: 110%;
    border-radius: 10px;
    margin-bottom: 12px;
}

.content p {
    margin-left: 1.5em;
}

.window {
    height: 15em;
    width: 100%;
    overflow:hidden;
}

.desc {
  font-size: 120%;
  padding: 3% 25%;
  text-align: justify;
}

.content h1{
  font-family: 'PressStart', "Helvetica Neue",Helvetica,Arial,sans-serif;
  color:#36A9E0;
  text-transform: uppercase;
}
.content h1:hover{
-webkit-animation: neon2 1.5s ease-in-out infinite alternate;
-moz-animation: neon2 1.5s ease-in-out infinite alternate;
animation: neon2 1.5s ease-in-out infinite alternate;
  cursor: pointer;
}

.content h2 {
    color: #A65CA1;
    font-family: 'Raleway', sans-serif;
    font-size: 220%;
}

.lead {
    font-family: 'Raleway', sans-serif;
}

.portfolio-img {
    box-shadow: 0 0 8px 1px rgba(0,0,0,.1);
    border-radius: 4px;
    border: solid 1px #A65CA1;
    margin-bottom: 1.5em;
    margin-top: 1.5em; 
-webkit-animation: glowing-borders 3s ease-in-out infinite;
-moz-animation: glowing-borders 3s ease-in-out infinite;
animation: glowing-borders 3s ease-in-out infinite; 
}


.bouton {
    font-family: 'Raleway', sans-serif;
    letter-spacing: 4px;
    margin-top: 2em;
    margin-bottom: 2em;
    padding: 1em;
    border: solid 1px #A65CA1;
    border-radius: 4px;
    color: #A65CA1;
    display: block;
    text-align: center;
    width: 40%;
}
.bouton:hover {
    color: #111;
    background: #A65CA1;
}


.space {
    padding: 3em;
    content: "";
}

.parallax-viewport {
        color: #ebebeb;
        position:relative; 
        overflow:hidden;
        width:150%;
        left: -24%;
        top: 5%;
        height: 100%;
}

.parallax-layer {
    position:absolute;
}

/* ARCADE */
.arcade {
    background: url("../assets/arcade.svg") repeat-x 0 center;
    background-size: 100% 100%;
    width: 100%;
    height: 40em;
-webkit-animation: neon2 1.5s ease-in-out infinite alternate;
-moz-animation: neon2 1.5s ease-in-out infinite alternate;
animation: neon2 1.5s ease-in-out infinite alternate; 
}
.arcade-control {
      list-style: none;
      height: 10em;
}
.arcade-cart {
    background: url("../assets/cart.svg") repeat-x 0 center;
    background-size: 100% 100%;
    height: 10em;
    width: 10em;
    color: #FED96A;
    text-align: right;
    padding-top: 1em;
    padding-right: 1.5em;
}

.arcade .arcade-game {
  position: relative;
    left: 31.3%;
    top: 23.8%;
    width: 37%;
    height: 46%;
  color: #fafafa;
  font-family: "PressStart",sans-serif;
  text-align: center;
  vertical-align: middle;
  background-color: black;
  overflow: hidden;
}

/* SKYLINE */
#layer1 {
    background: url("../assets/layer1.svg") repeat-x 0 center;
    background-size: 100% 100%;
    width: 100%;
    height: 100%;
    -webkit-animation: upanddown 8s infinite linear;
    -moz-animation: upanddown 8s infinite linear;
    -animation: upanddown 8s infinite linear;
    -ms-animation: upanddown 8s infinite linear;
}

/* CAPUCINS + PONT RECOU */
#layer2 {
    background: url("../assets/layer2.svg") repeat-x 0 center;
    background-size: 100% 100%;
    width: 100%;
    height: 100%;
    -webkit-animation: upanddown 6s infinite linear alternate;
    -moz-animation: upanddown 6s infinite linear alternate;
    -animation: upanddown 6s infinite linear alternate;
    -ms-animation: upanddown 6s infinite linear alternate;
}

/* MAIRIE */
#layer3 {
    background: url("../assets/layer3.svg") repeat-x 0 center;
    background-size: 100% 100%;
    width: 100%;
    height: 100%;
    -webkit-animation: upanddown 3s infinite linear;
    -moz-animation: upanddown 3s infinite linear;
    -animation: upanddown 3s infinite linear;
    -ms-animation: upanddown 3s infinite linear;
}

footer {
  padding: 2em;
  background-color: black;
  text-align: right;
  color: #dedede;
}

/*****************/
/* IPAD **********/
/*****************/
#ipad {
  /*width: 1024px;*/
  margin: 10px auto;
}

.ipad-front {
  position: relative;
  width: 1128px;
  height: 850px;
  background-color: #000;  
  border-radius: 10px;
  border: 2px solid #888;
  padding: 40px;
  box-shadow: 1px 2px 0px #111;
}

.ipad-front-display {
  width: 100%;
  height: 100%;
  background-color: #111;
}

.ipad-front-display iframe {
  width: 100%;
  height: 100%;
  background-color: #111;
}


/*****************/
/* MEDIA QUERIES */
/*****************/

@media (max-width: 1000px) {
    .window {
        height: 12em;
    }
}
@media (max-width: 767px) {
    .window {
        height: 10em;
    }
    .bouton {
        width: 100%;
    }
    .content h2 {
        font-size: 150%;
    }
    .content h1 {
        font-size: 120%;
    }
    .titre {
        font-size: 180%;
    }

  .desc {
    font-size: 100%;
    padding: 2% 1%;
    text-align: justify;
  }
}
@media (max-width: 480px) {
    .window {
        height: 5em;
    }
}


@media (max-width: 1400px) {
    .arcade .arcade-game {
      left: 23%;
      width: 54%;
    }
}
@media (max-width: 991px) {
    .arcade .arcade-game {
      left: 22%;
      width: 55%;
    }
}
@media (max-width: 850px) {
    #arcade-mobile-display {
      height: 38%;
      top: 28%;
    }
}
@media (max-width: 767px) {
    #arcade-mobile-display {
      display: none;
    }
}


/**************/
/* ANIMATIONS */
/**************/

/* EFFET NEON */
.neonlight1 {
    -webkit-filter: drop-shadow( 2px 2px 3px #36A9E0 );
    -moz-filter: drop-shadow( 2px 2px 3px #36A9E0 );
            filter: drop-shadow( 2px 2px 3px #36A9E0 );
}
.neonlight2 {
    -webkit-filter: drop-shadow( 1px 1px 5px #A65CA0 );
    -moz-filter: drop-shadow( 1px 1px 5px #A65CA0 );
            filter: drop-shadow( 1px 1px 5px #A65CA0 );
}
.neonlight3 {
    -webkit-filter: drop-shadow( 1px 1px 6px #FED96A );
    -moz-filter: drop-shadow( 1px 1px 8px #FED96A );
            filter: drop-shadow( 1px 1px 8px #FED96A );
}

@-webkit-keyframes neon2 {
  from {
    text-shadow: 0 0 10px #fff,
               0 0 20px  #fff,
               0 0 30px  #fff,
               0 0 40px  #36A9E0,
               0 0 70px  #36A9E0,
               0 0 80px  #36A9E0,
               0 0 100px #36A9E0,
               0 0 150px #36A9E0;
  }
  to {
    text-shadow: 0 0 5px #fff,
               0 0 10px #fff,
               0 0 15px #fff,
               0 0 20px #36A9E0,
               0 0 35px #36A9E0,
               0 0 40px #36A9E0,
               0 0 50px #36A9E0,
               0 0 75px #36A9E0;
  }
}
@-moz-keyframes neon2 {
  from {
    text-shadow: 0 0 10px #fff,
               0 0 20px  #fff,
               0 0 30px  #fff,
               0 0 40px  #36A9E0,
               0 0 70px  #36A9E0,
               0 0 80px  #36A9E0,
               0 0 100px #36A9E0,
               0 0 150px #36A9E0;
  }
  to {
    text-shadow: 0 0 5px #fff,
               0 0 10px #fff,
               0 0 15px #fff,
               0 0 20px #36A9E0,
               0 0 35px #36A9E0,
               0 0 40px #36A9E0,
               0 0 50px #36A9E0,
               0 0 75px #36A9E0;
  }
}
@-keyframes neon2 {
  from {
    text-shadow: 0 0 10px #fff,
               0 0 20px  #fff,
               0 0 30px  #fff,
               0 0 40px  #36A9E0,
               0 0 70px  #36A9E0,
               0 0 80px  #36A9E0,
               0 0 100px #36A9E0,
               0 0 150px #36A9E0;
  }
  to {
    text-shadow: 0 0 5px #fff,
               0 0 10px #fff,
               0 0 15px #fff,
               0 0 20px #36A9E0,
               0 0 35px #36A9E0,
               0 0 40px #36A9E0,
               0 0 50px #36A9E0,
               0 0 75px #36A9E0;
  }
}

@-webkit-keyframes moving-shadow {
        0% { text-shadow: -2px -2px 4px #FED96A, -4px -4px 8px #A65CA1;}
        25% { text-shadow: 2px -2px 4px #FED96A, 4px -4px 8px #A65CA1;}
        50% { text-shadow: 2px 2px 4px #FED96A, 4px 4px 8px #A65CA1;}
        75% { text-shadow: -2px 2px 4px #FED96A, -4px 4px 8px #A65CA1;}
        100% { text-shadow: -2px -2px 4px #FED96A, -4px -4px 8px #A65CA1;}
}
@-moz-keyframes moving-shadow {
        0% { text-shadow: -2px -2px 4px #FED96A, -4px -4px 8px #A65CA1;}
        25% { text-shadow: 2px -2px 4px #FED96A, 4px -4px 8px #A65CA1;}
        50% { text-shadow: 2px 2px 4px #FED96A, 4px 4px 8px #A65CA1;}
        75% { text-shadow: -2px 2px 4px #FED96A, -4px 4px 8px #A65CA1;}
        100% { text-shadow: -2px -2px 4px #FED96A, -4px -4px 8px #A65CA1;}
}
@-keyframes moving-shadow {
        0% { text-shadow: -2px -2px 4px #FED96A, -4px -4px 8px #A65CA1;}
        25% { text-shadow: 2px -2px 4px #FED96A, 4px -4px 8px #A65CA1;}
        50% { text-shadow: 2px 2px 4px #FED96A, 4px 4px 8px #A65CA1;}
        75% { text-shadow: -2px 2px 4px #FED96A, -4px 4px 8px #A65CA1;}
        100% { text-shadow: -2px -2px 4px #FED96A, -4px -4px 8px #A65CA1;}
}


@-keyframes glowing-borders {
        0% { border-color: #A65CA1;}
        33% { border-color: #36A9E0;}
        66% { border-color: #FED96A;}
        100% { border-color: #A65CA1;}
}
@-webkit-keyframes glowing-borders {
        0% { border-color: #A65CA1;}
        33% { border-color: #36A9E0;}
        66% { border-color: #FED96A;}
        100% { border-color: #A65CA1;}
}
@-moz-keyframes glowing-borders {
        0% { border-color: #A65CA1;}
        33% { border-color: #36A9E0;}
        66% { border-color: #FED96A;}
        100% { border-color: #A65CA1;}
}

@-webkit-keyframes upanddown {
          0% { transform: translate(0em,0em); }
        25% { transform: translate(-0.1em,0.3em);}
        50% { transform: translate(0em,0em);}
        75% { transform: translate(0.1em,-0.2em);}
        100% { transform: translate(0em,0em);}
}
@-webkit-keyframes spin {
          0% { transform: rotate(0deg); }
        25% { transform: rotate(0.5deg);}
        50% { transform: rotate(0deg);}
        75% { transform: rotate(-0.5deg);}
        100% { transform: rotate(0deg);}
}