/* Reset CSS de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
}

body {
    font-family: Arial, sans-serif;
    color: #fff; 
    background: url('images/loading_fa.mp4') no-repeat center center fixed, url('images/background.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    cursor: url('images/cursor.cur'), auto; /* Changer le pointeur de la souris */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 2em;
    width: 100%;
    position: absolute;
    top: 0;
}

.logo img {
    height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2em;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover {
    color: #fff;
}

nav ul li a::after {
    content: '';
    display: block;
    height: 3px;
    width: 0;
    background: #42e14f;
    transition: width 0.3s;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

nav ul li a:hover::after {
    width: 100%;
}

.hero {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2em 1em;
    background: none;
    height: 100vh;
}

.hero-content {
    max-width: 800px;
    padding: 2em;
    background: none;
    border-radius: 10px;
    transform: translateY(-50%);
    position: absolute;
    top: 50%;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
}

.hero h2 {
    font-size: 3.5em;
    margin-bottom: 0.5em;
}

.btn {
    display: inline-block;
    padding: 0.75em 2em;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background: #42e14f; 
}


@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 0.5em;
    }
    
    .hero h1 {
        font-size: 2em;
    }
    
    .hero h2 {
        font-size: 1.5em;
    }
    
    .btn {
        font-size: 1em;
    }
}
