@charset "UTF-8";

/*BODY*/

* {
    cursor: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

body {
    margin: 0;
    padding: 0;
    background-color: #121110;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    overflow-x: hidden;
}

body::-webkit-scrollbar {
    display: none;
}

.body-no-scroll {
    overflow: hidden;
    height: 100%;
}

#noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 5; /* Assurez-vous que la vidéo est derrière le contenu */
    opacity: 0.025;
    pointer-events: none;
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1; /* Assurez-vous que la vidéo est derrière le contenu */
    pointer-events: none; /* Empêche les interactions avec la vidéo */
}

#background-video-home {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1; /* Assurez-vous que la vidéo est derrière le contenu */
    pointer-events: none; /* Empêche les interactions avec la vidéo */
}

/*CURSOR*/

.cursor {
    width: 35px;
    height: 35px;
    border-radius: 100%;
    border: 1px solid #121110;
    background-color: #f8f7e6;
    transition: all 50ms ease-out;
    position: fixed;
    pointer-events: none;
    left: 0;
    top: 0;
    transform: translate(calc(-50% + 15px), -50%);
    z-index: 12;
}
  
.cursor2 {
    width: 12px;
    height: 12px;
    border-radius: 100%;
    border: 2px solid #121110;
    background-color: #252422;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: width .3s, height .3s, opacity .3s;
    z-index: 12;
}
  
.cursorinnerhover {
    width: 14px;
    height: 14px;
}

/*HOME*/

.contHome {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    background-color: #f8f7e6;
    box-sizing: border-box;
}

.home {
    position: relative; /* Assurez-vous que les positions calculées sont relatives à ce conteneur */
    height: 100vh;
    width: 100%;
    overflow: hidden; /* Empêche les images de déborder */
    z-index: 2;
}

.homecontent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
    pointer-events: none;
}

.logo {
    height: 25vb;
    pointer-events: none;
}

.home img {
    height: 24vh;
    pointer-events: none;
}

.items {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2;
}

.item {
    position: absolute;
    width: 150px;
    height: 200px;
    background: #000;
    overflow: hidden;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu {
    margin-top: 4vh;
    display: flex;
    gap: 2vb;
    justify-content: center;
    align-items: center;
    pointer-events: all;
}

.menu button {
    background: none;
    border: 1px solid #121110;
    padding: 1vb 2vb;
    border-radius: 25vb;
    font-family: "Poppins", sans-serif;
    font-size: 2vb;
    cursor: none;
    transition: background-color 0.3s, color 0.3s;
}

.menu button:hover {
    background-color: #121110;
    color: #f8f7e6;
}

.scroll-down {
    text-align: center;
    margin-top: 93vh;
    font-size: 1.8vb;
    color: #121110;
}
  
/*WORK*/

.about {
    margin: 0 auto;
    color: #f8f7e6;
    width: 70%;
    font-family: "Poppins", sans-serif;
    box-sizing:border-box;
    overflow: hidden;
}

.about p {
    margin-top: 20vh;
    font-size: 2vw;
    text-align: center;
}

.work {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #121110;
    box-sizing:border-box;
}

/*PROJECT*/

.projectContainer {
    position: relative;
    margin: 12vh auto 0 auto;
    width: 80%;
    z-index: 2;
}

.project {
    height: 20vh;
    display: flex;
    justify-content: center; /* Centrer horizontalement */
    align-items: center; 
    color: #f8f7e6;
    border-bottom: 2px solid hsla(30, 6%, 25%, 0.418);
    overflow: hidden;
    box-sizing: border-box;
    z-index: 3;
    transition: border-bottom 1s ease;
}

.project h1 {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 3.5vw;
    transform: translateX(0);
    transition: font-size 0.3s ease;
}

.project:hover {
    border-bottom: 4px solid hsla(27, 5%, 36%, 0.418);
}

.project:hover h1 {
    font-size: 4.5vw;
    color: #fffdbec8;
}

/*PREVIEW*/

.preview {
    position: absolute;
    height: 54vb;
    width: 40vb;
    overflow: hidden;
    transform-origin: center;
    will-change: transform;
    pointer-events: none;
    perspective: 1000px; /* Ajout de perspective pour le relief 3D */
}

.preview .image1,
.preview .image2 {
    position: absolute;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    top: 0;
    left: 0;
}

.preview .image2 {
    top: 100%;
}

/*CONTACT*/

.contact {
    margin-top: 20vh;
    text-align: center;
    height: 30vh;
}

.contact h3 {
    color: #f8f7e6;
    font-size: 1.25vw;
    font-weight: 300;
    line-height: 0;
    text-transform: uppercase;
    margin: 0;
}

.contact a {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 3vw;
    line-height: 0vh;
    text-decoration: none;
    color: #f8f7e6;
    transition: transform 0.3s ease-in-out, color 0.3s ease;
    transform: scale(1);
    display: inline-block;
}

.contact a:hover {
    transform: scale(1.2);
    color: #fffdbe;
}

.menu2 {
    display: flex;
    gap: 2vb;
    justify-content: center;
    align-items: center;
    pointer-events: all;
}

.menu2 button {
    background: none;
    border: 1px solid #f8f7e6;
    color: #f8f7e6;
    padding: 1vb 2vb;
    border-radius: 25vb;
    font-family: "Poppins", sans-serif;
    font-size: 2vb;
    cursor: none;
    transition: background-color 0.3s, color 0.3s;
}

.menu2 button:hover {
    background-color: #f8f7e6;
    color: #121110;
}

/*MODAL*/

/* Style pour le fond obscurci du modal */

.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 150vh;
    background-color: #121110fb;
    z-index: 10;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(100%);
}

.modal h1 {
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-weight: 250;
    font-size: 8em;
    text-transform: capitalize;
    color: #f8f7e6;
    margin-bottom: 0.5em;
    pointer-events: none;
}
/* Style pour le contenu du modal */
.modal-content {
    padding-right: 40px;
    padding-left: 40px;
    margin: 0 auto;
    width: 60em;
}

.modal img {
    width: 100%;
    margin: 0 auto 5% auto;
}

.modContentEnd {
    height: 50vh;
}