/* ===================== THEMES ===================== */

/* THEME SOMBRE (par défaut) */
:root {
    --bg-body: #101010;
    --text-color: #ffffff;
    --card-bg: #3b3b3b;
    --section-bg: #63636322;
    --border-color: #87878722;
    --accent: #ffffff;
}

/* THEME CLAIR */
.light-theme {
    --bg-body: #ffffff;
    --text-color: #101010;
    --card-bg: #ffffff;
    --section-bg: #dedede;
    --border-color: #ffffff;
    --accent: #101010;
}

/* ===================== RESET GLOBAL ===================== */

* {
    box-sizing: border-box;
    /* list-style: none; */
    text-decoration: none;
}

body {
    margin: 0;
    font-family: 'Times New Roman';
    background-color: var(--bg-body);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
}

h3 {
    margin: 0;
}

a {
    color: var(--text-color);
}

a:hover {
    text-decoration: underline;
}

button {
    color: var(--text-color);
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

/* ===================== LAYOUT GLOBAL ===================== */

.index-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
}

.index-container a {
    text-decoration: underline;
}

.global-container {
    /* border: 1px solid #FF5757; */
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100vw;
    height: 100vh;
}

/* ===================== ITEM ===================== */

.banner {
    /* background: var(--accent); */
    color: var(--text-color);
    text-align: right;
    width: fit-content;
}

.banner img {
    display: block;
    width: 620px;
    height: 260px;
    margin: 0 auto;
}

.banner-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.banner-text a {
    text-decoration: underline;
}

/* ===================== SIDES ===================== */

.side-container {
    /* border-left: 1px solid var(--accent); */
    /* border-right: 1px solid var(--accent); */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0;
    width: 150px;
}

nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

nav a {
    font-size: x-large;
}

.sub-nav {
    display: flex;
    color: #6e6e6e;
    flex-direction: column;
}

.text-box {
    border-bottom: 1px solid var(--accent);
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    padding: 10px;
    gap: 20px;
}

.text-box img {
    border: 1px solid var(--accent);
    width: 50px;
    height: 50px;
    /* border-radius: 100%; */
}

.text-box p {
    margin: 0;
    width: fit-content;
    height: fit-content;
}

/* ===================== MIDDLE ===================== */

.main-container {
    border-left: 1px solid var(--accent);
    border-right: 1px solid var(--accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 700px;
    height: 100%;
    overflow-y: scroll;
    scrollbar-width: none;
    gap: 40px;
}

header {
    /* border-bottom: 1px solid var(--accent); */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* padding: 20px 0; */
    gap: 20px;
}

main {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 40px;
}

h1 {
    margin: 0;
}

section {
    /* border: 1px solid #ffffff; */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

/* article {} */

footer {
    border-top: 1px solid var(--accent);
    display: flex;
    flex-direction: column;
    padding: 20px 40px;
    width: 100%;
    gap: 18px;
}

footer .foot-part {
    border-bottom: 1px dotted var(--accent);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 4px 0;
}

footer .links {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 10px;
}
