@font-face {
    font-family: 'Noah';
    src: url('../fonts/Noah-Regular.woff') format('woff2'),
        url('../fonts/Noah-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Noah';
    src: url('../fonts/Noah-Bold.woff') format('woff2'),
        url('../fonts/Noah-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Dirtyline';
    src: url('../fonts/Dirtyline.woff2') format('woff2'),
        url('../fonts/Dirtyline.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
    --noir: #101010;
    --blanc: #FCFCFC;
    --gris: #464646;
    --rose: #FF66F0;
}

html,
body {
    margin: 0 0;
    padding: 0 0;
}

body {
    /* max-width: 1440px; */
    height: 100vh;
    padding: 24px;
    cursor: none;
    font-family: 'Noah';
    font-weight: 400;
    background-color: var(--noir);
    color: var(--blanc);
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
    padding: 0;
}

a {
    transition: 0.2s ease;
    cursor: none;
    text-decoration: none;
    color: var(--blanc);
}

a:hover {
    color: var(--rose);
}

@media screen and (max-width: 980px) {
    body {
        padding: 16px;
    }
}

@media screen and (max-width: 475px) {
    body {
        padding: 0;
    }
}


/* ------------------------------------------------- */
/* ---------------- CADRE / CURSOR ----------------- */
/* ------------------------------------------------- */

/* ----------- CADRE ------------- */

[class^="cadre-line"] {
    position: fixed;
    z-index: 99999;
    background-color: var(--noir);
}

.cadre-line-1,
.cadre-line-2 {
    top: 0;
    left: 0;
    height: 22px;
    width: 100%;
}

.cadre-line-2 {
    top: unset;
    bottom: 0;
}

.cadre-line-3,
.cadre-line-4 {
    top: 0;
    left: 0;
    height: 100%;
    width: 22px;
}

.cadre-line-4 {
    left: unset;
    right: 0;
}

[class^="cadre-border-"] {
    position: fixed;
    z-index: 9999;
    background-color: var(--gris);
}

.cadre-border-1,
.cadre-border-2 {
    top: 22px;
    left: 0;
    height: 2px;
    width: 100%;
}

.cadre-border-2 {
    top: unset;
    bottom: 22px;
}

.cadre-border-3,
.cadre-border-4 {
    left: 22px;
    height: 100%;
    width: 2px;
}

.cadre-border-4 {
    left: unset;
    right: 22px;
}

@media screen and (max-width: 980px) {

    .cadre-line-1,
    .cadre-line-2 {
        height: 14px;
    }

    .cadre-line-3,
    .cadre-line-4 {
        width: 14px;
    }

    .cadre-border-1 {
        top: 14px;
    }

    .cadre-border-2 {
        bottom: 14px;
    }

    .cadre-border-3 {
        left: 14px;
    }

    .cadre-border-4 {
        right: 14px;
    }

}

@media screen and (max-width: 475px) {

    [class^="cadre-line"],
    [class^="cadre-border"] {
        display: none;
    }
}

/* ----------- CURSOR ------------- */

.cursor {
    position: fixed;
    z-index: 999999;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    pointer-events: none;
    transition: none;
    opacity: 0;
}

.cursor-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background-color: var(--rose);
    font-weight: 700;
    color: transparent;
}

.cursor-icon::before {
    content: "Click";
}

.cursor-icon-hover {
    height: 56px;
    width: 56px;
    background-color: var(--blanc);
    color: var(--noir);
}

.cursor-icon-top::before {
    content: "Back";
}

.cursor.rjs_cursor_visible {
    opacity: 1;
}

.cursor.rjs_cursor_hidden {
    opacity: 0;
}

/* ------------------------------------------------- */
/* --------------------- NAV ----------------------- */
/* ------------------------------------------------- */

nav {
    display: flex;
    justify-content: space-between;
    position: fixed;
    z-index: 9999;
    width: 100%;
    top: 0;
    left: 0;
    padding: 48px;
}

.logo {
    display: block;
    width: 75px;
}

.logo-img {
    width: 100%;
    height: 100%;
}

.nav-menu {
    transition: 0.2s ease;
    font-family: 'Dirtyline';
}

.nav-menu:hover,
.nav-menu-open:hover {
    color: var(--rose);
}

.nav-open {
    position: fixed;
    overflow: hidden;
    z-index: 999;
    width: 100%;
    height: 100vh;
    right: -100%;
    top: 0;
    padding: 5px;
    transition: 0.7s ease;
    background-color: var(--noir);
}

.nav-open-active {
    right: 0;
}

.nav-menu-open {
    position: absolute;
    top: 48px;
    right: 48px;
    padding: 0;
    transition: 0.2s ease;
    font-family: 'Dirtyline';
}

.menu-content {
    display: flex;
    justify-content: space-between;
    max-width: 1080px;
    height: 100%;
    margin: 0 180px;
    padding: 100px 0;
}

.nav-link-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    font-size: 100px;
    font-family: 'Dirtyline';
}

.nav-link-item a {
    margin-left: 32px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background-color: var(--blanc);
}

.nav-social {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

h4 {
    margin-bottom: 16px;
    text-align: right;
    font-family: 'Dirtyline';
    font-size: 32px;
}

.nav-social a {
    text-transform: uppercase;
    font-size: 16px;
}

.nav-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 64px;
}

.nav-contact img {
    margin-right: 16px;
}

.nav-network a {
    margin-left: 16px;
}

@media screen and (max-width: 1200px) {
    .menu-content {
        margin: 0 80px;
    }

    .nav-link-item {
        font-size: 80px;
    }
}

@media screen and (max-width: 980px) {
    nav {
        padding: 32px;
    }

    .logo {
        width: 56px;
    }

    .nav-menu-open {
        top: 32px;
        right: 32px;
    }

    .menu-content {
        flex-direction: column;
        justify-content: flex-start;
        padding: 48px 0;
    }

    .nav-link-item {
        margin-bottom: 32px;
        font-size: 64px;
    }

    .nav-contact,
    .nav-social {
        align-items: flex-start;
    }

    .nav-contact {
        margin-bottom: 32px;
    }

    h4 {
        text-align: left;
        font-size: 24px;
    }

    .nav-network a {
        margin-left: 0;
        margin-right: 16px;
    }
}

@media screen and (max-width: 650px) {
    .menu-content {
        margin: 0 32px;
    }

    .nav-link-item {
        font-size: 48px;
    }
}

@media screen and (max-width: 475px) {
    .logo {
        width: 40px;
    }

    nav {
        padding: 24px;
    }

    .nav-menu-open {
        top: 24px;
        right: 24px;
    }

    .nav-link-item {
        margin-bottom: 24px;
        font-size: 32px;
    }

    .nav-social {
        margin-top: 16px;
    }

    .nav-network-link {
        display: flex;
        flex-direction: column;
    }

    .nav-network a {
        margin-right: 0;
        margin-bottom: 16px;
    }
}

/* ------------------------------------------------- */
/* -------------------- HEADER --------------------- */
/* ------------------------------------------------- */

header {
    height: 100%;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 120px 0;
}

.pink-letter {
    text-transform: uppercase;
    color: var(--rose);
}

h1 {
    font-size: 160px;
    font-family: 'Dirtyline';
}

.intro {
    display: flex;
    flex-direction: column;
    max-width: 450px;
    margin-top: 32px;
    font-family: 'Dirtyline';
    line-height: 130%;
    letter-spacing: 1px;
}

.scroll {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 80px;
}

.scroll-box {
    display: flex;
    margin: 0;
    animation: scroll 14s linear infinite;
    font-size: 40px;
    text-transform: uppercase;
}

.scroll-box a {
    margin: 0;
    text-transform: uppercase;
}

.scroll-box a::before {
    content: '•';
    color: var(--blanc);
    display: inline-block;
    margin: 0 24px;
}

.scroll-box a:hover {
    color: var(--rose);
}

.scroll:hover .scroll-box {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@media screen and (max-width: 1200px) {
    header {
        padding: 140px 80px;
    }
}

@media screen and (max-width: 980px) {
    h1 {
        font-size: 120px;
    }

    .scroll {
        margin-bottom: 40px;
    }
    .scroll-box a{
        font-size: 32px;
    }
    .scroll-box a::before {
        margin: 0 16px;
    }
}

@media screen and (max-width: 650px) {
    h1 {
        font-size: 80px;
        text-align: center;
    }

    .intro {
        margin: 0 auto;
        margin-top: 48px;
        text-align: center;
    }
}

@media screen and (max-width: 475px) {
    header {
        padding: 160px 20px 40px 20px;
    }

    h1 {
        font-size: 64px;
    }
    .scroll{
        margin-bottom: 0;
    }
    .scroll-box a{
        font-size: 24px;
    }
    .scroll-box a::before {
        margin: 0 8px;
    }
}


/* ------------------------------------------------- */
/* -------------------- INTRO ---------------------- */
/* ------------------------------------------------- */

[class^="section"] {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}


@media screen and (max-width: 1200px) {
    [class^="section"] {
        padding: 0 80px;
    }
}

@media screen and (max-width: 650px) {
    [class^="section"] {
        padding: 0 40px;
    }
}

@media screen and (max-width: 475px) {
    [class^="section"] {
        padding: 0 24px;
    }
}

/* ------------------------------------------------- */
/* ------------------- PROJETS --------------------- */
/* ------------------------------------------------- */

.section-projets {
    margin-bottom: 80px;
}

[class^="projet-box"] {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 280px;
    height: 450px;
}

h3 {
    position: absolute;
    top: 50%;
    z-index: 20;
    transform: translateY(-50%);
    width: 180%;
    transition: 0.5s ease;
    font-size: 64px;
    font-family: 'Dirtyline';
    text-align: center;
    opacity: 1;
}

.projet-info {
    position: relative;
    bottom: 9px;
    z-index: 20;
    font-size: 16px;
    text-align: center;
    text-transform: uppercase;
}

[class^="projet-box"] .projet-info:last-child {
    top: 9px;
    bottom: 0;
}

[class^="projet-link"] {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: 15;
    top: 50%;
    overflow: hidden;
    transform: translateY(-50%);
    width: 100%;
    height: 100%;
    transition: 0.5s ease;
}

[class^="projet-bg"] {
    position: absolute !important;
    overflow: hidden !important;
    width: 190%;
    height: 140%;
    animation: rotate 10s ease alternate infinite;
    background-color: var(--gris);
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

[class^="projet-img"] {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    transition: 0.2s ease;
    opacity: 0;
}

/* -------------------- HOVER --------------------- */


[class^="projet-box"]:hover [class^="projet-link"] {
    width: 400px;
    height: 400px;
}

[class^="projet-box"]:hover [class^="projet-bg"] {
    width: 150%;
    height: 150%;
    transition: 0.7s ease;
    background-size: cover;
}

[class^="projet-box"]:hover .projet-bg1 {
    background-image: url("../img/bg-svg/bg-projet-curiocites.svg");
}

[class^="projet-box"]:hover .projet-bg2 {
    background-image: url("../img/bg-svg/bg-projet-slownation.svg");
}

[class^="projet-box"]:hover .projet-bg3 {
    background-image: url("../img/bg-svg/bg-projet-coopcycle.svg");
}

[class^="projet-box"]:hover .projet-bg4 {
    background-image: url("../img/bg-svg/bg-projet-vrco.svg");
}

[class^="projet-box"]:hover .projet-bg5 {
    background-image: url("../img/bg-svg/bg-projet-saintlouis.svg");
}

[class^="projet-box"]:hover .projet-bg6 {
    background-image: url("../img/bg-svg/bg-projet-bnp.svg");
}

[class^="projet-box"]:hover .projet-bg7 {
    background-image: url("../img/bg-svg/bg-projet-zone.svg");
}

[class^="projet-box"]:hover .projet-bg8 {
    background-image: url("../img/bg-svg/bg-projet-silence.svg");
}

[class^="projet-box"]:hover [class^="projet-img"] {
    transition: 0.5s ease;
    opacity: 1;
}


[class^="projet-box"]:hover h3 {
    display: none;
    opacity: 0;
}

/* ----------------- ALL BOX ------------------ */


.projets-row {
    display: flex;
}

.projets-row-cell {
    display: flex;
    justify-content: center;
    width: 50%;
}

.projet-box2,
.projet-box4,
.projet-box6,
.projet-box8 {
    margin-top: 200px;
}

/* ----------------- QUERIES ------------------ */


@media screen and (max-width: 1200px) {
    h3 {
        font-size: 56px;
    }
}

@media screen and (max-width: 980px) {
    .section-projets {
        margin-bottom: 64px;
    }

    h3 {
        top: 0;
        bottom: 200px;
        font-size: 64px;
    }

    .projets-row {
        flex-direction: column;
        align-items: center;
    }

    .projets-row-cell {
        width: unset;
        margin-top: 48px;
    }

    [class^="projet-box"] {
        width: 300px;
        height: 350px;
    }

    [class^="projet-box"]:hover h3 {
        opacity: 1;
    }

    [class^="projet-box"] [class^="projet-link"],
    [class^="projet-box"]:hover [class^="projet-link"] {
        width: 300px;
        height: 300px;
    }

    [class^="projet-box"] {
        margin-top: 100px;
    }

    .projet-box1 {
        margin-top: 40px;
    }

    [class^="projet-bg"] {
        width: 150%;
        height: 150%;
    }

    [class^="projet-link"] img {
        opacity: 1;
    }

    .projet-bg1 {
        transition: 0.3s linear;
        background-image: url("../img/bg-svg/bg-projet-curiocites.svg");
    }

    .projet-bg2 {
        transition: 0.3s linear;
        background-image: url("../img/bg-svg/bg-projet-slownation.svg");
    }

    .projet-bg3 {
        transition: 0.3s linear;
        background-image: url("../img/bg-svg/bg-projet-coopcycle.svg");
    }

    .projet-bg4 {
        transition: 0.3s linear;
        background-image: url("../img/bg-svg/bg-projet-vrco.svg");
    }
    .projet-bg5 {
        transition: 0.3s linear;
        background-image: url("../img/bg-svg/bg-projet-saintlouis.svg");
    }

    .projet-bg6 {
        transition: 0.3s linear;
        background-image: url("../img/bg-svg/bg-projet-bnp.svg");
    }

    .projet-bg7 {
        transition: 0.3s linear;
        background-image: url("../img/bg-svg/bg-projet-zone.svg");
    }

    .projet-bg8 {
        transition: 0.3s linear;
        background-image: url("../img/bg-svg/bg-projet-silence.svg");
    }

}

@media screen and (max-width: 750px) {
    h3 {
        font-size: 48px;
    }
}

@media screen and (max-width: 475px) {
    .section-projets {
        margin-bottom: 32px;
    }

    h3 {
        top: 0;
        width: unset;
        font-size: 32px;
    }

    [class^="projet-box"] [class^="projet-link"],
    [class^="projet-box"]:hover [class^="projet-link"] {
        width: 280px;
        height: 280px;
    }

    [class^="projet-box"] {
        height: 320px;
        margin-top: 56px;
    }
}

/* ------------------------------------------------- */
/* -------------------- FOOTER --------------------- */
/* ------------------------------------------------- */

footer {
    width: 100%;
    border-top: solid 2px var(--gris);
    margin-bottom: 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 80px 0;
}

.footer-1 p {
    margin-bottom: 24px;
    font-family: 'Dirtyline';
    font-size: 64px;
    line-height: 130%;
}

.footer-1 img {
    width: 24px;
    margin-right: 24px;
}

.footer-1 a {
    display: flex;
    font-size: 40px;
    text-transform: uppercase;
}

.footer-2 {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-transform: uppercase;
}

.footer-2 a {
    display: flex;
    align-items: center;
    font-size: 40px;
    font-weight: 700;
}

.footer-2 .dot {
    margin-right: 24px;
}

.footer-2 p {
    margin-top: 16px;
    text-align: right;
}

@media screen and (max-width: 1200px) {
    .footer-1 p {
        font-size: 56px;
    }

    .footer-content {
        padding: 40px 80px;
    }
}

@media screen and (max-width: 980px) {
    .footer-1 p {
        font-size: 32px;
    }

    .footer-2 a,
    .footer-1 a {
        font-size: 24px;
    }

    footer {
        margin-bottom: 16px;
    }
}

@media screen and (max-width: 650px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        padding: 40px;
    }

    .footer-1,
    .footer-2 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-1 p {
        text-align: center;
    }

    .footer-2 {
        margin-top: 32px;
    }
}

@media screen and (max-width: 475px) {
    .footer-1 p {
        margin-bottom: 16px;
        font-size: 24px;
    }

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

    .footer-1 img {
        margin-right: 8px;
    }

    footer {
        margin-bottom: 0;
    }

    .footer-content {
        padding: 24px;
    }

    .footer-2 {
        margin-top: 24px;
    }

    .footer-2 a {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .footer-2 p {
        margin-top: 0;
    }

    .footer-2 .dot {
        margin-right: 8px;
    }
}