/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */
@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Mukta:wght@200;300;400;500;600;700;800&display=swap");
html, body, p, ol, ul, li, dl, dt, dd, blockquote, figure, fieldset, legend, textarea, pre, iframe, hr, h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
  font-weight: normal;
}

ul {
  list-style: none;
}

button, input, select {
  margin: 0;
}

html {
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

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

iframe {
  border: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td, th {
  padding: 0;
}

/* Animations */
@keyframes slidedown {
  0% {
    transform: translateY(-650%);
  }
  100% {
    transform: translateY(0%);
  }
}
@keyframes Appear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
body {
  background-color: black;
  color: white;
  scroll-behavior: smooth;
}

/* Background brumeux */
.grain_overlay {
  pointer-events: none;
  position: fixed;
  left: 0%;
  top: 0%;
  right: 0%;
  bottom: 0%;
  z-index: 10000;
  display: flex;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
  border-radius: 0px;
  background-image: url(/assets/img/noise.gif);
  background-position: 0px 0px;
  background-size: 250px;
  opacity: 0.06;
}

/* Background brumeux Fin */
h1, h2 {
  font-family: "Lora";
  font-weight: 600;
  font-size: 36px;
  padding: 0 5%;
  margin-top: 50px;
}

h3 {
  font-family: "Lora";
  font-style: normal;
  font-weight: lighter;
  font-size: 24px;
  padding: 0 5%;
}

hr {
  background-color: white;
  width: 96%;
  margin-left: 2%;
}

p, #header {
  font-family: "Mukta";
}

a {
  color: white;
  text-decoration: none;
}

article {
  margin-top: 10rem;
  margin-bottom: 10rem;
}

/* Scroll to top */
.scroll_top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 20px;
  height: auto;
  cursor: pointer;
  transform: scale(1.5);
  transition: 0.4s;
}
.scroll_top:hover {
  transform: scale(2.2) rotate(15deg);
}

/* Scroll to top Fin */
#header {
  margin-bottom: 10px;
}
#header h1, #header h2 {
  text-align: center;
  padding: 0;
  margin: 0;
}
#header h2 {
  font-weight: 400;
  padding-top: 10px;
}
#header .head {
  padding-top: 10px;
  margin-bottom: 50px;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 9999;
}
#header .head span {
  margin-left: 20px;
}
#header .head #menu.open { 
  display: block !important;
  z-index: 10002;
}
#header .header_techno {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: "Mukta";
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  padding: 0 2%;
}
#header .header_techno .reseaux_soc {
  display: flex;
  justify-content: space-around;
  font-size: 28px;
}
#header .header_techno .reseaux_soc a {
  padding: 0 10px;
  transition: 0.4s;
}
#header .header_techno .reseaux_soc a:hover {
  transform: rotate(10deg);
}
#header .body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 85vh;
}
#header .body h1 {
  animation: slidedown 1.5s;
}
#header .body h2 {
  opacity: 0;
  animation: Appear 1.5s forwards;
  animation-delay: 1.5s;
}

#menu {
  width: 100%;
  height: 100%;
  position: fixed;
  background: linear-gradient(black 35%, transparent 65%);
  padding-top: 50px;
  margin-top: -1px;
  display: none;
  z-index: 1;
}
#menu a {
  font-weight: 200;
  font-size: 48px;
}
#menu ul {
  padding-left: 20px;
}

/* Menu Burger */
#menu_burger {
  appearance: none;
  position: absolute;
}
#menu_burger:checked ~ .menu_burger_style .line:nth-child(1) {
  left: 0;
  transform: rotate(45deg) translateX(7px);
  transition-delay: 0.5s;
}
#menu_burger:checked ~ .menu_burger_style .line:nth-child(2) {
  transform: scaleX(0);
  transition-delay: 0s;
}
#menu_burger:checked ~ .menu_burger_style .line:nth-child(3) {
  left: 0;
  transform: rotate(-45deg) translateX(7px);
  transition-delay: 0.5s;
}

.menu_burger_style {
  position: absolute;
  top: 13px;
  right: 30px;
  display: block;
  width: 15px;
  height: 25px;
  outline: none;
  cursor: pointer;
}
.menu_burger_style .line {
  position: absolute;
  height: 1px;
  width: 25px;
  background-color: white;
  overflow: hidden;
  transition: 0.5s;
}
.menu_burger_style .line:nth-child(1) {
  top: 20%;
  left: -4px;
  transition-delay: 0s;
}
.menu_burger_style .line:nth-child(2) {
  top: 40%;
  left: 5px;
  transition-delay: 0.5s;
}
.menu_burger_style .line:nth-child(3) {
  top: 60%;
  transition-delay: 0s;
}

/* Fin du Menu Burger */
#profile h1 {
  margin-top: 0;
}
#profile img {
  width: 130px;
  height: 130px;
  margin-bottom: 10px;
}
#profile div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 0 20px;
  padding-top: 20px;
}
#profile p {
  font-size: 12px;
  font-weight: normal;
  margin-left: 10px;
}
#profile .detail_profile {
  flex-direction: column;
}

#experience {
  margin-bottom: 30px;
}
#experience h2 {
  font-size: 30px;
  text-align: right;
}
#experience h3 span {
  display: block;
}
#experience p {
  font-family: "Mukta";
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  padding-top: 20px;
}
#experience .year {
  font-family: "Mukta";
  font-style: normal;
  font-weight: 300;
  font-size: 13px;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
#experience .year::before {
  content: "";
  width: 100px;
  height: 1px;
  background-color: white;
  position: absolute;
  z-index: 0;
}
#experience .year::after {
  content: "";
  width: 1px;
  height: 100px;
  background-color: white;
  position: absolute;
  z-index: 0;
}
#experience .article_right h3 {
  text-align: right;
}
#experience .article_right .year {
  padding-left: 30px;
  margin-left: 3%;
  margin-top: 30px;
}
#experience .article_right .year::before {
  top: -10px;
  left: 5px;
}
#experience .article_right .year::after {
  top: -25px;
  left: 20px;
}
#experience .article_right .img_right {
  width: 269px;
  margin-top: 20px;
  margin-right: 20px;
  margin-left: auto;
}
#experience .article_right p {
  text-align: right;
  margin-right: 20px;
}
#experience .article_left {
  margin-top: 50px;
}
#experience .article_left h3 {
  text-align: left;
}
#experience .article_left .year {
  text-align: right;
  padding-right: 30px;
  margin-right: 3%;
  margin-top: 30px;
}
#experience .article_left .year::before {
  top: -10px;
  right: 5px;
}
#experience .article_left .year::after {
  top: -25px;
  right: 20px;
}
#experience .article_left .img_left {
  width: 268px;
  margin-top: 20px;
  margin-left: 20px;
}
#experience .article_left p {
  text-align: left;
  margin-left: 20px;
}
#experience .detail_right, #experience .detail_left {
  display: flex;
  flex-direction: column;
}

#wrapper_techno{
  display: grid;
  gap: 20px;
  grid-auto-rows: auto;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  width: clamp(320px, 80vw, 756px);
  margin: 50px auto;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  font-size: 30px;
  padding: 5em 0;
}
#wrapper_techno .cube{
    position: relative;
  width: 150px; height: 150px;
  border: 1px solid white;
  display: flex; align-items: center; justify-content: center;
  font-family: "Lora"; font-weight: 400;
  --perc: 0;
  background-image: linear-gradient(white, white), linear-gradient(black, black);
  background-repeat: no-repeat, no-repeat;
  background-position: left bottom, left bottom;
  background-size: 0% 5px, 100% 2px;
  transition: background-size .35s ease, padding-top .2s ease;
}
#wrapper_techno .cube::before{
  content: attr(data-perc) "%";
  position: absolute; top: 100px;
  font-size: 15px; text-align: center;
  opacity: 0; transform: translateY(0);
  transition: transform .35s ease, opacity .35s ease;
}
#wrapper_techno .cube:hover{
  padding-top: 4px;
  background-size: calc(var(--perc) * 1%) 5px, 100% 2px;
}
#wrapper_techno .cube:hover::before{
  transform: translateY(-8%);
  opacity: 1;
}
#diplome {
  margin-top: 8em;
  margin-bottom: 8em;
}
#diplome h2 {
  font-size: 30px;
}
#diplome .diplome_list {
  margin: 20px 5%;
  font-family: "Lora";
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  text-align: center;
}
#diplome .diplome_list div {
  border: 1px solid white;
  height: auto;
  margin: 5px 0;
  padding: 5px;
}
#diplome .diplome_list div:hover {
  background-color: white;
  color: black;
  border: 1px solid black;
  transition: 0.6s;
}
.img_follow{
  position: fixed;
  left: 0; top: 0;
  pointer-events: none;
  background-image: var(--bg, none);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  will-change: left, top, width, height;
  z-index: 9999;
}

#footer h2 {
  font-size: 36px;
  text-align: right;
}
#footer .footer_mail {
  font-family: "Lora";
  font-style: italic;
  font-weight: 500;
  font-size: 24px;
  margin: 20px 10px;
  text-align: right;
}
#footer p {
  font-family: "Mukta";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  text-align: center;
  margin: 20px 0 10px;
}

/* Responsive */
@media screen and (min-width: 420px) {
  #profile .detail_profile {
    flex-direction: row;
  }
}
@media screen and (min-width: 768px) {
  #profile {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
  }
  #profile img {
    width: 150px;
    height: 150px;
  }
  #profile p {
    font-size: 14px;
  }

  #experience h3 span {
    display: inline;
  }
  #experience .detail_right, #experience .detail_left {
    flex-direction: row;
    justify-content: space-around;
    width: 85%;
    margin: 100px 0;
    margin-left: auto;
    margin-right: auto;
  }
  #experience .article_right .detail_right {
    flex-direction: row-reverse;
  }
  #experience .article_right .detail_right .img_right {
    width: 1000px;
  }
  #experience .article_left .detail_left .img_left {
    width: 600px;
  }
  #wrapper_techno { 
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: 40px;
    width: 530px;
  }
  #footer .footer_mail {
    text-align: center;
    margin: 50px 0 70px;
  }
}
@media screen and (min-width: 1024px) {
  #header .head {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    top: 0;
    width: 100%;
  }
  #header .head span {
    font-size: 32px;
    display: block;
  }
  #header .head input, #header .head label {
    display: none;
  }
  #header .head #menu {
    position: relative;
    display: block !important;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
  }
  #header .head #menu a {
    font-style: normal;
    font-weight: 275;
    font-size: 32px;
    padding: 0 15px;
    transition: 0.4s;
    opacity: 0.7;
  }
  #header .head #menu a:hover {
    font-weight: 500;
    opacity: 1;
  }
  #header .head #menu ul {
    display: flex;
    flex-direction: row;
    padding-left: 0;
    padding-right: 15px;
  }
  #header .head #menu hr {
    display: none;
  }
  #header .body h1, #header .body h2 {
    font-size: 48px;
  }
  #header .header_techno {
    font-size: 14px;
  }

  main h2 {
    font-size: 48px;
  }
  main #profile h2 {
    padding-left: 20px;
  }
  main #profile .detail_profile img {
    width: 200px;
    height: 200px;
  }
  main #profile .detail_profile p {
    font-size: 24px;
    padding-left: 20px;
  }
  main #experience h2 {
    font-size: 48px;
    margin-bottom: 20px;
  }
  main #experience h3 {
    font-size: 36px;
  }
  main #experience .article_right .detail_right p {
    font-size: 24px;
  }
  main #experience .year {
    font-size: 20px;
  }
  main #experience .article_right .img_right {
    width: 400px;
  }
  main #experience .article_left p {
    font-size: 24px;
  }
  main #experience .article_left .img_left {
    width: 400px;
  }
  main #diplome {
    position: relative;
  }
  main #diplome h2 {
    font-size: 48px;
  }
  main #diplome .diplome_list {
    width: 60%;
    margin-right: auto;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
  }
  main #diplome .diplome_list div {
    margin-bottom: 10px;
  }
}
@media screen and (min-width: 1101px) {
  main #profile .detail_profile img {
    width: 300px;
    height: 300px;
  }
  #wrapper_techno { 
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 40px;
    width: 756px;
  }
}