@charset "UTF-8";
/* importation de la police */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital@0;1&display=swap");
.nav-barre__toggle, .nav-barre__item, .nav-barre__menu, .nav-barre {
  display: flex;
  justify-content: center;
  align-items: center;
}

.projet-carte__contenu, .accueil, body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.titre__metier::after, .titre__nom-prenom::after {
  content: "";
  display: block;
  height: 5px;
  width: 160px;
  border-radius: 5px;
  background-color: #92374D;
}

.technologie__groupe > h3::after, .formation__annee::before, .competence__titre::before, .layus__titre::after {
  content: "";
  display: block;
  height: 5px;
  width: 96px;
  border-radius: 5px;
  background-color: #92374D;
}

h2 {
  padding-bottom: 2em;
  text-align: center;
}

a {
  transition: 0.1s ease-in-out transform;
}
a:hover {
  transform: scale(1.2);
}

/* Début du reset CSS */
*, ::before, ::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  font-size: 62.5%;
  /*  si l'utilisateur à ses reglages par défaut,
  alors 1rem = 10px */
}

body {
  font-size: 1.6rem;
}

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

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

li {
  list-style-type: none;
}

input, button {
  border: none;
  outline: none;
  font-size: inherit;
}

button {
  cursor: pointer;
  background: none;
}

/* Fin du reset CSS */
body {
  min-height: 100vh;
  gap: 50px;
  color: #0D1B2A;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 20px;
  background-image: url("../asset/images/pexels-thisisengineering-3861972.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}
body > header,
body > section {
  margin-bottom: 100px;
}

.section {
  background-color: #E0E1DD;
  width: 100%;
  margin: 100px 0;
  padding: 120px 0 100px;
  padding-top: clamp(75px, 12.7035830619vw - 27.3615635179px, 120px);
  padding-bottom: clamp(70px, 11.0749185668vw - 28.4690553746px, 100px);
}

footer.section {
  margin-bottom: 0;
}

.limiteur-largeur {
  max-width: 1000px;
  width: 90%;
  height: 100%;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .limiteur-largeur {
    width: auto;
    margin: 0 20px;
  }
}

.masquer-pour-dev {
  display: none;
}

h2 {
  font-size: 48px;
}

h3 {
  font-size: 32px;
}

.liste {
  display: grid;
  gap: 60px;
}
.liste__element {
  width: 100%;
}

.barre-niveau {
  display: block;
  height: 5px;
  width: 100%;
  border-radius: 5px;
  background-color: #CAFFD0;
  overflow: hidden;
}
.barre-niveau::before {
  content: "";
  display: block;
  width: 0%;
  height: 100%;
  background-color: #00A8E8;
}
.barre-niveau[data-niveau="0"]::before {
  width: 0%;
}
.barre-niveau[data-niveau="1"]::before {
  width: 5%;
}
.barre-niveau[data-niveau="2"]::before {
  width: 10%;
}
.barre-niveau[data-niveau="3"]::before {
  width: 15%;
}
.barre-niveau[data-niveau="4"]::before {
  width: 20%;
}
.barre-niveau[data-niveau="5"]::before {
  width: 25%;
}
.barre-niveau[data-niveau="6"]::before {
  width: 30%;
}
.barre-niveau[data-niveau="7"]::before {
  width: 35%;
}
.barre-niveau[data-niveau="8"]::before {
  width: 40%;
}
.barre-niveau[data-niveau="9"]::before {
  width: 45%;
}
.barre-niveau[data-niveau="10"]::before {
  width: 50%;
}
.barre-niveau[data-niveau="11"]::before {
  width: 55%;
}
.barre-niveau[data-niveau="12"]::before {
  width: 60%;
}
.barre-niveau[data-niveau="13"]::before {
  width: 65%;
}
.barre-niveau[data-niveau="14"]::before {
  width: 70%;
}
.barre-niveau[data-niveau="15"]::before {
  width: 75%;
}
.barre-niveau[data-niveau="16"]::before {
  width: 80%;
}
.barre-niveau[data-niveau="17"]::before {
  width: 85%;
}
.barre-niveau[data-niveau="18"]::before {
  width: 90%;
}
.barre-niveau[data-niveau="19"]::before {
  width: 95%;
}
.barre-niveau[data-niveau="20"]::before {
  width: 100%;
}

.nav-barre {
  position: fixed;
  z-index: 100;
  top: 0;
  width: 100%;
  height: 100px;
  background-color: #E0E1DD;
  border-bottom: 2px solid #92374D;
}
.nav-barre__menu {
  gap: 10px;
  height: 100%;
}
.nav-barre__item {
  padding: 0 20px;
}
.nav-barre__lien-item {
  padding: 20px;
  text-align: center;
  width: fit-content;
  font-size: 24px;
}
.nav-barre__toggle {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 25px;
  right: 25px;
  aspect-ratio: 1;
  width: 50px;
  border-radius: 50%;
  cursor: pointer;
}
.nav-barre__toggle .ligne {
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  background-color: #0D1B2A;
  transition: transform 0.3s ease-in-out, opacity 0.1s ease-in-out;
}
.nav-barre__toggle .l1 {
  transform: translateY(-10px);
}
.nav-barre__toggle .l3 {
  transform: translateY(10px);
}
.nav-barre__toggle--active .l1 {
  transform: translateY(0) rotate(135deg);
}
.nav-barre__toggle--active .l2 {
  opacity: 0;
}
.nav-barre__toggle--active .l3 {
  transform: translateY(0) rotate(-135deg);
}
@media (max-width: 1160px) {
  .nav-barre {
    height: auto;
    max-height: 100vh;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
  }
  .nav-barre--active {
    transform: translateY(0);
  }
  .nav-barre__toggle {
    display: flex;
  }
  .nav-barre__menu {
    flex-direction: column;
    padding: 20px 0;
  }
}

header {
  height: 100vh;
  max-height: 1080px;
}
header.section {
  margin-top: 0;
}

.accueil {
  height: 100%;
  padding-top: 20px;
}
@media (max-width: 768px) {
  .accueil {
    padding: 0;
  }
}

.titre {
  width: 100%;
  font-size: 72px;
  font-size: clamp(24px, 8.3989501312vw + 7.4960629921px, 72px);
}
.titre__nom-prenom {
  display: block;
  font-weight: 700;
}
.titre__metier {
  position: relative;
  display: block;
  margin: 50px 0;
  text-align: right;
}
.titre__metier::after {
  position: absolute;
  right: 0;
}

.layus {
  width: 100%;
  padding: 0 clamp(20px, 6.9991251094vw + 6.2467191601px, 60px);
}
.layus__titre {
  text-align: left;
}
.layus__titre::after {
  margin-top: 5px;
}
.layus__texte {
  width: 80%;
  float: right;
  margin-top: 30px;
}
@media (max-width: 768px) {
  .layus__texte {
    float: none;
    width: 100%;
  }
}

.competence {
  display: flex;
  gap: 30px;
}
.competence__titre {
  text-align: right;
  font-size: 28px;
  width: 260px;
  flex-shrink: 0;
  position: relative;
}
.competence__titre::before {
  position: absolute;
  right: -111px;
  margin-top: 5px;
}
.competence__phrase {
  padding-top: 20px;
}
@media (max-width: 1160px) {
  .competence {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .competence__titre {
    width: 100%;
    text-align: center;
  }
  .competence__titre::before {
    right: calc(50% - 48px);
    bottom: -8px;
  }
}

.formation {
  display: flex;
  row-gap: 0;
  column-gap: 40px;
}
.formation__annee {
  flex-shrink: 0;
  width: 55px;
  float: left;
  position: relative;
}
.formation__annee::before {
  position: absolute;
  right: -115px;
  top: -8px;
}
.formation__details {
  margin-top: 12px;
  padding: 8px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  row-gap: 20px;
  column-gap: 40px;
  background-color: #d4d5cf;
}
@media (max-width: 768px) {
  .formation__details {
    flex-direction: column;
    text-align: center;
  }
}
.formation__nom {
  margin-bottom: 10px;
}
.formation__ecole {
  color: #3F5A3F;
}
.formation__lieu {
  font-size: 0.8em;
  font-style: italic;
}
@media (max-width: 880px) {
  .formation {
    flex-direction: column;
  }
  .formation__annee {
    width: 100%;
    text-align: center;
  }
  .formation__annee::before {
    right: calc(50% - 48px);
  }
}

.technologie__groupe {
  display: flex;
  row-gap: 40px;
  column-gap: 80px;
  justify-content: center;
  align-items: center;
}
.technologie__groupe:not(:last-child) {
  margin-bottom: 80px;
}
.technologie__groupe > h3 {
  text-align: right;
  position: relative;
}
.technologie__groupe > h3::after {
  position: absolute;
  bottom: -5px;
  width: 50%;
}
@media (max-width: 768px) {
  .technologie__groupe > h3::after {
    right: 25%;
  }
}
@media (max-width: 768px) {
  .technologie__groupe {
    flex-direction: column;
  }
}

.technologie__groupe:nth-child(2n) {
  flex-direction: row-reverse;
}
.technologie__groupe:nth-child(2n) > h3 {
  text-align: left;
}
.technologie__groupe:nth-child(2n) > h3::after {
  right: 0;
}
@media (max-width: 768px) {
  .technologie__groupe:nth-child(2n) > h3::after {
    right: 25%;
  }
}
@media (max-width: 768px) {
  .technologie__groupe:nth-child(2n) {
    flex-direction: column;
  }
}

.technoligies__liste {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (max-width: 500px) {
  .technoligies__liste {
    gap: 20px;
  }
}

.technologie {
  display: flex;
  gap: 8px 20px;
  align-items: center;
}
.technologie__nom {
  width: 100%;
  text-align: right;
}
.technologie .barre-niveau {
  flex-shrink: 0;
  width: 200px;
}
@media (max-width: 500px) {
  .technologie {
    flex-direction: column;
  }
  .technologie__nom {
    text-align: center;
  }
}

.portefolio {
  margin: 0 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.projet {
  flex-shrink: 0;
}
.projet-carte {
  position: relative;
  width: 250px;
  aspect-ratio: 200/220;
  background-color: #B0A990;
  border-radius: 5px;
  box-shadow: 0px 0px 17px -3px rgb(13, 27, 42);
  overflow: hidden;
}
.projet-carte__conteneur-img {
  position: absolute;
  inset: 0;
}
.projet-carte__illustration {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.projet-carte__contenu {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 5px;
  justify-content: center;
  gap: 20px;
}
.projet-carte__contenu > * {
  padding: 5px 10px;
  position: relative;
  z-index: 1;
}
.projet-carte__contenu > *::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background-color: #E0E1DD;
  filter: blur(2px);
  opacity: 0.9;
  z-index: -1;
}
.projet-carte__lien {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.projet-carte__logo {
  display: inline-block;
  aspect-ratio: 1;
  height: 1em;
}
.projet-mission {
  display: none;
}

.contacts {
  border-top: 2px solid #92374D;
  background-color: #c7c9c2;
}

.grid {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fill, minmax(max-content, 455px));
  column-gap: 80px;
  row-gap: 40px;
  font-size: clamp(12px, 3.6571428571vw + 1.7142857143px, 20px);
}

.contact {
  display: flex;
  align-items: center;
  gap: 20px;
}
.contact img {
  width: clamp(30px, 9.1428571429vw + 4.2857142857px, 50px);
  aspect-ratio: 1;
  fill: currentColor;
}

/*# sourceMappingURL=style.css.map */
