*{
    box-sizing: border-box;
    /* border: solid red 1px; */
    font-family: "Fira Code", monospace;
    color: white;
}
body{
    margin: 0;
    min-height: 100vh;
    width:100vw;
  }
  
main{
  background-color: rgba(40, 44, 51, 1);
  min-height: 100vh;
  padding: 0 7% 0 7%;
  position: relative;
}
.primary_button{
  border: rgba(199, 120, 221, 1) 2px solid;
  padding: 2%;
  background-color: transparent;
  /* width: 50%; */
}
.header{
  background-color: rgba(40, 44, 51, 1);
  overflow-x: hidden;
  height: 10vh;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  top: 0;
  z-index: 100;

}
.logo_name{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: 30%;
  gap: 5%;
}
.logo_name p{
  width: auto;
}
.logo_name img{
  width: 3rem;
}
.menu{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 5%;
  width: 50%;
}
.hero-section{
  display: flex;
  flex-direction: row;
  width: 100%;
  position: relative;
}
#logo{
  position: absolute;
  bottom: 5%;
}
#dots{
  position: absolute;
  left: 50%;
  bottom: 25%;
  width:180px;
}
.containeur_description{
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content:flex-start;
  padding-top: 5%;
}
.containeur_description p{
  width: 90%;
  color: rgb(187, 187, 187);
  line-height: 1.8;
}
.containeur_photo{
  width: 50%;
  height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.containeur_photo img{
  width: 63%;
  height: 100%;
}
.sous_photo{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: 63%;
  border: 1px solid grey;
  margin-top: 1%;
  padding: 0 2% 0 2%;
}
.sous_photo p{
  margin: 1%;
  color: rgb(187, 187, 187);
}
#rectangle{
  height: 1rem;
  width: 1rem;
  background-color: #c778dd ;
}
.containeur_projet{
  min-height: 50vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 50;
}
.rectangle{
position: absolute;
top: 50%;
left: 15%;
}

.rectangle2{
position: absolute;
top: 20%;
right: 15%;
}
.projet_header{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 5% 0 0% 0;
}
.projet_header>p{
  width: 20%;
  text-align: end;
  margin: 0;
}
.projet_header h2{
  margin: 0;
}
.projet_header img{
  width: 2rem;
}
.containeur_projet a{
width: 100%;
}
.containeur_projet a button{
  width: 100%;
}
.containeur_hr_titre{
  width: 80%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2%;
}
.containeur_hr_titre>div{
  width: 100%;
}
.containeur_hr_titre h2{
  /* width:; */
}
.liste_projets{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: 100%;
  /* gap: 2%; */
}
.projet{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: grey solid 1px;
  margin: 5% 0 5% 0;
  width: 100%;
}
#p{
  display: flex;
  flex-direction: column;
  gap: 0;
}
.projet #p p{
  border-top: grey solid 1px;
  border-bottom: grey solid 1px;
  padding: 1%;
  margin: 0;
}
.projet img{
  width: 100%;
}
.projet_description{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.projet_description h3{
  margin: 1rem 0.5rem;
}
.projet_description p{
  margin:0 0.5rem 0.5rem 0.5rem;
}
.icone{
  display: flex;
  flex-direction: row;
  align-items: center;
  /* padding: 1% 2% 1% 2%; */
  border: grey solid 1px;
  /* margin: 2% 0 2% 0; */
  gap: 1rem;

}
.icone h3{
  margin: 0;
}
.containeur_skills{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 1%;
  padding: 5% 0 2% 0;
  position:relative;
}
.containeur_skills h3{
  width: 100%;
  margin: 0;
  border-bottom: 1px solid grey;
  padding: 1% 2% 1% 2%;
}
.containeur_skills p{
  margin: 0;
}
.skill{
  display: flex;
  flex-direction: column;
  border: 1px solid grey;
  width:fit-content;
  height: fit-content;
  min-width: 50%;
  background-color: rgba(40, 44, 51, 1);
  z-index: 50;
}
.skill_p{
  padding: 1% 2% 1% 2%;
  display: flex;
  flex-direction: row;
}
.skill_p p{
  color: grey;
}
.centre{
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
}
.containeur_ligne{
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.ligne{
  height: 1px;
  width: 100%;
  background-color: grey;
}
.left_bar{
  position:fixed;
  top: 0;
  left: 2%;
  height: 25vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.left_bar i{
  font-size: 2rem;
  width: 2rem;
  height: 2rem;
  text-align: center;
}
.corde{
  height: 100%;
  width:3px;
  background-color: grey;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.footer{
min-height: 20vh;
border-top: 1px solid grey;
background-color: rgba(40, 44, 51, 1);
padding: 2% 5% 2% 5%;
width: 100%;
display:grid;
grid-template-columns: 1fr 1fr;
}
.footer .logo_name{
width: 100%;
height: fit-content;
}
.footer .logo_name p{
width: 100%;
margin: 0;
}
.media{
display: flex;
flex-direction: column;
align-items: center;
}
.copyright{
display: flex;
flex-direction: row;
justify-content: center;
width: 100%;
background-color: rgba(40, 44, 51, 1);
}
.copyright p{
color: #a5a5a5;
}
a{
text-decoration: none;
}
.containeur_left_footer{
display: flex;
flex-direction: column;
align-items: center;
gap: 10%;
}



.spinner {
  margin: 10%;
  width: 10rem;
  height: 10rem;
  border-radius: 90%;
  background: radial-gradient(farthest-side,#ffffff 94%,#0000) top/0.7rem 0.7rem no-repeat,
  conic-gradient(#00000000 30%,#ffffff);
  -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 0.7rem),#000 0);
  animation: spinner-c7wet2 2s infinite linear;
}

@keyframes spinner-c7wet2 {
  100% {
     transform: rotate(1turn);
  }
}
/* * {
border: 0;
box-sizing: border-box;
margin: 0;
padding: 0;
} */
:root {
--hue: 260;
--bg: hsl(var(--hue),90%,95%);
--fg: hsl(var(--hue),90%,5%);
--trans-dur: 0.3s;
/* font-size: calc(16px + (24 - 16) * (100vw - 320px) / (1280 - 320)); */
}
body {
/* background-color: var(--bg); */
color: var(--fg);
/* font: 1em/1.5 sans-serif; */
/* height: 100vh; */
/* display: grid; */
/* place-items: center; */
/* transition: background-color var(--trans-dur); */
}
/* main {
padding: 1.5em 0;
} */
.ip {
width: 2rem;
height: 2rem;
}
.ip__track {
stroke: hsl(var(--hue),90%,90%);
transition: stroke var(--trans-dur);
}
.ip__worm1,
.ip__worm2 {
animation: worm1 2s linear infinite;
}
.ip__worm2 {
animation-name: worm2;
}

/* Dark theme */
@media (prefers-color-scheme: dark) {
:root {
  --bg: hsl(var(--hue),90%,5%);
  --fg: hsl(var(--hue),90%,95%);
}
.ip__track {
  stroke: hsl(var(--hue),90%,15%);
}
}

/* Animation */
@keyframes worm1 {
from {
  stroke-dashoffset: 0;
}
50% {
  animation-timing-function: steps(1);
  stroke-dashoffset: -358;
}
50.01% {
  animation-timing-function: linear;
  stroke-dashoffset: 358;
}
to {
  stroke-dashoffset: 0;
}
}
@keyframes worm2 {
from {
  stroke-dashoffset: 358;
}
50% {
  stroke-dashoffset: 0;
}
to {
  stroke-dashoffset: -358;
}
}

#contact {
  width: 100%;
  height: 100%;
  padding: 2% 0 2% 0;
}

/* .section-header {
  border: 10px solid white;
  text-align: center;
  margin: 0 auto;
  padding: 40px 0;
  font: 300 60px 'Oswald', sans-serif;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 6px;
} */

.contact-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  gap: 5%;
  width: 100%;
}

/* Left contact page */
.form-horizontal {
  /* float: left; */
  width: 100%;
  font-family: "Fira Code", monospace;
  font-weight: 400;
}
/* MODIFIER JUSTE EN HAUT */

.form-control {
  padding: 1%;
  width: 100%;
  background-color: rgba(128, 128, 128, 0.315);
  letter-spacing: 1px;
  margin: 1%;
  border: 1px solid grey;
}
.btn_form{
  margin: 1%;
  width: 100%;
  background-color: rgba(128, 128, 128, 0.315);
  border: 1px solid grey;
}
.btn_form p{
  margin: 1%;
  font-size: 1rem;
  color: #a5a5a5;
}
.btn_form:hover{
  transition: 0.5s;
  background-color: black;
  cursor: pointer;
}
.btn_form p:hover{
  color: white;
}
/* Begin Right Contact Page */
.direct-contact-container {
  width: 100%;
}

/* Location, Phone, Email Section */
.contact-list {
  list-style-type: none;
  margin-left: -30px;
  padding-right: 20px;
}

.list-item {
  line-height: 4;
  color: grey;
}
.contact-text {
  font: 300 1rem 'Fira Code', monospace;
  /* letter-spacing: 1.9px; */
  color: grey;
}

.place {
  margin-left: 2rem;
  font: 300 1rem 'Fira Code', monospace;
  color: #c778dd;
}

.phone {
  margin-left: 2rem;
  color: grey;
  font: 300 1rem 'Fira Code', monospace;
}

.gmail {
  margin-left: 2rem;
  color: grey;
  font: 300 1rem 'Fira Code', monospace;
}

.contact-text a {
  font: 300 1rem 'Fira Code', monospace;
  color: grey;
  text-decoration: none;
  transition-duration: 0.2s;
  color:#c778dd;
}

.contact-text a:hover {
  font: 300 1rem 'Fira Code', monospace;
  color: rgb(255, 255, 255);
  text-decoration: none;
}


/* Social Media Icons */
.social-media-list {
  position: relative;
  font-size: 2rem;
  text-align: center;
  width: 100%;
  margin: 0;
  padding: 2% 0 2% 0;
}

.social-media-list li a {
  color: grey;
}

.social-media-list li {
  position: relative; 
  display: inline-block;
  height: 60px;
  width: 60px;
  /* margin: 10px 3px; */
  line-height: 60px;
  border-radius: 50%;
  color: #ffffff;
  background-color: rgb(27,27,27);
  cursor: pointer; 
  transition: all .2s ease-in-out;
}


.social-media-list li:hover {
  /* transition: 0.5s; */
  background-color: #fff; 
}
.social-media-list li:hover a {
  color: #000;
  transition: 1s;
  text-align: center;  
  margin: 0;
  padding: 0;
}
.social-media-list li:hover i{
  transition: 1s;
  color: rgb(0, 0, 0);
  text-align: center;
  margin: 0;
}

hr {
  border-color: rgba(255,255,255,.6);
}
.menu_burger{
  display: none;
}
.menu_burger_deroulant{
  display: none;
  flex-direction: column;
  align-items: center;
  position: absolute;
  background-color: rgba(40, 44, 51, 1);
  top: 100%;
  /* right: -10%; */
  right: -50%;
  padding: 0 5% 0 5%;
  z-index: 500;
  border-left: 1px solid grey;
  border-bottom: 1px solid grey;
  border-top: 1px solid grey;
  transition: 1s;
}
.deroulage{
  right: -0%;
}
.containeur_button{
  display: flex;
  flex-direction: row;
  gap: 10%;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 5% 0 5% 0;
}
.containeur_button button{
  width: 150px;
}
.header{
  padding-left: 7%;
  padding-right: 7%;
  position: relative;
  border-bottom: 1px solid grey;
  z-index: 500;
  overflow-x: clip;
}
.pasok{
  display: none;
}
.primary_button{
  font-weight: 700;
  cursor: pointer;
}
/* Begin Media Queries*/
@media screen and (max-width: 850px) {
  .menu_burger_deroulant{
    display: flex;
  }
  .pasok{
    display: flex;
  }
  .left_bar{
    display: none;
  }
  .menu{
    display: none;
  }
  .menu_burger{
    display: flex;
    flex: row;
    align-items: center;
  }
  .menu_burger i{
    font-size: 2rem;
  }
  .hero-section{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .hero-section>img{
    display: none;
  }
  .containeur_hr_titre{
    width: 90%;
  }
  .containeur_description {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-bottom: 10%;
  }
  .containeur_description p{
    width: 100%;
  }
  .primary_button{
    font-weight: 700;
  }
  .containeur_photo{
    width: 100%;
  }
  .containeur_photo img{
    width: 100%;
  }
  .sous_photo{
    width: 100%;
  }
  .liste_projets{
    grid-template-columns: 1fr 1fr;
  }
  .icone{
    margin-bottom: 5%;

  }
  #icone{
    margin-top: 15%;
  }
  .spinner{
    width: 100px;
    height: 100px;
  }
  .containeur_skills{
    grid-template-columns: 1fr 1fr;
    gap: 5%;
  }
  .ok{
    display: none;
  }
  .footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .containeur_left_footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 100%;
  }
  .logo_name{
    text-align: center;
  }
  .logo_name img{
    width: 2rem;
  }
  #span{
    padding: 0;
  }
  .media{
    display: none;
  }
  .containeur_ligne_vertical{
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
  .ligne_vertical{
    height: 100%;
    width: 1px;
    background-color: grey;
  }
  .about_me{
    margin-top: 20%;
  }
  .btn_form{
    margin: 5% 0 0 0;
  }
  .contact-wrapper {
    display: flex;
    flex-direction: column;
  }
  .direct-contact-container, .form-horizontal {
    margin: 0 auto;
  }  
  
  .direct-contact-container {
    margin-top: 60px;
    max-width: 300px;
  }    
  .social-media-list li {
    height: 60px;
    width: 60px;
    line-height: 60px;
  }
  .social-media-list li:after {
    width: 60px;
    height: 60px;
    line-height: 60px;
  }
  
}
@media screen and (max-width: 500px){

  .containeur_left_footer{
    gap: 100%;
  }
  .about_me{
    margin-top: 35%;
  }
}
@media screen and (max-width: 569px) {

  .direct-contact-container, .form-wrapper {
    float: none;
    margin: 0 auto;
  }  
  .form-control, textarea {
    
    margin: 0 auto;
  }
 
  
  .name, .email, textarea {
    width: 280px;
  } 
  
  .direct-contact-container {
    margin-top: 60px;
    max-width: 280px;
  }  
  .social-media-list {
    left: 0;
  }
  .social-media-list li {
    height: 55px;
    width: 55px;
    line-height: 55px;
    font-size: 2rem;
  }
  .social-media-list li:after {
    width: 55px;
    height: 55px;
    line-height: 55px;
  }
  
}

@media screen and (max-width: 410px) {
  .send-button {
    width: 99%;
  }
}