@import url("./var.css");

#head-title-section {
    background-image: url(https://wp.bgs-associes.com/wp-content/uploads/2023/12/Fond-large.svg);
    background-position: bottom;
    background-repeat: no-repeat;
    min-height: 350px;
}

.add_border {
    padding-left: 2rem;
    border-left: 2px solid #344696;
}

section.last_card {
    position: relative;
    width: 65%;
    display: block;
    margin: 0 auto;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    border-radius: 50px 0;
    padding: 5rem;
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    overflow: hidden;
    margin-bottom: 0rem;
}

section.last_card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background-image: url(https://wp.bgs-associes.com/wp-content/uploads/2023/12/Trace-297.svg);
    background-repeat: no-repeat;
    background-position-y: bottom;
    background-position-x: right;
    background-size: auto;
    filter: blur(5px);
}

section.last_card > .l_wrapper > h4{
    color: var(--orange);
    font-size: 30px;
    margin: 1rem;
    padding-right: 250px;
}

section.last_card > .l_wrapper {
    z-index: 1;
    position: relative;
}

section.last_card > .l_wrapper > span {
    display: block;
    width: 80%;
    max-width: 80% !important;
    color: black;
    margin: 1rem;
    font-size: 18px;
    font-weight: 500;
}
section.last_card > .r_wrapper {
    position: absolute;
    top: 150px;
    right: 70px;
    z-index: 2;
    color: white;
    padding: 10px 15px;
    background: #F59022;
    color: white;
    border-radius: 15px 0;
    cursor: pointer;
}
@media screen and (max-width:700px){
    section.last_card {
        width: 90% !important;
        padding: 1rem !important;
    }
    section.last_card > .l_wrapper > h4 {
        padding-right: 0px !important;
    }
    section.last_card > .l_wrapper > span {
        margin: 1rem 1rem 5rem !important;
    }
    section.last_card > .r_wrapper {
        top: 200px !important;
        right: 50% !important;
        transform: translateX(50%) !important;
    }
}
@media screen and (max-width: 500px) {
    section.last_card {
        width: 90% !important;
        padding: 1rem !important;
    }

    section.last_card > .l_wrapper > h4 {
        text-align: center;
        font-size: 24px;
        margin: 0;
        padding-right: 0;
    }

    section.last_card > span {
        display: block;
        width: 100%;
        text-align: center;
        color: black;
        margin: 2rem 0;
    }
    section.last_card > .r_wrapper {
        top: 76% !important;
        right: 48% !important;
        transform: translateX(46%) !important;
    }

    .switch-section > div {
        flex-direction: column-reverse;
    }
}