
header li {
    font-family: Source Code Pro ;
}

h3 {
    font-size: 1.3rem;
}

h4 {
    font-size: 1.1rem;
}
h1,h2,h3,h4,header a {
    font-family:Montserrat;
    font-weight: bold;
}
p{
    font-family:Garamond;
}

p.texteArticle {
    line-height: 2.5;
    margin-top:1.4rem;
}

.bg-dark {
    background-color: red !important;
}
ul.navbar-nav li a{
    color:white;
} 

img#BreakingNewImage {
    height:60%;
    margin:1rem auto;
    padding:1rem 1rem 1rem 0;
}   

article p {
    text-align:justify;
}
a.button-readmore {
    background-color:red;
    border:none;
}
.rowOtherArticles {
    margin-bottom: 1rem !important;
}
.navbar {
    position: relative;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: center !important;
}
#navbarNav {
    margin-left: auto;
}
.nav-item {
    text-align:center;
}

.search-container {
    position: absolute;
    width:30%;
}

.search-container input {
    padding: 5px 10px;
    border-radius: 4px;}

.search-container button {
    margin-left: 5px;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background-color: white;
    color:red;
}
.search-container button:hover {
    background-color: transparent;
    border:1px solid white;
}

aside {
    background-color: rgba(243, 163, 163, 0.2); /* soft red */
    border: 1px solid rgb(243, 163, 163);
    border-radius: 6px;
    padding: 1rem;
}

.aside-box {
    background-color: rgba(243, 163, 163, 0.2); /* soft red */
    border: 1px solid rgb(243, 163, 163);
    border-radius: 6px;
    padding: 1rem;
}

.aside-title {
    color: rgb(200, 40, 40);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.aside-item {
    border-bottom: 1px solid rgba(243, 163, 163, 0.7);
    padding-bottom: 0.5rem;
}

.aside-item:last-child {
    border-bottom: none;
}

section.autresArticles {
    padding:1em;
    background: rgb(223, 71, 34);
    color:white;
    width:100%;
    height:100%
}

.image-container {
    position:relative;
}

article > img.autreArticleImg {
    display:block;
    width:100%;
    height:auto;
    margin: 1rem auto ;
}

.image-container:hover .hover-btn {
    opacity: 1;
}
.image-container:hover > .autreArticleImg {
    filter: brightness(70%);
}
.hover-btn {
    position: absolute;
    top: 32%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 5px 20px;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

article > a.button-readmore {
    display: block;
    margin: 0 auto;
    max-width: 7rem;
}
.footer-custom {
    background-color: #111; /* darker than bg-dark for contrast */
    border-top: 4px solid rgb(243, 163, 163);
}

.footer-title {
    font-weight: 600;
    color: rgb(243, 163, 163);
    margin-bottom: 0.75rem;
}

.footer-link {
    color: #ddd;
    text-decoration: none;
}

.footer-link:hover {
    color: rgb(243, 163, 163);
    text-decoration: underline;
}

.footer-social {
    font-size: 1.4rem;
    color: #ddd;
    transition: 0.2s;
}

.footer-social:hover {
    color: rgb(243, 163, 163);
}

.footer-divider {
    border-color: rgba(243, 163, 163, 0.4);
}

/*style page custom*/

div.layout {
    display:flex;
}
aside.side-bar, main.content {
    display:flex;
    flex-direction: column;
}

aside.sidebar-left, aside.sidebar-right {
    padding:2rem;
    display:flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    height:auto;
}
aside.sidebar-left > *, aside.sidebar-right > * {
    width:60%;
    margin-bottom:1rem;
    box-sizing: border-box;
}
