/*************************styles pour la page d'accueil*********************************/
body {
    font-family: 'Times New Roman', Times, serif;
}
h1, h2, h3, h4 {
    font-family: 'Carlito', sans-serif;
}

   section.top-bar {
    position:fixed;
    height: 80px;
    display: flex;
    background-color: #fff;
}

nav.menu-btn-content {
    display: none;
    position: absolute;
    background-color: rgba(249, 249, 249, 0.94);
    min-width: 160px;
    box-shadow:  8px 16px  rgba(0,0,0,0.2);
    z-index: 1;
}

.menu-btn-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
.menu-btn:hover .menu-btn-content {
    display: block;
}
.menu-btn button{
    margin: 20px;
    background-color: #abf8a2;
    color: #0f120e;
}

nav.menu1 {
    display:inline-block;
    margin-top:1%;
    margin-bottom:1%;
    vertical-align:top;
    font-weight: bold;
}
div.header-buttons{
    width:10px;
    display:flex;
}
div.logo{
    margin-top:5%;
    padding:8px;
    display:block;
    vertical-align:bottom;
    text-align: center;
    background-color: #fff;
}
nav.menu2{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}
nav a.active{
    color: #ff0005;
    text-transform: uppercase;
    font-weight: bold;
}
nav a.trend{
    font-weight: bold;
    text-transform: uppercase;
}
nav a:hover {
    background-color: #008000;
    color: #f8f8f8;
}
div.search-buttons{
    display: inline-block;
    width:20%;
    padding:1%;
}
button {
    color: white;
    border-bottom: 1px solid #ccc;
    border-radius: 10px;
    background-color: #008000;
    margin-right: 20px;
    padding: 10px 20px;
    font-size: 14px;
}
button.subscribe, button.sign-in {
    border-radius: 50px;

}
button.sign-in {
    color: #000000;
    background-color: #f8f8f8;
}
button:hover {
    background-color: limegreen;
}

div.logo img{
    width: 300px;
}
a.my-article, a.search-form {
    text-decoration-line: underline;
}
a.article:hover{
    color: #000000;
    background-color: #32cd32;
    font-size: 101%;
    transition: 50ms;
}
nav ul li a {
    font-family: 'Carlito', sans-serif;
    color: #000000;
    text-decoration: none;
    font-size: 14px;
}
nav ul {
    list-style: none;
    padding: 0;
    display: flex;
}
nav ul li {
    margin-left: 15px;
}
span.slogan{
    font-style: italic;
    color: #808080;
}

div.main-top {
    border-right: 1px #888787 solid;
}
video {
    max-width: 80%;
    height: auto;
}
.source{
    font-size: small;
    color: #595757;
}
aside.latest-news{
    display:inline-block;
    width: 30%;
    border-top: 1px black solid;
    margin-left: 1%;
    justify-content:center;
    font-weight: bold;
}
div.new-contents{
    display:inline-block;
    margin:auto;
}
main h3 {
    font-family: 'Carlito', sans-serif;
    margin-bottom: 5px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: medium;
}
.new-contents img {
    float: right;
    margin-left: 10px;
    width: 90px;
}
header, main , footer{
    margin: 4%;
}
main a{
    color: black;
    text-decoration: none;
}
main a:hover{
    color: #858383;
}
section.main-top, section.main-middle , section.main-bottom{
    display: flex;
}
div.breaking-news{
    display:inline-block;
    width:45%;
    padding:1%;
    margin: 1%;
    vertical-align:top;
}
div.breaking-news img{
    width: 100%;
}
section.main-middle , section.main-bottom, .diversions{
    border-top: 1px black solid;
}

div.main-bottom{
    display:flex;
    width:48%;
    padding:1%;
    margin: 1%;
    vertical-align:top;
}

.video-container {
    display: flex;
    justify-content: space-between;
    overflow-x: auto;
    margin: 20px;
}

.video-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 200px;
    margin: 0 10px;
    flex-shrink: 0;
}

.video-card img {
    width: 100%;
    height: auto;
}

.video-info p {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: bold;
}

.video-info span {
    font-size: 14px;
    color: #888;
}

div.bottom {
    display: inline-block;

}
.main-article {
    display: inline-block;
}

.main-article img {
   width: 100%;
    height: auto;
    margin-bottom: 10px;
}

span.exclusive {
    background-color: black;
    color: white;
    border-radius: 52px;
    padding: 2px 5px;
    text-transform: uppercase;
}

.main-article h3 {
    font-size: 1.1em;
    margin: 0 0 5px 0;
}

div.sub-articles {
    border-left: 1px solid #ccc;
   /* width: 35%;*/
    display: inline-block;
    padding:1%;
    margin: 3%;
}
article.sub-articles{
    display: inline-block;
    border-top: 1px solid #ccc;
   /* width: 100%;*/
}

.diversions-links {
    display: flex;
    flex-wrap: wrap;
}

.diversions-links a {
    margin: 0 10px;
    color: #000;
    text-decoration: none;
    font-family: 'Carlito', sans-serif;
}

.diversions-links a:hover{
    background-color: #008000;
    color: #f8f8f8;
}

.footer {
    font-family: 'Times New Roman', serif;
    border-top: 1px solid #a5a3a3;
    background-color: rgba(192, 253, 192, 0.11);
}

section.footer-links {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 1%;
}
.footer-column {
    display:block;
    flex: 1;
    min-width: 200px;
}
.footer-column h4 {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: medium;
}
.footer-column ul {
    list-style: none;
    padding: 0;
}
.footer-column ul li a {
    color: #000;
    font-family: 'Carlito', sans-serif;
    text-decoration: none;
}
.footer-column ul li a:hover {
    text-decoration: underline;
}
.footer-copyright {
    text-align: center;
    margin-top: 20px;
    font-family: 'Carlito', sans-serif;
    color: #555;
}

/* ************************ styles de l'article ****************************************/

.main-article {
    max-width: 60%;
    margin-left: 20%;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.article-header {
    text-align: center;
}
.article-header h1 {
    font-size: 2em;
    margin: 0.5em 0;
}
.article-header h2 {
    font-size: 1.2em;
    color: #6a6969;
    margin: 0.5em 0;
}
.article-image {
    text-align: center;
    margin: 20px 0;
}
.article-image img {
    max-width: 80%;
    height: auto;
    border-radius: 8px;
}
.article-summary {
    font-style: italic;
    margin: 30px ;
    padding: 10px;
    background-color: #e9ecef;
    border-radius: 8px;
}
.article-content {
    text-align: justify;
    margin: 30px;
}
.article-content a {
    color: #51a604;
}
.article-content a:hover {
    text-decoration: underline;
}
.author {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.author img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin-right: 20px;
}
.author div {
    max-width: 600px;
    font-size: small;
}
div.author a{
    font-style: italic;
}

/************styles du formulaire********************/

div.search-form {
    background-color: #f8f9fa;
    display: flex;
    width: 60%;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}
.search-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    width: 100%;
}
label {
    display: inline-block;
    width: 30%;
    margin-right: 20px;
    vertical-align: top;
    text-align: right;
    font-weight: bold;
    margin-bottom: 5px;
}
.search-form input[type="text"],
.search-form input[type="date"],
.search-form select {
    width: 60%;
    padding: 10px;
    margin-bottom: 20px;
    border: 2px solid #737272;
    border-radius: 5px;
}
input:hover, select{
    background-color: #d9f8d9;
}
.search-form button {
    width: 50%;
    padding: 10px;
    border: none;
    font-size: 18px;
    margin-left: 25%;
}





















