* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, monospace;
    color: #fff;
}

html {
    --scroll-behavior: smooth;
    scroll-behavior: smooth;
    cursor: none;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    color: white;
    text-align: center;
    z-index: 1;
}

.cursor {
    position: fixed;
    border-radius: 50%;
    transform: translateX(-50%) translateY(-50%);
    pointer-events: none;
    left: -100px;
    top: 50%;
    mix-blend-mode: difference;
    background-color: rgb(255, 255, 255);
    z-index: 10000;
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cursor-point {
    border-radius: 50%;
    background-color: rgb(0, 0, 0); 
    height: 5px; 
    width: 5px; 
}


.navbar {
    padding: 30px 10px;

}

.nav-links {
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-evenly;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-family: "Anonymous Pro", monospace;
    font-weight: 700;
    font-style: normal;
    transition: 0.5s ease;
}

.nav-links a:hover {
    color: #c0c0c0;
    font-size: 1.5rem;
}

.logo img {
    height: 6rem;
}

.hamburger {
    display: none;
}


.header-scrolled {
    background-image: linear-gradient(to top, transparent 0%, rgba(36, 36, 36, 0.801) 30%, rgba(36, 36, 36, 0.801) 100%); /* Dégradé de couleur vers la transparence */
    transition: background-color 0.3s ease; 
}

#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background-color: #007bff;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    color: #fff;
    z-index: 2;
}

#scrollToTopBtn::before {
    content: '\2191';
    font-size: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

@media screen AND (min-width: 700px) {
    .logo2 {
        display: none;
    }
}


@media screen and (max-width: 700px) {
    .navbar {
        display: flex;
        justify-content: space-between; 
        align-items: center;
    }


    .logo2 {
        width: 30%;
    }

    .alogo {
        text-align: right;
        margin-right: 30px;
    }

    .nav-links {
        position: fixed; 
        top: 0;
        left: 0;
        width: 80%; 
        height: 100vh; 
        background-color: #1D1D1B;
        padding: 20px;
        z-index: 1; 
        transform: translateX(-100%); 
        transition: transform 0.3s ease; 
        flex-direction: column;
    }

    .nav-links.show {
        transform: translateX(0); 
        z-index: 5;
    }

    .nav-links ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .nav-links li {
        margin-bottom: 10px;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        background: transparent;
        border: none;
        padding: 0;
        z-index: 5;
    }

    .bar {
        display: block;
        width: 25px;
        height: 3px;
        background-color: white;
        margin-bottom: 5px;
    }

    .logo {
        display: none;
    }

    .cursor {
        display: none;
    }

    .cursor-point{
        display: none;
    }
}

