@import url('base.css');

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

body {
    background-image: url('../image/page_background_bleu.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    min-height: 100vh;
    overflow-x: hidden;
}

.blog-container {
    max-width: 1420px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
}

.blog-header {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-header h1 {
    font-family: 'please-write-me-a-song', serif;
    font-size: 3rem;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
}

.blog-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    direction: ltr;
    align-items: center;
    justify-content: center;
    font-family: 'please-write-me-a-song', serif;
    color: var(--text-color);
    font-size: 1.1rem;
}

.blog-article-list ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.blog-article-list li {
    padding: 0.5rem;
}

.blog-article-list table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
}

.blog-article-list-header {
    font-weight: bold;
}

.blog-article-list table td:nth-child(1) {
    width: 7%;
}

.blog-article-list table td:nth-child(2) {
    width: 10%;
}

.blog-article-list table td:nth-child(3) {
    width: 83%;
    border-left: 2px solid var(--primary-color);
    padding-left: 0.2rem;
}

.blog-article-list li {
    background-color: var(--primary-color-light);
    border-radius: 5px;
    margin: 0.5rem 0 0.5rem 0;
}

.blog-article-list-article{
    transition: all 0.3s ease;
}

.blog-article-list-article:hover{
    background-color: var(--primary-color);
    cursor: pointer;
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}