@font-face {
  font-family: 'Regus';
  src: url(police/SaintRegus.ttf) format('truetype');
}

@font-face {
  font-family: 'Avenir';
  src: url(police/Avenir-Book-01.ttf) format('truetype');
}

:root {

  /* Color */
  --neutral-white: #f8f8f8;
  --neutral-black: #212020;
  --red900: #cd312d;
  --blue900: #445dd1;
  --yellow900: #fab900;
  --yellow600: #ffd966;
}

html {
  margin: auto;
  padding: auto;
  scroll-behavior: smooth;
}

body {
  background: var(--neutral-white);
  max-width: 100vw;
  z-index: -1;
}

*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* F0NT */

a {
  font-family: 'Regus';
  font-size: 1.125rem;
  text-decoration: none;
  color: var(--neutral-black);
}

h1 {
  font-family: 'Regus';
  font-size: 4.5rem;
}

h2 {
  font-family: 'Regus';
  font-size: 3rem;
}

h3 {
  font-size: 2rem;
  font-family: 'Avenir';
  font-weight: lighter;
}

h4 {
  font-family: 'Regus';
  font-size: 1.5rem;
}

h5 {
  font-family: 'Regus';
  font-size: 1.125rem;
}

h6 {
  font-family: 'Avenir';
  font-size: 0.875rem;
  font-weight: lighter;
}

p {
  font-family: 'Avenir';
  font-size: 1rem;
}

/* span {
  font-weight: bolder;
  text-decoration: underline #cd312d;
} */

li {
  font-family: 'Avenir';
  font-size: .875rem;
}

.short-version p {
  font-family: 'Regus';
  font-size: 1rem;
  margin: auto;
  text-align: center;
}



button {
  max-width: fit-content;
  font-family: 'Regus';
  border: none;
  background-color: transparent;
  font-size: 1.125rem;
  text-decoration: none;
  /* color: var(--yellow900); */
  cursor: pointer;
}

/* HER0 */

header {
  max-width: 100vw;
  min-height: 96vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-height: 15%;
  max-width: 100%;
  padding-right: 7.5rem;
  padding-left: 7.5rem;
  /* border: 2px red solid; */

}

.navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  z-index: 100;
  position: fixed;
  top: 0;
}

#navbar {
  position: fixed;
  padding-top: 10px;
  transition: top 0.3s;
}

.navbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  border: 2px solid var(--neutral-black);
  margin: 0;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: .75rem;
  padding-bottom: .375rem;
  border-radius: 1rem;
  background-color: var(--neutral-white);
  top: 0;
  transition: top 0.3s;
  height: 50px;
}

.navbar button {
  height: auto;
}

.nav_img {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.separator {
  height: 1.5rem;
  /* Adjust based on your font-size */
  min-width: .25rem;
  margin-bottom: .25rem;
  border-radius: 1rem;
  background-color: var(--neutral-black);
}

.navbar.show {
  transform: translateY(0);
}

.shortie {
  background-color: var(--yellow900);
}

.navbar.shortie:hover {
  background-color: var(--neutral-black);
}

.short {
  color: var(--neutral-black);
}



.navbar.shortie:hover .short {
  color: var(--yellow900);
}



.landing {
  position: absolute;
  top: 50%;
  transform: translate(0%, -50%);
  width: 100%;
  max-height: 85%;
  padding-left: 7.5rem;
  padding-right: 7.5rem;
}

.hello {
  display: flex;
  flex-direction: column;
  text-align: center;
  width: auto;
  color: var(--neutral-black);
  margin: auto;
  text-align: center;
  font-family: 'Regus';
  padding-top: 2rem;
  max-height: 50vh;
  line-height: normal;
}

.prénom {
  /* animation: ColorChangeName 3s infinite; */
  color: #cd312d;
}

.nom {
  color: #445dd1;
}

/* W0RK */

.work-display {
  max-width: 100vw;
  /* min-height: 100vh; */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3.5rem;
  padding-right: 3.75rem;
  padding-left: 3.75rem;
  margin-bottom: 5rem;
  /* border: solid 2px #cd312d; */
}


.card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* border: 2px red solid; */
}


.homecontainer {
  min-height: 10rem;
  border: 1.5px solid var(--neutral-black);
  box-shadow: 2px 2px var(--neutral-black);
  border-radius: 32px;
  max-width: 448px;
  overflow: hidden;
}

.homecontainer:hover~.title .hover-linkblue::after,
.homecontainer:hover~.title .hover-linkyel::after,
.homecontainer:hover~.title .hover-linkred::after {
  transform: scaleX(1);
}

.homecardpic {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.homecardpic img {
  max-width: 120%;
  max-height: 120%;
  object-fit: contain;
}

.title {
  padding-left: .5rem;
  display: flex;
  flex-direction: column;
}

.puces {
  display: flex;
  /* Utilise Flexbox pour aligner les éléments en ligne */
  padding: 0;
  /* Supprime le padding par défaut */
  margin: 0;
  /* Supprime la marge par défaut */
  align-items: center;
  /* Centre verticalement les éléments */
}

/* Style pour les éléments de la liste */
.puces li {
  position: relative;
  /* Nécessaire pour positionner les pseudo-éléments */
  display: flex;
  /* Assure que les éléments enfants soient flexibles */
  align-items: center;
  /* Centre verticalement les éléments */
  padding-left: 5px;
  /* Ajoute de l'espace pour les puces */
}

/* Supprimer la puce du premier élément */
.puces li:first-child {
  padding-left: 0;
  /* Supprime le padding à gauche */
}

/* Style pour les puces personnalisées */
.puces li::before {
  content: '•';
  /* Caractère de la puce */
  color: #fab900;
  /* Couleur de la puce */
  font-size: 18px;
  /* Taille de la puce */
  margin-right: 5px;
  /* Espacement entre la puce et le texte */
}

/* Supprimer la puce du premier élément */
.puces li:first-child::before {
  content: '';
  /* Supprime le contenu de la puce */
  margin-right: 0;
  /* Supprime l'espacement de la puce */
}






/* AB0UT */

.about {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  height: auto;
  margin: auto;
  padding-left: 3.75rem;
  padding-right: 3.75rem;
  padding-top: 3.75rem;
  padding-bottom: 3.75rem;
  background-color: #fab900;
  max-width: 1080px;
  border-radius: 48px;
}

.about-hero {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  /* border: 2px solid #212020; */
}

.about-hero h2 {
  height: auto;
}

.about-hero img {
  height: 104px;
  width: auto;

}



.about-content {
  width: 45vw;
  display: flex;
  flex-direction: column;
  /* padding: 2rem; */
  gap: 1.5rem;
  /* border: red 2px solid; */
}

line-height: 2rem;

.resume {
  margin-top: 3rem;
  margin-bottom: 3rem;
  width: fit-content;
}



/* C0NTACT */

.connect {
  margin-bottom: 5rem;
}


/* F00TER */

.callme {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--yellow900);
}


.callme button {
  color: var(--yellow900);

}

.contactme {
  display: flex;
  gap: 2.5rem;
}

.normal-footer {
  background-color: var(--neutral-black);
  display: flex;
  /* justify-content: space-between; */
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  padding-top: 2.5rem;
  padding-left: 7.5rem;
  padding-right: 7.5rem;
  padding-bottom: 2.5rem;
  margin-top: 8rem;
  height: 15%;
  max-width: 100vw;
}

.bottoms {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.bottom-left {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  /* border: 2px solid white; */
}

.bottom-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  /* border: 2px solid white; */

}

.nav-buttons {
  display: flex;
  gap: 1rem;
  padding-top: 0.5rem;
}

.nav-buttons button {
  height: auto;
  color: var(--yellow900);
}

.nav-buttons a {
  color: #fab900;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.socials img {
  height: 40px;
  width: 40px;
  border: var(--neutral-black) 2px solid;
  background: #fab900;
  border-radius: 2rem;
  padding: 0.2rem;
  box-shadow: 2px 2px var(--neutral-black);
}

.name {
  /* border: 2px orange solid; */
}

.name h6 {
  color: var(--neutral-black);
}

.normal-footer h6 {
  color: var(--yellow900);
}

/* animation & hover states */

.hover-linkyel {
  position: relative;
  text-decoration: none;
  padding: 3px 0;
}

.hover-linkyel::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: .375rem;
  border-radius: .125rem;
  background-color: var(--yellow900);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.hover-linkyel:hover::after {
  transform: scaleX(1);
}

.hover-linkred {
  position: relative;
  text-decoration: none;
  padding: 3px 0;
}

.hover-linkred::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: .375rem;
  border-radius: .125rem;
  background-color: var(--red900);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.hover-linkred:hover::after {
  transform: scaleX(1);
}

.hovredd {
  position: relative;
  text-decoration: none;
  padding: 3px 0;
}

.hovredd::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: .75rem;
  border-radius: .25rem;
  background-color: var(--red900);
  transform: scaleX(1);
}

.hover-linkblue {
  position: relative;
  text-decoration: none;
  padding: 3px 0;
}

.hover-linkblue::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: .375rem;
  border-radius: .125rem;
  background-color: var(--blue900);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.hover-linkblue:hover::after {
  transform: scaleX(1);
}


/* SH0RT C0NTENT */
#short {
  background-color: var(--yellow900);
}

.short-info {
  position: absolute;
  top: 8px;
  width: 100%;
  left: 0;
  right: 0;
  text-align: center;
}

.short-info p {
  letter-spacing: .0625rem;
  font-size: .75rem;
}

.Shortcontent {
  color: var(--neutral-black);
  margin: auto;
  margin-top: 8rem;
  max-width: 600px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.Shortcontent p {
  font-size: 1.125rem;
  line-height: 2.25rem;
}

.works {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.selected {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.selectedwork {
  background-color: var(--neutral-black);
  padding-left: .5rem;
  padding-right: .5rem;
  padding-top: .625rem;
  padding-bottom: .625rem;
  border-radius: .25rem;
  border: .125rem var(--neutral-black) solid;
}

.selectedwork a {
  color: var(--yellow900);
}

.selectedwork:hover {
  background-color: var(--yellow900);
}

.selectedwork:hover a {
  color: var(--neutral-black);
}

.clipboard {
  margin-bottom: 2rem;
}

#copyButton {
  color: var(--yellow900);
}

#copyButton2 {
  color: var(--neutral-black);
}

.backnormal {
  margin: auto;
}

.short-footer {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem;
  height: 15%;
  width: 100vw;
}

@media screen and (min-width: 320px) and (max-width: 768px) {

  body {
    width: 100vw;
    /* border: 2px black solid; */
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  h3 {
    font-size: 1rem;
  }

  h4 {
    font-size: 1.125rem;
  }

  .Shortcontent h1 {
    font-size: 3rem;
  }

  nav {
    padding-top: 0.5rem;
    max-width: 100vw;
    justify-content: center;

  }

  .navigation {
    width: 90%;
    margin: 0;
  }

  #navbar {
    padding-top: 12px;
  }

  .navbar {
    gap: 1rem;
    border: 2px solid var(--neutral-black);
    margin: 0;
    padding-left: .75rem;
    padding-right: .75rem;
    padding-top: .75rem;
    padding-bottom: .375rem;
    border-radius: 1rem;
    top: 0;
    height: 64px;
  }

  .navbar a {
    font-size: 1rem;
  }

  .nav_img {
    gap: 1rem;
    padding-left: .5rem;
  }

  header {
    min-height: 95vh;
  }


  .landing {
    position: absolute;
    top: 50%;
    transform: translate(0%, -50%);
    width: 100%;
    max-height: 100vh;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .hello h1 {
    font-size: 3rem;
  }



  .work-display {
    max-width: 100vw;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding-right: 0rem;
    padding-left: 0rem;
    /* border: solid 2px #cd312d; */
  }

  .homecontainer {
    max-height: auto;
    border: 1.5px solid var(--neutral-black);
    box-shadow: 5px 5px var(--neutral-black);
    border-radius: 32px;
    max-width: 100%;
    overflow: hidden;
  }

  .card {
    /* border: 2px green solid; */
    justify-content: flex-start;
    align-items: flex-start;
    width: 90vw;
  }

  .puces li {
    font-size: .875rem;
  }

  .about {
    gap: .75rem;
    height: auto;
    margin-left: 0rem;
    margin-right: 0rem;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 2rem;
    padding-bottom: 3rem;
    background-color: #fab900;
    max-width: 100vw;
    border-radius: 0rem;
  }

  .about-content {
    width: 90vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* padding: 2rem; */
    gap: 1.5rem;
    /* border: red 2px solid; */
  }

  .about-hero {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    /* border: 2px solid #212020; */
  }

  .about-hero h2 {
    height: auto;
  }

  .about-hero img {
    height: 88px;
    width: auto;

  }

  .normal-footer {
    padding-left: 2rem;
    padding-right: 2rem;
    height: 60vh;
  }

  .bottom-left {
    /* border: 2px white solid; */
    justify-content: space-between;
    width: 50vw;
  }

  .callme h4 {
    font-size: 1.5rem;
  }

  .callme p {
    font-size: .875rem;
  }

  .bottom-right {
    /* border: 2px white solid; */
  }

  .nav-buttons {
    padding-top: 0rem;
    flex-direction: column;
  }

  .name {
    /* border: 2px orange solid */
  }



}

@media screen and (min-width: 1920px) and (max-width: 5120px) {

  .about-content {
    width: 90vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* padding: 2rem; */
    gap: 1.5rem;
    /* border: red 2px solid; */
  }


}