@charset "UTF-8";
/* CSS Document */
@font-face {
  font-family: Lovage;
  src: url("../RESSOURCES/FONT/lovage 2/Lovage DEMO.ttf");
}
@font-face {
  font-family: Satoshi;
  src: url("../RESSOURCES/FONT/Satoshi_Complete/Satoshi-Light.otf");
}
@font-face {
  font-family: Henri;
  src: url("../RESSOURCES/FONT/henri_didot/HenriDidot.otf");
}

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

/* ========== STYLE PAGE WEB - VERSION DESKTOP ========== */
.e {
  font-family: Henri;
  position: relative;
  bottom: 0.1em;
}

body {
  background-repeat: no-repeat;
  font-family: "NewYork";
  font-size: 2.1vw;
  background-size: cover;
  background-color: black !important;
  background: linear-gradient(
    50deg,
    #c8a2c8,
    #c8a2c8,
    #f4c2c2,
    #f4c2c2,
    #ffd700
  );
  color: #4a4a4a;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.container {
  width: 100vw;
  display: flex;
  overflow-x: hidden;
}

.col1 {
  width: 12%;
  z-index: 20000000;
}

.col2 {
  width: 88%;
  position: relative;
  left: 1px;
}

.logo {
  display: flex;
  gap: 1rem;
  padding: 1rem;
}

img.logo {
  max-width: 4vw;
  height: auto;
}

.flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  position: relative;
  bottom: 3%;
  gap: 2rem;
  flex-wrap: wrap;
}

h1.porf {
  font-size: 15vw;
  color: black;
}

.porf {
  position: relative;
  bottom: 1.15%;
  line-height: 1;
  margin: 0;
}

h1 {
  font-family: "Lovage";
  font-weight: lighter;
  font-size: 130px;
  color: black;
  margin: 0;
}

h2 {
  line-height: 1.5;
  color: black;
  position: relative;
  bottom: 2.6%;
  left: 20%;
  font-weight: lighter;
  margin: 0;
}

h3 {
  color: black;
  text-align: center;
  font-family: Henri;
  font-weight: 80;
  font-size: 2em;
}

.glow {
  color: #ef9c00;
  font-weight: bolder;
}

.profil {
  position: absolute;
  top: 15em;
  right: 10%;
  border-radius: 50% 35%;
  width: 20vw;
  max-width: 300px;
}

.presentation {
  margin: 0% auto 1px 10%;
}

.menucolon {
  position: fixed;
  width: 10px;
  height: 100vh;
  top: 0%;
  padding: 40px;
  background-color: black;
  left: 0%;
  z-index: -10;
  margin-right: 20px;
}

nav {
  position: fixed;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  z-index: 100000;
}

.a {
  writing-mode: vertical-rl;
  z-index: 1;
  transform: rotate(180deg);
  margin: 35% 5px 10px 26px;
  color: white;
  font-size: 19px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.a:hover {
  opacity: 0.7;
}

.description {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 2rem;
  gap: 2rem;
}

.image {
  background-color: black;
  color: black;
  margin-right: 10%;
  margin-left: 7%;
  width: 23vw;
  height: 45vw;
  max-width: 350px;
  max-height: 700px;
  opacity: 0.8;
  border-radius: 83% 81% 0% 0% / 50% 50% 100% 100%;
}

.aboutme {
  margin: 0% 10% 0% 5%;
  font-family: Satoshi;
  font-size: 1.5vw;
  max-width: 600px;
}

h3.me {
  text-align: left;
  margin: 20% 20% 10% 5%;
}

.carre {
  color: white;
  width: 50px;
  height: 50px;
  margin: 10px;
  border-radius: 10px;
}

.flex1 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin: 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.flex2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 200px;
}

.flex3 {
  display: flex;
  align-items: center;
  margin: 20px;
  gap: 1rem;
}

.niveau {
  margin-right: 30px;
  font-family: Satoshi;
  font-size: 1vw;
  white-space: nowrap;
}

.aetheris,
.hiska,
.alma {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  position: relative;
  top: 30px;
}

.flex3bibis,
.flex3bis {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 5%;
  padding: 2%;
  border-radius: 30px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  background-color: rgba(244, 201, 201, 0.3);
  backdrop-filter: blur(30px);
  gap: 2rem;
}

.flex3bibis {
  flex-direction: column;
}

.text {
  width: 100%;
  max-width: 450px;
  margin: 5%;
  position: relative;
}

.competences {
  position: relative;
  bottom: 2%;
  line-height: 1.2;
  overflow-x: visible;
  margin-top: 15%;
  font-size: 6vw;
}

.certification {
  position: relative;
  bottom: 2%;
  line-height: 1.2;
  overflow-x: visible;
  margin-bottom: 2rem;
  font-size: 6vw;
}

.realisations {
  position: relative;
  bottom: 70px;
  left: 2%;
}

.detailsprojet {
  color: rgba(39, 32, 32, 1);
  font-family: Satoshi;
  font-size: 15px;
  width: auto;
  position: relative;
  text-align: justify;
}

form {
  max-width: 1000px;
  background-color: rgba(244, 201, 201, 0.3);
  backdrop-filter: blur(30px);
  position: relative;
  left: 10%;
  border-radius: 80px;
  padding: 40px;
  color: black;
  margin: 2rem 0;
}

.grille {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 2rem;
  justify-content: center;
  align-items: start;
}

.item-0 {
  grid-column: 1/3;
  grid-row: 1/2;
}

.item-1 {
  font-family: "Satoshi";
  font-size: 1.2rem;
  grid-column: 1/2;
  grid-row: 2/3;
}

input {
  width: 100%;
  max-width: 300px;
  border-radius: 30px;
  padding: 15px;
  border: solid 0.5px black;
}

button {
  border-radius: 30px;
  padding: 15px 30px;
  background-color: rgba(244, 201, 201, 0.3);
  border: solid 1px black;
  font-family: "Satoshi";
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background-color: rgba(244, 201, 201, 0.5);
}

h1.form {
  font-size: 3vw;
  margin-bottom: 1rem;
}

img.mooc {
  width: 30vw;
  max-width: 400px;
  display: block;
  margin: 2rem auto;
}

p.mooc {
  font-family: Satoshi;
  font-size: 1.5vw;
  text-align: center;
  margin: 1rem auto;
}

.footer {
  background-color: black;
  color: white;
  text-align: center;
  padding: 30px 50px;
  border: solid black 10px;
  margin: -2px;
  font-family: "Satoshi", sans-serif;
}

/* ========== TABLETTE (768px - 1024px) ========== */
@media screen and (max-width: 1024px) and (min-width: 768px) {
  body {
    font-size: 18px;
  }

  .container {
    flex-direction: column;
  }

  .col1 {
    width: 100%;
    height: auto;
  }

  .col2 {
    width: 100%;
    left: 0;
    padding: 0 3rem;
  }

  .menucolon {
    display: none;
  }

  nav.menu {
    position: fixed;
    top: 0;
    right: 0;
    background-color: black;
    padding: 25px 30px;
    border-radius: 0 0 0 35px;
    z-index: 100000;
    flex-direction: column;
    gap: 20px;
  }

  .a {
    writing-mode: horizontal-tb;
    transform: none;
    margin: 0;
    padding: 12px 20px;
    font-size: 18px;
  }

  /* PORTFOLIO TITLE - BEAUCOUP PLUS GRAND */
  h1.porf {
    font-size: 20vw;
    line-height: 0.9;
    margin: 1rem 0;
  }

  h1 {
    font-size: 15vw;
  }

  h2 {
    font-size: 6vw;
    left: 5%;
    margin-top: 2rem;
  }

  .logo {
    padding: 2rem 0;
    justify-content: center;
  }

  img.logo {
    max-width: 60px;
  }

  .description {
    flex-direction: column;
    align-items: center;
    margin-top: 6rem;
    padding: 2rem;
    gap: 3rem;
  }

  /* IMAGE BEAUCOUP PLUS GRANDE */
  .image {
    width: 50vw;
    height: 80vw;
    max-width: 500px;
    max-height: 800px;
    margin: 0 auto 3rem auto;
  }

  .profil {
    position: static;
    width: 45vw;
    max-width: 400px;
    margin: 2rem auto;
    display: block;
  }

  /* TEXTE PLUS LISIBLE */
  .aboutme {
    font-size: 20px;
    line-height: 1.8;
    margin: 2rem;
    text-align: justify;
    max-width: 100%;
  }

  h3.me {
    text-align: center;
    margin: 2rem;
    font-size: 2.5em;
  }

  h3 {
    font-size: 2.2em;
  }

  .flex {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    padding: 2rem;
  }

  .flex1 {
    justify-content: center;
  }

  .competences,
  .certification {
    font-size: 10vw;
    text-align: center;
    left: 0;
    margin: 4rem auto;
  }

  .niveau {
    font-size: 18px;
  }

  .carre {
    width: 55px;
    height: 55px;
  }

  form {
    left: 0;
    margin: 3rem auto;
    max-width: 85%;
    padding: 40px;
  }

  .grille {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .item-0 {
    grid-column: 1/2;
  }

  .item-1 {
    grid-column: 1/2;
    font-size: 20px;
    line-height: 1.8;
  }

  h1.form {
    font-size: 7vw;
  }

  img.mooc {
    width: 60vw;
    max-width: 450px;
  }

  p.mooc {
    font-size: 20px;
  }

  .footer {
    font-size: 16px;
  }
}

/* ========== MOBILE (max 767px) ========== */
@media screen and (max-width: 767px) {
  body {
    font-size: 16px;
  }

  .container {
    flex-direction: column;
  }

  .col1 {
    width: 100%;
    height: auto;
  }

  .col2 {
    width: 100%;
    left: 0;
    padding: 0 1.5rem;
  }

  .menucolon {
    display: none;
  }

  nav.menu {
    position: fixed;
    top: 0;
    right: 0;
    background-color: black;
    padding: 20px 25px;
    border-radius: 0 0 0 30px;
    z-index: 100000;
    flex-direction: column;
    gap: 15px;
  }

  .a {
    writing-mode: horizontal-tb;
    transform: none;
    margin: 0;
    padding: 10px 15px;
    font-size: 16px;
  }

  /* PORTFOLIO TITLE - ÉNORME SUR MOBILE */
  h1.porf {
    font-size: 15vw;
    line-height: 0.85;
    margin: 1rem 13vw;
  }

  h1 {
    font-size: 18vw;
  }

  h2 {
    font-size: 6vw;
    left: 3%;
    margin-top: 1rem;
    margin-left: 26vw;
  }

  h3 {
    font-size: 1.8em;
  }

  .logo {
    padding: 1.5rem 0;
    justify-content: center;
    gap: 1.5rem;
  }

  img.logo {
    max-width: 50px;
  }

  .description {
    flex-direction: column;
    align-items: center;
    margin-top: 10rem;
    padding: 1.5rem;
    gap: 2rem;
  }

  /* IMAGE TRÈS GRANDE SUR MOBILE */
  .image {
    width: 70vw;
    height: 110vw;
    max-width: 450px;
    max-height: 700px;
    margin: 0 auto 2rem auto;
  }

  .profil {
    position: static;
    width: 60vw;
    max-width: 350px;
    margin: 2rem auto;
    display: block;
  }

  /* TEXTE TRÈS LISIBLE */
  .aboutme {
    font-size: 18px;
    line-height: 1.9;
    margin: 2rem 1rem;
    text-align: justify;
    max-width: 100%;
  }

  h3.me {
    text-align: center;
    margin: 2rem 1rem;
    width: auto;
    font-size: 2em;
  }

  .flex {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0;
    bottom: 0;
  }

  .flex1 {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .flex2 {
    width: 100%;
    align-items: center;
  }

  .flex3 {
    margin: 15px;
    justify-content: center;
  }

  .competences,
  .certification {
    font-size: 12vw;
    text-align: center;
    left: 0;
    margin: 3rem auto;
    bottom: 0;
  }

  .niveau {
    font-size: 16px;
  }

  .carre {
    width: 50px;
    height: 50px;
    margin: 10px;
  }

  .flex3bibis,
  .flex3bis {
    flex-direction: column;
    padding: 1.5rem;
    margin: 2rem 0;
  }

  .text {
    max-width: 100%;
    margin: 1.5rem 0;
  }

  .aetheris,
  .hiska,
  .alma {
    max-width: 100%;
    width: 90vw;
  }

  .detailsprojet {
    font-size: 15px;
    line-height: 1.6;
    max-width: 100%;
  }

  form {
    left: 0;
    margin: 3rem auto;
    max-width: 95%;
    padding: 25px;
    border-radius: 40px;
  }

  .grille {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .item-0,
  .item-1 {
    width: 100%;
  }

  h1.form {
    font-size: 9vw;
    margin: 1rem 0;
  }

  .item-1 {
    font-size: 18px;
    line-height: 1.8;
  }

  input {
    width: 100%;
    max-width: 100%;
    padding: 15px;
    font-size: 16px;
  }

  button {
    padding: 15px 30px;
    font-size: 16px;
  }

  img.mooc {
    width: 70vw;
    max-width: 350px;
  }

  p.mooc {
    font-size: 16px;
    padding: 0 1.5rem;
    line-height: 1.6;
  }

  .footer {
    padding: 25px;
    font-size: 14px;
  }
}
