/* ===== GLOBAL ===== */
body {
    font-family: 'Garamond', serif;
    background-color: #f5f7fa;
    color: #222;
}

/* ===== TITRES ===== */
h1, h2, h3, h4, h5 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
}

/* ===== NAVBAR ===== */
nav {
    background: green;
    padding: 15px 0;
}

nav .navbar-brand {
    color: #ffd700 !important;
    font-weight: bold;
    font-size: 28px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px black;
}

nav .nav-link {
    font-family: 'Fira Code', monospace;
    color: white !important;
    margin: 0 10px;
}

nav .nav-link:hover {
    text-decoration: underline;
}

/* ===== HEADER ===== */
header {
    background: green;
}
/* ===== LOGO ===== */
.logo-img {
    width: 35px;
    margin-right: 10px;
}

.logo-text {
    font-family: 'Roboto', sans-serif;
    font-size: 26px;
    font-weight: bold;
    color: #ffd700; /* OR */
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* alignement parfait */
.navbar-brand {
    display: flex;
    align-items: center;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 400px;
    background: url("../media/article.jpg") center/cover no-repeat;
    color: white;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 4rem;

}
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.299);
}
.hero section {
    position: relative;
    z-index: 2;
}

/* ===== MAIN ===== */
main h2 {
    margin-bottom: 20px;
}

/* ===== ARTICLES ===== */
article {
    background: white;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

article h2 {
    color: green;
}

/* ===== IMAGES ===== */
img {
    max-width: 100%;
}
.sous-titre {
    color: #777;
    font-size: 0.9rem;
}

/* ===== BUTTON ===== */
.btn {
    background: green;
    color: white;
    border: none;
}

.btn:hover {
    background: darkgreen;
}
.facebook {
    background: #1877f2;
    color: white;
}

.twitter {
    background: #1da1f2;
    color: white;
}

.linkedin {
    background: #0077b5;
    color: white;
}

/* ===== ASIDE ===== */
aside {
    padding: 15px;
}

aside h3, aside h4 {
    color: green;
}

/* ===== LIST ===== */
.list-group-item {
    border: 1px solid #ddd;
}

.list-group-item:hover {
    background: #e6ffe6;
}

/* ===== FORM ===== */
label {
    font-weight: bold;
}

/* ===== FOOTER ===== */
footer {
    background: #008000;
    color: white;
}
footer h5 {
    color: rgba(0, 0, 0, 0.527);
    margin-bottom: 10px;
}

footer p {
    margin: 5px 0;
}

footer input {
    border: none;
}

footer .btn {
    background: rgb(0, 0, 0);
    color: #008000;
}