/* Réinitialisation des marges et des paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Style général */
body {
    font-family: 'Lato', sans-serif;
}

#global {
    width: 1120px; /* Largeur totale spécifiée */
    margin: 0 auto;
    padding: 0 20px; /* Gouttières de 20px */
}

a {
    text-decoration: none;
    color: #190f06;
}

a:hover {
    color: #bb5002;
}

/* En-tête */
header {
    margin: 50px 0;
    overflow: hidden; /* Pour contenir les éléments flottants */
}

.header-content {
    overflow: hidden; /* Contient les éléments flottants */
}

.logo {
    float: left; /* Aligne le logo à gauche */
    line-height: 1.2; /* Ajustement de l'espacement vertical pour le texte */
}

.logo .la-vie-est-en {
    font-family: 'Great Vibes', cursive;
    font-size: 60px;
    color: red;
    margin-bottom: -20px; /* Ajuste pour que le "L" entre dans le "O" */
}

.logo .couleurs {
    font-family: 'Oswald', sans-serif;
    font-size: 50px;
    color: black;
    font-weight: bold;
}

nav {
    float: right; /* Aligne la barre de navigation à droite */
    margin-top: 20px; /* Ajuste la position verticale de la navigation */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Pour contenir les éléments flottants dans la navigation */
}

nav ul li {
    float: left; /* Aligne les éléments de navigation les uns à côté des autres */
    margin-left: 20px;
}

nav ul li:first-child {
    margin-left: 0; /* Supprime la marge gauche pour le premier élément */
}

nav ul li a {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    color: #190f06;
    text-decoration: none;
}

nav ul li a:hover {
    color: #bb5002;
}

/* Clearfix for floating elements */
.clear {
    clear: both;
}

/* Introduction */
.introduction {
    margin-bottom: 50px;
    text-align: center;
}

.introduction h2 {
    font-size: 32px;
    font-family: 'Oswald', sans-serif;
}

.introduction p {
    font-size: 20px;
    font-family: 'Lato', sans-serif;
}

/* Galerie d'images spécifique à la page d'accueil */
.home-page .gallery img {
    width: 100%; /* Pour que l'image prenne toute la largeur de sa colonne */
    height: 200px; /* Fixe une hauteur uniforme pour toutes les images */
    object-fit: cover; /* Recadre l'image pour qu'elle remplisse l'espace */
    display: block;
    margin: 0 auto; /* Centre l'image horizontalement si nécessaire */
}

/* Style pour le titre de la galerie sur la page d'accueil */
.home-page .gallery h2 {
    font-size: 32px;
    font-family: 'Oswald', sans-serif;
    text-align: center;
    margin-bottom: 20px; /* Conserve une marge inférieure */
    line-height: normal; /* S'assure que le titre n'est pas affecté par d'autres styles */
    height: auto; /* S'assure que le titre n'est pas fixé à une hauteur spécifique */
}

/* Classe commune pour toutes les colonnes */
.col {
    float: left;
    margin-right: 20px; /* Gouttière de 20px entre les colonnes */
    margin-bottom: 20px; /* Ajout de gouttière en bas des colonnes */
}

.last {
    margin-right: 0 !important; /* Supprime la marge de la dernière colonne */
}

/* Largeurs des colonnes pour les pages de couleurs */
.col-6-12 {
    width: 520px; /* Largeur de 6 colonnes sur 12 */
}

.col-4-12 {
    width: 340px; /* Largeur de 4 colonnes sur 12 */
}

.col-3-12 {
    width: 250px; /* Largeur de 3 colonnes sur 12 */
} 

.col-2-12 {
    width: 160px; /* Largeur de 2 colonnes sur 12 */
}

.col-12-12 {
    width: 100%; /* Largeur de 12 colonnes sur 12 */
}

/* Clearfix */
.clear {
    clear: both;
}

/* Sections informatives */
.info {
    margin-bottom: 50px;
    text-align: center;
}

.info h2 {
    font-size: 32px;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
}

.info h2::before, .info h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 50%;
    height: 1px;
    background-color: black;
}

.info h2::before {
    right: 100%;
    margin-right: 15px;
}

.info h2::after {
    left: 100%;
    margin-left: 15px;
}

/* Container pour les sections informatives */
.info-container {
    overflow: hidden; /* Contient les éléments flottants */
}

.info .col {
    float: left; /* Aligne les colonnes à gauche les unes à côté des autres */
    width: 22%; /* Ajuste la largeur des colonnes */
    margin-right: 2%; /* Ajoute de l'espace entre les colonnes */
    margin-bottom: 20px;
    text-align: center;
}

.info .col:last-child {
    margin-right: 0; /* Supprime la marge à droite de la dernière colonne */
}

.info h3 {
    font-size: 26px;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 10px;
}

.info p {
    font-size: 20px;
    font-family: 'Lato', sans-serif;
}

/* Style des listes */
ul {
    list-style: disc;
    margin-left: 20px; /* Ajustez cette valeur pour diminuer l'espace entre les puces et le texte */
    padding-left: 0; /* Supprimez le padding pour réduire l'espace */
}

li {
    margin-bottom: 10px; /* Espace entre les éléments de liste */
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    line-height: 1.5; /* Hauteur de ligne pour améliorer la lisibilité */
}

/* Optionnel : ajuster l'indentation des listes */
ul ul {
    list-style: circle;
    margin-left: 40px; /* Ajustez cette valeur pour les sous-listes */
}

ul ul ul {
    list-style: square;
    margin-left: 60px; /* Ajustez cette valeur pour les sous-sous-listes */
}

/* Tableau des couleurs */
.color-table {
    margin-bottom: 50px;
    text-align: center;
}

.color-table h2 {
    font-size: 32px;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
}

.color-table h2::before, .color-table h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 50%;
    height: 1px;
    background-color: black;
}

.color-table h2::before {
    right: 100%;
    margin-right: 15px;
}

.color-table h2::after {
    left: 100%;
    margin-left: 15px;
}

.color-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
}

.color-table th, .color-table td {
    padding: 10px;
    text-align: center;
    font-family: 'Lato', sans-serif;
    border: 1px solid #ddd;
}

/* Liens externes */
.external-links {
    margin-bottom: 50px;
    text-align: center;
}

.external-links h2 {
    font-size: 32px;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
}

.external-links h2::before, .external-links h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 50%;
    height: 1px;
    background-color: black;
}

.external-links h2::before {
    right: 100%;
    margin-right: 15px;
}

.external-links h2::after {
    left: 100%;
    margin-left: 15px;
}

.external-links ul {
    list-style: none;
    padding: 0;
}

.external-links li {
    margin-bottom: 10px;
}

.external-links a {
    font-size: 20px;
    font-family: 'Lato', sans-serif;
    color: #13298d;
}

.external-links a:hover {
    color: #bb5002;
}

/* Pied de page */
footer {
    background: #141211;
    padding: 10px 0;
    text-align: center;
    color: #fcfaf6;
    font-size: 18px;
}

footer a {
    color: #f5f2f2;
    font-weight: 700;
}

footer a:hover {
    color: #f1efed;
}

.clear {
    clear: both;
}

/* CSS spécifique pour les pages de couleurs */
.blue-page .gallery img,
.red-page .gallery img,
.yellow-page .gallery img,
.green-page .gallery img {
    width: 100%; /* L'image prend toute la largeur de la colonne */
    height: 300px; /* Hauteur uniforme pour toutes les images */
    object-fit: cover; /* Recadre l'image pour qu'elle remplisse l'espace */
    display: block;
    margin: 0 auto;
}

/* Centrage des titres dans les pages de couleurs (bleu, rouge, jaune, vert) */
.blue-page .main-content h2,
.blue-page .gallery h2,
.red-page .main-content h2,
.red-page .gallery h2,
.yellow-page .main-content h2,
.yellow-page .gallery h2,
.green-page .main-content h2,
.green-page .gallery h2 {
    font-size: 32px;
    font-family: 'Oswald', sans-serif;
    text-align: center;
    margin-bottom: 20px;
    line-height: normal;
    height: auto;
}

/* Colonnes spécifiques pour les pages de couleur */
.blue-page .col-6-12,
.red-page .col-6-12,
.green-page .col-6-12,
.yellow-page .col-6-12 {
    width: 520px;
}

.blue-page .col-4-12,
.red-page .col-4-12,
.green-page .col-4-12,
.yellow-page .col-4-12 {
    width: 340px;
}

.blue-page .col-3-12,
.red-page .col-3-12,
.green-page .col-3-12,
.yellow-page .col-3-12 {
    width: 250px;
}

.blue-page .col-2-12,
.red-page .col-2-12,
.green-page .col-2-12,
.yellow-page .col-2-12 {
    width: 160px;
}

.blue-page .col-1-12,
.red-page .col-1-12,
.green-page .col-1-12,
.yellow-page .col-1-12 {
    width: 70px;
}

.blue-page .col-5-12,
.red-page .col-5-12,
.green-page .col-5-12,
.yellow-page .col-5-12 {
    width: 430px;
}

.blue-page .col-7-12,
.red-page .col-7-12,
.green-page .col-7-12,
.yellow-page .col-7-12 {
    width: 610px;
}

.blue-page .col-8-12,
.red-page .col-8-12,
.green-page .col-8-12,
.yellow-page .col-8-12 {
    width: 700px;
}

.blue-page .col-9-12,
.red-page .col-9-12,
.green-page .col-9-12,
.yellow-page .col-9-12 {
    width: 790px;
}

.blue-page .col-10-12,
.red-page .col-10-12,
.green-page .col-10-12,
.yellow-page .col-10-12 {
    width: 880px;
}

.blue-page .col-11-12,
.red-page .col-11-12,
.green-page .col-11-12,
.yellow-page .col-11-12 {
    width: 970px;
}

.blue-page .col-12-12 {
    width: 100%; /* Largeur de 12 colonnes sur 12 */
}
