@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;
}

.header {
    width: 100%;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 10%;
    overflow: hidden;
    margin-top: 5vh;
}
@media (min-width: 1025px) {
    .header {
        height: 90vh;
    }
}
.header__subtitle {
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-size: 1rem;
    color: #f8f8f8;
    font-size: clamp(1.25rem, 2.7vw, 1.75rem);
    font-weight: 500;
    text-align: center;
    margin-top: 1rem;
}
.header__title-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.header__title {
    font-family: "Maragsa", "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-size: clamp(3.6875rem, 8vw, 5.625rem);
    color: #f8f8f8;
    text-align: center;
}
.header__title-scribble {
    width: 100%;
}
@media (min-width: 520px) {
    .header__title-scribble {
        max-width: 40vh;
    }
}
@media (min-width: 1538px) {
    .header__title-scribble {
        max-width: 50vh;
    }
}
.header__sphere {
    position: absolute;
    width: 25rem;
    height: 25rem;
    z-index: -1;
}
@media (min-width: 1025px) {
    .header__sphere {
        right: 20%;
    }
}

.section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 5vh 1rem;
    min-height: 80vh;
}
@media (min-width: 1025px) {
    .section {
        padding: 5vh 16vw;
    }
}
.section--opquast {
    min-height: 20vh;
    margin-top: -2rem;
}
@media (min-width: 1024px) {
    .section--opquast {
        justify-content: flex-start;
    }
}
.section--recom {
    min-height: 20vh;
}
@media (min-width: 1024px) {
    .section--recom {
        justify-content: flex-start;
    }
}

.about {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.about__text {
    max-width: 70ch;
}
@media (min-width: 1024px) {
    .about__text {
        width: 60%;
    }
}
@media (min-width: 1025px) {
    .about {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 2rem;
    }
}
.about__img {
    object-fit: cover;
    width: 100%;
}
.about__img-wrapper {
    display: flex;
    position: relative;
    border-radius: 0.4rem;
    overflow: hidden;
    border: 1px solid #232323;
}
.about__img-wrapper--col {
    width: 100%;
}
@media (min-width: 1025px) {
    .about__img-wrapper--col {
        display: none;
    }
}
.about__img-wrapper--row {
    width: 40%;
    align-self: stretch;
}
@media (max-width: 1024px) {
    .about__img-wrapper--row {
        display: none;
    }
}
.about__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
}
.about__header {
    width: 100%;
}
.about__subtitle {
    font-size: clamp(1.125rem, 1.7vw, 1.4325rem);
    font-style: italic;
    font-weight: 500;
}
.about__content {
    color: #b5b5b5;
    font-size: 1rem;
}
.about__opquast {
    width: 100%;
}

.opquast {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
}
.opquast__img {
    max-width: 10rem;
}
.opquast__content {
    max-width: 60ch;
}
@media (min-width: 1024px) {
    .opquast__content {
        width: 100%;
        max-width: 90ch;
    }
}

.recommandations {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
    max-width: 60ch;
}
@media (min-width: 1025px) {
    .recommandations {
        max-width: 100%;
    }
}
.recommandations__content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
@media (min-width: 1025px) {
    .recommandations__content-wrapper {
        display: grid;
        grid-template-areas: "main main" "side1 side2";
        gap: 2rem;
    }
}
.recommandations .recommandation {
    border: 1px solid #232323;
    padding: 1rem;
    border-radius: 0.4rem;
    height: 100%;
}
.recommandations .recommandation__author,
.recommandations .recommandation__author-link {
    color: #f8f8f8;
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-size: 1rem;
    color: #f8f8f8;
}
.recommandations .recommandation--main {
    grid-area: main;
}
.recommandations .recommandation--side1 {
    grid-area: side1;
}
.recommandations .recommandation--side2 {
    grid-area: side2;
}

.section-title {
    font-family: "Maragsa", "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-size: clamp(2.5rem, 1.5vw, 3.875rem);
    color: #f8f8f8;
}
@media (max-width: 394px) {
    .section-title {
        font-size: 1.8rem;
    }
}

.projects {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
.projects__cards-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    width: 100%;
    max-width: 60ch;
}
@media (min-width: 1025px) {
    .projects__cards-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 3rem;
        max-width: none;
    }
}
.projects__card {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}
.projects__card:hover .projects__card-img-wrapper {
    transform: scale(1.01);
    transition: box-shadow 0.1s ease-out, transform 0.1s ease-out;
}
.projects__card--allocine:hover .projects__card-img-wrapper {
    box-shadow: 0 0.125rem 1.625rem 0
        color-mix(in oklab, transparent, #be7995 40%);
}
.projects__card--dataviz:hover .projects__card-img-wrapper {
    box-shadow: 0 0.125rem 1.625rem 0
        color-mix(in oklab, transparent, #6e417e 40%);
}
.projects__card--game:hover .projects__card-img-wrapper {
    box-shadow: 0 0.125rem 1.625rem 0
        color-mix(in oklab, transparent, #ca8da5 40%);
}
.projects__card--nhm:hover .projects__card-img-wrapper {
    box-shadow: 0 0.125rem 1.625rem 0
        color-mix(in oklab, transparent, #987e66 40%);
}
.projects__card--podcast:hover .projects__card-img-wrapper {
    box-shadow: 0 0.125rem 1.625rem 0
        color-mix(in oklab, transparent, #bd6d52 40%);
}
.projects__card--butmmi:hover .projects__card-img-wrapper {
    box-shadow: 0 0.125rem 1.625rem 0
        color-mix(in oklab, transparent, #ebe8e6 30%);
}
.projects__card--art:hover .projects__card-img-wrapper {
    box-shadow: 0 0.125rem 1.625rem 0
        color-mix(in oklab, transparent, #ff8138 40%);
}
.projects__card--windmap:hover .projects__card-img-wrapper {
    box-shadow: 0 0.125rem 1.625rem 0
        color-mix(in oklab, transparent, #1c9ebc 30%);
}
.projects__card--madatlas:hover .projects__card-img-wrapper {
    box-shadow: 0 0.125rem 1.625rem 0
        color-mix(in oklab, transparent, #e4ede7 30%);
}
@media (min-width: 1025px) {
    .projects__card {
        display: grid;
        grid-template-rows: auto 1fr;
        gap: 2rem;
        justify-content: flex-start;
        align-items: flex-start;
    }
}
.projects__card-img-wrapper {
    width: 100%;
    border-radius: 0.4rem;
    overflow: hidden;
    border: 1px solid #232323;
    transition: box-shadow 0.1s ease-out, transform 0.1s ease-out;
    aspect-ratio: 16/9;
}
.projects__card-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.projects__card-infos {
    width: 100%;
    color: #f8f8f8;
}
@media (min-width: 1025px) {
    .projects__card-infos {
        display: grid;
        grid-template-rows: 0.5fr 1fr 1fr;
    }
}
.projects__card-infos-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}
.projects__card-title {
    font-family: "Maragsa", "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-size: clamp(2rem, 2vw, 2.125rem);
    color: #f8f8f8;
    font-weight: 500;
    margin: 0.375rem 0;
}
.projects__card-types {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    row-gap: 0.2rem;
    display: flex;
}
.projects__card-type {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: italic;
    width: fit-content;
    padding: 0.125rem 0.5rem 0.1875rem;
    margin-bottom: 0.3em;
    border: 1px solid #b5b5b5;
    border-radius: 10em;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
}
.projects__card-sphere--blue {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50rem;
    background: linear-gradient(-35deg, #00b2ff 10%, transparent 80%);
}
.projects__card-sphere--green {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50rem;
    background: linear-gradient(-35deg, #5bb600 10%, transparent 80%);
}
.projects__card-sphere--yellow {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50rem;
    background: linear-gradient(-35deg, #ffbe41 10%, transparent 80%);
}
.projects__card-sphere--purple {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50rem;
    background: linear-gradient(-35deg, #aa41ff 10%, transparent 80%);
}
.projects__card-sphere--red {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50rem;
    background: linear-gradient(-35deg, #df4123 10%, transparent 80%);
}
.projects__card-year {
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-size: 1rem;
    color: #f8f8f8;
}
.projects__card-resume {
    font-family: "IBM Plex Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-size: 1rem;
    color: #b5b5b5;
}

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