body {
background-color: #BD9C6B;
color: #FFFFFF;
font-family: Batang, serif;
font: 20px sans-serif;
margin: 0;
padding: 0;
}

#wrap{
width:80%;
margin: auto auto auto auto; /* hauteur trait du haut avant menu */
padding:10 2%;
border:1px solid #BD9C6B;
box-shadow: -5px 15px 100px #555;
}

@media (min-width: 800px) {
.dmimg{
width:60%;
height:auto;
margin-bottom: 10px;
margin-top: 10px;
}
}

@media (max-width: 800px) {
.dmimg{
width:40%;
height:auto;
margin-bottom: 5px;
margin-top: 5px;
}
}

@media (max-width: 800px) {
.dmimg2{
width: 200px;
height: auto;
margin-bottom: 10px;
margin-top: 10px;
}
}

@media (min-width: 800px) {
.dmimg2{
width: 400px;
height: auto;
margin-bottom: 10px;
margin-top: 10px;
}
}

@media (min-width: 800px) {
.container {
padding: 20px;
}
}

@media (max-width: 800px) {
.container {
padding: 0px;
}
}

.dmlimg{
width: 144px;
height: 0px;
}

.logo {
float: left;
margin-top: 10px;
width: 280px;
color: #41321D;
font-style: oblique;
}

img {
vertical-align: top;
width: 100%;
border: 1px solid grey;
}

p {
font-size: 0.7em;
line-height: 1.6;
margin-top: 0;
margin-bottom: 0px;
}

.p1 {
font-size: 1em;
line-height: 1.6;
margin-top: 0;
}

@media (max-width: 800px) {
.p2 {
font: Batang;
font-size: 0.8em;
line-height: 1.6;
margin-top: 260px;
color: #41321D;
}
}

@media (min-width: 800px) {
.p2 {
font: Batang;
font-size: 0.8em;
line-height: 1.6;
margin-top: 0;
color: #41321D;
}
}

@media (max-width: 800px) {
.p3 {
font-size: 0.7em;
line-height: 1.6;
margin-top: 0;
text-align: left;
}
}

@media (min-width: 800px) {
.p3 {
font-size: 0.7em;
line-height: 1.6;
margin-top: 0;
text-align: left;
}
}

table {
width: 100%;
border-collapse: collapse;
}

a img {
display: inline-block;
vertical-align: top;
max-width: 110%;
width: 110px;
height: auto;
border: 1px solid white;
}

a:link {
color: #E1D2BE; /* unvisited link */
}

a:hover {
color: white; /* mouse over link */
}

.a1 {
color: #E1D2BE;
}

td {
padding: 10px;
text-align: center;
vertical-align: top;
}

.datedata td {
flex: 1 1 40%;
box-sizing: border-box;
padding: 5px;
}

.gallery {
display: flex;
flex-wrap: wrap;
justify-content: flex-start; /* Aligner les éléments à gauche */
gap: 50px; /* Ajoute un espace entre les images */
}

.gallery td {
flex: 1 1 22%;
box-sizing: border-box;
padding: 5px;
}

.gallery2 {
display: flex;
flex-wrap: wrap;
justify-content: flex-start; /* Aligner les éléments à gauche */
gap: 50px; /* Ajoute un espace entre les images */
}

@media (max-width: 800px) {
.gallery2 img {
width: 100%; /* Les images prennent toute la largeur disponible */
height: auto; /* Maintenir le ratio d'aspect */
box-sizing: border-box;
}
}

@media (min-width: 800px) {
.gallery2 img {
width: 30%; /* Les images prennent toute la largeur disponible */
height: auto; /* Maintenir le ratio d'aspect */
box-sizing: border-box;
}
}

.gallery2 td {
flex: 1 1 22%;
box-sizing: border-box;
padding: 5px;
}

nav {
height: 81px;
}

nav a { 
color: #FFFFFF;
display: block;
padding: 0em 1em;
text-decoration: none;
margin-top: 5px;
}

nav a:hover { 
color: #41321D;
}

nav ul, nav ul li { 
list-style-type: none; 
padding: 0; 
margin: 0;
text-align: center;
}

.menu { 
display: inline-block;
}

.entete {
.entete hr {
border: 0;
height: 1px;
background-color: white;
margin: 20px 0;
margin-top: 100px;
}
}

.entete3 {
color: #E1D2BE;
display: flex;
margin-top: 0px;
justify-content: flex-start;
margin-bottom: 10px;
text-align: left;
width: 100%;
}

.entete3 td {
color: white;
margin: 0;
padding: 0;
}

.resized-image {
width: 200%;
}

.navigation3 {
margin-top: 25px;
display: flex;
justify-content: left;
}
.navigation3 button {
padding: 4px 10px;
font-size: 12px;
margin: 0 20px;
background-color: #FFFFFF;
color: #BD9C6B;
border: 0px solid #E1D2BE;
border-radius: 5px;
cursor: pointer;
}

.gallery3 {
display: flex;
justify-content: left;
margin-top: 20px;
}

@media (min-width: 800px) {
.gallery3 img {
max-width: 400px;
border: 1px solid #ddd;
border-radius: 5px;
box-shadow: 2px 2px; 
}

@media (max-width: 800px) {
.gallery3 img {
max-width: 200px;
border: 1px solid #ddd;
border-radius: 5px;
box-shadow: 2px 2px; 
}