/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #0d1a33, #1b2945);
    color: #fff;
    line-height: 1.6;
    font-size: 36px;
}

/* Header */
header {
    background-color: #0a1426;
    display: flex;
    flex-wrap: wrap; /* Permet aux éléments de passer à la ligne si l'écran est trop petit */
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    gap: 10px;
}

.header-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Réduction de l'espacement sur petits écrans */
}

header .logo {
    margin-left: 20px;
    font-size: 24px;
    font-weight: bold;
}

header .logo .fn {
    color: #fff;
}

header .logo .lb {
    color: #00bfff;
}

.header-buttons .button {
    background: #00bfff;
    color: #fff;
    padding: 10px 12px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    transition: background 0.3s ease;
    font-weight: bold;
    flex-grow: 1; /* Permet aux boutons de s'élargir pour remplir l'espace si nécessaire */
    text-align: center;
}


.header-buttons .button:hover {
    background: #008fcc;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
}

nav a.register {
    background: #00bfff;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #aaa;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero h2 .highlight {
    color: #00bfff;
}

.hero p {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 40px;
    color: #ccc;
    text-align: left;
    font-size: 18px;
}

.hero .button {
    background: #00bfff;
    color: #fff;
    padding: 24px 64px;
    text-decoration: none;
    font-size: 24px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.hero .button:hover {
    background: #008fcc;
}

/* Footer */
footer {
    background: #0a1426; /* Bleu plus foncé */
    color: #ccc;
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
}

footer p {
    font-size: 14px;
    text-align: left;
    margin-left: 50px ;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-buttons {
        width: 100%;
        justify-content: center;
    }

    .header-buttons .button {
        padding: 8px;
        font-size: 14px;
        width: 100%; /* Pour que les boutons prennent toute la largeur sur mobile */
    }

    nav a {
        margin-left: 0;
        display: block; /* Pour que les liens soient sur plusieurs lignes sur petits écrans */
        margin-bottom: 10px;
    }
}
