.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    top: 0;
    left: 0;
}

.add_actu {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    max-width: 450px;
    width: 100%;
}

.label {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.content, .accroche {
    width: 80%;
    font-size: 1rem;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #bbb;
    margin-bottom: 12px;
    transition: all 0.3s;
    background: #fff;
}

.titre {
    width: 80%;
    font-size: 1rem;
    padding: 5px;
    border-radius: 10px;
    margin-bottom: 12px;
    transition: all 0.3s;
    background: #fff;  
}

.content:focus, .accroche:focus {
    border-color: #0056b3;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 86, 179, 0.3);
}

.list-articles-container, .articles-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 80px 20px;
}

.article-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.article-card {
    margin: 30px;
    background: white;
    border-radius: 12px;
    padding: 22px;
    width: 340px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.article-card h2 {
    font-size: 24px;
    color: #222;
    margin-bottom: 12px;
}

.article-content {
    color: #555;
    font-size: 15px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.article-author {
    color: #777;
    font-size: 13px;
    margin-bottom: 12px;
    font-style: italic;
}

.article-link {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    transition: color 0.3s;
}

.article-link:hover {
    color: #004a99;
}

.article-icons .icon {
    width: 32px;
    height: 32px;
    margin-right: 6px;
    margin-top: 16px;
    cursor: pointer;
    transition: transform 0.3s;
}

.article-icons .icon:hover {
    transform: scale(1.15);
}

/* Sections spécifiques */
.ajout_article, .bienvenue {
    padding: 60px 20px;
    text-align: center;
}


.bouton {
    font-size: 20px;
    color: white;
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    background-color: #013e9a;
    cursor: pointer;
}