@font-face {
    font-family: 'Abril Fatface';
    src: url('/assets/fonts/Abril_Fatface/AbrilFatface-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('/assets/fonts/Barlow_Condensed/BarlowCondensed-Regular.ttf') format('truetype');
}


.highlighted-phrase {
    text-align: center;
    font-family: 'Abril Fatface', cursive; /* Elegant, cursive font for emphasis */
    font-size: 1.5rem; /* Larger font size for emphasis */
    font-style: italic; /* Italic style for emphasis */
    font-weight: bold; /* Bold text to make it stand out */
    color: #2c3e50; /* Dark blue color for readability and contrast */
    background-color: #f7f9fa; /* Light background for emphasis */
    padding: 20px; /* Padding for spacing around the text */
    border-left: 6px solid #3498db; /* Blue left border for emphasis */
    border-radius: 10px; /* Rounded corners for a softer look */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    max-width: 80%; /* Limit the width for better readability */
    opacity: 0; /* Initial opacity for the fade-in effect */
    transform: translateY(20px); /* Initial position for the translation effect */
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out; /* Smooth transition */
}

.highlighted-phrase-visible {
    opacity: 1; /* Fade in */
    transform: translateY(0); /* Move to final position */
}

.centered-container {
    display: flex;
    justify-content: center;
    align-items: center;
}


/* POLICE DIDOT ITALIQUE CENTRÉ */

.fancy-text {
    font-family: 'Didot', serif;
    font-size: 1.5rem;
    text-align: center;
    margin-top: 20px;
    color: #292a2b; /* couleur de texte appropriée */
    font-style: italic; /* Ajouter l'italique */
}


/* BLOCKQUOTE */

/* Center the blockquote in the page */
.blockquote-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 0 20px;*/
    border: none; /* Remove any border around the wrapper */
    margin: 0; /* Ensure no margin around the wrapper */
}

/* Blockquote main style */
.blockquote {
    position: relative;
    font-family: 'Barlow Condensed', sans-serif;
    max-width: 620px;
    align-self: center;
    padding: 30px; /* Augmenter le padding pour un meilleur espacement interne */
    background-color: #292a2b; /* Ensure the blockquote background contrasts */
    border-radius: 20px;
    border: 2px solid #e8d7d7; /* Bordure ajoutée pour encadrer le bloc #cf8c8c;  */ 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ajout d'une ombre portée */
    opacity: 0; /* Initial opacity for fade-in effect */
    transform: translateY(20px); /* Initial position for slide-in effect */
    transition: opacity 1s ease-out, transform 1s ease-out; /* Smooth transition */
}

/* Blockquote when visible */
.blockquote-visible {
    opacity: 1; /* Final opacity for fade-in effect */
    transform: translateY(0); /* Final position for slide-in effect */
}

/* Blockquote header */
.quote-text {
    font-family: 'Abril Fatface', cursive;
    position: relative; /* for pseudos */
    color: #e74848;
    font-size: 2rem;
    font-weight: normal;
    line-height: 1.2;
    margin: 0;
    border: 2px solid #e74848; /* Border color to match text */
    border-radius: 20px;
    padding: 25px;
    background-color: #292a2b; /* Ensure the header background contrasts */
    opacity: 0; /* Initial opacity for fade-in effect */
    transform: translateY(10px); /* Initial position for slide-in effect */
    transition: opacity 1.5s ease-out, transform 1.5s ease-out; /* Smooth transition */
    text-align: justify; /* Justify the text */

}

/* Quote text when visible */
.quote-text-visible {
    opacity: 1; /* Final opacity for fade-in effect */
    transform: translateY(0); /* Final position for slide-in effect */
}

/* Blockquote right double quotes */
.quote-text:after {
    content: "";
    position: absolute;
    border: 2px solid #e74848;
    border-radius: 0 50px 0 0;
    width: 60px;
    height: 60px;
    bottom: -62px;
    left: 50px;
    border-bottom: none;
    border-left: none;
    z-index: 3;
}

.quote-text:before {
    content: "";
    position: absolute;
    width: 80px;
    border: 6px solid #292a2b;
    bottom: -3px;
    left: 50px;
    z-index: 2;
}

/* Blockquote subheader */
.quote-author {
    position: relative;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    padding-top: 15px;
    z-index: 1;
    margin-left: 150px;
    padding-left: 12px;
    opacity: 0; /* Initial opacity for fade-in effect */
    transform: translateY(10px); /* Initial position for slide-in effect */
    transition: opacity 2s ease-out, transform 2s ease-out; /* Smooth transition */
    text-align: justify; /* Justify the text */

}

/* Author when visible */
.quote-author-visible {
    opacity: 1; /* Final opacity for fade-in effect */
    transform: translateY(0); /* Final position for slide-in effect */
}

/* Keyframes for animations */
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Blockquote Wrapper */
.blockquote-wrapper-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    border: none;
}

/* Blockquote Main Style */
.blockquote-2 {
    position: relative;
    font-family: 'Merriweather', serif;
    max-width: 620px;
    align-self: center;
    padding: 30px; /* Augmenter le padding pour un meilleur espacement interne */
    background-color: #292a2b; /* Ensure the blockquote background contrasts */
    border-radius: 20px;
    border: 2px solid #e8d7d7; /* Bordure ajoutée pour encadrer le bloc */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ajout d'une ombre portée */
    opacity: 0; /* Initial opacity for fade-in effect */
    transform: translateY(20px); /* Initial position for slide-in effect */
    transition: opacity 1s ease-out, transform 1s ease-out; /* Smooth transition */
    overflow: hidden; /* Ensures no overflow of elements */
}

/* Blockquote when visible */
.blockquote-2-visible {
    opacity: 1; /* Final opacity for fade-in effect */
    transform: translateY(0); /* Final position for slide-in effect */
}

/* Blockquote Header */
.quote-text-2 {
    font-family: 'Abril Fatface', cursive;
    position: relative; /* for pseudos */
    color: #e74848;
    font-size: 2rem;
    font-weight: normal;
    line-height: 1.2;
    margin: 0;
    border: 2px solid #e74848; /* Border color to match text */
    border-radius: 20px;
    padding: 25px;
    background-color: #292a2b; /* Ensure the header background contrasts */
    opacity: 0; /* Initial opacity for fade-in effect */
    transform: translateY(10px); /* Initial position for slide-in effect */
    transition: opacity 1.5s ease-out, transform 1.5s ease-out; /* Smooth transition */
    text-align: justify; /* Justify the text */
    overflow: hidden; /* Ensures no overflow of elements */
}


/* Quote text when visible */
.quote-text-2-visible {
    opacity: 1; /* Final opacity for fade-in effect */
    transform: translateY(0); /* Final position for slide-in effect */
}


/* Blockquote Subheader */
.quote-author-2 {
    position: relative;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    padding-top: 15px;
    z-index: 1;
    margin-left: 150px;
    padding-left: 12px;
    opacity: 0; /* Initial opacity for fade-in effect */
    transform: translateY(10px); /* Initial position for slide-in effect */
    transition: opacity 2s ease-out, transform 2s ease-out; /* Smooth transition */
    text-align: justify; /* Justify the text */
}

/* Author when visible */
.quote-author-2-visible {
    opacity: 1; /* Final opacity for fade-in effect */
    transform: translateY(0); /* Final position for slide-in effect */
}

/* Keyframes for animations */
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


.flames {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: url('/assets/images-articles/flamme.gif') no-repeat center center;
    background-size: cover;
    opacity: 0; /* Initial opacity for fade-in effect */
    transition: opacity 2s ease-out; /* Smooth transition */
    border-radius: 20px; /* Matching the blockquote border radius */
}

/* Flames when visible */
.flames-visible {
    opacity: 0.7; /* Adjust opacity for desired effect */
}


/* Media Query for smaller screens */
@media (max-width: 600px) {
    .blockquote-2 {
        max-width: 90%;
        padding: 20px; /* Adjust padding for smaller screens */
    }
    .quote-text-2 {
        font-size: 1.5rem; /* Reduce font size for smaller screens */
        padding: 20px; /* Adjust padding for smaller screens */
    }
    .quote-author-2 {
        font-size: 0.9rem; /* Adjust font size for smaller screens */
        margin-left: 0;
        padding-left: 0;
        padding-top: 10px; /* Adjust padding for smaller screens */
    }
}