/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/
html {
 -webkit-text-size-adjust:none
}
body {
  margin:0; 
  padding:0;
  font-family:"open_sansregular";
  color: #333;
  font-size:18px;
  line-height:1.5em;
}
body, html {
  scroll-behavior: smooth;
}
img {display:block;}
a {
  color:#005065;
}
h1 {
  font-family:"league gothic";
  font-size:48px;
  text-transform:uppercase;
  letter-spacing: 1px ;
  text-align:center;
  color:#005065;
  padding:80px 0 40px 0;
  margin: 0;
  line-height: 48px;
}
h2 {
  font-family:"league gothic";
  font-size:2.5em;
  letter-spacing: 1px ;
  text-align:center;
  color:#005065;
  padding:0 0 40px 0;
  margin: 0;
  font-weight: 400;
  width: 100%;
  line-height: 1em;
}
header {
  width:100%;
  border-bottom:2px solid #005165;
  text-align:center;
  padding:20px 0;
}
header ul {
  margin:0;
}
header svg {
  width:66px;
  height:auto;
}
section {
  margin: 0 0 160px 0;
}
#homepage {
  margin: 50px auto 80px;
  max-width: 800px;
  padding:0 5%;
}
#homepage h1 {
    font-family:"league gothic";
  font-size:2.5em;
  letter-spacing: 1px ;
  text-align:center;
  color:#005065;
  padding:0 0 10px 0;
  margin: 0;
  font-weight: 400;
  width: 100%;
  line-height: 1em;
}
.st0 {
  fill:#005165;
}
nav ul {
  
  padding: 0;
}
nav ul li {
  display:inline-block;
  margin: 0 3px;
}

.link_underlined {
  font-family:"open_sansregular";
  text-decoration:none;
  text-align:center;
  color:#005065;
  padding:5px 5px;
  height:20px;
  font-size:18px;
  line-height:20px;
  position:relative;
  display:inline-block;
}
.link_underlined::before, .link_underlined::after {
  content:" ";
  display:block;
  position:absolute;
  bottom:0px;
  left:15%;
  height:2px;
  width:70%;
  background-color:#005065;
}
.link_underlined:hover::before, .link_underlined:focus::before {
  -webkit-animation:rollover_lien_before 0.4s;
          animation:rollover_lien_before 0.4s;
  -webkit-animation-timing-function: ease-in-out;
          animation-timing-function: ease-in-out;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;    
} 
.link_underlined:hover::after, .link_underlined:focus::after {
  -webkit-animation:rollover_lien_after 0.4s;
          animation:rollover_lien_after 0.4s;
  -webkit-animation-timing-function: ease-in-out;
          animation-timing-function: ease-in-out;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}
.link_underlined:active::before {
  -webkit-animation:active_lien_before 0.2s;
          animation:active_lien_before 0.2s;
  -webkit-animation-timing-function: ease-in-out;
          animation-timing-function: ease-in-out;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}
.link_underlined:active::after {
  -webkit-animation:active_lien_after 0.2s;
          animation:active_lien_after 0.2s;
  -webkit-animation-timing-function: ease-in-out;
          animation-timing-function: ease-in-out;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}
@-webkit-keyframes rollover_lien_before {
  0% {
    bottom:0px;
  }
  50% {
    bottom:13px;
  }
  100% {
    bottom:0px;
  }
}
@keyframes rollover_lien_before {
  0% {
    bottom:0px;
  }
  50% {
    bottom:13px;
  }
  100% {
    bottom:0px;
  }
}

@-webkit-keyframes rollover_lien_after {
  0% {
    bottom:0px;
  }
  50% {
    bottom:13px;
  }
  100% {
    bottom:28px;
  }
}

@keyframes rollover_lien_after {
  0% {
    bottom:0px;
  }
  50% {
    bottom:13px;
  }
  100% {
    bottom:28px;
  }
}
@-webkit-keyframes active_lien_before {
  0% {
    bottom:0px;
  }
  100% {
    bottom:4px;
    background-color:grey;
  }
}
@keyframes active_lien_before {
  0% {
    bottom:0px;
  }
  100% {
    bottom:4px;
    background-color:grey;
  }
}

@-webkit-keyframes active_lien_after {
  0% {
    bottom:28px;
  }
  100% {
    bottom:24px;
    background-color:grey;
  }
}

@keyframes active_lien_after {
  0% {
    bottom:28px;
  }
  100% {
    bottom:24px;
    background-color:grey;
  }
}
.link_mail {
  text-decoration:none;
  background-color: #FFF ;
  color:#005065 ;
  border:2px solid #005065;
  padding : 10px 30px;
  margin:0 5px 20px 5px;
  border-radius:44px;
  display:inline-block;
  -webkit-transition:background-color 0.4s ease-in ;
  -o-transition:background-color 0.4s ease-in ;
  transition:background-color 0.4s ease-in ;
  -webkit-transition:color 0.4s ease-in ;
  -o-transition:color 0.4s ease-in ;
  transition:color 0.4s ease-in ;
}
.link_mail:hover, .link_mail:focus {
  background-color: #005065 ;
  color:#FFFFFF ;
}

#work {
  display: flex;
  flex-wrap: wrap;
  background-color: #005065;
}
.works, .works_plus {
  display:inline-flex;
  margin: 0;
  padding: 0;
  position:relative ;
  overflow: hidden;
}
.works img, .works_plus img {
  width:100%;
  height:auto;
  border-radius: 0 0 0 40px;
}
.infos {
  position:absolute;
  top:100%;
  background-color:rgba(255, 255, 255, 0.9);
  height:100%;
  width:100%;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  text-align:center;
  -webkit-box-pack:center;
      -ms-flex-pack:center;
          justify-content:center;
  -webkit-box-orient:vertical;
  -webkit-box-direction:normal;
      -ms-flex-direction:column;
          flex-direction:column;
  -ms-flex-line-pack:start;
      align-content:flex-start;
  border-radius: 0 0 0 40px;
}
.works_plus .infos {
  top:0;
  background:none;
  color:#FFF;

}
.infos h3 {
  font-family:"league gothic";
  font-size:45px;
  margin: 0 0 5px 0;
  color: #005165;
  font-weight: 400;
}
.works_plus .infos h3 {
  color:#FFF;
}
.infos p {
  margin: 5px 0 20px 0;
}
.infos a { 
  font-size: 40px;
  text-decoration: none;
  color:#005165;
  background-color:#FFF;
  border: solid 1px #005165;
  display: inline-block;
  height: 50px;
  line-height:47px;
  width: 50px;
  border-radius:50%;
  margin:0 auto;
  -webkit-transition:color 0.4s ease-in;
  -o-transition:color 0.4s ease-in;
  transition:color 0.4s ease-in;
  -webkit-transition:background-color 0.4s ease-in;
  -o-transition:background-color 0.4s ease-in;
  transition:background-color 0.4s ease-in;
}
.works_plus .infos a {
  border: solid 1px #FFF;
}
.infos a:hover, .infos a:active { 
  color:#FFF;
  background-color:#005165;
  border: solid 1px #005165;
}
#about  {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -ms-flex-wrap:wrap;
      flex-wrap:wrap;
}
#about h2 {
  width:100%;
}
#about figure {
  display:inline-block;
  width:50%;
  height:auto;
  margin: 0;
  text-align: center;
  overflow: hidden;
}
#about figure img {
  width:100%;
  height:auto;
}
#about p {
  display:inline-block;
  width:21%;
  margin: 0;
  padding: 2%;
}
#show_work {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -ms-flex-wrap:wrap;
      flex-wrap:wrap;
}
#show_work div {
  width:100%;
}
#show_work h1 {
  width:100%;
}
#show_work b {
  color:#005065;
}
#skill {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -ms-flex-wrap:wrap;
      flex-wrap:wrap;
  padding: 0 5%;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
#skill h2 {
  width:100%;
}
#skill h3 {
  font-family: "league gothic";
  font-size: 30px;
  margin: 10px 0 0 0;
}
.skills {
  width:33.33%;
  text-align:center;
}
.skills p {
  padding:0 5%;
  margin-bottom: 0;
}
.skills img {
  width:50px;
  height:50px;
  margin: 0 auto;
}
#customer {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
  -ms-flex-pack:distribute;
      justify-content:space-around;
  padding:0 50px;
}
#customer img {
  -webkit-filter: grayscale(100%);
          filter: grayscale(100%);
  width: 120px;
  height: auto;
}
#customer img:hover {
  -webkit-filter: grayscale(0%);
          filter: grayscale(0%);
}
footer, #contact {
  text-align: center;
  
  color: #005065;
  padding:0;
}
#contact p {
  margin-top:0;
}
footer p {
  border-top: 2px solid #005065;
  margin:0;
  padding:20px 10px;
  background-color: #005065;
  color: #FFF;
  font-size:0.8em;
  line-height:1em;
}
footer a {
  margin:0 0 160px 0 ;
}
footer p a {
  color:#FFF;
}
#up_link {
  display:none;
  position:fixed;
  bottom:20px;
  right:20px;
  border:1px solid #005065;
  background-color:#FFF;
  height:40px;
  width:40px;
  border-radius:50%;
}
#up_link img {
  -webkit-transform:rotate(180deg);
      -ms-transform:rotate(180deg);
          transform:rotate(180deg);
}
@media screen and (min-width:1000px) {
  .works, .works_plus {
    width:33.33%;
  }
  #show_work div {
    width:50%;
    height:auto;
  }
  #show_work img, #show_work video {
    width:100%;
    height:auto;
  }
  #show_work p {
    width:42%;
    padding:1% 2% 3% 6%;
    margin:0;
  }
    #show_work p:nth-child(3) {
    padding:1% 6% 3% 2%;
  }
  #show_work div h2 {
    text-align:left;
    width:42%;
    padding:3% 6% 1% 6% !important;
    margin:0;
  }
  #show_work div p {
    width:88%;
    padding:6% 6% 3% 6% !important;
    margin:0;
  }
}
@media screen and (min-width:1300px) {
  .works, .works_plus {
    width:25%;
  }  
}
@media screen and (min-width:650px) and (max-width:999px) {
  .works, .works_plus {
    width:50%;
  }
  #show_work img, #show_work video {
    width:100%;
    height:auto;
  }
  #show_work p {
    width:92%;
    padding:0 4% 40px 4%;
    margin:0;
  }
    #show_work div p {
    width:88%;
    padding:6% 6% 9% 6% !important;
    margin:0;
  }
  .skills {
    width:50%;
    margin-bottom: 40px;
  }  
  #about figure {
    width:100%;
    height:400px
  }
  #about figure img {
    width:100%;
    height:auto;
  }
  #about p {
    width:46%;
  }
 
}
@media screen and (max-width:649px) {
  .works, .works_plus {
    width:100%;
    display:block;
  }
  .works_plus img {
    display:none;
  }
  #about p {
    padding: 2% 5%;
    margin-top:10px;
  }
  #show_work img, #show_work video {
    width:100%;
    height:auto;
  }
  #show_work p {
    width:92%;
    padding:2% 4% 30px 4%;
    margin:0;
  }
  .infos {
    position:relative;
    top:auto;
    height:auto;
    padding:20px 0 80px 0;
    border-radius:0;
    background-color:#FFF;
  }
  .works_plus .infos {
      padding: 20px 0;
  }
  .skills {
    width:100%;
    margin-bottom: 60px;
  }
    #about figure {
    width:100%;
    height:auto;
  }
  #about figure img {
    width:100%;
    height:auto;
  }
  #about p {
    width:96%;
  }
  #up_link {
  display:block;
  }
  #customer img {
  -webkit-filter: grayscale(0%);
          filter: grayscale(0%);
}
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}