@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Lora:ital,wght@0,400..700;1,400..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");
@font-face {
  font-family: "Maragsa";
  src: url(../fonts/Maragsa.woff2) format("woff2");
}
/* --------------------------------- COLORS --------------------------------- */
/* ----------------------------- COLORS APPLIED ----------------------------- */
/* ---------------------------- MARGINS/PADDINGS ---------------------------- */
/* ------------------------------- TRANSITIONS ------------------------------ */
@keyframes bg-animation {
  0% {
    transform: translate(0, 0);
  }
  10% {
    transform: translate(-5%, -5%);
  }
  20% {
    transform: translate(-10%, 5%);
  }
  30% {
    transform: translate(5%, -10%);
  }
  40% {
    transform: translate(-5%, 15%);
  }
  50% {
    transform: translate(-10%, 5%);
  }
  60% {
    transform: translate(15%, 0);
  }
  70% {
    transform: translate(0, 10%);
  }
  80% {
    transform: translate(-15%, 0);
  }
  90% {
    transform: translate(10%, 5%);
  }
  100% {
    transform: translate(5%, 0);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none;
  }
}
html {
  scrollbar-color: color-mix(in oklab, #f8f8f8, #0e0e0e 40%) color-mix(in oklab, #f8f8f8, #0e0e0e 95%);
}

body {
  font-family: "IBM Plex Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 1rem;
  color: #b5b5b5;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  min-height: 100vh;
  width: 100%;
  background-color: #0e0e0e;
}

.bg {
  position: fixed;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  width: 200%;
  height: 200vh;
  background: transparent url(../img/noise.png) repeat 0 0;
  background-blend-mode: multiply;
  background-repeat: repeat;
  z-index: -1;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
ul,
li,
main {
  margin: 0;
  padding: 0;
}

h2 {
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 1rem;
  color: #f8f8f8;
}

ul,
li {
  display: block;
  height: fit-content;
}

p {
  line-height: 1.5;
}

p:not(:last-child) {
  margin-bottom: 0.6em;
}

.main {
  width: 100%;
}

strong {
  color: #f8f8f8;
}

.nowrap {
  white-space: nowrap;
}

.strong {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: italic;
}

.indication {
  font-size: 0.85em;
  color: #b5b5b5;
  margin-left: 0.25rem;
}

.link {
  text-decoration: underline;
  color: #f8f8f8;
  transition: color 0.2s ease-out, text-decoration 0.2s ease-out, background-color 0.2s ease-out, height 0.2s ease-out;
  background-color: transparent;
}
.link:focus,
.link :focus-visible {
  background-color: #f8f8f8;
  color: #0e0e0e;
}
.link:active, .link--active, .link:hover, .link:focus(:not(:focus-visible)) {
  color: #00b2ff;
  transition: color 0.2s ease-out, text-decoration 0.2s ease-out, background-color 0.2s ease-out, height 0.2s ease-out;
  background-color: transparent;
}
.link--icon {
  display: flex;
  padding: 0.1em;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0e0e0e;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s ease-in-out;
}
.loading-screen--hide {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.loader {
  border: 8px solid color-mix(in oklab, transparent, #f8f8f8 10%);
  border-top: 8px solid color-mix(in oklab, transparent, #f8f8f8 50%);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s infinite linear;
}
@media (prefers-reduced-motion: reduce) {
  .loader {
    animation: none;
  }
}

.button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  border: 1px solid #00b2ff;
  border-radius: 0.4rem;
  box-shadow: 0 0 10px color-mix(in oklab, #00b2ff 30%, transparent);
  color: #0e0e0e;
  background-color: #f8f8f8;
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.2s ease-out, text-decoration 0.2s ease-out, background-color 0.2s ease-out, height 0.2s ease-out;
}
.button:active, .button:hover, .button:focus, .button:focus-visible {
  background-color: #0e0e0e;
  color: #f8f8f8;
  transition: color 0.2s ease-out, text-decoration 0.2s ease-out, background-color 0.2s ease-out, height 0.2s ease-out;
}
.button:active .indication, .button:hover .indication, .button:focus .indication, .button:focus-visible .indication {
  color: #f8f8f8;
}
.button:active .button__icon, .button:hover .button__icon, .button:focus .button__icon, .button:focus-visible .button__icon {
  fill: #f8f8f8;
  transition: color 0.2s ease-out, text-decoration 0.2s ease-out, background-color 0.2s ease-out, height 0.2s ease-out;
}
.button--secondary {
  background-color: #0e0e0e;
  color: #f8f8f8;
}
.button--secondary .button__icon {
  fill: #f8f8f8;
}
.button--secondary:active, .button--secondary:hover, .button--secondary:focus, .button--secondary:focus-visible {
  background-color: #f8f8f8;
  color: #0e0e0e;
}
.button--secondary:active .button__icon, .button--secondary:hover .button__icon, .button--secondary:focus .button__icon, .button--secondary:focus-visible .button__icon {
  fill: #0e0e0e;
}
.button--secondary:active .indication, .button--secondary:hover .indication, .button--secondary:focus .indication, .button--secondary:focus-visible .indication {
  color: #0e0e0e;
}
.button:has(.button__icon) {
  padding-right: 0.8rem;
  gap: 0.4rem;
}
.button__icon {
  fill: #0e0e0e;
  transition: fill 0.2s ease-out;
}
@media (min-width: 1025px) {
  .button {
    width: fit-content;
  }
}

.nav {
  position: fixed;
  z-index: 100;
  width: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.nav__sphere {
  height: 1.6rem;
  width: 1.6rem;
}
.nav__sphere-wrapper {
  text-decoration: none;
}
.nav__toggle {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  color: #f8f8f8;
}
.nav__toggle svg {
  height: 1.4rem;
}
.nav__toggle-img--invisible {
  display: none;
}
@media (min-width: 1025px) {
  .nav__toggle {
    display: none;
  }
}
.nav__links {
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  z-index: -1;
  padding: 5rem 0 4rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  background-color: #0e0e0e;
  height: fit-content;
  transition: color 0.2s ease-out, text-decoration 0.2s ease-out, background-color 0.2s ease-out, height 0.2s ease-out;
  border-bottom: 1px solid #b5b5b5;
}
.nav__links--closed {
  display: none;
  height: 0%;
  transition: color 0.2s ease-out, text-decoration 0.2s ease-out, background-color 0.2s ease-out, height 0.2s ease-out;
}
@media (min-width: 1025px) {
  .nav__links {
    background-color: transparent;
    position: relative;
    width: auto;
    padding: 0;
    background: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    z-index: 1;
    box-shadow: none;
    gap: 1.4em;
    border: none;
  }
}
.nav__link-wrapper {
  list-style: none;
  text-align: end;
}
.nav__link {
  color: #b5b5b5;
  text-decoration: none;
  transition: color 0.2s ease-out, text-decoration 0.2s ease-out, background-color 0.2s ease-out, height 0.2s ease-out;
  font-size: 1.1em;
}
.nav__link:focus, .nav__link:focus-visible {
  color: #0e0e0e;
  background-color: #f8f8f8;
}
.nav__link--active, .nav__link:hover, .nav__link:active, .nav__link:focus:not(:focus-visible) {
  color: #f8f8f8;
  text-decoration: underline;
  transition: color 0.2s ease-out, text-decoration 0.2s ease-out, background-color 0.2s ease-out, height 0.2s ease-out;
  background-color: transparent;
}
.nav__link--home:focus:not(:focus-visible), .nav__link--home:active {
  background-color: transparent;
}
.nav__link--skipmain {
  opacity: 0;
  position: fixed;
  left: 50%;
  top: 4rem;
  transform: translateX(-50%);
  z-index: -99;
  color: #0e0e0e;
  background-color: #f8f8f8;
}
.nav__link--skipmain:focus, .nav__link--skipmain:active, .nav__link--skipmain:focus-visible {
  opacity: 1;
  z-index: 99;
  padding: 1rem;
  font-weight: 500;
  color: #0e0e0e;
}

/* --------------------------------- Footer --------------------------------- */
.footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10vh 1rem;
  gap: 1rem;
  text-align: center;
}
@media (min-width: 1025px) {
  .footer {
    padding: 10vh 0;
  }
}
.footer__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  max-width: 60ch;
}
.footer__content--credits {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
  width: 100%;
  border-top: 1px solid #00b2ff;
  padding-top: 0.3rem;
  font-weight: 500;
  max-width: 100%;
  margin-top: 10vh;
  font-size: 0.9375rem;
}
@media (min-width: 582px) {
  .footer__content--credits {
    margin-top: 13vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.footer__title {
  font-family: "Maragsa", "Lora", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 2rem;
  color: #f8f8f8;
}
.footer__emoji {
  font-size: 1.25rem;
  font-style: normal;
}
.footer__networks {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
}
.footer__network {
  opacity: 0.6;
  transition: opacity 0.2s ease-out;
}
.footer__network:hover {
  opacity: 1;
  transition: opacity 0.2s ease-out;
}
.footer__mail .mail__link {
  text-decoration: underline;
}

.nav__links-project {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}
.nav__link--project {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0.375rem;
  border: 1px solid #b5b5b5;
  border-radius: 10rem;
  padding: 0.25rem 0.75rem;
  font-size: 1rem;
  transition: gap 0.2s ease-out, border-color 0.2s ease-out;
}
@media (min-width: 1025px) {
  .nav__link--project {
    position: fixed;
    bottom: 5vh;
  }
  .nav__link--project--left {
    left: 2rem;
  }
  .nav__link--project--right {
    right: 2rem;
  }
}
.nav__link--project:hover {
  text-decoration: none;
  border-color: #f8f8f8;
  gap: 0.75rem;
  transition: gap 0.2s ease-out, border-color 0.2s ease-out;
}
.nav__link--project:hover .nav__arrow {
  opacity: 1;
  transition: opacity 0.2s ease-out;
}
.nav__arrow {
  width: 0.9rem;
  opacity: 0.6;
  transition: opacity 0.2s ease-out;
}
.nav__arrow--left {
  transform: rotate(180deg);
}

.bottom__links-project {
  display: flex;
  width: 100%;
  justify-content: space-evenly;
  flex-flow: wrap;
  gap: 1rem;
}
@media (min-width: 1025px) {
  .bottom__links-project {
    display: none;
  }
}

.header {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 50vh;
  padding: 5vh 1rem;
  z-index: 1;
}
.header__img-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.12;
  top: 0;
  left: 0;
  z-index: -1;
}
.header__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.header__text {
  text-align: center;
  margin-top: 2rem;
  max-width: 60ch;
}
.header__title {
  font-family: "Maragsa", "Lora", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(2.875rem, 6vw, 3.75rem);
  color: #f8f8f8;
}
.header__resume {
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: #f8f8f8;
}
.header__links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  position: absolute;
  bottom: 0;
  transform: translateY(50%);
  z-index: 2;
  gap: 1rem;
}
@media (min-width: 625px) {
  .header__links {
    width: max-content;
  }
}

.project {
  padding: 5vh 1rem;
  width: 100%;
  padding-top: 3vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  z-index: 0;
}
@media (min-width: 1025px) {
  .project {
    padding: 10vh 20vw 0vh 20vw;
    padding-top: 5vh;
  }
}
.project__img {
  width: 100%;
}

.bulletpoints {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 1.5rem 0 2rem;
}
@media (min-width: 625px) {
  .bulletpoints {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bulletpoint {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.2em;
}
.bulletpoint__title {
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: #f8f8f8;
}

.description__group:not(:last-child) {
  margin-bottom: 2rem;
}
.description__text {
  max-width: 75ch;
}
.description__text:not(:last-child) {
  margin-bottom: 1rem;
}
.description__text--step {
  padding-left: 1rem;
  border-left: 1px solid color-mix(in oklab, #ebebeb, transparent);
}
.description__steps {
  margin-left: 0.5rem;
}
.description__title {
  color: #ebebeb;
  width: fit-content;
  font-family: "Maragsa", "Lora", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(1.5rem, 2vw, 1.75rem);
  color: #f8f8f8;
  margin-bottom: 0.25rem;
}
.description__subtitle {
  color: #ebebeb;
  width: fit-content;
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: 1.125rem;
  color: #f8f8f8;
  margin-bottom: 0.25rem;
}
.description__subtitle:first-child {
  margin-top: 0.5rem;
}

.video {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
}
@media (min-width: 625px) {
  .video {
    padding-bottom: 56.25%; /* Aspect ratio 16:9 (hauteur / largeur * 100) */
  }
}
.video__iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.gallery--art {
  display: flex;
  flex-direction: column;
}
@media (min-width: 725px) {
  .gallery--art {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .gallery--art .project__img {
    width: calc(50% - 1rem);
  }
}

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