@import url('https://fonts.googleapis.com/css2?family=Anton+SC&family=Archivo+Narrow:ital,wght@0,400..700;1,400..700&family=Bebas+Neue&family=Protest+Revolution&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: 16px;
    height: 100vh;
    color: #222;
    font-family: "Archivo Narrow", serif;
    font-optical-sizing: auto;
    font-style: normal;
    text-align: center;
    overflow-x: hidden;
    cursor: none;
    scroll-behavior: smooth;
}

.curseur {
    border: 2px solid #000000;
    position: fixed;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    z-index: 10000;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.cercle {
    background-color: #000000;
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
}

.entete {
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #2e2e2c;
    position: relative;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.background video {
    position: absolute;
    top: 0;
    left: -500px;
    right: 0;
    bottom: 0;
    margin: auto;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
}

h1 {
    text-align: center;
    font-size: 5rem;
    font-family: "manometer-serif-high", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-weight: 200;
    font-style: normal;
    z-index: 2px;
    color: #F3F3EF;
    line-height: 5px;
}

.nom {
    color: #F3F3EF;
    font-size: 1rem;

}

.flexDisplay {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    font-weight: 900;
    border-radius: 50px;
    color: #F3F3EF;
}

.custom-shape-divider-bottom-1732903427 {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom-1732903427 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 114px;
    transform: rotateY(180deg);
}

.custom-shape-divider-bottom-1732903427 .shape-fill {
    fill: #F3F3EF;
}

/* section Contact */
.contact {
    height: 600px;
    background-color: rgb(243, 243, 239);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

h2 {
    text-align: center;
    padding-top: 20px;
    font-size: 2rem;
}

.hello {
    font-family: "Protest Revolution", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: #d8d340;
    padding: 0px 20px;
    transform: rotate(2deg);
    font-size: 2.5rem;
    display: inline-block;
}

.block {
    display: block;
}

.contact p {
    width: 400px;
    margin: 20px;
}

.contact img {
    height: 200px;
    margin-top: 20px;
}

nav {
    display: flex;
    justify-content: center;
}

ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin-bottom: 20px;
}

.ctn a,
.ctn button {
    color: #fff;
    background-color: #2c2c2c;
    padding: 10px 20px;
    margin: 0;
    border-radius: 20px;
    cursor: none;
    border: none;
    transform-origin: center;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    line-height: 50px;
}

.ctn li a:hover,
.ctn li button:hover {
    background-color: #fff;
    color: #131313;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    cursor: none;
    transition: 220ms ease-in-out;
}


/* section Projet */
.projets {
    background: #2c2c2c;
    color: #fff;
    height: 500px;
    position: relative;
    bottom: 0;
}

.flex {
    height: 400px;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    gap: 30px;
}


.svg {
    margin: 0;
    z-index: 1;
    position: absolute;
    width: 500px;
    height: 100%;
    transform: rotate(110deg) translateX(-50%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(98deg);
}

.texte {
    z-index: 1;
    position: relative;
    margin: 20px;
}

.projets img {
    height: 150px;
    filter: grayscale(1);
    border-radius: 10px;
    transition: transform 0.3s ease;

}

.projets a img:hover {
    filter: none;
    transition: 250ms ease-in-out;
    cursor: none;
    transform: scale3d(1.1, 1.1, 2);

}

.projets a {
    color: #ffffff;
    text-decoration: none;
    cursor: none;
}


footer {
    background: #2c2c2c;
    color: #fff;
    padding: 2px;
    height: 80px;
    position: relative;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #ffffff;
}

@media screen and (max-width: 800px) {
    h1 {
        font-size: 4rem;
    }

}

@media screen and (max-width: 600px) {

    body {
        overflow-x: hidden;
    }

    .background {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: -1;
    }

    .background video {
        position: absolute;
        top: 0;
        left: -500px;
        right: 0;
        bottom: 0;
        margin: auto;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
    }

    h1 {
        font-size: 2.7rem;
    }

    .entete {
        position: relative;
    }

    .custom-shape-divider-bottom-1732903427 {
        position: absolute;
        bottom: -10px;
    }

    .contact {
        height: 750px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 1px;
    }

    .contact img {
        margin: 0;
        padding: 0;
        margin-top: 20px;
    }

    .contact p {
        max-width: 300px;
    }

    .troisd img {
        height: 50px;
    }

    s .flexDisplay p {
        font-size: 16px;
    }

    .projets {
        background: #2c2c2c;
        color: #fff;
        height: 500px;
        position: relative;
    }

    .projets img {
        height: 130px;
    }

    .svg {
        margin: 0;
        z-index: 1;
        position: absolute;
        width: 60%;
        height: 60%;
        transform: rotate(110deg) translateX(-50%);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(98deg);
    }
}


.showtest {
    color: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    background-color: #fff;
    transform: translate(-50%, -50%);
    z-index: 1000;
    width: 50vw;
    border-radius: 30px;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.showbox {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    position: relative;
    margin: 0;
}

#close {
    font-weight: 900;
    color: #333;
    position: absolute;
    right: 10px;
    text-align: right;
    cursor: none;
    width: 20px;
    z-index: 1001;
}

form {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    font-size: 16px;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #d8d340;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: none;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #b59208;
}

input[type="checkbox"].hidden {
    display: none;
}

h4 {
    color: #333;
    font-size: 30px;
    margin-top: 30px;
}