body {
    margin: 0;
    font-family: "Times New Roman", serif;
    background-color: #f5f5f5;
    color: #111;
}

/* HEADER */

header .top-bar {
    background-color: green;
    color: white;
    text-align: center;
    padding: 10px;
    font-family: "Courier New", monospace;
}

header .main-header {
    background-color: white;
    text-align: center;
    padding: 20px 10px;
    border-bottom: 3px solid green;
}

header .main-header h1 {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 36px;
}

/* NAV */

nav {
    background-color: #0f2a44;
    padding: 10px;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

nav li {
    display: inline-block;
    margin: 0 10px;
}

nav a {
    color: white;
    text-decoration: none;
    font-family: "Courier New", monospace;
}

nav a:hover {
    color: #f0c93d;
}

/* MAIN */

main {
    width: 90%;
    margin: 20px auto;
}

/* CARDS */

.breaking-news article,
.news-side article,
.news-list article,
.article-content,
.vote-box,
.menu-left,
.menu-right,
.preview {
    background-color: white;
    border: 2px solid #cccccc;
    padding: 15px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

/* IMAGES */

.breaking-news img,
.article-content img,
.preview img {
    width: 100%;
    height: auto;
    display: block;
}

/* BREAKING */

.breaking-news {
    margin-bottom: 20px;
}

/* NEWS SIDE */

.news-side {
    margin-bottom: 20px;
}

.news-side article {
    padding: 15px;
}

.news-list {
    margin-top: 20px;
}

/*NEWS LIST*/
.news-list article {
    overflow: hidden;
    transition: 0.3s;
    padding: 15px;
    margin-bottom: 15px;
}

.news-list article:hover {
    transform: scale(1.02);
}

.news-list article img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    margin-bottom: 10px;
}

/* TITRES */

h2, h3, h4 {
    margin-top: 0;
    font-family: Arial, sans-serif;
}

/* ARTICLE PAGE */

.article-page {
    display: inline-block;
    width: 100%;
}

.article-content {
    display: inline-block;
    width: 70%;
    vertical-align: top;
}

.vote-box {
    display: inline-block;
    width: 24%;
    vertical-align: top;
    margin-left: 2%;
}

.resume {
    font-style: italic;
    font-size: 18px;
    color: #333;
}

.meta p {
    margin: 5px 0;
}

/* CUSTOM PAGE */

.custom-page {
    width: 100%;
}

.preview {
    background-color: #d9edf7;
    max-height: 600px;
    overflow-y: auto;
}

.menu-left {
    background-color: #cdeccf;
}

.menu-right {
    background-color: #f3c1c1;
}

.menu-left label,
.menu-right label {
    display: block;
    margin-top: 10px;
    font-family: Arial, sans-serif;
}

.menu-left input,
.menu-left select,
.menu-right input,
.menu-right select {
    width: 100%;
    margin-top: 5px;
    padding: 6px;
    box-sizing: border-box;
}

/* FOOTER */

footer {
    background-color: #111;
    color: white;
    padding: 30px 20px 10px;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
}

.footer-columns section {
    width: 30%;
}

.footer-columns h4,
.newsletter h4 {
    color: #f0c93d;
    font-family: Arial, sans-serif;
}

.newsletter {
    margin-top: 20px;
}

.newsletter input {
    width: 250px;
    padding: 8px;
    border: 1px solid #ccc;
}

.newsletter button {
    background-color: green;
    color: white;
    border: none;
    padding: 8px 14px;
    margin-top: 10px;
    cursor: pointer;
}

.copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.featured {
    display: flex;
    gap: 15px;
    align-items: center;
}

.featured img {
    width: 40%;
    height: 180px;
    object-fit: cover;
}

.featured-text {
    width: 60%;
}

.article-content img {
    width: 70%;
    height: auto;
    display: block;
    margin: 15px auto;
}

.news-list article h3 {
    font-size: 18px;
}