@import url('https://fonts.googleapis.com/css2?family=Allura&family=Lavishly+Yours&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Allura&family=Lalezar&family=Lavishly+Yours&display=swap');

:root {

    --bs-body-bg: #ecebcf;
    --text-success: #3f433b;
    --bs-font-sans-serif: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

/* Lien rapide vers le contenu pour liseuse     */
/* code provenant du site suivant : https://make.wordpress.org/accessibility/handbook/markup/the-css-class-screen-reader-text/*/
.screen-reader-text {
    border: 0;
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;

    &:focus {
        background-color: var(--bs-body-bg);
        clip-path: none;
        color: var(--text-success);
        display: block;
        font-size: var(--bs-font-sans-serif);
        left: 5px;
        height: auto;
        line-height: normal;
        padding: 15px 23px 14px;
        top: 5px;
        text-decoration: none;
        width: auto;
        z-index: 100000;
    }
}

/*  titres h1 et h2 */

h1 {
    font-family: "Allura", cursive;
    text-align: center;
    font-weight: 500;
    font-size: 4rem;
}

h2 {
    font-family: "Allura", cursive;
    text-align: center;
    font-weight: 500;
    font-size: 3rem;
}

h3 {
    font-family: "Allura", cursive;
    text-align: center;
    font-weight: 500;
    font-size: 2.5rem;
}

/*  image background header et footer */

.border-bg {
    background-image: url('../img/bg-feuilles-small.jpg');
    background-size: cover;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.7);
    background-blend-mode: overlay;
    height: auto;
    margin-top: 0px;
    margin-bottom: 0px;
}

/*  image background sections et séparateur */

.texture-bg {
    background-image: url('../img/texture.jpg');
    background-size: cover;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.8);
    background-blend-mode: overlay;
    height: auto;
    margin-top: 0;
    margin-bottom: 0;
}

.texture2-bg {
    background-image: url('../img/florale.jpg');
    background-size: cover;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.75);
    background-blend-mode: overlay;
    height: auto;
    margin-top: 0;
    margin-bottom: 0;
}

.separateur {
    background-image: url('../img/flare.png');
    background-size: auto 100%;
    background-position: center;
    background-blend-mode: overlay;
    height: 10px;
    margin-top: 0px;
    margin-bottom: 0px;
}

/*   carousel */

.carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    text-align: center;

    @media (max-width: 500px) {
        top: auto;
        display: none;
    }

    & p {
        @media (max-width: 800px) {
            top: auto;
            display: none;
        }
    }
}

/*   animation slide-in-left  */

.slide-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.2s ease, transform 0.2s ease;

    &.active {
        opacity: 1;
        transform: translateX(0);
    }
}


/*   header navigation et footer */

.sticky-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1050;
    transition: all 0.3s ease;
    height: 155px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#main-content {
    padding-top: 155px;
}

.navbar-brand {

    @media (max-width: 780px) {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    &.navbar-brand img {
        margin-bottom: 0.5rem;
        width: 120px;
        height: 120px;

        @media (max-width: 780px) {
            width: 85px;
            height: 85px;
        }

    }
}


.footer img {
    width: 150px;
    height: 150px;
}

/*   card    */

.card {
    width: 18rem;

    @media (max-width:780px) {
        width: 26rem;
    }

}