/* ################## SCSS   ######################### */
/* #################   CSS  ############################ */
:root {
  --light: #FFF;
  --light_10: #EEE;
  --dark: #000;
  --dark_10: #333;
}

/* #################################################### */
/* media query  utilisable evec les parametre de l'os   */
/* #################################################### */
@media (prefers-color-scheme: light) {
  body {
    background-color: #fff;
    color: #333;
    --light: #FFF;
    --light_10: #EEE;
    --dark: #000;
    --dark_10: #333;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #333;
    color: #f1f1f1;
    --light: #000;
    --light_10: #333;
    --dark: #FFF;
    --dark_10: #EEE;
  }
}

@-webkit-keyframes slideInLeft {
  from {
    -webkit-transform: translateX(-110%);
            transform: translateX(-110%);
  }
  to {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    -webkit-transform: translateX(-110%);
            transform: translateX(-110%);
  }
  to {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}

@-webkit-keyframes slideInRight {
  from {
    -webkit-transform: translateX(110%);
            transform: translateX(110%);
  }
  to {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    -webkit-transform: translateX(110%);
            transform: translateX(110%);
  }
  to {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}

:root {
  --light: #FFF;
  --light_10: #EEE;
  --dark: #000;
  --dark_10: #333;
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--dark_10);
}

/* declaration d'un style pour les balises specifiques */
h1, h2, h3, h4, h5 {
  line-height: 1;
}

h1, .h1 {
  font-size: 3.1rem;
  font-weight: 700;
}

h2, .h2 {
  font-size: 2.8rem;
  font-weight: 500;
}

h3, .h3 {
  font-size: 2.1rem;
  font-weight: 300;
}

.list-unstyled {
  list-style: none;
}

ul {
  padding-left: 2rem;
}

li {
  margin-bottom: 1rem;
}

.d-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.grid__item {
  padding: 1rem;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  /* l'image ne deborde pas de son container*/
  height: auto;
  /* l'image garde son ratio*/
}

/* #################################### */
/* tous les containers */
.container {
  padding: 1rem 2rem;
}

@media screen and (min-width: 750px) {
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
  }
}

/* #################################### */
/* toutes les sections*/
section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
}

.section-title {
  margin-top: 0;
  font-size: 3.8rem;
}

@media screen and (min-width: 750px) {
  .section-title {
    font-size: 4.8rem;
  }
}

/* #################################### */
/* toutes les images (seo)*/
@media screen and (min-width: 830px) {
  .burger {
    display: none;
  }
}

.burger {
  background: none;
  border: none;
  margin-left: 1.5rem;
  width: 35px;
  height: 35px;
  cursor: pointer;
  position: relative;
}

.burger .bar {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--dark);
}

.burger .bar::before, .burger .bar::after {
  display: block;
  content: "";
  width: 22px;
  height: 3px;
  background: var(--dark);
  position: absolute;
}

.burger .bar::before {
  -webkit-transform: translateY(-8px);
          transform: translateY(-8px);
}

.burger .bar::after {
  -webkit-transform: translateY(8px);
          transform: translateY(8px);
}

header {
  background-color: var(--light);
  border-bottom: 5px solid var(--light_10);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1;
  margin: auto;
  padding: 1rem 5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

header .logo {
  background-color: #EEE;
  border-radius: 5px;
}

header .logo img {
  height: 8vh;
}

header .navbar {
  margin: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

header .navbar li a {
  -webkit-transition: all .4s;
  transition: all .4s;
}

header .navbar li a:hover {
  -webkit-transform: scale(1);
          transform: scale(1);
  text-decoration: none;
}

header .navbar li {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  padding: 0 2rem;
}

header .navbar li a {
  color: var(--dark_10);
  font-weight: 400;
  font-size: 2rem;
}

header .navbar li a::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -3px;
  width: 100%;
  height: 3px;
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
  -webkit-transform-origin: center;
          transform-origin: center;
  background: var(--dark_10);
  -webkit-transition: -webkit-transform 0.4s ease-out;
  transition: -webkit-transform 0.4s ease-out;
  transition: transform 0.4s ease-out;
  transition: transform 0.4s ease-out, -webkit-transform 0.4s ease-out;
}

header .navbar li a:hover::after {
  -webkit-transform: scaleX(1);
          transform: scaleX(1);
}

header .navbar li a.active {
  color: black;
}

header .navbar li a.active::after {
  -webkit-transform: scaleX(1);
          transform: scaleX(1);
}

header .header_nav_lang_choice {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

header .header_nav_lang_choice img {
  height: 3rem;
  margin: auto;
  -webkit-transition: .4s;
  transition: .4s;
}

header .header_nav_lang_choice img:hover {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
}

/*##############################################*/
/*####Toggle                             #######*/
/*##############################################*/
#toggle {
  display: none;
  position: fixed;
  top: 3%;
  right: .2rem;
  width: 50px;
  z-index: 1;
  background-color: var(--light);
  color: var(--dark);
  border: solid 2px var(--dark);
  padding: 0 .5rem;
  border-radius: 5px;
  cursor: pointer;
}

/*##############################################*/
/*####    Mobile                         #######*/
/*##############################################*/
@media screen and (max-width: 830px) {
  header {
    padding: 1rem;
    padding-bottom: 0;
  }
  header .right {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  header .logo {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
  header .header_nav_lang_choice {
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
  }
  .navbar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    position: fixed;
    top: 60px;
    right: 110%;
    overflow: hidden;
    opacity: 0;
    width: 0;
    height: calc(100vh  -55px);
    background: var(--light);
    -webkit-transition: all .4s ease-out;
    transition: all .4s ease-out;
  }
  .navbar ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .navbar ul li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .navbar ul li a {
    display: block;
    font-size: 2rem;
    padding: 2rem;
  }
  .navbar ul li a:hover::after {
    -webkit-transform: scaleX(0);
            transform: scaleX(0);
  }
  .show-nav .navbar {
    opacity: 1;
    width: 100%;
    left: 0;
    z-index: 2;
  }
  .show-nav .burger .bar {
    width: 0;
  }
  .burger .bar:before, .burger .bar:after {
    -webkit-transition: all .2s ease-out;
    transition: all .2s ease-out;
  }
  .show-nav .burger .bar:before {
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
  }
  .show-nav .burger .bar:after {
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }
}

#toggle {
  display: none;
  left: .2rem;
}

.hero {
  background: #5b6c78;
  color: var(--light);
  padding: 1rem 0 0 0;
}

.hero .container {
  padding: 0;
}

.hero__avatar {
  text-align: right;
}

.hero__avatar img {
  background: white;
  border-radius: 10px;
  -webkit-box-shadow: 0 0 5px 2px inset #b3b3b3;
          box-shadow: 0 0 5px 2px inset #b3b3b3;
}

.hero__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0 auto;
  text-align: center;
}

.hero .title {
  font-size: 4rem;
  color: inherit;
  /* la couleur est fixe par son parent*/
}

.hero__item.left {
  padding-left: 2.5vw;
}

.hero__item.right {
  margin: 0;
}

.hero__item.right {
  -webkit-animation: slideInRight 1s;
          animation: slideInRight 1s;
}

@media screen and (max-width: 830px) {
  .hero__item.left {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    padding: 0;
  }
  .hero__item.right {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  .hero__avatar {
    text-align: center;
  }
  .hero__avatar img {
    max-width: 80%;
  }
}

@media screen and (min-width: 780px) {
  .hero__avatar img {
    max-width: 60%;
    background: var(--light);
    text-align: right;
  }
  .hero .title {
    padding: 1.5rem 0;
  }
  .hero__item {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 50%;
            flex: 1 0 50%;
    /* flex-grow flex-shrink flex-base*/
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    text-align: left;
  }
}

.about {
  background: var(--light_10);
}

.about h2 {
  margin-bottom: 1vh;
}

.about p {
  margin-top: 5vh;
}

.about .grid__item:first-child {
  width: 30%;
}

.about .grid__item:last-child {
  width: 70%;
}

.about .grid__item:last-child a {
  color: var(--dark);
  text-decoration: underline;
  font-size: 1.7rem;
  padding: 0 0.3rem;
}

.about .grid__item:last-child a:hover {
  color: var(--light);
  background: var(--dark_10);
  border-radius: 5px;
  padding: 0 0.3rem;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.about .grid__item {
  margin: auto;
}

.grid_about {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

@media screen and (min-width: 1060px) {
  .about img {
    padding-left: 5vw;
  }
}

@media screen and (max-width: 860px) {
  .about .grid__item:first-child {
    width: 50%;
  }
  .about .grid__item:last-child {
    width: 90%;
  }
  .about .grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .about img {
    width: 100%;
  }
  .about h2 {
    text-align: center;
  }
  .about p {
    text-align: center;
  }
}

.services {
  background: var(--light);
}

.section-title {
  text-align: center;
  font-weight: 400;
}

.service__icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: var(--dark) _10;
  width: 90px;
  height: 90px;
  border: 5px solid var(--dark) _10;
  border-radius: 50%;
}

.service__icon svg {
  height: 35px;
}

.service__content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  margin: auto;
}

.service__content h3 {
  margin-bottom: 1rem;
  font-weight: 500;
}

.service__content p {
  word-wrap: break-word;
}

.service {
  margin: 15px 0;
  margin-left: 20px;
}

@media screen and (max-width: 1170px) {
  .service {
    text-align: center;
  }
  .service__icon {
    margin: 0 auto;
    margin-bottom: 1rem;
  }
  .service__content h3 {
    margin-bottom: 1rem;
    font-size: 2rem;
  }
}

@media screen and (min-width: 1171px) {
  .service {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 2rem 0;
    margin-left: 20vw;
  }
  .service__icon {
    margin-right: 2rem;
  }
}

.portfolio {
  background-color: var(--light_10);
}

.portfolio p {
  color: var(--dark_10);
}

/*#################################*/
/*######   Filtres         ########*/
/*#################################*/
.portfolio-filters .grid__item {
  max-width: 50%;
  margin-bottom: 0;
}

.portfolio-filters a {
  -webkit-box-shadow: 0 0 7px rgba(0, 0, 0, 0.2);
          box-shadow: 0 0 7px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: inset 0 0 7px rgba(0, 0, 0, 0.2);
          box-shadow: inset 0 0 7px rgba(0, 0, 0, 0.2);
  background-color: var(--light);
  color: var(--dark_10);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 1rem;
}

.portfolio-filters a:hover {
  background-color: #647480;
  color: var(--light);
}

.portfolio-filters a.active {
  background-color: #647480;
  color: var(--light);
}

.portfolio .grid__item.hide {
  display: none;
}

/*#################################*/
/*######   Cartes         ########*/
/*#################################*/
.grid__item__portfolio {
  width: 50%;
}

.grid__item__portfolio .card {
  background: var(--light);
  text-align: center;
  position: relative;
  -webkit-box-shadow: 0 0 7px rgba(0, 0, 0, 0.1);
          box-shadow: 0 0 7px rgba(0, 0, 0, 0.1);
  border: solid 1px var(--light_10);
  border-radius: 25px;
}

.grid__item__portfolio .card .card__image {
  border-radius: 25px;
  border-radius: 25px 25px 0 0;
  max-width: 100%;
  height: auto;
}

.grid__item__portfolio .card .card__inner {
  padding: 2rem;
  background-color: var(--light);
  height: 6rem;
  border-radius: 0 0 25px 25px;
}

.grid__item__portfolio .card .card__inner h3 {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--dark_10);
}

.grid__item__portfolio .card .card__inner h3:hover {
  color: var(--dark);
}

.grid__item__portfolio .card .card__inner h3::after {
  content: "";
  display: block;
  width: 30%;
  margin: auto;
  margin-top: 2px;
  height: 3px;
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
  -webkit-transform-origin: center;
          transform-origin: center;
  background: var(--dark_10);
  -webkit-transition: -webkit-transform 0.4s ease-out;
  transition: -webkit-transform 0.4s ease-out;
  transition: transform 0.4s ease-out;
  transition: transform 0.4s ease-out, -webkit-transform 0.4s ease-out;
}

.grid__item__portfolio .card .card__inner h3:hover::after {
  -webkit-transform: scaleX(1);
          transform: scaleX(1);
}

/*#################################*/
/*######   Media Screen    ########*/
/*#################################*/
@media screen and (max-width: 749px) {
  /*petit ecran*/
  .portfolio .grid__item {
    font-size: 1.5rem;
    width: 100%;
    margin: auto;
  }
}

@media screen and (min-width: 881px) {
  /*grand ecran*/
  .portfolio-filters .grid__item {
    max-width: 25%;
  }
  .portfolio .grid__item {
    min-width: 33.33%;
  }
}

@media screen and (max-width: 1100px) {
  /*alignement blank grid item en dessous 1100px*/
  .grid__item-break {
    display: none;
  }
}

footer {
  background-color: #000;
  color: #EEE;
  text-align: center;
  font-size: 1.4rem;
}

footer .grid {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

footer .grid .grid__item p {
  margin: 0;
  padding-bottom: 2rem;
  font-size: 2.5rem;
  -webkit-transition: .4s;
  transition: .4s;
}

footer .grid .grid__item p:hover {
  text-decoration: underline;
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

footer .grid .grid__item p svg {
  height: 50px;
  padding-top: 31px;
}

footer a {
  color: #EEE;
}

.footer__socials {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  text-align: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.footer__socials li {
  padding: 2rem;
  margin-bottom: 0;
}

.footer__socials .facebook {
  display: none;
}

.footer__socials .linkedin {
  display: none;
}

.footer__socials .twitter {
  display: none;
}

.footer__socials::before {
  content: "";
  display: block;
  position: relative;
  top: 20px;
  left: -2px;
  height: 50px;
  width: 3px;
  border-radius: 5px;
  background: var(--light_10);
}

.footer__socials a {
  color: #EEE;
  border: solid 2px #EEE;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0 .5rem;
}

.footer__socials a:hover {
  background-color: #EEE;
  color: #333;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.footer__socials svg {
  width: 1.4rem;
}

@media screen and (min-width: 881px) {
  /*grand ecran*/
  footer {
    text-align: left;
  }
  footer .grid__item {
    max-width: 33.33%;
  }
}

.project_header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 1rem 2rem;
  background: #5b6c78;
  color: var(--light);
  padding: 1rem 0 0 0;
}

.project_header__item.left {
  -webkit-animation: slideInLeft 1s;
          animation: slideInLeft 1s;
  width: 60%;
  margin: auto;
}

.project_header__item.left h1, .project_header__item.left p, .project_header__item.left ul {
  text-align: center;
  padding-left: 5vw;
}

.project_header__item.left h1, .project_header__item.left p {
  padding-bottom: 1vh;
}

.project_header__item.right {
  margin: 1vw;
  width: 40%;
}

.project_header__item.right img {
  margin-left: 10vw;
  border-radius: 10px;
  -webkit-box-shadow: 0 0 7px rgba(0, 0, 0, 0.8);
          box-shadow: 0 0 7px rgba(0, 0, 0, 0.8);
  width: 60%;
}

.project_header__item.right {
  -webkit-animation: slideInRight 1s;
          animation: slideInRight 1s;
}

@media screen and (max-width: 749px) {
  .project_header {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .project_header__item.left {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    margin: auto;
    width: 90%;
  }
  .project_header__item.left h1, .project_header__item.left p, .project_header__item.left ul {
    padding: 0;
  }
  .project_header__item.right {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
    margin: auto;
    width: 80%;
  }
  .project_header__avatar img {
    background: var(--light);
  }
}
/*# sourceMappingURL=style.css.map */