/* html_links_generator.css */
/* 20241115 - 16:22 | MODIFICATIONS pour la responsivité et ajout du header complet avec les liens


/* 20241115 - 16:22 | MODIFICATIONS pour la responsivité et ajout du header complet avec les liens */

/* Style global */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #3a3a3a;
    line-height: 1.6;
}

/* Header */
header {
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(49, 125, 163, 1) 100%);
    color: white;
    padding: 10px 20px;
    text-align: center;
    border-bottom: 2px solid #333;
}

header h1 {
    margin: 0;
    font-size: 1.8em;
}

header nav ul {
    list-style-type: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
}

header nav ul li {
    margin: 0;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 4px;
    transition: background 0.3s;
    font-size: 1em;
}

header nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Footer */
footer {
    background: linear-gradient(180deg, rgba(49, 125, 163, 1) 0%, rgba(0, 0, 0, 1) 100%);

    color: white;
    text-align: center;
    padding: 10px 20px;
    margin-top: 20px;
}

footer p {
    margin: 0;
    font-size: 0.9em;
}

footer a {
    color: #61dafb;
    text-decoration: none;
}

footer a:hover {
    color: #bbff00;
}

/* Table */
table {
    width: 100%;
    margin: 20px auto;
    border-collapse: collapse;
    max-width: 90%;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

th, td {
    border: 1px solid #ccc;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #f4f4f4;
    font-weight: bold;
    text-transform: uppercase;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr {
    background: linear-gradient(to right, #fff 50%, rgb(5, 35, 63) 50%);
    background-size: 200% 100%;
    background-position: left bottom;
    transition: background-position 0.2s ease-in-out;
}

tr:hover {
    background-position: right bottom;
    color:#f4f4f4;
}

/* Responsivité */
@media (max-width: 600px) {
    header h1 {
        font-size: 1.4em;
    }

    table {
        font-size: 12px;
    }

    th, td {
        padding: 8px;
    }

    header nav ul {
        flex-direction: column;
        gap: 10px;
    }

    header nav ul li a {
        font-size: 0.9em;
        padding: 5px 10px;
    }
}

@media (max-width: 400px) {
    header h1 {
        font-size: 1.2em;
    }

    header nav ul li a {
        font-size: 0.8em;
        padding: 4px 8px;
    }

    th, td {
        font-size: 11px;
        padding: 6px;
    }
}

/* Liens généraux dans la page */
a {
    color: #088853; /* Couleur par défaut des liens */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00d9ff; /* Remplacez cette couleur par celle souhaitée au survol */

}