.titres-index {
    text-align: left;
    margin-left: 8rem;
}

.titres-index h1 {
    font-size: 3rem;
}

.titres-index h2 {
    padding-left: 3rem;
}

h3 {
    font-size: 1rem;
    text-align: left;
    margin-top: 0;
}

a {
    color: #333;
}

section, li {
    text-align: left;
}

div > button > a {
    color: #821F3B;
    display: inline-block;
    padding: 0.625rem 1.25rem;
    text-decoration: none;
    font-family: "Lora", serif;
}

.boutons button {
    font-size: 1rem;
    background-color:var(--sauge-clair);
    color: #821F3B;
    border: none;
    border-radius: 1.25rem;
    cursor: pointer;
    font-family: "Lora", serif;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(191, 164, 111, 0.3);
}

.boutons button:hover {
    background-color:var(--gris-perle);
    color: #821F3B;
    box-shadow: 0 0 10px rgba(191, 164, 111, 0.5);
    transform: translateY(-2px);
}

.boutons button:hover a {
    color: #821F3B;
}

.text {
    display: inline-block;
}

img {
    width: 600px;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    border: 1px solid var(--champagne);
    box-shadow: 0 0 10px rgba(203, 185, 148, 0.25);
}

/* @media screen and (min-width: 768px) {
    main {
        width: 1200px;
        margin: auto;
        }
} */

@media screen and (max-width: 768px) {
    main {
        margin-left: 10px;
        margin-right: 10px;
        
    }

    .titres-index {
        text-align: left;
        margin-left: 0rem;
    }

    .titres-index h1 {
        font-size: 2rem;
    }

    .titres-index h2 {
        padding-left: 0rem;
        font-size: 1rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .element {
        text-align: center;
        width: 100%;
        height: 100%;
        object-fit: cover;
        margin-bottom: 16px;
    }

    .container-mariage {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .container-mariage p {
        text-align: left;
        font-size: 1rem;
    }

    img {
        width: 100%;
        height: auto;
    }

    div > ul {
        font-size: 0.9rem;
    }

    .text {
        width: 100%;
    }
}

.thanks {
    text-align: center;
    font-family: "Great Vibes", cursive;
    font-size: 3rem;
    color: #821F3B;
}

@media screen and (min-width: 1190px) {
    .container-mariage {
        display: flex;
        gap: 20px;
        margin-left: 8rem;
        margin-right: 8rem;
    }
}

.mb-16 {
    margin-bottom: 85px;
}

ul {
    padding: 0;
    padding-left: 10px;
}

.titres-index {
    position: relative;
    display: block;
    text-align: center;
    color: var(--rouge-profond);
    font-family: "Playfair Display", serif;
    margin: 2.5rem 0 1rem 0;
}

h1.titres-index::before {
    content: "";
    width: 180px;
    height: 2px;
    background-color: var(--champagne);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -1.5rem;
    border-radius: 2px;
}

h1.titres-index {
    font-size: 3rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    margin-top: 4rem;
}

h2.titres-index {
    font-size: 1.3rem;
    font-family: "Lora", serif;
    font-weight: 400;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.textp {
    padding-left: 19.2px;
    text-align: justify;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.text ul {
    list-style: none;
    padding-left: 0;
    margin: 2rem auto;
}

.text ul li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
    text-align: justify;
    line-height: 1.5;
}

.text ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    color: var(--champagne);
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Lora", serif;
  color: var(--rouge-profond);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.map-link:hover {
  color: var(--champagne);
  transform: translateY(-1px);
}