@import url(https://fonts.googleapis.com/css?family=Roboto+Slab:400,300,700|Megrim);
@import 'https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,700';
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 400;
  background-image: url("grid1.png");
  background-attachment:fixed;
}

.nav-main {
  text-align: center;
  background-color: white;
  margin-bottom: 0px;
  max-width: 900px;
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.nav-main ul {
  width: auto;
  margin-bottom: 0px !important;
  margin-top: 0px !important;
}


.content{
background-color: white;
max-width: 900px;
text-align: center;
display: block;
margin-right: auto;
margin-left: auto;

}
@media (max-width: 650px) {
  .nav-main ul {
    width: 100%;
    display: block;
    background: #fff;
    position: fixed;
    bottom: -10px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index:999;
    margin-top: 0px;
  }
}

.nav-main li {
  display: inline-block;
  font-size: 1.5em;
  transition: box-shadow 300ms;
  border-top: 3px solid transparent;
  box-shadow: inset 0 0 0 transparent;
}

.nav-main li:hover {
  border-top: 3px solid #a1002b;
  transition: border 100ms linear;
}

.nav-main li a {
  text-decoration: none;
  display: block;
  padding: 10px 40px;
  color: inherit;
}

@media (max-width: 650px) {
  .nav-main li a {
    padding: 10px 8vw;
  }
}
.nav-main li a i.fa {
  display: none;
}

@media (max-width: 1200px) {
  .nav-main li a i.fa {
    display: block;
  }
}

@media (max-width: 650px) {
  .nav-main li a .li-text {
    display: none;
    font-family: "Roboto Slab";
  }
}

.logo-top {
  display: none;
  font-size: 4em;
  padding: 0 20px;
  font-family: 'Roboto Slab', sans-serif;
  text-shadow: 1px 2px 0 rgba(30, 30, 30, 0.1);
  margin-top: 0px;
  margin-bottom: 0px;
}

@media (max-width: 1200px) {
  .logo-top {
    display: block;
  }
}

.logo-text {
  display: inline-block;
  font-size: 4em;
  padding: 0 20px;
  font-family: 'helvetica', sans-serif;
  text-shadow: 3px 6px 0 rgba(50, 50, 50, 0.1);
}

@media (max-width: 1200px) {
  .logo-text {
    display: none;
  }
}

::selection {
  background: #a1002b;
  color: #fff;
}

@media (max-width: 2000px) {
.hero {
  height: 30vmin;
  background:  url("https://www.amt-transversales.com/images/amt-360.png") no-repeat;
  background-position: 50% 50%;
  }
}

@media (max-width: 1200px) {
.hero {
  height: 40vmin;
  background: url("https://www.amt-transversales.com/images/amt-360.png") no-repeat;
  /*background: linear-gradient(90deg, rgba(161, 0, 43, 0.02) 10%, rgba(255, 129, 131, 0.02)), url("https://www.amt-transversales.com/images/flat-mountains-1080p.png") no-repeat;*/
  background-position: 50% 50%;
  }
}
@media (max-width: 700px) {
.hero {
  height: 40vmin;
  background: url("https://www.amt-transversales.com/images/amt-360.png") no-repeat;
  background-position: 50% 50%;
  }
}

.hero .hero-btn {
  position: relative;
  top: 50%;
  left: 50%;
  background: rgba(50, 50, 50, 0.2);
  color: white;
  text-shadow: 3px 3px 0 rgba(50, 50, 50, 0.2);
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, 0.87);
  border-radius: 60px;
  padding: 0px 0px;
  margin: 0;
  font-size: 1.5em;
  font-family: 'Roboto Slab';
  box-shadow: 3px 3px 0 rgba(50, 50, 50, 0.2);
  outline: none;
  transition: all 200ms ease-in-out;
}

.hero .hero-btn:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  height: 2px;
  width: 150px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.87) 10%, rgba(255, 255, 255, 0));
}

.hero .hero-btn:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  height: 2px;
  width: 150px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 0.87));
}

.hero .hero-btn:hover {
  color: #a1002b;
  background: rgba(255, 255, 255, 0.87);
  text-shadow: 0px 0px 0 rgba(50, 50, 50, 0.2);
  box-shadow: 0px 0px 0 rgba(50, 50, 50, 0.2);
  transition: all 200ms ease-in-out;
}

.hero .hero-btn a {
  color: inherit;
  text-decoration: none;
}

.content {
  text-align: center;
  line-height: 180%;
  font-size: 18px;
}

.about, .skills {
  max-width: 900px;
}

.section {
  margin: 0 auto;
  padding: 10px 20px;
  min-height: 50vh;
}

.section .section-heading {
  display: block;
  font-size: 2em;
  margin: 30px 0;
}

/*
.section .section-heading:before {
  content: '';
  position: fixed;
  left: 0;
  margin-top: 20px;
  height: 5px;
  width: 15vw;
  background: linear-gradient(90deg, rgba(161, 0, 43, 0.6) 10%, rgba(255, 255, 255, 0));
}

.section .section-heading:after {
  content: '';
  position: absolute;
  right: 0;
  margin-top: 20px;
  height: 5px;
  width: 30vw;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 10%, rgba(161, 0, 43, 0.6));
}
*/
.section .section-heading2 {
  display: block;
  font-size: 2em;
  margin: 30px 0;
}

@media (max-width: 600px) {
.section .section-heading:before {
  content: '';
  position: absolute;
  left: 0;
  margin-top: 20px;
  height: 5px;
  width: 15vw;
  background: linear-gradient(90deg, rgba(161, 0, 43, 0.6) 15%, rgba(255, 255, 255, 0));
  }

.section .section-heading:after {
  content: '';
  position: absolute;
  right: 0;
  margin-top: 20px;
  height: 5px;
  width: 15vw;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 15%, rgba(161, 0, 43, 0.6));
  }
}

.section .section-heading2:before {
  content: '';
  position: absolute;
  left: 0;
  margin-top: 2px;
  height: 1px;
  width: 60vw;
  background: linear-gradient(90deg, rgba(161, 0, 43, 0.6) 10%, rgba(255, 255, 255, 0));
}
.section .section-heading2:after {
  content: '';
  position: absolute;
  right: 0;
  margin-top: 2px;
  height: 1px;
  width: 60vw;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 10%, rgba(161, 0, 43, 0.6));
}

@media (max-width: 900px) {
  .section {
    padding: 20px 5px;
  }
}
@media (max-width: 650px) {
  .section {
    max-width: 100%;
    padding: 10px 0;
  }
}
.section p {
  padding: 5px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1500px;
  margin: 0 auto;
}

.fade-in {
  opacity: 0.2;
}

.demo {
  flex-shrink: 1;
  flex-grow: 1;
  margin-top:20px;
  margin-left: 20px;
  margin-bottom:20px;
  margin-right: 20px;
  width: 1200px;
  padding: 0 10px 2px;
  box-shadow: 0px 5px 0 rgba(50, 50, 50, 0.1);
  background: none;
}

.demo3 {
  flex-shrink: 1;
  flex-grow: 1;
  margin-top:20px;
  margin-left: 20px;
  margin-bottom:20px;
  margin-right: 20px;
  width: 200px;
  padding: 0 10px 2px;
  box-shadow: 0px 5px 0 rgba(50, 50, 50, 0.1);
  background: rgba(230, 230, 230, 0.2) ;
}

.demo4 {
  flex-shrink: 1;
  flex-grow: 1;
  margin-top:20px;
  margin-left: 20px;
  margin-bottom:20px;
  margin-right: 20px;
  width: 1200px;
  padding: 0 10px 2px;
  box-shadow: 0px 5px 0 rgba(50, 50, 50, 0.1);
  background: rgba(230, 230, 230, 0.2) ;
}

.demo .demo-title {
  font-size: 1.2em;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 10px;
  color: #333;
}

.demo3 .demo3-title {
  font-size: 1.2em;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 10px;
  color: #000;
}

.demo4 .demo4-title {
  font-size: 1.2em;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 10px;
  color: #000;
}

.demo1 {
  flex-shrink: 1;
  flex-grow: 1;
  margin-right: 20px;
  margin-left: 20px;
  margin-bottom: 20px;
  margin-top: 20px;
  width: 500px;
  padding: 0 10px 2px;
  box-shadow: 0px 5px 0 rgba(50, 50, 50, 0.1);
  background: #fff;
}

.demo1 .demo1-title {
  font-size: 1.2em;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 10px;
  color: #fff;
}
@media (max-width: 1080px) {
  .demo1 {
    margin-right: 10px;
    margin-left: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    min-width: 412px;
    box-shadow: 0px 5px 0 rgba(50, 50, 50, 0.1);
  }
}

@media (max-width: 1080px) {
  .demo {
    margin-right: 10px;
    margin-left: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    box-shadow: 0px 5px 0 rgba(50, 50, 50, 0.1);
  }
}

@media (max-width: 1080px) {
  .demo3 {
    margin-right: 10px;
    margin-left: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    box-shadow: 0px 5px 0 rgba(50, 50, 50, 0.1);
  }
}
@media (max-width: 1080px) {
  .demo4 {
    margin-right: 10px;
    margin-left: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    box-shadow: 0px 5px 0 rgba(50, 50, 50, 0.1);
  }
}
.contact {
  background: #a1002b;
  color: #fff;
  text-align: center;
  padding: 20px;
}
.contact h2 {
  font-size: 2em;
  margin: 0 0 20px 0;
}
.contact .fa {
  font-size: 3em;
}
.contact .fa:hover {
  color: #333;
  transform: scale(1.2);
}
.contact a {
  color: #fff;
  margin: 0 6%;
}

.legal {
  background: #222;
  padding: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8em;
}
@media (max-width: 650px) {
  .legal {
    padding-bottom: 60px;
  }
}

.hidden {
  display: none;
  transition: all 500ms ease;
}

.scroll-top {
  position: fixed;
  bottom: 2em;
  right: 2em;
  height: 4em;
  width: 4em;
  background: #a1002b;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 2px 2px 0 rgba(50, 50, 50, 0.2);
  opacity: 0.6;
  color: #fff;
  transition: all 200ms ease;
}

.scroll-top i {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2em;
}

.scroll-top:hover {
  cursor: pointer;
  background: #a1002b;
  opacity: 1;
  box-shadow: 0px 0px 0 rgba(50, 50, 50, 0.2);
}
@media (max-width: 650px) {
  .scroll-top {
    display: none;
  }
}

.modal {
  position: fixed;
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
}

.wufoo-form {
  position: relative;
  max-width: 90vw;
  background: #fff;
  font: 'Slab';
  font-color: rgba(0, 0, 0, 0.86);
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(50, 50, 50, 0.9), 0 20px 10px rgba(0, 0, 0, 0.3);
}

.wufoo-form .close-btn {
  position: absolute;
  right: 1em;
  display: block;
  height: 2em;
  width: 2em;
  background: rgba(255, 112, 112, 0.5);
  border-radius: 50%;
  text-align: center;
  border: 2px solid #fff;
  box-shadow: 2px 2px 0 rgba(50, 50, 50, 0.2);
  padding: 0.5em;
  transition: all 200ms ease;
}

.wufoo-form .close-btn:hover {
  cursor: pointer;
  background: #a1002b;
  box-shadow: 0px 0px 0 rgba(50, 50, 50, 0.2);
}
.wufoo-form .close-btn .fa-close {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1em;
  color: #fff;
}

.demo .demo-title a {
  color:#000;
}

.demo1 .demo1-title a {

  color:#fff;
}

.float {
  float:left;
}

div.flip-3d {
  perspective: 1200px;
  width: 80%;
  display: inline-block;
  margin: 0%;
}

@media (max-width: 1250px) {
div.flip-3d {
  perspective: 1200px;
  width: 80%;
  display: inline-block;
  margin: 0%;
  }
}

@media (max-width: 1100px) {
div.flip-3d {
  perspective: 1200px;
  width: 80%;
  display: inline-block;
  margin: 0%;
  }
}

@media (max-width: 950px) {
div.flip-3d {
  perspective: 1200px;
  width: 80%;
  display: inline-block;
  margin: 0%;
  }
}

@media (max-width: 750px) {
div.flip-3d {
  perspective: 1200px;
  width: 80%;
  display: inline-block;
  margin: 0%;
  }
}
@media (max-width: 650px) {
div.flip-3d {
  perspective: 1200px;
  width: 75%;
  display: inline-block;
  margin: 0%;
  }
}

@media (max-width: 550px) {
div.flip-3d {
  perspective: 1200px;
  width: 100%;
  display: inline-block;
  margin: 0%;
  }
}

img {
  z-index: -99;
}


div.flip-3d figure {
  position: relative;
  transform-style: preserve-3d;
  transition: 1s transform;
  font-size: 1.6rem;
    z-index: -99;
}

div.flip-3d figure img {
  width: 100%;
  height: auto;
  z-index: -9999;
}

div.flip-3d figure figcaption {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  transform: rotateY(.5turn) translateZ(1px);
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding-top: 45%;
  opacity: 0.6;
  transition: 1s .5s opacity;
    z-index: -99;
}

div.flip-3d:hover figure {
  transform: rotateY(.5turn);
}

div.flip-3d:hover figure figcaption {
  opacity: 1;
}

div.flip-3d figure:after {
  content: " ";
  display: block;
  height: 2vw;
  width: 100%;
  transform: rotateX(90deg);
  background-image: radial-gradient(ellipse closest-side, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
}

@media screen and (max-width: 800px) {
  div#flip-3d {
    perspective-origin: center top;
  }
  div#flip-3d figure {
    display: block;
    width: 50%;
    margin: 0 auto;
    margin-bottom: 12vw;
  }
  div#flip-3d figure:last-child {
    display: none;
  }
}


a {
  color:#a1002b;
}


.italique {
  font-style:italic;
  font-weight: 400;
  font-size: 0.9em;
}

.video-wrapper {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 600px;
  max-width: 100%;
  text-align: center;
  padding-top: 2vh;
  padding-bottom: 2vh;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  padding-top: 2vh;
}


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

@media (max-width: 650px) {
.video-wrapper {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 400px;
  max-width: 100%;
  text-align: center;
  }
}

@media (max-width: 450px) {
.video-wrapper {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 300px;
  max-width: 100%;
  text-align: center;
  }
}

a:hover {
color: #BD172B;
}


.top {
  background: #3E35B2 url("http://goo.gl/BDOwrt") center no-repeat;
}

.fab-container {
  margin: 1em;
  position: fixed;
  bottom: -72px;
  right: 0;
}

.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 1.5px 4px rgba(0, 0, 0, 0.24), 0 1.5px 6px rgba(0, 0, 0, 0.12);
  position: relative;
  cursor: pointer;
  transition: .3s;
}
.fab:before {
  content: attr(tooltip);
  background: #595959;
  padding: 4px 8px;
  border-radius: 2px;
  position: absolute;
  top: 16px;
  right: 100%;
  color: white;
  font: 400 15px Roboto;
  opacity: 0;
  visibility: hidden;
  white-space: nowrap;
  transition: .3s;
}
.fab:hover {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2), 0 3px 8px rgba(0, 0, 0, 0.12);
}
.fab:hover:before {
  right: 110%;
  opacity: 1;
  visibility: visible;
}

#work {
  max-width: 900px;
}