/* global.css */

:root {
    --primary: #00f7ff;
    --dark: #0a0a0a;
    --accent: #5f5757;
    --hover: rgba(161, 161, 161, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Grotesk', sans-serif;
}

body {
    background: var(--dark);
    color: #fff;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

.main-logo {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  display: inline-block;   /* s'assure que le <a> a une boîte cliquable */
  cursor: pointer;         /* fait apparaître le curseur en main */
}

.main-logo img {
  pointer-events: none;    /* empêche l'image d'intercepter les clics, le <a> gère tout */
  display: block;          /* supprime les espaces autour de l'image */
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}


/* NAV */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.login-btn {
    background: var(--primary);
    color: var(--dark) !important;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    transition: 0.3s;
}

.login-btn:hover {
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: white;
}

/* Inputs & Buttons communs */
input,
button {
    font-family: inherit;
    outline: none;
}

button {
    cursor: pointer;
}

#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--dark);
}