* {
  box-sizing: border-box;
}

body {
  font-family: "stolzl", sans-serif;
  background-color: #222222;
  scroll-behavior: smooth;
}

body {
  --sb-track-color: #051b35;
  --sb-thumb-color: #241c5d;
  --sb-size: 16px;
}

body::-webkit-scrollbar {
  width: var(--sb-size);
}

body::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 5px;
}

body::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 5px;
  border: 2px solid #fafafa27;
}

@supports not selector(::-webkit-scrollbar) {
  body {
    scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
  }
}
.nameheader,
.cta_header {
  color: #fafafa;
  margin-top: 2rem;
  font-family: "stolzl", sans-serif;
  font-weight: 700;
  display: flex;
  flex-direction: row;
  margin-bottom: 4rem;
}

ul {
  display: flex;
  flex-direction: row;
}

#un_retour_home a {
  color: #fafafa;
  font-size: 150%;
  margin-top: 2.7rem;
  font-family: "stolzl", sans-serif;
  font-weight: 700;
  display: flex;
  flex-direction: row;
  margin-bottom: 3rem;
  margin-left: 1rem;
  text-decoration: none;
  transition: 1s;
}

#un_retour_home:hover a {
  font-size: 150%;
}

#un_retour_home:hover .underline {
  width: 170px;
  transform: translate(3%);
}

#retour_home a {
  color: #fafafa;
  font-size: 150%;
  margin-top: 2.7rem;
  font-family: "stolzl", sans-serif;
  font-weight: 700;
  display: flex;
  justify-content: center;
  flex-direction: row;
  margin-bottom: 3rem;
  margin-left: 1rem;
  text-decoration: none;
  transition: 1s;
}

#retour_home:hover a {
  font-size: 150%;
}

#retour_home:hover .underline {
  width: 170px;
  transform: translate(3%);
}
.underline {
  height: 2px;
  width: 8px;
  border-radius: 2rem;
  background-color: #fafafa;
  margin: 0 auto;
  margin-top: -3rem;
  transition: 1s;
  display: flex;
  flex-direction: row;
}

li {
  text-decoration: none;
  list-style: none;
}

#contact,
#work {
  text-decoration: none;
  margin: 4rem;
  color: #fafafa;
  transition: 1s;
}

#contact:hover {
  font-size: 120%;
}

#work:hover {
  font-size: 120%;
}

/*   #work: filter: blur(.5rem); */

.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.vide {
  width: 15%;
}

.pagework,
.pagecontact {
  color: #fafafa;
  text-align: start;
  margin-left: 2rem;
  font-family: "stolzl", sans-serif;
  font-weight: 300;
}

/* Grid */
.grid {
  display: grid;
  grid-template-rows: 400px 200px 200px;
  grid-template-columns: 1fr 1fr 3fr 1fr 1fr 1fr 3fr;
  gap: 1rem;
}

.bloc1 img:onclick {
  transform: scale(2);
  transform: translate(200%, 50%);
}

button {
  padding: 0.1em 0.25em;
  width: 13em;
  height: 4.2em;
  background-color: #212121;
  border: 0.08em solid #fff;
  border-radius: 0.3em;
  font-size: 12px;
  cursor: pointer;
  margin-left: 2rem;
}

button {
  padding: 0.1em 0.25em;
  width: 13em;
  height: 4.2em;
  background-color: #212121;
  border: 0.08em solid #fff;
  border-radius: 0.3em;
  font-size: 12px;
  cursor: pointer;
  margin-left: 2rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
button a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  bottom: 0.4em;
  width: 8.25em;
  height: 2.5em;
  background-color: #212121;
  border-radius: 0.2em;
  font-size: 1.5em;
  color: #fff;
  border: 0.08em solid #fff;
  box-shadow: 0 0.4em 0.1em 0.019em #fff;
  margin-bottom: 2rem;
}

button a:hover {
  transition: all 1s;
  transform: translate(0, 0.4em);
  box-shadow: 0 0 0 0 #fff;
}

button a:not(hover) {
  transition: all 1s;
}

#dl-cv {
  color: #fafafa;
  text-align: center;
  font-size: 0.8em;
  padding-top: 2rem;
  margin: 1rem;
}

.grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.8rem;
  transition: 1s;
}

.bloc1 {
  grid-column: 1/3;
  grid-row: 1/2;
  transition: 1s;
}

.bloc2 {
  grid-column: 3/5;
  grid-row: 1/2;
}

.bloc3 {
  grid-column: 5/7;
  grid-row: 1/2;
}

.bloc4 {
  grid-column: 7/8;
  grid-row: 1/3;
}

.bloc5 {
  grid-column: 1/2;
  grid-row: 2/4;
}

.bloc6 {
  grid-column: 2/4;
  grid-row: 2/4;
}

.bloc7 {
  grid-column: 4/6;
  grid-row: 2/4;
}

.bloc8 {
  grid-column: 6/7;
  grid-row: 2/3;
}

.bloc9 {
  grid-column: 6/8;
  grid-row: 3/4;
}

.texte_about {
  color: #fafafa;
  text-align: center;
  font-weight: 500;
  padding: 10rem;
  line-height: 2rem;
}

.hi {
  font-size: 4rem;
  line-height: 5rem;
}

.titre_work {
  color: #fafafa;
  margin-top: 6rem;
  font-size: 0.9rem;
  text-align: center;
}

.texte_about span {
  font-size: 1.5rem;
  line-height: 2rem;
}

.about {
  color: #fafafa;
  text-align: left;
  font-weight: 500;
  margin: 1rem;
  margin-top: 5rem;
}

.hello {
  color: #fafafa;
  text-align: left;
  font-weight: 700;
  margin: 3rem;
  margin-top: 5rem;
  font-size: 250%;
}

.texte_contact {
  color: #fafafa;
  text-align: left;
  font-weight: 500;
  margin: 6rem;
  margin-left: 8rem;
  max-width: 50rem;
  font-size: 120%;
  text-align: justify;
  z-index: 1;
}

#icon_mail a {
  color: #fafafa;
  text-align: left;
  font-weight: 500;
  margin-left: 8rem;
  font-size: 120%;
  text-decoration: none;
}

#icon_tel a {
  color: #fafafa;
  text-align: left;
  font-weight: 500;
  margin-left: 8rem;
  font-size: 120%;
  text-decoration: none;
}

/* #pp img {
  object-fit: contain;
  border-radius: 0.5rem;
  position: absolute;
  right: 150px;
  top: 250px;
} */

article {
  font-size: 0.8em;
  text-align: justify;
  margin-left: 2rem;
  margin-right: 2rem;
}

.qualifications h6 {
  display: flex;
  font-size: 0.8em;
  font-weight: 400;
  margin: 2rem;
}
.skills1 p {
  margin-left: 1rem;
}
.skills2 p {
  margin-left: 1rem;
}
.skills3 p {
  margin-left: 1rem;
}
.skills h6 {
  font-weight: 300;
}

.skills_section .titre_proj {
  display: flex;
  margin: 1rem;
  align-items: center;
}

.skills_section .titre_graph {
  display: flex;
  margin: 1rem;
  align-items: center;
}

.skills_section .titre_logiciels {
  display: flex;
  margin: 1rem;
  align-items: center;
}

.bold {
  font-weight: bold;
}

#p_bio {
  padding: 2rem;
  font-size: 0.88rem;
}

.my_interests h3 {
  padding-right: 2rem;
  padding-top: 1rem;
  padding-left: 2rem;
}

.my_interests h4 {
  font-weight: 500;
}

.page_about {
  color: #fafafa;
  margin: 5rem;
  text-align: justify;
}

.page_about h5 {
  font-weight: 400;
  font-size: 1em;
  padding: 1rem;
}

.page_about h3 {
  font-size: 1rem;
  padding-top: 1rem;
}

/* footer */

footer h3 {
  color: #222222;
  text-align: center;
  padding-top: 2rem;
  font-family: "stolzl", sans-serif;
  font-weight: 700;
}

footer h5 {
  text-align: center;
  margin: 3rem;
  margin-bottom: -2rem;
}
footer p {
  color: #222222;
  text-align: center;
  transform: translateY(-7vh);
  margin: 1rem;
  /* padding: 50px;
  padding-bottom: 0%; */
  font-family: "stolzl", sans-serif;
  font-weight: 300;
}
.rect_footer {
  height: auto;
  width: auto;
  background-color: #fafafa;
}

.mention_legales h5 {
  font-size: 0.7em;
  padding-bottom: 2rem;
}

.mention_legales a {
  text-decoration: none;
  color: #222222;
}

.ml h1 {
  color: #fafafa;
  margin: 2rem;
}

.ml p {
  color: #fafafa;
  font-family: "stolzl", sans-serif;
  font-weight: 300;
  text-align: justify;
  margin-right: 10rem;
  margin-left: 10rem;
}

.ml span {
  font-weight: 700;
}

/* work  */

.grid2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 300px;
  gap: 1rem;
  margin: 7rem;
  justify-items: stretch;
  justify-content: center;
}

.w_bloc1 {
  background-color: #38307800;
  grid-column: 1/3;
  grid-row: 1/3;
}

.w_bloc2 {
  background-color: #222222;
  grid-column: 3/6;
  grid-row: 2/3;
  border-radius: 0.6rem;
}

.w_bloc3 {
  background-color: #fafafa;
  grid-column: 3/6;
  grid-row: 1/2;
  border-radius: 0.6rem;
}

.grid2 img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}

.w_bloc4 {
  background-color: #fafafa;
  grid-column: 1/2;
  grid-row: 3/4;
  border-radius: 0.6rem;
}

.w_bloc5 {
  background-color: rgba(255, 228, 196, 0);
  grid-column: 2/5;
  grid-row: 3/5;
  border-radius: 0.7rem;
}

.w_bloc6 {
  background-color: #222222;
  grid-column: 1/2;
  grid-row: 4/5;
  border-radius: 0.6rem;
}

.w_bloc7 {
  background-color: #43a17500;
  grid-column: 1/4;
  grid-row: 5/7;
  border-radius: 0.6rem;
}

.w_bloc8 {
  background-color: #fafafa;
  grid-column: 4/5;
  grid-row: 5/6;
  border-radius: 0.6rem;
}

.w_bloc9 {
  background-color: #222222;
  grid-column: 4/5;
  grid-row: 6/7;
  border-radius: 0.6rem;
}

.w_bloc10 {
  background-color: #9f626200;
  grid-column: 1/3;
  grid-row: 7/9;
  border-radius: 0.6rem;
}

.w_bloc11 {
  background-color: #222222;
  grid-column: 3/5;
  grid-row: 8/9;
  border-radius: 0.6rem;
}

.w_bloc12 {
  background-color: #fafafa;
  grid-column: 3/5;
  grid-row: 7/8;
  border-radius: 0.6rem;
}

.w_bloc13 {
  background-color: #4c764200;
  grid-column: 3/5;
  grid-row: 9/11;
  border-radius: 0.7rem;
}

.w_bloc14 {
  background-color: #ecdb8f00;
  grid-column: 1/3;
  grid-row: 11/13;
  border-radius: 0.6rem;
}

.w_bloc15 {
  background-color: #fafafa;
  grid-column: 1/3;
  grid-row: 9/10;
  border-radius: 0.6rem;
}

.w_bloc16 {
  background-color: #fafafa;
  grid-column: 3/5;
  grid-row: 11/12;
  border-radius: 0.6rem;
}

.w_bloc17 {
  background-color: #222222;
  grid-column: 3/5;
  grid-row: 12/13;
  border-radius: 0.6rem;
}

.w_bloc18 {
  background-color: #222222;
  grid-column: 1/3;
  grid-row: 10/11;
  border-radius: 0.6rem;
}

.w_bloc19s {
  background-color: #222222;
  grid-column: 1/3;
  grid-row: 10/11;
  border-radius: 0.6rem;
}

/* Stylisation des blocs */

.w_bloc3 h2 {
  color: #222222;
  text-align: center;
  position: relative;
  top: 40%;
}

.w_bloc2 {
  color: #fafafa;
  margin: 1rem;
}

w.bloc2 h4 {
  font-weight: 600;
}

.w_bloc4 h2 {
  color: #222222;
  text-align: center;
  position: relative;
  top: 40%;
}
.w_bloc6 {
  color: #fafafa;
  margin: 1rem;
}

.w_bloc6 h4 {
  font-weight: 600;
}

.w_bloc8 h2 {
  color: #222222;
  text-align: center;
  position: relative;
  top: 40%;
}

.w_bloc9 {
  color: #fafafa;
  margin: 1rem;
}

.w_bloc12 h2 {
  color: #222222;
  text-align: center;
  position: relative;
  top: 40%;
}

.w_bloc15 h2 {
  color: #222222;
  text-align: center;
  position: relative;
  top: 40%;
}

.w_bloc16 h2 {
  color: #222222;
  text-align: center;
  position: relative;
  top: 40%;
}

.w_bloc11 {
  color: #fafafa;
  margin: 1rem;
}

.w_bloc18 {
  color: #fafafa;
  margin: 1rem;
}

.w_bloc17 {
  color: #fafafa;
  margin: 1rem;
}

.pp img {
  object-fit: cover;
  height: 50vh;
  width: 50vh;
  transform: translate(60rem, 12rem);
  border-radius: 2rem;
}
.pp {
  width: 0;
  height: 0;
}

/* Responsive de l'index*/

/* 430 */
@media screen and (max-width: 430px) {
  #contact,
  #work {
    margin: 0.5rem;
    font-size: 0.7rem;
  }
  .page_about h5 {
    font-size: 0.5rem;
  }

  .texte_about span {
    font-size: 1.4rem;
    margin: 0 auto;
  }

  #un_retour_home a {
    font-size: 0.6rem;
  }
  .page_about {
    margin: 2rem;
  }
  .page_about p {
    font-size: 0.3rem;
  }

  .mention_legales {
    margin: 4rem;
    font-size: 0.6rem;
    text-align: justify;
  }

  .grid {
    display: flex;
    flex-wrap: wrap;
    width: 70%;
    margin: 0 auto;
  }
  .grid img {
    transform: translate(5%);
  }

  .rect_footer {
    text-align: center;
  }
}
/* 750px */

@media screen and (max-width: 750px) {
  #un_retour_home a {
    font-size: 1.5rem;
  }
}
/* 493 */
@media screen and (max-width: 493px) {
  #un_retour_home a {
    font-size: 0.5rem;
  }
}
/* 570 */
@media screen and (max-width: 570px) {
  #contact,
  #work {
    margin: 1rem;
  }

  .page_about h5 {
    font-size: 0.8em;
  }

  #un_retour_home a {
    font-size: 1.1rem;
  }

  .page_about p {
    font-size: 0.7rem;
  }
}

/* 1080 */

@media screen and (max-width: 1080px) {
  #contact,
  #work {
    margin: 2rem;
  }
}
/* FIN Responsive de l'index*/

/* Début responsive work */

@media screen and (max-width: 360px) {
  .grid2 p {
    margin: 1rem;
    font-size: 0.5rem;
    margin-top: 10vh;
  }
}

@media screen and (max-width: 1080px) {
  .grid2 p {
    margin: 0.9rem;
    font-size: 1rem;
  }
}

@media screen and (max-width: 1270px) {
  .grid2 p {
    margin: 0.6rem;
    font-size: 0.7rem;
  }
}

@media screen and (max-width: 940px) {
  .grid2 p {
    margin: 0.4rem;
    font-size: 0.6rem;
  }
}

@media screen and (max-width: 780px) {
  .grid2 p {
    margin: 0.4rem;
    font-size: 0.55rem;
  }
}

@media screen and (max-width: 700px) {
  .grid2 h1 {
    margin: 2rem;
  }
  .grid2 h2 {
    padding-left: 1rem;
    padding-right: 1rem;
    margin: 0 auto;
    margin-bottom: 3rem;
  }
  .grid2 {
    display: flex;
    flex-wrap: wrap;
  }

  .grid2 h2 {
    font-size: 0.8rem;
  }
  .grid2 p {
    margin-left: -6rem;
    margin-right: -6rem;
    font-size: 0.8rem;
  }
  .grid2 img {
    transform: scale(105%);
  }
}

@media screen and (max-width: 350px) {
  .grid2 img {
    transform: scale(200%);
    z-index: 0;
    margin-top: 5vh;
  }
  .grid2 h2 {
    z-index: 1;
    font-size: 0.6rem;
  }
}

/* FIN responsive work */

/* Début responsive contact */

@media screen and (max-width: 400px) {
  .pp img {
    width: 15vh;
    height: 15vh;
    transform: translate(140%, 15%);
  }
}
@media screen and (max-width: 500px) {
  .contact_complet {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .hello {
    font-size: 0.9rem;
    margin-bottom: -3rem;
  }
  .texte_contact {
    margin: 3rem;
    font-size: 1rem;
  }
  .hello {
    font-size: 0.9rem;
    margin-bottom: -3rem;
  }
  #icon_mail,
  #icon_tel {
    font-size: 0.5rem;
    translate: -15%;
  }
  #dl-cv {
    font-size: 0.8rem;
  }
  button {
    font-size: 0.5rem;
  }
}
@media screen and (min-width: 400px) {
  .pp img {
    width: 15vh;
    height: 15vh;
    transform: translate(150%, 1%);
  }
}
@media screen and (min-width: 500px) {
  .contact_complet {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .pp img {
    width: 18vh;
    height: 18vh;
    transform: translate(160%, 1%);
  }

  .hello {
    font-size: 0.9rem;
    margin-bottom: -3rem;
  }
  .texte_contact {
    margin: 3rem;
    font-size: 1rem;
  }
  .hello {
    font-size: 0.9rem;
    margin-bottom: -3rem;
  }
  #icon_mail,
  #icon_tel {
    font-size: 0.6rem;
    translate: -15%;
  }
  #dl-cv {
    font-size: 0.8rem;
  }
  button {
    font-size: 0.5rem;
  }
}
@media screen and (min-width: 600px) {
  .pp img {
    width: 18vh;
    height: 18vh;
    transform: translate(220%, 1%);
  }
}
@media screen and (min-width: 700px) {
  .contact_complet {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }
  #icon_mail,
  #icon_tel {
    font-size: 0.9rem;
    translate: 0%;
  }
  #dl-cv {
    font-size: 1rem;
  }
  button {
    font-size: 0.8rem;
  }
  .pp img {
    width: 20vh;
    height: 20vh;
    transform: translate(350%, 1%);
  }
}
@media screen and (min-width: 800px) {
  .pp img {
    width: 20vh;
    height: 20vh;
    transform: translate(400%, 1%);
  }
}

@media screen and (min-width: 1000px) {
  .contact_complet {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .hello {
    font-size: 1.7rem;
  }

  .contact_complet p {
    font-size: 1.2rem;
  }

  #icon_mail,
  #icon_tel {
    font-size: 0.9rem;
    translate: -5%;
  }
  #dl-cv {
    font-size: 1rem;
  }
  button {
    font-size: 0.8rem;
  }
  .pp img {
    width: 20vh;
    height: 20vh;
    transform: translate(310%, 1%);
  }
}
@media screen and (min-width: 1100px) {
  .pp img {
    width: 30vh;
    height: 30vh;
    transform: translate(400%, 80%);
  }
}
@media screen and (min-width: 1300px) {
  .pp img {
    width: 45vh;
    height: 45vh;
    transform: translate(250%, 40%);
  }
}

@media screen and (min-width: 1440px) {
  .pp img {
    width: 45vh;
    height: 45vh;
    transform: translate(260%, 40%);
  }
}

@media screen and (min-width: 1400px) {
  .pp img {
    width: 35vh;
    height: 35vh;
    transform: translate(320%, 60%);
  }
}

@media screen and (min-width: 1500px) {
  .contact_complet {
    font-size: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }
  .hello {
    margin-bottom: -3rem;
  }
  #pp img {
    position: relative;
    margin-top: -8rem;
  }
  #dl-cv {
    font-size: 1.6rem;
    padding: 1rem;
  }
  button {
    font-size: 0.9rem;
  }
  .pp img {
    width: 20vh;
    height: 20vh;
    transform: translate(350%, 1%);
  }
}
@media screen and (min-width: 2500px) {
  .pp img {
    width: 25vh;
    height: 25vh;
    transform: translate(160%, 10%);
  }
  #dl-cv {
    font-size: 1.5rem;
    padding: 2rem;
    margin-top: 4rem;
    transform: translate(-30%, 10%);
  }
  button {
    font-size: 0.9rem;
    margin-left: 27rem;
  }
}
