body{
    font-size: 16px;
}
.my-container{
    padding: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

.section{
    padding : 25px;
    border-radius: 5px;
    margin: 0 0;
    display: flex;
    flex-wrap: wrap;
}

.title div:nth-of-type(1) {
    font-size:3rem;
    letter-spacing: 8px;
}

/* Sélectionne la deuxième div avec la classe title */
.title div:nth-of-type(2) {
    font-size:1.2rem;
    font-weight:400;
    font-style:italic;
}

/* Sélectionne la troisième div avec la classe title */
.title div:nth-of-type(3) {
    font-size:1rem;
    font-weight:500;
    letter-spacing: 4px;
}

.bg1{
    background-image: url("../imgs/imgcoverfriend.png");
    min-height: 400px;
    background-size: cover;
}

.btnBg1{
    background-color: #433324;
    color: white;
    display: block;
    width: max-content;
    letter-spacing: 1px;
    font-size: 1.1rem;
    font-weight: 400;
    text-decoration: none;
    border: 2px solid white;
    padding: 10px 20px 13px 20px;
    margin: 45px auto 0 auto;
    border-radius: 28px;
}

.btnBg1:hover{
    background-color: #291f16;
}

#methodes{
    width: 65vw;
    max-width: 1000px;
    display: flex;
    margin: 40px auto;
    text-align: justify;
}

#methodes .content-right img{
    width: 30vw;
    max-width: 450px;
}

.card_section {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 55px auto;
    padding-top: 15vh;
}

.card_section .card {
    width: 15vw;
    background-color: #f4ece4;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    max-width: 230px;
}

.card_section .card:hover {
    transform: translateY(-5px);
}



#cover2{
    width: 66vw;
    display: flex;
    margin: 40px auto -10vh auto;
    text-align: justify;
    padding: 33px 87px 0 87px;
    border-radius: 10px;
    max-width: 1000px;
}

#cover2 .content-left img{
    margin: 0 35px;
    border-radius: 31px;
    width: 21vw;
    border: 5px solid #433324;
    max-width: 300px;
}


.reviews-container {
    max-width: 1200px;
    margin: 2vh auto;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
}

.review-card {
    background-color: #fffbeb;
    border-radius: 8px;
    box-shadow: 0 4px 3px rgba(0, 0, 0, 0.2);
    padding: 20px;
    width: 360px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #757575;
}

.user-info {
    flex-grow: 1;
}

.user-name {
    font-weight: bold;
    margin: 0;
    color: #212121;
}

.review-stars {
    color: #FBC02D;
    margin-bottom: 10px;
}

.review-text {
    color: #424242;
    line-height: 1.5;
    height: 150px;
    overflow: auto;
}


.bg1 .title{    
    color: white;
    font-weight: bold;
    text-align: center;
    margin: 10% auto 0 AUTO;
    text-shadow: 1px 1px 1px black;
}

.bg1 .img{
    text-align: right;
    width: 40rem;
    margin-top: 4rem;
}

.bg1 img{
    height: 21rem;
}

#index_content{
    width: 100%;
    max-width: 1500px;
    min-height: 603px;
    margin: auto;
}


.index_top{
    font-weight: bold;
    display: flex;
    flex-direction: row;
}

.red{
    color : #FF3C3C;
}

.id_h{
    margin-left: -20px;
}

.id_h1{
    margin-top: 75px;
    line-height: 33px;
}

.id_h2{
    line-height: 50px;
}

.id_h3{
    margin-top: -10px;
}

.index_left_bottom{
    height: 80px;
    background-color: #222222;
    display: flex;
    width: max-content;
    flex-direction: row;
    padding: 11px 40px 11px 0;
    margin-left: 90px;
    margin-top: 70px;
    font-size: 20px;
    font-weight: lighter;
    border-radius: 8px;
    border: 3px solid white;
}

.id_lb_img{
    height: 112px;
    margin: -26px 50px 0 26px;
}
.id_white{
    color : white;
    margin-top : 10px;
}


.index_bottom{
    display: flex;
}
.index_right_bottom{
    display: flex;
    flex-direction: row;
}

.index_right_bottom{
    margin-top: 58px;
    margin-left: 290px;
    font-weight: bold;
}

.id_lr_img{
    height: 105px;
    border: 4px solid white;
    border-radius: 100px;
}

.id_acc_h{
    text-align: center;
    font-weight: bold;
}


#acc{
    display: flex;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    margin: 0 auto;
    max-width: 1500px;
}
#acc_bar_link{
    margin-top : 50px;
}

.acc_bar_elem{
    display: flex;
}

.acc_bar_title{
    width: 400px;
    text-align: right;
    margin: 3px 30px;
    font-weight: bold;
    font-size: 18px;
}

#acc_bar_link .b1{
    border : 1px solid black;
    width : min-content;
    border-radius : 100px
}

#acc_bar_link .b2{
    border: 3px solid #72D9E6;
    width: 36px;
    height: 36px;
    text-align: center;
    padding: 6px 4px 0px 5px;
    font-size: 12px;
    border-radius: 100px;
}

.acc_bar_elem img{
    width : 27px;
}

.acc_bar_desc{
    margin: 3px 0 0 15px;
    height: 1px;
    width: 381px;
    font-size: 16px;
    /* text-align: justify;*/
}

#acc_bar_link .link_bar{
    background-color: black;
    height: 80px;
    width: 7px;
    margin-left: calc(400px + 60px + 16px - 1px);
}

.acc_bar_title_mobile{
    display: none;
    font-weight: bold;
}


@media screen and (max-width: 1320px) {
    .index_img_acc {
        height: 249px;
    }

    .index_right_bottom {
        margin-left: 33px;
        font-size: 15px;
    }

    .index_left_bottom {
        padding: 11px 31px 11px 0;
        font-size: 19px;
    }

    #secretairdog{
        display: none;
    }
}

@media screen and (max-width: 990px) {
    #methodes {
        width: 80vw;
        text-align: justify;
        display: flex;
        margin: 40px auto;
        flex-direction: column;
        max-width: none;
    }

    #methodes .content-right img {
        width: 55vw;
        margin: auto auto;
        display: block;
        max-width: none;
    }

    .title div:nth-of-type(1) {
        font-size: 2.5rem;
        margin-top: 3rem;
    }
    
    /* Sélectionne la deuxième div avec la classe title */
    .title div:nth-of-type(2) {
        font-size:1.1rem;
    }
    
    /* Sélectionne la troisième div avec la classe title */
    .title div:nth-of-type(3) {
        font-size:1rem;
    }

    .btnBg1 {
        width: 63vw;
        font-size: 14px;
    }

    #cover2{
        display: flex;
        flex-direction: column-reverse;
        width : 80vw;
        padding-top: 0;
        margin: 40px auto -10vh auto;
        max-width: none;
    }

    #cover2 .content-left{
        text-align: center;
        margin-top: 30px;
        max-width: none;
    }

    #cover2 .content-right{
        max-width : 500px;
        max-width: none;
    }

    #cover2 .content-left img {
        width: 30vw;
        max-width: none;
    }

    .card_section {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        justify-content: center;
        padding-top: 8vh;
    }

    .card_section .card {
        width: 40vw;
        margin: 20px;
        text-align: center;
        max-width: none;
    }


    .index_top {
        font-weight: bold;
        display: flex;
        flex-direction: row;
    }

    .index_img_acc {
        margin-left: -14vw;
        margin-top: 34px;
        width: 62vw;
        height: auto;
    }

    .id_h {
        margin-left: -7vw;
        margin-top: 35px;
    }

    .id_h1 {
        font-size: 6vw;
        margin-top: 75px;
        line-height: 3.1vw;
    }

    .id_h2 {
        font-size: 4vw;
        line-height: 50px;
    }

    .id_h3 {
        font-size: 3vw;
        margin-top: -10px;
    }

    .index_bottom {
        display: block;
    }

    .index_left_bottom {
        padding: 0;
        margin: 5vh auto 1vh auto;
        font-size: 4vw;
        height: 16vw;
        display: flex;
        flex-direction: row-reverse;
    }
    

    .id_lb_img {
        height: 21vw;
        margin: -5vw 3vw 0 2vw;
    }

    .id_white {
        color: white;
        margin-top: 10px;
        padding: 0 6vw;
    }

    .index_right_bottom {
        margin-left: 1vw;
        font-size: 3.7vw;
    }

    .id_lr_img {
        height: 23vw;
        border: 4px solid white;
        border-radius: 100px;
    }
    
    #acc_bar_link .link_bar {
        margin-left: 15px;
        background-color: black;
        height: 100px;
        width: 7px;
    }

    #part2{
        margin-top: 5vh;
    }


    .acc_bar_title {
        display: none;
    }

    .acc_bar_title_mobile{
        display: block;
    }

    .acc_bar_desc {
        margin: 3px 0 0 15px;
        height: 1px;
        width: 80vw;
    }

    .acc_bar_title_mobile {
        display: block;
    }

    #acc_bar_link .b2 {
    border: 3px solid #72D9E6;
    width: 36px;
    height: 36px;
    text-align: center;
    padding: 6px 4px 0px 5px;
    font-size: 12px;
    border-radius: 100px;
    }

    .acc_bar_elem img {
        width: 6vw;
    }

    .acc_bar_desc {
        margin: 3px 0 0 15px;
        height: 1px;
        width: 100%;
    }
}
