@font-face {
    font-family: 'Raleway Semi Bold';
    src: url('../font/Raleway/static/Raleway-SemiBold.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'Raleway ExtraBold';
    src: url('../font/Raleway/static/Raleway-ExtraBold.ttf') format('truetype');
    font-style: normal;
} 

@font-face {
    font-family: 'Raleway LightItalic';
    src: url('../font/Raleway/static/Raleway-LightItalic.ttf') format('truetype');
    font-style: normal;
}

/* Regular */
@font-face {
    font-family: 'Open Dys';
    src: url('../font/open-dyslexic-font/OpendyslexicRegular-nRLZ0.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Bold */
@font-face {
    font-family: 'Open Dys';
    src: url('../font/open-dyslexic-font/OpendyslexicBold-xyz.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

p {
    font-family: "Raleway Semi Bold";
    font-size: 150%;
    text-align: justify;
    margin-left: 30px;
    margin-right: 30px;
    word-spacing: 0.3em;/* augmente ou réduit l’espace entre les mots */
    line-height: 1.5;/* 1.5 fois la taille de la police */
    margin-bottom: 1em;/* espace après chaque paragraphe */
}

h1 {
    font-family: "Raleway LightItalic";
}

.cadreCoeur {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 130px;
    height: 130px;
}

.coeur {
    transition: 0.2s;
    width: 60px;
    height: 60px;
    background-color: rgb(255, 255, 255);
    transform: rotate(-45deg);
    position: relative;
}

.coeur::before,
.coeur::after {
    transition: 0.2s;
    position: absolute;
    content: '';
    width: 60px;
    height: 60px;
    background: rgb(255, 255, 255);
    border-radius: 50%;
}

.coeur::before {
    top: -50%;
    left: 0;
}

.coeur::after {
    top: 0;
    right: -50%;
}


.coeur:hover,
.coeur:hover::before,
.coeur:hover::after {
    background-color: rgb(238, 236, 236);
}

.coeur:hover {
    transform: rotate(-45deg) scale(1.1);
}



.clique {
    background-color: red;
    transform: rotate(-45deg);
}

.clique::before,
.clique::after {
    background: red;
}

.clique:hover,
.clique:hover::before,
.clique:hover::after {
    background-color: rgb(240, 53, 53);
}

/********************************/

.flèche {
    transition: 0.2s;
    position: relative;
    width: 125px;
    height: 50px;
    background-color: white;
}

.flèche::after {
    content: '';
    transition: 0.2s;
    position: absolute;
    top: -35px;
    width: 0;
    height: 0;
    border-top: 60px solid transparent;
    border-bottom: 60px solid transparent;
}

.flècheGauche::after {
    left: -90px;
    border-right: 100px solid white;
}

.flècheDroite::after {
    left: 90px;
    border-left: 100px solid white;
}


.flèche:hover,
.flèche:hover::after {
    transition: 0.2s;
    transform: scale(1.1);
}



/*---------------------*/

body {
    overflow-x: hidden; /* Empêche tout dépassement horizontal */
}

/* .annimationRebond{
    animation: apparition linear;
    animation-timeline: view();
    animation-range-start:cover 0%;
    animation-range-end: contain 10%;
} */

/* @keyframes apparitionDroite{
    from{
        transform:translateX(100vw);
    }
    to{
        transform: translateX(0%);
    }
} */

/* @keyframes apparition {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
} */