/* -------------------- Reset et fond -------------------- */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0); /* fond noir */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    font-family: 'Big Shoulders Text', sans-serif;
}

/* -------------------- Canvas de l’iris -------------------- */
.canvas-container {
    position: relative;   /* IMPORTANT */
    width: 100vw;
    height: 100vh;
}


#doorCanvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}

#bgCanvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}

/* -------------------- Titres -------------------- */
h1, h2 {
    position: relative;
    z-index: 20;
    text-align: center;
    top: 25%;
    font-weight: 200;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0.5em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1rem; }

/* -------------------- Liens -------------------- */
.links {
    position: relative;
    z-index: 20;
    display: flex;
    gap: 2rem;
    margin-top: 1em;
}

.links a {
    text-decoration: underline;   /* souligné */
    color: violet;                /* couleur violette */
    padding: 0.5em 1em;
    font-weight: 200;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.links a:hover {
    color: #ff80ff;               /* violet plus clair au hover */
    transform: scale(1.05);
}

/* -------------------- Paragraphe contenu -------------------- */
.content {
    position: relative;
    z-index: 20;
    font-family: 'Banshrift', sans-serif;  /* style texte */
    color: white;
    text-align: center;
    max-width: 600px;
    margin: 1em 1em 0 1em;
    font-weight: 200;
    line-height: 1.5;
}
