body {
    font-family: "Onest", sans-serif;
    font-optical-sizing: auto;
    background-color: #fdfbf8;
    color: #333;
}

header.custom-header {
    position: relative;
    background: url(../img/fondblanc.jpg);
    background-size: 100%;
    overflow: hidden;
    background-color: rgb(255 255 255 / 80%);
    background-blend-mode: lighten;
}

.header-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.subtitle {
    font-size: 1.2em;
    margin: 0;
}

.handwritten {
    font-family: "Caveat", cursive;
    font-optical-sizing: auto;
    font-size: 1.3em;
    font-weight: bolder;
}

nav.sticky-top {
    z-index: 1 !important;
    background-color: #fdfbf8 !important;
}

nav.navbar .container {
    position: relative;
}

nav .nav-item {

    font-weight: 700;
    font-style: normal;
}

.card-body {
    text-align: center;
}

nav {
    border-top: 5px solid #FAF0E6;
    position: relative;
    z-index: 2;
}

main.container {
    position: relative;
    padding-top: 1em;
}



.intro {
    background-size: 100% 100%;
    background-image: url(../img/name-central.png);
    background-repeat: no-repeat;
    background-position: center;
    font-family: "DM Serif Display", serif;
    font-weight: 400;
    font-style: normal;
}



.intro h1 {
    font-weight: bold;
    color: #796f5d;
}

.intro h2 {
    font-size: 1.3rem;
    font-weight: 300;
}

h2 {
    font-family: "Forum", serif;
    font-weight: bold;
    font-size: 2.5em;
    position: relative;
    margin-bottom: 1rem;
}



h3.card-title {
    font-family: "Forum", serif;
    font-weight: bold;
    color: #554d3f;
}

h3.accordion-header {
    font-family: "Onest", sans-serif;
    font-optical-sizing: auto;
}

.card {
    border: none;
    box-shadow: -5px -5px 9px rgb(255 255 255), 5px 5px 9px rgb(217 217 216 / 58%);
    background: #FAF0E6;
}

.card-img-top {
    height: 260px;
    object-fit: cover;
}

p.price {
    font-family: "Forum", serif;
    font-weight: bold;
    color: #554d3f;
}

.accordion-item {
    border-color: #fdfbf8;
    border-width: medium;
}

.accordion-button {
    font-weight: 700;
    color: #3b362f;
    background-color: #D9C8B3;
}

.accordion-button:not(.collapsed) {
    color: #3b362f;
    background-color: #D9C8B3;
}

.accordion-button:focus {
    border-color: inherit;
    outline: 0;
    box-shadow: none;
}

.accordion-body {
    background-color: #fff6ee;
}

footer {
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 0.6em;
}

footer>p {
    margin: 0;
}

section {
    padding-top: 4em;
    position: relative;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#rdv-container {
    display: flex;
}

.list-group-item {
    background: rgba(255, 255, 255, 0.6);
}

.parallax-bg {
    will-change: transform;
    pointer-events: none;
    transition: transform 0.6s ease-out;
}




@media (max-width: 991px) {
    .intro {
        padding: 21vw 18vw 18vw 18vw;
    }

    .intro h1 {
        font-size: 9vw;
    }

    .navbar-brand {
        margin-left: 10px;
    }

    li.nav-item {
        border-bottom: 1px solid #faf0e6;
    }

    ul.navbar-nav {
        padding: 0 10px 0 10px;
    }

    main.container {
        text-align: center;
        position: relative;
        padding-top: 1em;
        padding: 1em 1.5em;
        overflow: hidden;
    }

    .subtitle {
        font-size: 4.5vw;
        margin: 0;
    }

    .header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 2rem;
        margin-top: 1rem;
    }

    .oiseau {
        display: none;
    }

    p.price {
        font-size: 1.5em;
        margin: 0;
    }

    .photo-praticien-telephone {
        width: 14rem;
        height: 14rem;
        border-radius: 9rem;
        border: 6px solid #D9C8B3;
        margin-top: 2rem;
        object-fit: cover;
    }

    .photo-praticien-pc {
        display: none
    }

    section#presentation {
        padding-top: 0;
    }

    h2.bg-text::before {
        color: #faf0e6;
        content: attr(data-bg-text);
        display: block;
        font-size: 1.25em;
        position: absolute;
        left: 0;
        right: 0;
        top: -15px;
        z-index: -1;
    }

    section#tarifs {
        font-size: 0.9em;
    }

    #plume2 {
        position: absolute;
        left: -154px;
        opacity: 0.2;
    }

    #plume1 {
        position: absolute;
        right: -101px;
        opacity: 0.2;
    }

    #rdv-container {
        flex-direction: column;
    }

    #rdv-container img {
        border-radius: 20px;
        object-fit: cover;
        margin-bottom: 2em;
    }
}

@media (min-width: 992px) {
    section#presentation {
        padding-top: 4rem;
    }

    .intro {
        text-align: center;
        margin-top: 2rem;
        margin-bottom: 2rem;
        padding: 10em 9em 9em 7em;
        margin-left: auto;
        position: relative;
    }

    .intro h1 {
        font-size: 2.5rem;
        font-weight: bold;
        color: #796f5d;
    }

    .subtitle {
        max-width: 20rem;
    }

    .intro::before {
        content: "";
        position: absolute;
        left: -450px;
        top: 0px;
        width: 500px;
        height: 220px;
        background: url(../img/birds-left.png);
        background-size: 100% 100%;
    }

    .intro::after {
        content: "";
        position: absolute;
        right: -210px;
        top: 30px;
        width: 220px;
        height: 166px;
        background: url(../img/birds-right.png);
        background-size: 100% 100%;
    }

    p.price {
        display: inline;
        font-size: 1.3em;
    }


    .photo-praticien-pc {
        position: absolute;
        width: 18rem;
        height: 18rem;
        border-radius: 9rem;
        border: 6px solid #D9C8B3;
        align-self: flex-end;
        overflow: hidden;
        top: -240px;
        left: 8%;
        z-index: 10;
        object-fit: cover;
    }

    .photo-praticien-telephone {
        display: none
    }

    h2.bg-text::before {
        color: #faf0e6;
        content: attr(data-bg-text);
        display: block;
        font-size: 1.25em;
        position: absolute;
        left: -15px;
        top: -20px;
        z-index: -1;
    }

    a.navbar-brand {
        display: none;
    }

    #plume1 {
        position: absolute;
        right: -246px;
        top: -300px;
        opacity: 0.3;

    }

    #plume2 {
        position: absolute;
        left: -246px;
        top: -200px;
        opacity: 0.3;
        z-index: -1;
    }

    #rdv-container img {
        width: 35%;
        border-radius: 20px;
        margin-right: 40px;
        object-fit: cover;
    }

}