@import url(../fonts/stylesheet.css);
@import url(normalize.css);
@import url(fontawesome/css/all.min.css);

/*
Off-white #FFFEF4
Dark grey #202123
Depp violet #5823EE
Medium violet #9F9DF0
Light violet #D9D9F6
Bright yellow #FFFF33
Pastel yellow #FFFF99
*/
* {
  box-sizing: border-box;
  font-size: 15px;
}

img {
  max-width: 100%;
  height: auto
}

body {
  font-family: 'subjectivity-regular';
  background-color: #FFFEF4;
  color: #202123;
}

h1, #lame1-hero h2 {
  font-family: 'subjectivity-bold';
  color: #FFFEF4;
  font-size: 3.3em;
}

h2 {
  font-family: 'subjectivity-Super';
  color: #5823EE;
  font-size: 3.5em;
}


h5 {
  font-family: 'subjectivity-regular_slanted';
  color: #FFFF99;
  font-size: 1.5em;
}

figcaption {
  font-family: 'subjectivity-Super';
  color: #202123;
  font-size: 3.5em;
  line-height: 0.8em;
}

/*Navbar*/
nav div {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

nav div a img {
  width: 80%;
}

nav button {
  padding: 0 !important;
  margin-right: 1.3em;
}

i {
  font-size: 2em;
}

.navbar{
  background-color: #FFFEF4 !important;
}

.nav-link {
  font-family: 'subjectivity-Super';
  color: #FFFEF4;
  font-size: 4.3em;
  text-align: center;
}
.nav-link:hover{
  color:#5823EE;
}

.navbar-toggler:focus{
  box-shadow: 0 0 0 0;
}

#navbarNav {
  background-color: #9F9DF0;
}

/*Classes*/
/*Classes génériques*/
.bold {
  font-family: 'subjectivity-bold';
}

.super {
  font-family: 'subjectivity-Super';
}

.medium {
  font-family: 'subjectivity-medium'
}

.my-8 {
  margin: 5em auto;
}

/*Classes spécifiques*/
.mascotte-hero {
  background-color: #FFFEF4;
  border-radius: 100%;
  width: 80%;
  margin: auto;
}

.position {
  left: 0.6em;
  top: 0.8em;
  width: 93%;
}

.morphing {
  border-radius: 50%;
}

.nombre {
  font-family: 'subjectivity-Super';
  color: #5823EE;
  font-size: 8em;
}

/*ID*/
#lame1-hero {
  background-color: #5823EE;
}

#lame2-intro p {
  font-size: 1.2em;
}

#lame3-skills h3 {
  font-family: 'subjectivity-bold';
  font-size: 3em;
  color: #9F9DF0;
  width: 2500px;
}

#lame4-projets a {
  text-decoration: none;
}

#lame4-projets figure img {
  width: 80%;
}

#lame5-about h6 {
  font-size: 1.5em;
}

#lame5-about p {
  font-size: 1.2em;
  line-height: 110%;
}

#footer {
  background-color: #5823EE;
  height: 100vh;
}

#footer h3 {
  font-family: 'subjectivity-Super';
  color: #FFFEF4;
  font-size: 3.75em;
}

#footer img {
  background-color: #FFFEF4;
  border-radius: 50%;
}

/*Position soleils*/
#sun-intro {
  width: 60%;
  rotate: 20deg;
  margin-left: 10em;
}

#about-numb318 img {
  width: 50%;
  top: -0.6em;
  left: -5em;
  transform: scaleX(-1);
}

#about-numb57 img {
  width: 50%;
  top: -0.6em;
  right: -3.7em;
  transform: scaleX(-1);
}

#about-numb6 img {
  width: 60%;
  top: -1.6em;
  left: -5em;
}

#about-numb1 img {
  width: 60%;
  top: -1.6em;
  right: -5em;
}

/*Animations*/
/*Sun - hero*/
.rotation {
  -webkit-animation: rotation 5s linear infinite;
}

@-webkit-keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
  }
}

.button {
  -webkit-animation: button 5s linear infinite;
  width: 60%;
}

@-webkit-keyframes button {
  from {
    -webkit-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
  }
}

.scroll {
  -webkit-animation: scroll 15s linear infinite;
}

@-webkit-keyframes scroll {
  from {
    -webkit-transform: translateX(375px);
  }

  to {
    -webkit-transform: translateX(-2500px);
  }
}

.scroll-inverse {
  -webkit-animation: scroll-inverse 12s linear infinite;
}

@-webkit-keyframes scroll-inverse {
  from {
    -webkit-transform: translateX(-2500px);
  }

  to {
    -webkit-transform: translateX(375px);
  }
}



/*Media query*/
/*tablette*/
@media(min-width:768px) {
  h1, #lame1-hero h2 {
    font-size: 4em;
  }

  h2 {
    font-size: 4.5em;
  }

  /*Classes*/
  /*Classes spécifiques*/
  .mascotte-hero {
    border-radius: 100%;
    width: 40%;
  }

  .position {
    left: 1em;
    top: 1em;
    width: 90%;
  }

  .button {
    width: 25%;
  }

  .nombre {
    font-size: 10em;
  }

  /*ID*/
  #lame4-projets h2 {
    height: 40px;
    font-size: 7.5em;
    z-index: 999;
    position: sticky;
  }

  #lame4-projets figure figcaption {
    font-size: 2em;
  }

  #footer {
    background-color: #5823EE;
    height: auto;
  }

  /*Position soleils*/
  #sun-intro {
    width: 30%;
    margin-left: 35em;
  }

  #about-numb318 img {
    width: 30%;
  }

  #about-numb57 img {
    width: 30%;
  }

  #about-numb6 img {
    width: 30%;
  }

  #about-numb1 img {
    width: 30%;
  }

  /*Animations*/
  .scroll {
    -webkit-animation: scroll 15s linear infinite;
  }

  @-webkit-keyframes scroll {
    from {
      -webkit-transform: translateX(850px);
    }

    to {
      -webkit-transform: translateX(-2500px);
    }
  }

  .scroll-inverse {
    -webkit-animation: scroll-inverse 12s linear infinite;
  }

  @-webkit-keyframes scroll-inverse {
    from {
      -webkit-transform: translateX(-2500px);
    }

    to {
      -webkit-transform: translateX(850px);
    }
  }
}

/*petit desktop*/
@media(min-width:992px){
  h1, #lame1-hero h2 {
    font-size: 2.5em;
  }

  h2 {
    font-size: 6.5em;
  }

  figcaption {
    font-family: 'subjectivity-Super';
    color: #202123;
    font-size: 3.5em;
    line-height: 0.8em;
    transition: 0.5s;
  }
  /*Classes*/
  .mx-lg-8 {
    margin-left: 8em !important;
    margin-right: 8em !important;
  }
  .mt-lg-8{
    margin-top: 1em !important;
  }
  /*Classes spécifiques*/
  .mascotte-hero{
    border-radius: 100%;
    width: 30%;
    margin: 0;
  }

  .button {
    width: 20%;
  }

  .nombre {
    font-size: 12em;
  }

  .morphing {
    border-radius: 10px;
    transition: 0.5s;
  }
  .bnt-yellowbg{
    content: '';
  }

  /*ID*/

  #lame5-about h6 {
    font-size: 1.3em;
  }

  #lame5-about p {
    font-size: 1em;
    line-height: 110%;
  }

  #footer {
    background-color: #5823EE;
    height: 40vh;
  }

  #footer h3 {
    font-size: 3em;
  }

  #footer img.button{
    width: 50%;
  }

  /*Position soleils*/
  #sun-intro {
    width: 20%;
    margin-left: 45em;
  }
  #about-numb318 img {
    width: 20%;
    top: 0.4em;
    left: -5em;
  }

  #about-numb57 img {
    width: 20%;
    top: 0.4em;
    right: 0;
    left: 18em;
  }

  #about-numb6 img {
    width: 20%;
    top: 1em;
    left: -2em;
  }

  #about-numb1 img {
    width: 20%;
    top: 1em;
    right: 0;
    left: 10em;
  }

  /*Animations*/
  .scroll {
    -webkit-animation: scroll 15s linear infinite;
  }

  @-webkit-keyframes scroll {
    from {
      -webkit-transform: translateX(995px);
    }

    to {
      -webkit-transform: translateX(-2500px);
    }
  }

  .scroll-inverse {
    -webkit-animation: scroll-inverse 12s linear infinite;
  }

  @-webkit-keyframes scroll-inverse {
    from {
      -webkit-transform: translateX(-2500px);
    }

    to {
      -webkit-transform: translateX(995px);
    }
  }

 .morphing:hover{
    border-radius: 50%;
    transition: 0.5s;
  }
}



/*grand desktop*/
@media(min-width:1200px) {
  body{
    overflow-x: hidden;
  }
  h1, #lame1-hero h2 {
    font-size: 4em;
  }

  h2 {
    font-size: 8.5em;
  }

  h5 {
    font-size: 1.5em;
  }

  /*Navbar*/
nav button {
    margin-right: 5em;
  }

  i {
    font-size: 2.5em;
  }

  /*Classes*/
  /*Classes génériques*/
  .mx-xl-8{
    padding-left: 12em;
    padding-right: 12em;
  }
  .px-xl-8{
    padding-left: 5em;
    padding-right: 5em;
  }
  /*Classes spécifiques*/
  .mascotte-hero {
    border-radius: 100%;
    width: 20%;
    height: 45%;
  }

  .button {
    width: 15%;
  }

  /*ID*/
  #lame2-intro p {
    font-size: 1.4em;
  }

  #footer {
    height: auto;
    padding-bottom: 5em;
    padding-top: 5em;
  }

  #footer img.button{
    width: 30%;
  }
  /*Position soleils*/
  #sun-intro{
    margin-left: 60em;
  }

  #about-numb318 img,#about-numb57 img,#about-numb6 img,#about-numb1 img {
    width: 18%;
  }

  #about-numb6 img {
    top: 0em;
    left: 0em;
  }

  #about-numb1 img {
    top: 0em;
    right: 0;
    left: 18em;
  }

  /*Animations*/
  .scroll {
    -webkit-animation: scroll 15s linear infinite;
  }

  @-webkit-keyframes scroll {
    from {
      -webkit-transform: translateX(1200px);
    }

    to {
      -webkit-transform: translateX(-2500px);
    }
  }

  .scroll-inverse {
    -webkit-animation: scroll-inverse 12s linear infinite;
  }

  @-webkit-keyframes scroll-inverse {
    from {
      -webkit-transform: translateX(-2500px);
    }

    to {
      -webkit-transform: translateX(1200px);
    }
  }
}
