body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
header{
    width: 100vw;
    position: relative;
    
}
article{
    width: 70vw;
    margin-top: 10rem;
}

h1{
    margin-bottom: 2rem;
}
h2{
    font-family: 'Comfortaa';
    font-weight: 500;
}
h3{
    margin-top: 1rem;
}
h4{
    font-size: 1rem;
    font-weight: 800;
    margin-top: 1rem;
}
.featured-image{
    width: 60vw;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

p{
    margin: 1rem 0rem;
    line-height: 1.8;
    font-size: 0.9rem;
}
strong{
font-family: 'Comfortaa', sans-serif;
  font-weight: bolder !important;
      text-shadow: 0 0 0.8px currentColor;

}

/* Style de la PAGE ARTICLES */
.articles-container{
    background-color: var(--secondary-color);
    width: 100vw;
    padding-bottom: 5rem;
}
.articles-list{
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.article-card{

    width: 300px;
    background-color: white ;
    border-radius: 10px;
    padding-top: 2rem;
    box-shadow: 3px 3px 5px  rgba(0, 0, 0, 0.591);
    text-align: center;
    padding-left: 1rem;
    padding-right: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 450px;
    position: relative;
}
.article-card h2{
    font-size: 1rem;
}
.article-card p {
    font-size: 0.7rem;
}
.article-card img{
    border-radius: 5px;
    margin-bottom: 1rem;
}
.article-card a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.readMoreBTN{
    background-color: #233D4D;
    width: auto;
    color: white;
    width: 50%;
    border-radius: 3px;
    position: absolute;
    bottom: 2px;
    margin-bottom: 1rem;
}
.readMoreBTN:hover{
    background-color: #ffffff;
    border: solid 2px #233D4D;
    color: #233D4D;

}

.category-filter{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.category-link{
    background-color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}



/* Responsive Design */

@media (width<1000px){
body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

article{
    width: 70vw;
    margin-top: 5rem;
}
.PageIntroduction h1{
    font-size:3rem;
    
}
h1{
    font-size:1.5rem;
    margin-bottom: 2rem;
}
h2{
    font-family: 'Comfortaa';
    font-weight: 500;
}
h3{
    margin-top: 1rem;
}
h4{
    font-size: 1rem;
    font-weight: 800;
    margin-top: 1rem;
}
.featured-image{
    width: 60vw;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

p{
    margin: 1rem 0rem;
    line-height: 1.8;
}

/* Style de la PAGE ARTICLES */
.articles-container{
    background-color: var(--secondary-color);
    width: 100vw;
    padding-bottom: 5rem;
}
.articles-list{
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}
.article-card{

    background-color: white ;
    border-radius: 10px;
    padding-top: 1rem;
    box-shadow: 3px 3px 5px  rgba(0, 0, 0, 0.591);
    text-align: center;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    height:auto;
}
.article-card h2{
    font-size: 1.2rem;
}
.article-card p {
    font-size: 1rem;
}
.article-card img{
    border-radius: 5px;
    margin-bottom: 1rem;
    width: 100%;
}
/* .article-card a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 3rem;

} */
.readMoreBTN{
    background-color: #233D4D;
    width: auto;
    color: white;
    width: 50%;
    border-radius: 3px;
    margin-top: 3rem;
    margin-bottom: 1rem;
}
.readMoreBTN:hover{
    background-color: #ffffff;
    border: solid 2px #233D4D;
    color: #233D4D;

}

.category-filter{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.category-link{
    background-color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

}