@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;
  }
}
#login {
  background-color: var(--bg-mid-blue);
  height: calc(100vh - 116px);
  display: flex;
  justify-content: center;
  align-items: center;
}
#login h1 {
  font-size: 1.5rem;
  font-weight: 700;
}
#login .card {
  max-width: 28rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: white;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
#login .card header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
#login .card header span {
  background: #dbeafe;
  padding: 0.75rem;
  border-radius: 9999px;
  width: 3.5rem;
  height: 3.5rem;
}
#login .card header svg {
  color: var(--accent-blue);
}
#login .card .errors {
  background: #fef2f2;
  color: var(--main-red);
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}
#login .card #login-form div {
  display: flex;
  justify-content: center;
}
#login .card #login-form label {
  display: block;
  color: var(--text-main-gray);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
#login .card #login-form input[type=text], #login .card #login-form input[type=password] {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-mid-gray);
  border-radius: 0.375rem;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
#login .card #login-form input[type=text]:focus, #login .card #login-form input[type=password]:focus {
  border: 1px solid var(--main-blue);
  outline: 1px solid var(--main-blue);
}

#project {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding-top: 4rem;
  padding-bottom: 2rem;
  background-color: var(--bg-mid-blue);
  min-height: calc(100vh - 116px);
  color: white;
}
#project h1 {
  font-size: 2rem;
  text-align: center;
}
#project main > .project__left .project__image {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  overflow-y: hidden;
  object-position: top;
  border-radius: 0.75rem;
}
#project main > .project__left ul {
  margin-top: 0.25rem;
  width: 100%;
  list-style: none;
  display: grid;
  row-gap: 0.75rem;
  column-gap: 0.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
#project main > .project__left ul > li {
  display: flex;
  justify-content: center;
  overflow: hidden;
}
#project main > .project__left ul > li img {
  max-width: 100%;
  height: 120px;
  object-fit: contain;
  transition: all 0.2s;
}
#project main > .project__left ul > li img:hover {
  transform: scale(1.1);
}
#project main > .project__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.125rem;
  height: fit-content;
  margin-top: 1rem;
  font-size: 1.125rem;
  text-align: center;
}
#project main > .project__right hr {
  width: 100%;
}
#project main > .project__right a {
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
}
#project main > .project__right p span {
  display: block;
  margin-top: 0.375rem;
}
#project ul.project__technologies {
  list-style: none;
  display: flex;
  gap: 2rem;
}
#project ul.project__technologies p {
  text-align: center;
}
#project .return-link {
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--bg-button-blue);
  border-radius: 9999px;
  font-size: 1.25rem;
  border: 2px solid var(--bg-button-blue);
}
#project .return-link svg {
  width: 1.5rem;
  height: 1.5rem;
}

@media (min-width: 1024px) {
  #project main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    padding-bottom: 0.75rem;
  }
  #project main .project__right {
    margin: 0;
    text-align: start;
    align-items: start;
  }
}
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;
  }
}
: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=app.output.css.map */
