body {
    text-align: center;
}

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

.titres-index h1 {
    font-size: 4rem;
    font-family: "Great Vibes", serif;
    color: var(--rouge-profond);
}

.titres-index h2 {
    padding-left: 4rem;
    font-family: "Lora", serif;
    color: var(--rouge-profond);
}

h3 {
    margin-top: 3rem;
    font-family: "Lora", serif;
    color: var(--rouge-profond);
}

a {
    color: var(--rouge-profond);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--champagne);
}

.indeximg {
    max-width: 90%;
    border-radius: 30px;
    border: 1px solid var(--champagne);
    box-shadow: 0 0 10px rgba(203, 185, 148, 0.25);
}

.boutons button,
.buttonrsvp {
    all: unset;
    display: inline-block;
    background-color: var(--sauge-clair);
    color: var(--rouge-profond);
    border-radius: 1.25rem;
    padding: 0.625rem 1.25rem;
    font-family: "Lora", serif;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 2px 5px rgba(203, 185, 148, 0.3);
}

.boutons button:hover,
.buttonrsvp:hover {
    background-color: #d4c38b;
    color: var(--rouge-profond);
    box-shadow: 0 0 10px rgba(203, 185, 148, 0.6);
    transform: translateY(-1px);
}

.boutons button a,
.buttonrsvp a {
    color: var(--rouge-profond);
    text-decoration: none;
    font-family: "Lora", serif;
}

.boutons button:hover a,
.buttonrsvp:hover a {
    color: var(--rouge-profond);
}

#countdown {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--rouge-profond);
    background: var(--gris-perle);
    padding: 20px 40px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(203, 185, 148, 0.4);
    width: 500px;
    display: inline;
    position: relative;
    z-index: 1;
    font-family: "Playfair Display", serif;
}

@media screen and (max-width: 768px) {
    .titres-index {
        text-align: left;
        margin-left: 2rem;
    }

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

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

    #countdown {
        font-size: 1.5rem;
        width: auto;
        padding: 10px 20px;
    }

    .text {
        width: 100%;
    }

    .boutons button,
    .buttonrsvp {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}

.buttonrsvp a:focus,
.buttonrsvp a:active,
.boutons button a:focus,
.boutons button a:active {
  outline: none;
  box-shadow: none;
}

.hidden-countdown {
  display: none !important;
}

@media screen and (min-width: 768px) {
    .indeximg {
        max-width: 50%;
        border-radius: 30px;
        border: 2px solid var(--champagne);
        box-shadow: 0 0 10px rgba(203, 185, 148, 0.25);
    }
}