body {
    background-image: url("assets/genie.jpg");
    background-size: cover;
    background-repeat: no-repeat;

}

.titre {
    margin-left: 20%;
    font-size: 40px;
    color: orange;
    text-shadow: -2px -2px 2px black;
}

.scd_titre {
    font-size: 40px;
    color: orange;
    text-shadow: -2px -2px 2px black;
    border-radius: 20px;
    margin-left: 10%;
    text-align: center;
    -webkit-text-stroke: 0.5px;
    text-align: left;
    line-height: 1.6;
    /* Centré et espacé */
    text-align: justify;
    padding: 0 20px;
}

.guess_box {
    margin-top: 80px;
    margin-left: 30%;
}

.regle {
    background-color: rgba(0, 0, 0, 0.63);
    border-radius: 20px;
    margin-left: 10%;
    text-align: center;
    width: 50%;
    margin-top: 100px;
    -webkit-text-stroke: 0.5px;
    text-align: left;
    color: white;
    font-size: 1.2rem;
    line-height: 1.6;
    text-shadow: 2px 2px 2px black;
    /* Centré et espacé */
    text-align: justify;
    padding: 0 20px;
}




 /*----------------------------------------------------------------------------- style boutton valider --------------------------------------------------------------------------------------------*/

.button {
            
    pointer-events: auto;
    cursor: pointer;
    background:rgb(147, 0, 0);
    border: none;
    padding: 1.5rem 3rem;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    position: relative;
    display: inline-block;
}

.button--mimas {
    margin-top: 25px;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 0.5rem;
    overflow: hidden;
    color: #fff;
    background: rgb(147, 0, 0);
    position: relative; /* Ajoute cette position pour permettre au pseudo-élément de se déplacer correctement */
}

.button--mimas span {
    position: relative;
    mix-blend-mode: difference;
}

.button--mimas::before {
    content: '';
    background: black;
    width: 120%;
    height: 100%; /* Ajoute une hauteur au pseudo-élément */
    left: -10%;
    top: 0; /* Positionne le pseudo-élément en haut */
    transform: skew(30deg);
    transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
    position: absolute; /* Positionne le pseudo-élément par rapport à son parent */
}

.button--mimas:hover::before {
    transform: translate3d(100%, 0, 0); /* Le pseudo-élément se déplace lors du hover */
}