@media only screen and (max-width: 135px) {

    .btn-ctp {
        padding: 1.5em 0 !important;
    }

    footer section:nth-child(1) svg {
        /* height: 60vh; */
        position: absolute;
        margin-top: -1em !important;
        z-index: -1;
    }

    /* #AnnonceMobile svg {
        margin-bottom: -2.5em !important;
        height: auto !important;
    } */
}

@media only screen and (max-width: 285px) {

    #logo {
        width: 6em !important;
        height: auto;
    }

    #navMobile svg {
        width: 1.5em !important;
        height: 1.5em !important;
    }

    header {
        padding: 2em 0.1em !important;
    }

    #headerMobile div article:nth-child(2) {
        gap: 0.5em !important;
        flex-wrap: wrap;
    }


    footer section:nth-child(1) svg {
        /* height: 60vh; */
        position: absolute;
        margin-top: -3em !important;
        z-index: -1;
    }



}

@media only screen and (max-width: 323px) {

    #navMobile {
        padding: 0 !important;
        padding-inline: 0 !important;
    }

    #navMobile section {
        display: flex;
        flex-direction: row !important;
        justify-content: space-between !important;
        flex-wrap: wrap;
        gap: 1em;
        align-items: center;
    }

    #logo {
        width: 7em;
        height: auto;
    }

    #navMobile svg {
        width: 1.7em;
        height: 1.7em;
    }

    #headerMobile {
        padding: 1em !important;
        padding-bottom: 0 !important;
    }

    #headerMobile div {
        display: flex;
        flex-direction: column;
        gap: 1em;
        justify-content: space-between;
        margin: 0 !important;
        width: 100% !important;
        padding: 0.4em !important;
    }

    #headerMobile div article:nth-child(1) picture:nth-child(1) {
        overflow: hidden !important;
    }

    #headerMobile div article:nth-child(1) picture:nth-child(2) {
        gap: 0 !important;
    }

    #headerMobile div article {
        flex-wrap: nowrap !important;

    }

    #headerMobile div article:nth-child(1) picture:nth-child(1) i {
        padding-right: 0;
    }

    #sectionHeaderMobile section:nth-child(1) {
        display: flex;
        flex-direction: column-reverse !important;
    }

    .btn-ctp {
        padding: 1.5em 2em !important;
    }

    footer section:nth-child(1) svg {
        /* height: 60vh; */
        position: absolute;
        margin-top: -5em;
        z-index: -1;
    }

    footer section:nth-child(3) article:nth-child(2) button {
        height: max-content;
        display: flex;
        align-items: center;
        flex-direction: column;
        text-wrap: wrap;
        line-height: 1.5em;
    }

    footer section:nth-child(3) article:nth-child(2) button p {
        font-size: 1.1em;
        text-align: center !important;
    }

    #underline {
        padding: 0.3em;
        width: 23vw;
        background: #81BAC0;
        position: absolute;
        z-index: -9999;
        margin-top: -0.6em;
    }

    #underline2 {
        padding: 0.3em;
        width: 25.7vw;
        background: linear-gradient(156.6deg, #EF7A64 -8.29%, #FAC16F 101.3%);
        position: absolute;
        z-index: -9999;
        margin-top: -0.6em;
    }


}

@media only screen and (max-width: 344px) {}

@media only screen and (max-width: 375px) {}

@media only screen and (max-width: 400px) {
    .btn-ctp {
        background: var(--primary);
        color: #fff;
        border-radius: 1em;
        padding: 1.5em 1.5em;
        font-weight: 700;
        cursor: pointer;
        text-wrap: wrap;
    }



    #pop-up2 div button:nth-child(2) {
        background: none;
        color: var(--primary);
    }

    #footerMobile section:nth-child(2) {
        display: flex;
        flex-direction: column !important;
        gap: 2em !important;
        padding: 2em 0 !important;
    }


}

@media only screen and (max-width: 430px) {
    nav {
        padding: 1.2em 0.2em;
    }

    nav section article:nth-child(2) {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 1em;
        align-items: center;
        margin-left: 0;
    }

    header {
        padding: 2em 0.2em;
    }

    #headerMobile div article:nth-child(1) {
        display: none;
    }

    #headerMobile div article:nth-child(2) {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        gap: 2em !important;
    }

    #i-search {
        display: block;
    }



}

@media only screen and (max-width: 450px) {}

@media only screen and (max-width: 470px) {
    nav {
        padding: 1.2em 0.5em;
    }

    nav section article:nth-child(2) {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 1em;
        align-items: center;
        margin-left: 0;
    }

    header {
        padding: 2em 0.5em;
    }

    #footerMobile section:nth-child(2) {
        display: flex;
        justify-content: left !important;
        /* flex-direction: column !important; */
        gap: 0;
        /* flex-wrap: wrap !important; */
        padding: 2.5em !important;
    }

    #footerMobile section:nth-child(2) article {
        width: 100%;
    }

    #footerMobile section:nth-child(2) article:nth-child(2) {
        justify-content: left;
    }

    #footerMobile section:nth-child(3) {
        display: flex;
        flex-direction: row;
        gap: 5em !important;
        padding: 2em 0 !important;
        width: 100%;
    }

    #footerMobile section:nth-child(4) article {
        display: flex;
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        gap: 1em !important;
    }


    #footerMobile section:nth-child(4) article button {
        background: var(--btn-link);
        border: 1px solid #FFFFFF;
        height: 75px;
        padding: 1.5em 2em !important;
        border-radius: 1em;
        display: flex;
        align-items: center;
        flex-direction: row;
        justify-content: center;
        color: #fff;
        gap: 1em;
        cursor: pointer;
        text-wrap: nowrap;
        width: 100%;
    }

    footer section:last-child {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        padding: 1.5em 3em !important;
        /* width: 80%; */
        justify-content: left !important;
        gap: 3em;
    }
}

@media only screen and (max-width: 600px) {
    nav {
        background: #fff;
        padding: 1.2em 2em;
    }

    header {
        background: #f5f5f5;
        padding: 2em 2em;
    }

    #footerMobile section:nth-child(4) article {
        display: flex;
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1em !important;
    }

    footer section:last-child {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        /* width: 80%; */
        justify-content: left !important;
        gap: 3em;
    }
}


@media only screen and (max-width: 720px) {

    footer {
        display: flex;
        padding-top: 2em !important;
        flex-direction: column;
        gap: 2em;
    }

    footer section:nth-child(2) article:nth-child(2) {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    footer section:nth-child(2) article:nth-child(2) div {
        gap: 1em;
    }

    footer section:is(:nth-child(2)) {
        display: flex;
        flex-direction: column;
        gap: 4em;
        align-items: center;
    }

    footer section:is(:nth-child(3)) {
        display: flex;
        flex-direction: column;
        gap: 3em;
        padding-top: 3em;
        padding-bottom: 4em;
        align-items: center;
    }

    footer section:nth-child(3) article:nth-child(1) i {
        cursor: pointer;
        font-size: 1.3em;
    }

    footer section:nth-child(3) article:nth-child(2) {
        flex-wrap: wrap;
        justify-content: center;
    }


    footer section:nth-child(3) article:nth-child(1) {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    footer section:nth-child(3) article:nth-child(2) button {
        width: 70vw;
        justify-content: center;
    }



}

@media only screen and (min-width: 570px) and (max-width: 930px) {

    body .container form{
        max-width: 40% !important;
        margin: auto;
        display: flex;
        flex-direction: column;
        gap: 2.5em;
    }
}

@media only screen and (max-width: 920px) {
    html {
        font-size: 0.9em;
    }

    nav section {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 2em;
        align-items: center;
    }

    nav section article:nth-child(2) picture {
        display: none;
    }

    nav section article:nth-child(3) {
        display: none;
    }

    #navDesktop {
        display: none;
    }

    #navMobile {
        display: block;
        box-shadow: 0px 2px 4px 0px #00000026 !important;
        padding: 0.5em 1.6em !important;
    }

    #navMobile svg {
        cursor: pointer;
    }

    #headerDesktop {
        display: none;
    }

    #headerMobile {
        display: block;
        background: #fff;
        box-shadow: 0px 2px 4px 0px #00000026 !important;
        padding: 0;
        padding-top: 1.5em;
    }


    #headerMobile div {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 2em;
    }

    #article1 {
        padding: 0 !important;
        width: 100%;
    }

    #headerMobile div article:nth-child(1) {
        display: flex;
        flex-direction: column;
        gap: 0;
        justify-content: center;
        margin: 0 auto;
    }

    #headerMobile div article:nth-child(1) picture {
        background: #F7F7F7;
        padding: 0;
        padding-right: 1em;
        border-radius: 0.9em;
        display: flex;
        flex-direction: row;
        gap: 0;
        align-items: center;
        width: 100%;
    }

    #headerMobile div article:nth-child(1) picture input {
        padding: 1em;
        min-width: max-content;
        background: none;
        width: 100%;
    }

    #headerMobile div article:nth-child(1) picture i {
        font-size: 1.5em;
        padding: 0.7em 0.8em;
        cursor: pointer;
    }


    #headerMobile div article:nth-child(1) picture:nth-child(2) {
        padding: 1.8em 0;
        border-radius: 0;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap !important;
        gap: 1em;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        overflow-x: auto;
        background: #fff;
    }

    #headerMobile div article:nth-child(1) picture:nth-child(2)::-webkit-scrollbar {
        height: 0.3em;
        background: #f5f5f5;
        display: none;
    }

    #headerMobile div article:nth-child(1) picture:nth-child(2) article {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1em;
    }

    #headerMobile div article:nth-child(1) picture:nth-child(2) article p {
        text-wrap: nowrap;
        font-weight: 400;
        cursor: pointer;
    }

    #headerMobile div article:nth-child(1) picture:nth-child(2) article i {
        font-size: 0.5em;
    }

    #pop-up {
        display: none;
    }







}

@media only screen and (max-width: 930px) {
    html {
        font-size: 0.8em;
    }

    #signup {
        margin: auto;
        min-width: 100% !important;
        margin-top: 6em;
    }

    .mdp-pc {
        display: none !important;
    }

    .mdp-mb {
        display: block !important;
    }

    .container {
        min-width: 95% !important;
        margin: auto;
        display: flex;
        flex-direction: column;
        gap: 3em;
    }


    form .row span:first-child {
        top: 0;

    }

    form {
        min-width: 100% !important;
    }

    .connection-div {
        display: flex;
        flex-direction: column !important;
        gap: 2em !important;
        align-items: center;
    }

    .titre {
        margin: 0 auto;
        max-width: max-content;
        width: 90%;
    }

    body .inpt-anime {
        margin-top: -0.8em !important;
        /* margin-left: 1.3em !important; */
    }

    .link-sign picture p {
        text-align: center;
        line-height: 2em;
    }

    #navDesktop {
        display: none;
    }

    #navMobile {
        display: block;
        box-shadow: 0px 2px 4px 0px #00000026 !important;
       padding: 1.5em 2.3em !important;
    }

    #navMobile svg {
        cursor: pointer;
    }

    #headerDesktop {
        display: none;
    }

    #headerMobile {
        display: block;
        background: #fff;
        box-shadow: 0px 2px 4px 0px #00000026 !important;
        padding: 0;
        padding-top: 1.5em;
    }


    #headerMobile div {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 2em;
    }

    #article1 {
        padding: 0 !important;
        width: 100%;
    }

    #headerMobile div article:nth-child(1) {
        display: flex;
        flex-direction: column;
        gap: 0;
        justify-content: center;
        margin: 0 auto;
    }

    #headerMobile div article:nth-child(1) picture {
        background: #F7F7F7;
        padding: 0;
        padding-right: 1em;
        border-radius: 0.9em;
        display: flex;
        flex-direction: row;
        gap: 0;
        align-items: center;
        width: 100%;
    }

    #headerMobile div article:nth-child(1) picture input {
        padding: 1em;
        min-width: max-content;
        background: none;
        width: 100%;
    }

    #headerMobile div article:nth-child(1) picture i {
        font-size: 1.5em;
        padding: 0.7em 0.8em;
        cursor: pointer;
    }


    #headerMobile div article:nth-child(1) picture:nth-child(2) {
        padding: 1.8em 0;
        border-radius: 0;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap !important;
        gap: 1em;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        overflow-x: auto;
        background: #fff;
    }

    #headerMobile div article:nth-child(1) picture:nth-child(2)::-webkit-scrollbar {
        height: 0.3em;
        background: #f5f5f5;
        display: none;
    }

    #headerMobile div article:nth-child(1) picture:nth-child(2) article {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1em;
    }

    #headerMobile div article:nth-child(1) picture:nth-child(2) article p {
        text-wrap: nowrap;
        font-weight: 400;
        cursor: pointer;
    }

    #headerMobile div article:nth-child(1) picture:nth-child(2) article i {
        font-size: 0.5em;
    }

    #footerDesktop {
        display: none;
    }

    #footerMobile {
        display: block;
    }

    .btn-voirplus {
        margin-top: 2em !important;
    }

    #footerMobile section:nth-child(2) {
        display: flex;
        flex-direction: row;
        gap: 5em !important;
        padding: 2em 6em;
        flex-wrap: nowrap !important;
    }

    #footerMobile section:nth-child(2) article:nth-child(2) {
        font-size: 2em !important;
        color: #D9D9D9 !important;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap !important;
        gap: 0.5em;
    }

    #footerMobile section:nth-child(2) article:nth-child(2) i {
        cursor: pointer;
        font-size: 1.1em;
    }

    #footerMobile section:nth-child(3) {
        display: flex;
        flex-direction: row;
        gap: 5em !important;
        padding: 2em 3em;
        width: 100%;
    }

    #footerMobile section:nth-child(3) article:nth-child(1) div {
        display: flex;
        flex-direction: column;
        padding-inline: 1em;
        gap: 1em !important;
        color: #000 !important;
    }

    #footerMobile section:nth-child(3) article:nth-child(1) {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding-inline: 1em;
        flex-direction: row;
        gap: 3em;
        font-size: 1.1em !important;
    }


    #footerMobile section:nth-child(4) article {
        display: flex;
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2em;
    }

    #footerMobile section:nth-child(4) {
        border-top: 1px solid #D9D9D9;
        border-bottom: 1px solid #D9D9D9;
        padding: 2em;
    }

    #footerMobile section:nth-child(4) article button {
        background: var(--btn-link);
        border: 1px solid #FFFFFF;
        height: 75px;
        padding: 1.5em 2em;
        border-radius: 1em;
        display: flex;
        align-items: center;
        flex-direction: row;
        color: #fff;
        gap: 1em;
        cursor: pointer;
        text-wrap: nowrap;
    }

    #footerMobile section:nth-child(4) article button i {
        font-size: 2.5em;
        color: #fff;
        width: max-content;
    }

    #footerMobile section:nth-child(4) article button svg {
        width: 2.8em;
        height: 2.8em;

    }

    #footerMobile section:nth-child(4) article button p {
        font-size: 1.1em;
        text-align: left;
    }

    #footerMobile section:nth-child(4) article button p span {
        font-weight: 700;
    }

    #signup {
        margin: auto;
        width: 100% !important;
        max-width: 100% !important;
    }



    footer section:last-child {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 1.5em 6em;
        padding-bottom: 2em;
        align-items: center;
        text-align: center;
        /* width: 80%; */
        justify-content: center;
        gap: 3em;
    }

    #imgBlock {
        display: none;
    }
}