* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}


body {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    background-image: url(/img/background.png);
    background-position: bottom center;
    background-size: cover;
    backdrop-filter: blur(2px);
    background-repeat: no-repeat;
    font-family: "Playfair Display";
}

main {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}



/* Propriétés des dialog */

dialog[open]~* {
    display: none;
}

dialog {
    all: unset;
    display: none;
}

dialog[open] {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
}


.titreDialog {
    background-image: linear-gradient(#f0ad2c, #ffce6d, #af9052);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}



/* Propriétés des boutons */

button {
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    color: #673838;
    background-image: linear-gradient(#f0ad2c, #ffce6d, #af9052);
    box-shadow: 0px 0px 20px 2px black;
    cursor: pointer;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    padding: 0 0.5em;
}

/* téléphones portrait */
@media (max-width: 450px) {
    button {
        font-size: 0.7rem;
        height: 1.5rem;
    }
}

/* telephone paysage */
@media (max-height: 450px) {
}