
/* -------------------- BASE -------------------- */
html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: "Mea Culpa", cursive;
    font-size: 22px;
    line-height: 1.6;
    letter-spacing: 1px;
    word-spacing: 2px;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    text-align: center;
}

/* -------------------- BACKGROUND -------------------- */
.background-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("fond-avner.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1;
    filter: blur(10px);
}

.content {
    position: relative;
    z-index: 1;
}

/* -------------------- LAYOUT -------------------- */
#kol-container, #kol-container2 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
    font-family: 'Crimson Text', serif;
}

#kol-container {
    margin-top: 55px;
}

#kol-container2 {
    margin-top: -50px;
}

/* -------------------- LOGO -------------------- */
#logo img {
    max-width: 80%;
    height: auto;
    margin-top: -80px;
}

/* -------------------- BOUTON -------------------- */
#div-button {
    margin-top: 35px;
}

#redirectButton {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 20px;
    border: #c99433 2px solid;
    font-family: 'Crimson Text', serif;
    font-size: 16px;
    background-color: white;
    color: #c99433;
    cursor: pointer;
}

/* -------------------- INVITATION -------------------- */
#carte-invitation {
    display: none;
    opacity: 0;
    transition: opacity 1s ease;
}

/* -------------------- GRANDS-PARENTS -------------------- */
.gp {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    margin-top: 30px;
    letter-spacing: 2px;
    gap: 20px;
    flex-wrap: nowrap;
    padding: 0 15px;
    font-size: 13px;
}

.gp-hatan {
    transform: translateY(8.3em);
}

.gp-kala {
    transform: translateY(-1em);
}

/* -------------------- NOMS -------------------- */
.noms {
    display: flex;
    justify-content: center;
}

.noms > p {
    padding: 20px;
    font-size: 45px;
}

/* -------------------- HOUPPA -------------------- */
.houppa {
    
    max-width: 850px;
    margin: 40px auto;
    padding: 5px;
    border-radius: 20px;
    text-align: center;
    color: #333;
    line-height: 1.9;
}

.text-houppa {
    font-size: 22px;
    margin-bottom: 1.5em;
    letter-spacing: 1px;
    word-spacing: 2px;
}

/* -------------------- FOOTER -------------------- */
footer {
    margin-top: 20px;
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    font-style: italic;
    color: #333;
}

/* -------------------- RESPONSIVE -------------------- */
@media (max-width: 600px) {
    body {
        font-size: 18px;
    }

    .noms > p {
        font-size: 35px;
        padding: 10px;
    }

    .carte-invitation {
        width: 430px;
      	margin-right: 35px;
      	margin-left: -35px;
    }
}

@media (min-width: 601px) and (max-width: 1024px) {
    body {
        font-size: 26px;
    }

    .houppa {
        margin: 40px 5px;
    }
}
