/* Réinitialisation des marges et paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #111;
    color: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Effet Star Wars pour l'accueil */
.star-wars-intro {
    perspective: 400px;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background: radial-gradient(circle at center, #000 50%, #111 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-img-moving img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: moveBackground 10s linear infinite;
    z-index: -1;
}

@keyframes moveBackground {
    0% { transform: translateX(0); }
    100% { transform: translateX(-10%); }
}

.crawl {
    font-family: 'Arial', sans-serif;
    color: #ffcc00;
    font-size: 20px;
    line-height: 1.4;
    position: absolute;
    top: 100%;
    animation: crawl 60s linear infinite;
}

.title h1 {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.title p {
    font-size: 20px;
    text-align: center;
}

@keyframes crawl {
    0% {
        top: 100%;
        transform: rotateX(20deg) translateZ(0);
    }
    100% {
        top: -150%;
        transform: rotateX(20deg) translateZ(-500px);
    }
}

/* Menu discret */
.menu-discret {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.menu-discret ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 10px;
}

.menu-discret ul li {
    margin-bottom: 10px;
}

.menu-discret ul li a {
    color: #ffcc00;
    text-decoration: none;
    font-size: 18px;
    padding: 5px 10px;
    transition: color 0.3s;
}

.menu-discret ul li a:hover {
    color: #fff;
}

/* Contenu et images des pages */
.content {
    padding: 40px;
    text-align: center;
    background-color: #111;
}

.content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

h2 {
    color: #ffcc00;
    font-size: 28px;
    margin-bottom: 20px;
}

p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #ddd;
}

/* Footer */
.footer {
    background-color: #222;
    padding: 20px;
    text-align: center;
    font-size: 16px;
    color: #ddd;
}

.email {
    color: #ffcc00;
}

/* Responsive */
@media (max-width: 768px) {
    .crawl {
        font-size: 16px;
    }

    header h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    .menu-discret {
        right: 10px;
        top: 10px;
    }

    .menu-discret ul {
        padding: 5px;
    }

    .menu-discret ul li {
        margin-bottom: 5px;
    }

    .menu-discret ul li a {
        font-size: 16px;
    }
}
