* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif; 
     background-color: rgb(128, 0, 32);
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

.btn-back-home img {
    position: absolute;
    width: 35px;
    height: 35px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(255, 255, 255, 1);
}

@font-face {
    font-family: 'Mercy Christole';
    src: url('../fonts/Mercy Christole.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

h1 {
    text-align: center;
    color: #444;
    margin-bottom: 20px;
    font-family: 'Mercy Christole', sans-serif;
    font-size: 32px;
    letter-spacing: 3px;
    color: #be1e2d;
    text-shadow: 
        3px 1px 0 black,
        2px 1px 0 black;
}

p {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #333333;
    font-family: "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
}


.button-container {
    display: flex;
    justify-content: space-around;
    gap: 25px;
    text-align: center;
}

.rsvp-button {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 1rem;
    color: #ffffff;
    background: linear-gradient(110deg, #7f0000, #a00000, #c10000, #e00000, #ff1a1a);
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    font-weight: bold;
    width : 275px;
}

.rsvp-button:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}


.rsvp-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-45deg);
    transition: none;
}

.rsvp-button:hover::before {
    left: 100%;
    transition: all 0.5s ease-in-out;
}

.sous-titre {
    text-align: center;
    font-family: 'Playfair Display', serif;
}

@media (max-width: 600px) {
    .button-container {
        flex-direction: column;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }

    .rsvp-button {
        width: 100%;
        max-width: 90%;
        font-size: 0.9rem;
        padding: 12px 15px;
    }
}

@media screen and (max-width: 400px) {

    .btn-back-home {
        display: flex;
        justify-content: center; /* Centre horizontalement */
        align-items: center;    /* Centre verticalement */
        margin-bottom: 10px;
    }

    .btn-back-home img {
        position: relative;
        width: 35px;
        height: 35px;
    }

    h1 {
        text-align: center;
        color: #444;
        margin-bottom: 20px;
        font-family: 'Mercy Christole', sans-serif;
        font-size: 22px;
        letter-spacing: 3px;
        color: #be1e2d;
        text-shadow: 
            3px 1px 0 black,
            2px 1px 0 black;

    }

    p {
        text-align: center;
        margin-bottom: 20px;
        font-size: 12px;
    }

}

@media screen and (max-width: 200px) {

    h1 {
        text-align: center;
        color: #444;
        margin-bottom: 20px;
        font-family: 'Mercy Christole', sans-serif;
        font-size: 25px;
        letter-spacing: 1px;
        color: #be1e2d;
        text-shadow: 
            3px 1px 0 black,
            2px 1px 0 black;

    }

    p {
        text-align: center;
        margin-bottom: 20px;
        font-size: 10px;
    }

}