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

}

@media screen and (max-width: 1515px) {
    .projet {
        max-width: 46%;
        min-width: 350px;
    }
}

@media screen and (max-width: 1050px) {
    .projet {
        height: 284px;
        min-width: 300px;

        a {
            img {
                height: 240px;
            }
        }
    }

}


@media screen and (max-width: 1024px) {
    .projet {
        max-width: 100%;
        height: 350px;

        a {
            img {
                height: 300px;
                border-radius: 5px;
                margin-bottom: 6px;
            }

            h3 {
                height: 22px;
            }

            p {
                height: 22px;
            }
        }
    }

}


/*-PETIT-LAPTOP--SMARTPHONE-----------*/
@media screen and (max-width: 1024px) {
    #projects {
        height: 30px;
    }

    .btnMenu {
        display: flex;
    }

    nav {
        margin-top: 180px;
    }

    .oda {
        display: none;
        visibility: hidden;
    }

    main {
        padding-left: 84px;
    }

    .agence, #contact, #mentions {
        width: 95%;
    }

    #tri {
        display: flex;
    }

    #projects button {
        display: none;
        visibility: hidden;
    }

    footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 40px;
    }

    #links_footer {
        display: flex !important;
        width: 260px;
    }

    main {
        padding-left: 0px;
        padding-top: 70px;
    }

    .btnMenuText {
        display: none;
        visibility: hidden;
    }

    .mobileMenu {
        position: relative;
        width: 100vw;
        height: 70px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 5px;
    }

    .logo {
        display: flex;
        margin-left: 0px;
        justify-content: center;
        align-items: center;
        height: 70px;
        width: 120px;
        margin: auto 0px auto 20px;
    }

    .logo img {
        display: block;
        object-fit: cover;
        object-position: center;
        width: 100%;
    }

    .btnMenu {
        position: inherit;
        top: 0;
        background-color: transparent;
        cursor: pointer;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 70px;
        width: 70px;
    }

    header {
        position: relative;
        z-index: 1000;
        position: fixed;
        width: 100%;
        height: 70px;
        left: 0px;
        overflow: hidden;
        padding: 0 5px 25px 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        background-color: rgb(250, 250, 250);
        box-shadow: 0px 2px 5px rgba(30, 30, 30, .2);
        font-size: 1.05em;
        font-weight: 400;
        transition: 400ms;
        overflow-x: hidden;
    }

    nav {
        margin-top: 50px;
        background-color: rgb(250, 250, 250);
    }

    .menu {
        background-color: rgb(250, 250, 250);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: max-content;
        padding: 0;
        margin: 0;
    }

    ul.menu {
        background-color: rgb(250, 250, 250);
    }

    .menu:active {
        background-color: rgb(250, 250, 250);
    }

    .menu li a {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100%;
    }

    .menu li:active, .menu li a:active {
        background-color: #140B6E;
        color: white !important;
    }

    #projects a {
        margin-bottom: 0px;
    }

    #projects a:hover {
        font-size: 1em;
    }

    li, #projects {
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        width: max-content;
        font-size: 1.5em;
        font-weight: 600;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
        height: 60px;
        line-height: 30px;
        margin: 15px 0px;
        padding: 10px 0px;
    }

    li:hover {
        font-size: 1.5em;
    }

    .bloc-projet {
        position: relative;
    }

    #unorderListText li {
        height: max-content;
        display: flex;
        justify-content: flex-start;
        width: 90%;
        margin-left: 10px;
    }

    #contact h2 {
        margin: 22px 0;
        font-size: 2em;
    }

    .bloc-info {
        padding-top: 0px;
        flex-direction: column;
    }

    .info {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        min-width: 310px;
        height: max-content;
        margin-bottom: 40px;
    }

    .info section {
        margin: 25px 0;
    }

    #contactPlan {
        width: 100%;
    }

    .crux {
        cursor: pointer;
        position: absolute;
        top: 0;
        height: 100%;
        width: 100%;
        background-color: rgba(30, 30, 30, .4);
        transition: 150ms;
    }

    div .le-projet h1, #projets h2, .agence section h2, #mentions h1 {
        font-size: 2em;
    }

    #main-projet {
        width: 95%;
    }

    main section h2 {
        font-size: 1.6em;
    }

    .description section h1 {
        font-size: 2.6em;
    }
}

@media screen and (max-width: 760px) {
    #plan_agence {
        flex-direction: column;
    }

    #plan_agence img {
        width: 100%;
    }

    .bloc-projet {
        gap: 10px;
    }

    .projet {
        height: 280px;
    }

    .projet a img {
        height: 220px;
        filter: grayscale(0);
    }

    .projet a:hover img {
        filter: none !important;

    }

    footer {
        height: 210px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    footer div {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 69px;
        font-size: 1.2em;
    }
}

@media screen and (max-width: 650px) {
    .agence .employees {
        gap: 40px;
    }

    .profil {
        flex-direction: row;
        align-items: center;
        overflow: hidden;
        width: 100%;
        min-width: 300px;
        height: 200px;
    }

    .profil img {
        height: 200px;
        width: 200px;
        margin-right: 25px;
        margin-bottom: 0px;
    }

    .info {
        flex-direction: column;
    }
}
/*-SMARTPHONE-->>--TELEPHONE---------------*/
@media screen and (max-width: 480px) {
    .agence .employees {
        gap: 10px;
    }

    .profil {
        height: max-content;
    }

    .profil img {
        height: 120px;
        width: 120px;
    }
}