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

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    padding: 0px;
    margin: 0;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

label {
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}

input[type="button"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

input[type="button"]:hover {
    background-color: #45a049;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#results {
    margin-top: 20px;
}

#results h4 {
    margin-top: 10px;
}

#results ul {
    list-style-type: none;
    padding-left: 0;
}

#results ul li {
    margin-bottom: 5px;
}

button {
    background-color: #008CBA;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
}

button:hover {
    background-color: #00608E;
}

/* Styles pour le footer */
footer {
    background-color: #ffffff;
    color: #333;
    text-align: center;
    padding: 10px;
    width: 100%;
    max-width: 800px;
    border-radius: 8px;
    margin: 20px auto 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.twitter-logo {
    height: 20px;
    vertical-align: middle;
    margin-left: 10px;
}

/* Styles pour le header et le menu */

nav {
    background-color: #333;
    overflow: hidden;
    padding: 0; /* Supprime la marge par défaut */
    text-align: center; /* Centre les éléments du menu */
    margin: 0; /* Supprime la marge extérieure */
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center; /* Centrer le menu horizontalement */
}

nav ul li {
    display: inline-block; /* Affiche les éléments en ligne */
}

nav ul li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

nav ul li a:hover {
    background-color: #111;
}

#menu-bar {
    width: 100%;
    background-color: #333;
    margin: 0; /* Supprime la marge extérieure */
}
