@charset "UTF-8";
@font-face {
  font-family: "TradeGothicInline";
  src: url("../fonts/trade-gothic-inline/TradeGothicInline-Light-3y5PEBk.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans/NunitoSans-Global-MSoO9lC.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-Regular-hBRJlB7.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-Bold-dkvJ0T8.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-Medium-swBHwia.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/Montserrat-tbsccc8.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
}
/* Global */
:root {
  --main-red: #dc2626;
  --main-blue: #008cfc;
  --success: #00c000;
  --accent-blue: #2563eb;
  --text-main-blue: #006dff;
  --text-light-gray: #c1c1c1;
  --bg-mid-blue: #011c3a;
  --border-mid-gray: #d1d5db;
}

*, *::before, *::after {
  scroll-behavior: smooth;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-spacing: 0;
  /* outline: solid 1px red; */
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  position: relative;
}

svg {
  stroke-linecap: round;
}

.error-message {
  color: red;
}

.white {
  color: white;
}

.blue {
  color: var(--main-blue);
}

.link {
  color: #fff;
  text-decoration: none;
  transition: all 0.2s;
}
.link:hover {
  color: var(--main-blue);
}

.link-svg {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s;
}
.link-svg svg {
  fill: white;
}
.link-svg:hover svg {
  fill: var(--main-blue);
}

.link-svg--line {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s;
}
.link-svg--line svg {
  stroke: white;
}
.link-svg--line:hover svg {
  stroke: var(--main-blue);
}

.underline {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.grid-0 {
  display: grid;
  grid-template-columns: repeat(0, 1fr);
}
.grid-0 > * {
  width: 100%;
}

.grid-1 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}
.grid-1 > * {
  width: 100%;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.grid-2 > * {
  width: 100%;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.grid-3 > * {
  width: 100%;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.grid-4 > * {
  width: 100%;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.grid-5 > * {
  width: 100%;
}

.grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.grid-6 > * {
  width: 100%;
}

:root {
  --text-main-gray: #6b7280;
  --bg-dark-blue: #01152b;
  --bg-button-blue: #0053b0;
}

form input:focus-visible, form textarea:focus-visible {
  outline: none;
}

button[type=submit] {
  padding: 0.75rem 1.75rem;
  width: fit-content;
  background-color: var(--bg-button-blue);
  border: none;
  border-radius: 25px;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}
button[type=submit]:hover {
  background-color: white;
  color: var(--main-blue);
}

* {
  font-family: "Nunito Sans", Arial, sans-serif;
}

section {
  padding-left: 4rem;
  padding-right: 4rem;
}

section:not(:first-of-type) {
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem;
}

@media screen and (min-width: 768px) {
  section {
    padding-left: 8rem;
    padding-right: 8rem;
  }
}
@media screen and (min-width: 1536px) {
  section {
    padding-left: 12rem;
    padding-right: 12rem;
  }
}
h1 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

section header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
section header h2 {
  font-size: 2rem;
  color: white;
}
section header hr {
  width: 200px;
  height: 2px;
  background-color: var(--main-blue);
  border: none;
}

#presentation {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  background: linear-gradient(90deg, #000050, #000030);
  background-size: 400% 400%;
  animation: gradient 5s ease infinite;
  color: white;
  min-height: 100vh;
  width: 100%;
  padding: 0 10%;
}
#presentation > * {
  text-align: center;
  display: flex;
  align-items: center;
}
#presentation header {
  justify-content: center;
  background-image: url("../icons/blob-Zp1uCrL.svg");
  background-position: 70%;
  background-repeat: no-repeat;
  background-size: 80%;
  width: 20rem;
  height: 20rem;
}
#presentation header img {
  clip-path: circle();
}
#presentation main {
  flex-direction: column;
}
#presentation main p {
  line-height: 1.5;
  color: var(--text-light-gray);
  margin-bottom: 2rem;
  max-width: 28rem;
}
#presentation main .presentation__cv-button {
  padding: 1rem 1.5rem;
  line-height: 1;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
  color: #fff;
  border-radius: 26px;
  background-size: 400%;
  background-image: linear-gradient(90deg, #0065ff, #6942ef, #6554c0, #008cff, #0065ff, #6942ef);
}
#presentation main .presentation__cv-button:hover {
  box-shadow: 0px 1px 18px #0065ff;
}

#projects {
  display: flex;
  flex-direction: column;
  justify-content: normal;
  align-items: center;
  gap: 2.5rem;
  background-color: var(--bg-mid-blue);
}
#projects .projects__container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 3rem;
  list-style: none;
}

#skills {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--bg-dark-blue);
}
#skills .skill__item {
  position: relative;
  display: flex;
  padding-top: 2.5rem;
  justify-content: center;
}
#skills .skill__item::after {
  content: "";
  position: absolute;
  top: 0;
  width: fit-content;
  height: 95px;
  border-bottom: 2px solid var(--main-blue);
  left: 50%;
}
#skills .skill__item:nth-child(even)::after {
  border-left: 2px solid var(--main-blue);
  border-bottom-left-radius: 30px;
}
#skills .skill__item:nth-child(odd)::after {
  border-right: 2px solid var(--main-blue);
  border-bottom-right-radius: 30px;
}
#skills .skill__item:first-of-type::after {
  display: none;
}

#contact {
  background-color: var(--bg-mid-blue);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: normal;
  align-items: center;
  gap: 2rem;
  text-align: center;
  overflow: hidden;
}
#contact main {
  display: flex;
  flex-direction: column;
  justify-content: normal;
  align-items: center;
  gap: 1rem;
}
#contact main a {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  text-underline-offset: 4px;
}
#contact main a p {
  color: var(--text-light-gray);
}
#contact form {
  display: flex;
  flex-direction: column;
  justify-content: normal;
  align-items: center;
  gap: 0;
  width: 100%;
}
#contact form input, #contact form textarea {
  width: 100%;
  padding-left: 15px;
  background-color: var(--bg-mid-blue);
  font-size: 1rem;
  line-height: 1.8;
  border: 2px solid var(--main-blue);
  border-radius: 25px;
  letter-spacing: 0.5px;
  color: white;
}
#contact form input:not(:first-child), #contact form textarea:not(:first-child) {
  margin-top: 1.25rem;
}
#contact form input::placeholder, #contact form textarea::placeholder {
  color: white;
}
#contact form input:focus-visible::placeholder, #contact form textarea:focus-visible::placeholder {
  color: gray;
}
#contact form input {
  min-height: 44px;
}
#contact form textarea {
  padding-top: 10px;
  min-height: 100px;
  max-height: 300px;
  resize: vertical;
}
#contact form .contact__form-message {
  padding: 12px 10px 0;
  color: var(--success);
}
#contact form ul.form-errors {
  list-style: none;
  width: 100%;
  padding: 0;
  margin-top: 0.5rem;
  color: red;
  text-align: left;
}
#contact form ul.form-errors > li {
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 18px;
}
#contact form button[type=submit] {
  margin-top: 1.25rem;
}

@media (min-width: 769px) {
  h1 {
    font-size: 2rem;
  }
  #presentation main .presentation__cv-button {
    font-size: 1.125rem;
  }
  #presentation main p {
    font-size: 1.125rem;
    max-width: 40rem;
  }
  #contact h2 {
    font-size: 2.5rem;
  }
  #contact form {
    width: 32rem;
  }
}
@media (min-width: 1025px) {
  #presentation main p {
    max-width: 52rem;
  }
  #projects .projects__container {
    grid-template-columns: repeat(3, 1fr);
  }
  #skills .skill__item {
    width: 60vw;
  }
  #skills .skill__item::after {
    width: 20vw;
  }
  #skills .skill__item:nth-child(even) {
    justify-content: right;
    padding-left: 4vw;
  }
  #skills .skill__item:nth-child(even)::after {
    left: 15vw;
  }
  #skills .skill__item:nth-child(odd) {
    justify-content: left;
    padding-right: 4vw;
  }
  #skills .skill__item:nth-child(odd)::after {
    right: 15vw;
  }
}
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
#back-to-top {
  --padding: 2rem;
  position: fixed;
  bottom: var(--padding);
  right: var(--padding);
  translate: calc(0 - var(--padding));
  display: grid;
  border-radius: 100px;
  background: var(--main-blue);
  border: none;
  width: 3rem;
  height: 3rem;
  place-items: center;
  cursor: pointer;
}
#back-to-top svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 3;
  stroke: white;
}

@supports (animation-timeline: scroll()) {
  #back-to-top {
    translate: 0 calc(20vh - var(--show, 0) * 20vh);
    transition: translate 0.875s linear(0, 0.5007 7.21%, 0.7803 12.29%, 0.8883 14.93%, 0.9724 17.63%, 1.0343 20.44%, 1.0754 23.44%, 1.0898 25.22%, 1.0984 27.11%, 1.1014 29.15%, 1.0989 31.4%, 1.0854 35.23%, 1.0196 48.86%, 1.0043 54.06%, 0.9956 59.6%, 0.9925 68.11%, 1);
  }
  body {
    animation: show-cta both steps(1);
    animation-timeline: scroll(root);
    animation-range: 0 calc(100vh - 4rem);
  }
  @keyframes show-cta {
    to {
      --show: 1;
    }
  }
}
body > footer {
  background-color: var(--bg-dark-blue);
  padding: 0 15%;
  color: white;
}
body > footer .footer__links {
  padding: 18px 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  list-style: none;
}
body > footer .footer__links a > svg {
  width: 18px;
}
body > footer .footer__links a:hover {
  color: var(--main-blue);
  text-decoration: underline;
}
body > footer .footer__copyright {
  padding: 18px 0;
  text-align: center;
}

@media only screen and (max-width: 768px) {
  body > footer {
    padding: 0 10%;
  }
}
/* Navbar */
.navbar {
  background: black;
  font-size: 1rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  padding: 12px 0;
  width: 100%;
  height: fit-content;
  z-index: 30;
  /* Style de la liste globale */
}
.navbar__list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  /* Liens de la navbar */
}
.navbar__list > li a {
  font-family: "Poppins", Arial, sans-serif;
  text-transform: uppercase;
  color: white;
  text-decoration: none;
  position: relative;
  display: inline-block;
  /* Animation trait bleu */
}
.navbar__list > li a:hover {
  color: var(--text-main-blue);
}
.navbar__list > li a::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--text-main-blue);
  transform-origin: bottom right;
  transition: transform 0.2s ease-out;
}
.navbar__list > li a:hover::after {
  color: var(--main-blue);
  transform: scaleX(1);
  transform-origin: bottom left;
}
.navbar__main {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.1s;
}
.navbar__title {
  display: inline-flex;
  align-items: center;
  color: white;
  text-decoration: none;
  height: 40px;
}
.navbar__title * {
  transform: translateY(-6px);
  font-family: "TradeGothicInline";
  font-size: 2.5rem;
}
.navbar__toggler {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition-duration: 0.5s;
}
.navbar__toggler > div {
  width: 100%;
  height: 2px;
  background-color: white;
  border-radius: 4px;
}
.navbar__toggler #bar2 {
  transition-duration: 0.8s;
}
.navbar #navbar-checkbox {
  display: none;
}
.navbar #navbar-checkbox:checked + .navbar__toggler {
  transition-duration: 0.5s;
  transform: rotate(180deg);
}
.navbar #navbar-checkbox:checked + .navbar__toggler > div {
  position: absolute;
  transition-duration: 0.5s;
}
.navbar #navbar-checkbox:checked + .navbar__toggler #bar1 {
  transform: rotate(45deg);
}
.navbar #navbar-checkbox:checked + .navbar__toggler #bar2 {
  transform: scaleX(0);
}
.navbar #navbar-checkbox:checked + .navbar__toggler #bar3 {
  transform: rotate(-45deg);
}

body[data-theme=light] .navbar {
  background: white;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);
}
body[data-theme=light] .navbar__title {
  color: black;
  font-weight: 500;
}
body[data-theme=light] .navbar__toggler {
  background-color: white;
}
body[data-theme=light] .navbar__toggler svg > * {
  stroke: black;
}
body[data-theme=light] .navbar li a {
  font-weight: 500;
  background: linear-gradient(90deg, #0065ff, #6942ef, #6554c0, #008cff, #0065ff, #6942ef);
  background-size: 400%;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
body[data-theme=light] .navbar li a::after {
  background: linear-gradient(90deg, #0065ff, #6942ef, #6554c0, #008cff, #0065ff, #6942ef);
  background-size: 400%;
}

/* Format téléphone (Liste déroulante) */
@media (max-width: 767.5px) {
  .navbar {
    flex-direction: column;
    justify-content: center;
  }
  .navbar__toggler {
    display: flex;
  }
  .navbar__list {
    flex-direction: column;
    gap: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease-out;
    max-height: 0;
  }
  .navbar__list--expanded {
    padding-top: 1rem;
    padding-bottom: 0.5rem;
    max-height: 10rem;
  }
  .navbar__list > li {
    margin: auto;
    font-size: 1.25rem;
  }
}
.project__card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 250px;
}
.project__card .project__link {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 10;
}
.project__card p {
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
}
.project__card .project__content {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  height: 100%;
  opacity: 0;
  top: 0;
  transition: all 0.3s;
}
.project__card .project__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
  transition: all 0.3s;
}
.project__card .project__technologies {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.5rem;
  row-gap: 0.75rem;
  list-style: none;
}
.project__card .project__github {
  z-index: 20;
}
.project__card:hover .project__image {
  transform: scale(1.07);
}
.project__card:hover .project__content {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.7);
}

@media (max-width: 1536px) {
  .project__card {
    height: 210px;
  }
}
@media (max-width: 1280px) {
  .project__card {
    height: 160px;
  }
}
@media (max-width: 1024px) {
  .project__card {
    height: 240px;
  }
}
.skill__card {
  display: flex;
  align-items: center;
  background-color: var(--bg-mid-blue);
  color: var(--text-light-gray);
  outline: 2px solid var(--main-blue);
  border-radius: 10px;
  padding: 10px 20px;
  z-index: 2;
}
.skill__card .skill__logo {
  min-width: 60px;
  width: 60px;
  height: 60px;
  object-fit: contain;
}
.skill__card-header {
  display: flex;
  justify-content: space-between;
}
.skill__card-header p {
  display: flex;
  align-items: center;
  gap: 3px;
}
.skill__card-header p svg {
  stroke: var(--text-light-gray);
}
.skill__card .skill__info {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.skill__card .skill__info a {
  font-weight: bold;
}

@media (min-width: 769px) {
  .skill__card {
    min-width: 360px;
    height: 100px;
    width: 30vw;
  }
  .skill__card .skill__info {
    margin-left: 10px;
  }
}
@media (max-width: 768px) {
  .skill__card {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    width: 15rem;
  }
  .skill__card .skill__date, .skill__card .skill__project > span {
    display: none;
  }
  .skill__card .skill__info {
    align-items: center;
    gap: 0.5rem;
  }
  .skill__card .skill__info > * {
    text-align: center;
  }
}
.skill-tag {
  font-size: 0.875rem;
  padding: 0.25rem 0.75rem;
  background-color: var(--main-blue);
  color: white;
  border-radius: 9999px;
}

:root {
  --hue: 223;
  --bg: hsl(var(--hue), 10%, 90%);
  --fg: hsl(var(--hue), 10%, 10%);
  --trans-dur: 0.3s;
  --trans-timing: cubic-bezier(0.76, 0.05, 0.24, 0.95);
  --trans-timing-in: cubic-bezier(0.76, 0.05, 0.86, 0.06);
  --trans-timing-out: cubic-bezier(0.05, 0.76, 0.06, 0.86);
}

body {
  background-color: var(--bg);
  transition: background-color var(--trans-dur), color var(--trans-dur);
}

.theme-container {
  position: fixed;
  top: 76px;
  right: 1rem;
  z-index: 10;
  display: none;
}

.switch__icon {
  position: absolute;
  top: 0.375em;
  right: 0.375em;
  width: 0.75em;
  height: 0.75em;
  font-size: 2.25rem;
  transition: opacity calc(var(--trans-dur) / 2), transform calc(var(--trans-dur) / 2);
}
.switch__icon polyline {
  transition: stroke-dashoffset calc(var(--trans-dur) / 2);
}

.switch__icon--light,
.switch__icon--light polyline {
  transition-delay: calc(var(--trans-dur) / 2);
  transition-timing-function: var(--trans-timing-out);
}

.switch__icon--dark {
  opacity: 0;
  transform: translateX(-0.75em) rotate(30deg) scale(0.75);
  transition-timing-function: var(--trans-timing-in);
}

.switch__input {
  color: var(--fg);
  font: 36px sans-serif;
  background-color: hsl(210, 90%, 70%);
  border-radius: 0.75em;
  box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.5);
  position: relative;
  width: 3em;
  height: 1.5em;
  cursor: pointer;
  appearance: none;
  transition: background-color var(--trans-dur) var(--trans-timing);
}
.switch__input:focus-visible {
  outline: none;
}
.switch__input:before, .switch__input:after {
  content: "";
  position: absolute;
}
.switch__input:before {
  background-color: hsl(50, 90%, 50%);
  border-radius: inherit;
  mask-image: linear-gradient(120deg, hsl(0, 0%, 0%) 20%, hsla(0, 0%, 0%, 0) 80%);
  inset: 0;
  transition: background-color var(--trans-dur) var(--trans-timing);
}
.switch__input:after {
  background-color: hsl(0, 0%, 100%);
  border-radius: 50%;
  box-shadow: 0.05em 0.05em 0.05em hsla(var(--hue), 90%, 10%, 0.1);
  top: 0.125em;
  left: 0.125em;
  width: 1.25em;
  height: 1.25em;
  transition: background-color var(--trans-dur) var(--trans-timing), transform var(--trans-dur) var(--trans-timing);
  z-index: 1;
}
.switch__input:checked {
  background-color: hsl(290, 90%, 40%);
}
.switch__input:checked:before {
  background-color: hsl(220, 90%, 40%);
}
.switch__input:checked:after {
  background-color: hsl(0, 0%, 0%);
  transform: translateX(1.5em);
}
.switch__input:checked ~ .switch__icon--light, .switch__input:checked ~ .switch__icon--light polyline {
  transition-delay: 0s;
  transition-timing-function: var(--trans-timing-in);
}
.switch__input:checked ~ .switch__icon--light {
  opacity: 0;
  transform: translateX(-0.75em) rotate(-30deg) scale(0.75);
}
.switch__input:checked ~ .switch__icon--light polyline {
  stroke-dashoffset: 1.5;
}
.switch__input:checked ~ .switch__icon--dark {
  opacity: 1;
  transform: translateX(-1.5em);
  transition-delay: calc(var(--trans-dur) / 2);
  transition-timing-function: var(--trans-timing-out);
}

/*# sourceMappingURL=home.output.css.map */
