body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #1a1a1a, #2d0b0b);
    color: white;
    text-align: center;
    margin: 0;
    padding: 0;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/path/to/texture.png') repeat;
    opacity: 0.1;
    z-index: -1;
}

.container {
    padding: 20px;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.button {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.button img {
    width: 267px;
    height: 150px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid #ff4500;
}

.button span {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
}

.button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.7);
}



/* Style de la galerie */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colonnes */
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
    padding: 20px;
}

/* Adaptation pour tablettes et mobiles */
@media (max-width: 1024px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
    }
}

@media (max-width: 600px) {
    .gallery {
        grid-template-columns: repeat(1, 1fr); /* 1 colonne sur mobile */
    }
}

/* Uniformiser la taille des images */
.gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Effet 3D avec ombre colorée - Rouge foncé */
.gallery figure img {
    box-shadow: 10px 10px 15px rgba(255, 255, 255, 0.7); /* Rouge foncé */
}

/* Effet flottant au survol avec lueur rouge */
.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 15px 15px 20px rgba(122, 122, 122, 0.8);
}

/* Légendes des images */
.gallery figcaption {
    margin-top: 8px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    text-align: center;
    font-family: 'DM Serif Text', serif;
}

/* Classe pour appliquer la police DM Serif Text régulière */
.dm-serif-text-regular {
    font-family: 'DM Serif Text', serif;
    font-weight: 400;
    font-style: normal;
}

/* Classe pour appliquer la police DM Serif Text régulière italique */
.dm-serif-text-regular-italic {
    font-family: 'DM Serif Text', serif;
    font-weight: 400;
    font-style: italic;
}

/* Style du bouton de retour */
.back-button {
   /* display: block;*/
    margin: 30px auto;
    padding: 12px 24px;
    background-color: #000000;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    border-radius: 8px;
    width: 220px;
    transition: background 0.3s, transform 0.2s;
}

.back-button:hover {
    background-color: #686868;
    transform: scale(1.1);
    box-shadow: 0px 0px 15px rgba(27, 27, 27, 0.9);
}




body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #1a1a1a, #1a1a1a);
    color: white;
    text-align: center;
    margin: 0;
    padding: 0;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: -1;
}

.container {
    padding: 20px;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.button {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.button img {
    width: 267px;
    height: 150px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid #ff4500;
}

.button span {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
}

.button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgb(255, 255, 255);
}

h1 {
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-top: 20px;
    color: rgb(45, 52, 54);
    text-shadow: 2px 2px 5px rgb(255, 255, 255);
    font-family: 'Mountains of Christmas', cursive;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.gallery figure {
    text-align: center;
}

.gallery figcaption {
    margin-top: 30px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    text-align: center;
    font-family: 'DM Serif Text', serif;
}

.dm-serif-text-regular {
    font-family: 'DM Serif Text', serif;
    font-weight: 400;
    font-style: normal;
}

.dm-serif-text-regular-italic {
    font-family: 'DM Serif Text', serif;
    font-weight: 400;
    font-style: italic;
}
