/* https://www.info24android.com/15-beaux-effets-de-texte-cree-avec-css/*/

.fondImageDansLettre {
    display: contents;
    margin: 0;
    padding: 0;
    min-height: 100%;
    max-width: 105%;
    font-family: 'Oswald', sans-serif;
    color: #fff;
    background-color: #000;
    text-align: center;
    background: none;
}
.fondImageDansLettre:before,:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.fondImageDansLettre .clip-text {
    font-size: 14rem;
    font-weight: 1000;
    line-height: 0.75; /* entre ligne 1; */
    position: relative;
    display: inline-block;
    /*padding: .5em .75em;*/
    text-align: center;
    /* Color fallback */
    color: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fondImageDansLettre .clip-text:before, .fondImageDansLettre .clip-text:after {
    position: absolute;
    content: '';
}

/* Background */
.fondImageDansLettre .clip-text:before {
    z-index: -2;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: inherit;
}

/* Text Background (black zone) */
.fondImageDansLettre .clip-text:after {
    position: absolute;
    z-index: -1;
    top: .125em;
    right: .125em;
    bottom: .125em;
    left: .125em;
    background-color: #000;
}

/* Change the background position to display letter when the black zone isn't here */
.fondImageDansLettre .clip-text--no-textzone:before {
    background-position: -.75em 0;
}

.fondImageDansLettre .clip-text--no-textzone:after {
    content: none;
}

.fondImageDansLettre .clip-text--cover, .fondImageDansLettre .clip-text--cover:before {
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: 50% 50%;
}

.fondImageDansLettre .clip-text_one {
    background-size: cover; /* contain; */
    animation: clip-text_oneDécalageImage 6s infinite ease-in-out;
    letter-spacing: -45px;

}


@media screen and (max-width: 1960x) {
.fondImageDansLettre .clip-text {font-size: 12rem;letter-spacing: -40px;}    
}
@media screen and (max-width: 1280x) {
.fondImageDansLettre .clip-text {font-size: 11rem;letter-spacing: -35px;}    
}
@media screen and (max-width: 1024px) {
.fondImageDansLettre .clip-text {font-size: 9rem;letter-spacing: -30px;}    
}
@media screen and (max-width: 800px) {
.fondImageDansLettre .clip-text {font-size: 6.1rem;letter-spacing: -20px;}    
}
@media screen and (max-width: 600px) {
.fondImageDansLettre .clip-text {font-size: 4.5rem;letter-spacing: -10px;}    
}
@media screen and (max-width: 420px) {
.fondImageDansLettre .clip-text {font-size: 4rem;letter-spacing: -10px; font-weight: 800;}    
}




/*.fondImageDansLettre .clip-text_one:hover{
    animation: clip-text_oneDécalageImage 6s infinite ease-in-out;
}*/
@keyframes clip-text_oneDécalageImage {
    0% {
        background-position-x: 0px;
    }
    50% {
        background-position-x: 100px;
    }
    100% {
        background-position-x: 0px;
    }
}

