/* Style de base pour la page */

* {
    margin-top: 0px;
}
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e4dfc7;
    color: #531616;
}


h1 {
    color: #000000;
    font-size: 2.5rem;
    margin: 0;
    font-family: 'DM Serif Display', serif; /* Applying the new font */
    text-align: center; /* Centering the h1 element */
    margin-top: 20px ;
    
}

h2 {
  color: #000000;
  font-size: 2.5rem;
  margin: 0;
  font-family: 'DM Serif Display', serif; /* Applying the new font */
  text-align: center; /* Centering the h1 element */
  letter-spacing: 4px;
}
p {
    color: #000000;
    font-size: 1.5rem;
    margin: 0;
    font-family: 'DM Serif Display', serif; /* Applying the new font */
    text-align: center; /* Centering the h1 element */
    
}
/* Navigation */
nav {
    margin-top: 10px;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
    color:#e7adca
}


/* Paragraphe */
p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: center;
    margin: 20px auto;
    max-width: 800px;
}

/* Style pour le bouton */
.btn-primary {
    background-color: #ce424e;
    border-color: #b92941;
    padding: 10px 20px;
    font-size: 1.1rem;
    margin-top: 30px;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn-primary:hover {
    background-color: #e41212;
    border-color: #a01c5e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Image */
img.img-fluid {
    display: block;
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 30px auto;
}

/* Footer */
footer {
    background-color: #9e3838;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}

footer a {
    color: #ecf0f1;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Styles pour les formulaires */
form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form input[type="submit"] {
    background-color: #db4734;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}

form input[type="submit"]:hover {
    background-color: #812c17;
}

/* Styles pour les tableaux */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

table th {
    background-color: #f2f2f2;
}

/* Styles pour les listes */
ul, ol {
    margin: 20px auto;
    padding: 0;
    list-style-position: inside;
}

li {
    margin: 10px 0;
}
header {
    background-color: #9e3838;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* Style personnalisé pour les cartes */
.card {
  border: none; /* Supprime les bordures des cartes */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Légère ombre pour un effet de profondeur */
}

/* Assure-toi que les images s'ajustent bien à la taille des cartes */
.card-img-top {
  height: 200px;
  object-fit: cover; /* Assure que l'image couvre l'espace sans déformation */
}

/* Si tu veux ajouter des marges ou espacer plus les cartes */
.card-body {
  padding: 1.5rem; /* Ajuste l'espace autour du texte dans la carte */
}
.gallery {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
.item {
  width: 400px; /* Augmente la largeur des images */
}
.item img {
  width: 100%;
  height: 500px; /* Assure une hauteur uniforme */
  object-fit: cover; /* Ajuste l’image pour qu’elle remplisse bien l’espace */
  border-radius: 10px;
}
.caption {
  font-size: 16px;
  color: #9c0707;
  margin-top: 8px;
  text-align: left;
}
.caption h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 5px 0;
}
.container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}
.text {
  width: 50%;
}
.text h1 {
  font-size: 28px;
  font-weight: bold;
}
.text p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}
.image {
  width: 40%;
}
.image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}
