@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: black;
    padding: 0;
    margin: 0;
    max-width: 100%;
    background-color: white;
    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;
}

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

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

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

h1 {
    font-size: 110px;
    font-weight: 500;
    font-family: "MonumentExtended-Regular";
    color: black;
    margin-bottom: 0;
    margin-top: 50px;
}

h2 {
    font-size: 60px;
    font-weight: 500;
    font-family: "MonumentExtended-Regular";
    color: black;
    text-align: right;
    margin-top: 0;
    margin-bottom: 0;
}

h3 {
    font-weight: 500;
    font-family: "MonumentExtended-Regular";
    color: black;
    letter-spacing: .5px;
    margin-bottom: 0;
    margin-top: 35px;
}

ul {
    padding: 0;
}

li {
    list-style-type: none;
}

/* ------------------------ 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: black;
    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)
    }
}

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

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

.container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    background-color: white;
}

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



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

.project-div {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: white;
}

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

.project-img {
    margin-bottom: 20px;
}

.sous-titre {
    margin-top: 0;
    margin-bottom: 100px;
    text-align: center;
}

.project-sous-div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 80px;
    margin-bottom: 80px;
}

.projects-infos {
    display: flex;
    flex-direction: column;
    width: 35%;
}

.projects-description {
    width: 45%;
}

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

.list-infos li {
    font-size: 18px;
}

.suite {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: white;
    margin-top: 20px;
}

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

@media (max-width: 575.98px) {
    .pointer {
        display: none;
    }

    nav {
        display: none;
    }
    
    .nav-mobile {
        position: fixed;
        padding: 10px;     
    }

    .intro-div {
        width: 80%;
    }

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

    .infos {
        width: 65%;
    }

    .project-div {
        padding: 10px;
    }

    h1 {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .project-sous-div {
        flex-direction: column;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .projects-description {
        width: 90%;
    }

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

    .projects-infos {
        flex-direction: row;
    }

    .projects-infos-sous {
        margin-right: 50px;
    }

    .project-img {
        margin-bottom: 10px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 15px;
    }

    .suite {
        margin-top: 5px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {

    .pointer {
        display: none;
    }

    .nav-mobile {
        display: none;
    }
    
    h1 {
        font-size: 55px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        margin-top: 25px;
    }

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

    .projects-description {
        width: 60%;
    }

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

    .projects-infos {
        width: 20%;
    }

    .list-infos li {
        font-size: 15px;
    }
}

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

    .nav-mobile {
        display: none;
    }
    
    h1 {
        font-size: 65px;
    }
    
    h2 {
        font-size: 40px;
    }
    
    .infos {
        width: 60%;
    }
    
    .projects-description {
        width: 60%;
    }
    
    .projects-infos {
        width: 20%;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .pointer {
        display: none;
    }
    
    .nav-mobile {
        display: none;
    }
}

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