@font-face {
    font-family: "MonumentExtended-Regular";
    src: url("../font/MonumentExtended-Regular.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

html {
    cursor: none;
    scroll-behavior: smooth;
}

body {
    font-family: nimbus-sans-extended, sans-serif;
    color: white;
    padding: 0;
    margin: 0;
    max-width: 100%;
    background-color: black;
    transition: background-color 1s ease;
}

::selection {
    /* background-color: white; */
    color: #ADADAD;
}

/* curseur et pointeur */

/* .cursor {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    border: 1px solid black;
    position: absolute;
    transition-duration: 400ms;
    transition-timing-function: ease-out;
    pointer-events: none;
    z-index: 999;
} */

.pointer {
    height: 16px;
    width: 16px;
    border-radius: 0;
    background-color: white;
    position: absolute;
    pointer-events: none;
    /* overflow: hidden; */
    z-index: 999;
    mix-blend-mode: difference;
}

.big {
    height: 80px;
    width: 80px;
}

.big::after {
    content: "+";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 30px;
}

a {
    cursor: none;
    font-family: nimbus-sans-extended, sans-serif;
    font-weight: 500;
    font-style: normal;
    text-decoration: none;
    color: white;
}

p {
    color: white;
    font-family: nimbus-sans-extended, sans-serif;
    font-weight: 500;
    font-style: normal;
    line-height: 1.5;
    font-size: 18px;
}

span {
    color: white;
    font-family: nimbus-sans-extended, sans-serif;
    font-weight: 500;
    font-style: normal;
}

h2 {
    font-size: 80px;
    font-weight: 500;
    font-family: "MonumentExtended-Regular";
}

h3 {
    font-size: 18px;
    font-family: "MonumentExtended-Regular";
    letter-spacing: 1px;
    margin-top: 10px;
}

h4 {
    font-size: 13px;
    font-family: "MonumentExtended-Regular";
    letter-spacing: 1px;
    margin-top: 10px;
}

/* ------------------------ MENU ------------------------ */

nav {
    position: fixed;
    padding: 20px;
    z-index: 998;
}

.menu {
    /* -------------- ul -------------- */
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu-list {
    /* -------------- li -------------- */
    display: inline-block;
    position: relative;
    padding-bottom: 3px;
}

.menu-list:before {
    content: "";
    height: 2px;
    position: absolute;
    width: 100%;
    background: #fff;
    bottom: 0;
    transform-origin: right top;
    animation: slide-in .2s ease-in forwards;
}

.menu-list:hover:before {
    transform-origin: left top;
    animation: slide-out .3s ease-in forwards;
}

@keyframes slide-in {
    0% {
        transform: scaleX(1)
    }

    to {
        transform: scaleX(0)
    }
}

@keyframes slide-out {
    0% {
        transform: scaleX(0)
    }

    to {
        transform: scaleX(1)
    }
}

/*
.active:after {
    content: "";
    height: 2px;
    position: absolute;
    width: 100%;
    background: #fff;
    bottom: 0;
    left: 0;
} */

.menu-list a {
    text-decoration: none;
    color: white;
    font-family: nimbus-sans-extended, sans-serif;
    font-weight: 500;
    font-style: normal;
}

/* ------------------------ CONTENU hero ------------------------ */

.container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: row;
}

.logo-div {
    width: 45%;
    position: relative;
}

#logo {
    position: absolute;
    bottom: 0;
}

.intro-div {
    width: 55%;
}

.intro {
    padding: 20px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.infos {
    width: 33%;
    text-align: right;
}

.sociaux {
    width: 33%;
    text-align: right;
}

/* ------------------------ Description ------------------------ */

.description-div {
    height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.description-espace {
    width: 50%;
}

.description {
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.description p {
    width: 400px;
}

/* ------------------------ Projets ------------------------ */

#projets {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
}

.project-section {
    transition: background-color 1s ease;
    margin-bottom: 150px;
}

.project-div {
    padding: 20px;
}

.content-right {
    text-align: right;
    width: 100%;
    margin-bottom: 80px;
    margin-top: 150px;
}

.content-right h2 {
    color: black;
}

.project-list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.project-list img {
    width: 100%;
}

.project-items {
    width: 49%;
}

.project-items-droite {
    margin-top: 250px;
}

.project-titre {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
}

.space {
    margin-top: 100px;
}

.project-disclaimer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin-top: 100px;
}

.project-disclaimer-info {
    width: 50%;
}

.project-disclaimer-info p {
    color: black;
    font-size: 23px;
    padding-top: 30px;
    text-align: center;
}

/* ------------------------ Swap colors ------------------------ */

.color-white {
    background-color: #ffffff;
    color: #000000;
}

.color-white a {
    color: #000000;
}

.color-white .menu-list:before {
    background-color: #000000;
}

.color-white .active:after {
    background-color: #000000;
}

.color-black {
    background-color: #000000;
    color: #ffffff;
}

.color-black p {
    color: #ffffff !important;
}

/* ------------------------ A propos ------------------------ */

.espace {
    height: 200px;
}

.apropos-div {
    padding: 20px;
}

.apropos-info {
    width: 60%;
    margin-top: 150px;
}

.apropos-info p {
    color: black;
    font-size: 27px;
    /* text-indent: 5rem; */
}

.apropos-espace {
    width: 40%;
    margin-top: 150px;
}

/* ------------------------ Contact ------------------------ */

.contact-section {
    transition: background-color 1s ease;
}

.contact-div {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    height: 100vh;
}

.mail {
    font-size: 45px;
    text-align: center;
    font-family: "MonumentExtended-Regular";
    letter-spacing: 1.5px;
}

.mail-small {
    font-size: 45px;
    text-align: center;
    font-family: "MonumentExtended-Regular";
    letter-spacing: 1.5px;
}

.p-mail {
    text-align: center;
}

.p-mail-small {
    text-align: center;
}

.mail:hover {
    text-decoration: underline;
}

/* ------------------------ Footer ------------------------ */


/* ------------------------ PROJECTS ------------------------ */


/* ------------------------ Media Queries ------------------------ */


@media (max-width: 575.98px) {

    .pointer {
        display: none;
    }

    h2 {
        font-size: 27px;
    }

    h3 {
        font-size: 15px
    }

    h4 {
        font-size: 11px;
    }

    nav {
        display: none;
    }

    .logo-div {
        width: 100%;
        position: initial;
        height: 50vh;
    }

    .intro-div {
        width: 100%;
        height: 50vh;
    }

    .intro {
        padding: 10px;
        justify-content: space-between;
    }

    .infos {
        width: 100%;
        text-align: left;
    }

    .container {
        flex-direction: column-reverse;
    }

    .contact-text {
        display: none
    }

    .description-espace {
        display: none;
    }

    .description {
        width: 90%;
    }

    .description-div {
        justify-content: initial;
    }

    .description p {
        font-size: 20px;
    }

    .description-div {
        margin: 0 10px;
    }

    .content-right {
        margin-top: 0;
        margin-bottom: 20px;
    }

    .project-section {
        margin-bottom: 0;
    }

    .project-div {
        padding: 10px;
    }

    .project-list {
        justify-content: center;
    }

    .project-items {
        width: 100%;
        margin-bottom: 25px;
    }

    .project-items-droite {
        margin-top: 0;
    }

    .space {
        margin-top: 0;
    }

    .project-disclaimer {
        margin-top: 0;
    }

    .project-disclaimer-espace {
        display: none;
    }

    .project-disclaimer-info {
        width: 100%;
    }

    .project-disclaimer-info p {
        text-align: left;
        font-size: 18px;
        padding-top: 0;
    }

    .apropos-div {
        padding: 10px;
        margin-bottom: 0;
        margin-top: 100px;
    }

    .apropos-info {
        width: 100%;
        margin-top: 0;
    }

    .apropos-info p {
        font-size: 20px;
    }

    .apropos-espace {
        display: none;
    }

    .mail {
        display: none;
    }

    .mail-small {
        font-size: 30px;
    }
    
    .contact-div {
        height: 100vh;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .pointer {
        display: none;
    }

    h2 {
        font-size: 40px;
    }

    h3 {
        font-size: 15px
    }

    h4 {
        font-size: 11px;
    }

    nav {
        display: none;
    }

    .logo-div {
        width: 45%;
        height: 50vh;
    }

    .intro-div {
        width: 100%;
        height: 50vh;
    }

    .intro {
        padding: 10px;
        justify-content: space-between;
    }

    .infos {
        width: 100%;
        text-align: left;
    }

    .container {
        flex-direction: column-reverse;
    }

    .contact-text {
        display: none
    }

    .description-espace {
        display: none;
    }

    .description-div {
        justify-content: flex-end;
    }

    .description p {
        font-size: 18px;
    }

    .description-div {
        margin: 0 10px;
    }

    .content-right {
        margin-top: 0;
        margin-bottom: 20px;
    }

    .project-section {
        margin-bottom: 0;
    }

    .project-div {
        padding: 10px;
    }

    /* .project-list {
        justify-content: center;
    }

    .project-items {
        width: 100%;
        margin-bottom: 25px;
    }

    .project-items-droite {
        margin-top: 0;
    } */

    .space {
        margin-top: 0;
    } 

    .project-items-droite {
        margin-top: 150px;
    }

    .project-disclaimer {
        margin-top: 0;
    }

    .project-disclaimer-espace {
        display: none;
    }

    .project-disclaimer-info {
        width: 70%;
    }

    .project-disclaimer-info p {
        text-align: center;
        font-size: 18px;
        padding-top: 0;
    }

    .apropos-div {
        padding: 10px;
        margin-bottom: 0;
        margin-top: 100px;
    }

    .apropos-info {
        width: 80%;
        margin-top: 0;
    }

    .apropos-info p {
        font-size: 20px;
    }

    .apropos-espace {
        display: none;
    }

    .mail {
        display: none;
    }

    .mail-small {
        font-size: 30px;
    }

    .contact-div {
        height: 100vh;
    }
}

@media (width: 768px) {
    
     .pointer {
        display: none;
    }

    h2 {
        font-size: 60px;
    }

    .project-section {
        margin-bottom: 0;
    }

    .space {
        margin-top: 0;
    }

    .project-disclaimer-info {
        width: 80%;
    }

    .project-disclaimer-espace {
        display: none;
    }

    .logo-div {
        width: 100%;
        position: initial;
        height: 50vh;
    }

    .intro-div {
        width: 100%;
        height: 50vh;
    }

    .intro {
        padding: 20px;
    }

    .sociaux {
        width: 20%;
    }

    .container {
        flex-direction: column-reverse;
    }

    .description-div {
        flex-direction: row-reverse;
        padding: 0 20px;
    }

    .description {
        width: 60%;
    }

    .description p {
        font-size: 27px;
        width: auto;
    }

    .description-espace {
        width: 40%;
    }

    .apropos-info {
        width: 70%;
    }

    .apropos-div {
        margin-bottom: 0;
        margin-top: 100px;
    }

    .mail {
        font-size: 30px;
    }

    .mail-small {
        display: none;
    }
    
}


@media (min-width: 768px) and (max-width: 991.98px) {

    .pointer {
        display: none;
    }

    h2 {
        font-size: 60px;
    }

    .logo-div {
        width: 60%;
    }

    .project-section {
        margin-bottom: 0;
    }

    .space {
        margin-top: 0;
    }

    .project-disclaimer-info {
        width: 80%;
    }

    .project-disclaimer-espace {
        display: none;
    }

    .logo-div {
      
        height: 50vh;
    }

    .intro-div {
        width: 100%;
        height: 50vh;
    }

    .intro {
        padding: 20px;
    }

    .sociaux {
        width: 20%;
    }

    .container {
        flex-direction: column-reverse;
    }

    .description-div {
        flex-direction: row-reverse;
        padding: 0 20px;
    }

    .description {
        width: 60%;
    }

    .description p {
        font-size: 27px;
        width: auto;
    }

    .description-espace {
        width: 40%;
    }

    .apropos-info {
        width: 70%;
    }

    .apropos-div {
        margin-bottom: 0;
        margin-top: 100px;
    }

    .mail {
        font-size: 30px;
    }

    .mail-small {
        display: none;
    }

}

@media (min-width: 992px) and (max-width: 1199.98px) {

    .pointer {
        display: none;
    }

    h2 {
        font-size: 70px;
    }

    .logo-div {
        width: 50%;
        height: 50vh;
    }

    .project-section {
        margin-bottom: 0;
    }

    .project-disclaimer-info {
        width: 70%;
    }

    .project-disclaimer-espace {
        display: none;
    }

    /*.logo-div {
        width: 100%;
        position: initial;
    }*/

    .intro-div {
        width: 100%;
        height: 50vh;
    }

    .intro {
        padding: 20px;
    }

    .sociaux {
        width: 20%;
    }

    .container {
        flex-direction: column-reverse;
    }

    .description-div {
        flex-direction: row-reverse;
        padding: 0 20px;
    }

    .description p {
        font-size: 27px;
        width: auto;
    }

    .apropos-info {
        width: 70%;
    }

    .apropos-div {
        margin-bottom: 0;
        margin-top: 100px;
    }

    .mail {
        font-size: 40px;
    }

    .mail-small {
        display: none;
    }
    
    .contact-div {
        height: 100vh;
    }

}

@media (min-width: 1200px) {
    .mail-small {
        display: none;
    }
}
