@media screen and (max-width: 1300px) {
    nav .end {
        display: none;
    }

    nav a:first-child {
        height: initial;
    }

    nav.mobile {
        display: block;
        box-sizing: border-box;
    }

    img#burger {
        display: block;
        position: fixed;
        right: 0;
        top: 30px;
        margin-right: 64px;
        cursor: pointer;
        z-index: 999;
    }

    .langs{
        display: none !important;
    }

    nav.mobile .open {
        display: block;
        background-color: #FFFFFF;
        padding: 16px;
        z-index: 9999999;
        min-height: 100vh;
        min-width: 339.33px;
        position: fixed;
        top: 0;
        transition-duration: 200ms;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    }

    nav.mobile .end-mobile {
        display: flex;
        flex-direction: column;
        align-items: start !important;
        overflow: scroll;
    }

    nav.mobile .links-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        height: 64px;
    }

    header {
        padding-top: 50.69px;
    }

    nav.mobile #burger {
        width: 26px !important;
        height: 19px !important;
        z-index: 0;
    }

    nav.mobile a {
        font-size: 18px;
        color: #848484;
        font-weight: 600;
        height: 4rem;
    }

    nav .end > ul > li {
        padding: 0;
    }

    nav .end > ul {
        margin: 1em auto;
    }

    nav ul ul {
        position: inherit;
        border: none;
        padding: 0;
        text-align: center;
        margin-top: 1em;
    }

    nav .end > ul:hover ul {
        display: none;
    }

    nav ul ul.open {
        display: block;
    }

    nav.mobile .dropdown-services a,
    nav.mobile .dropdown-brand a {
        font-weight: 200;
        font-size: 1.125rem;
        font-family: light;
    }

    nav.mobile ul {
        text-align: left;
        padding: 1.5rem 0rem;
        align-items: center !important;
        display: block;
    }

    nav.mobile ul img {
        margin-left: initial !important;
    }

    nav.mobile ul ul {
        display: none;
        height: auto;
    }

    nav.mobile ul ul li {
        padding-left: 4rem;
        height: 3.5rem;
    }

    nav.mobile .bg-black-50 {
        position: fixed;
        background-color: #111111;
        opacity: 0.5;
        width: 100%;
        min-height: 100%;
        top: 0;
    }

    nav.mobile .open p > a {
        font-size: 12px;
        font-weight: normal;
        margin-top: 5px;
        color: #848484;
        text-decoration: none;
    }

    nav.mobile .open a {
        text-decoration: none;
        transition: 0.3s;
    }

    nav.mobile .open a:hover {
        opacity: 0.6;
    }

    nav.mobile .menu {
        font-size: 24px;
        text-transform: uppercase;
        font-weight: bold;
        font-family: 'bold';
    }

    nav.mobile hr {
        opacity: 0.3;
        margin: 36px 0 0 0;
    }

    nav.mobile .connect,
    nav.mobile .connect a {
        text-decoration: none;
        font-size: 12px;
        color: #848484;
        font-family: regular !important;
        font-weight: normal !important;
        transition: 0.3s;
    }


    nav.mobile .open img:not(.cross-icon, .arrow) {
        width: 24px !important;
        margin-right: 40px;
    }

    nav.mobile .arrow {
        opacity: 0.6;
        width: 1rem !important;
        margin-left: 1rem !important;
    }

    nav.mobile .cross-icon {
        cursor: pointer;
    }

    nav.mobile .links {
        margin-top: 29.92px;
        padding: 0 24px;
    }

    nav.mobile .links-row img {
        margin-left: 0;
    }

    nav.mobile .end-mobile > a {
        height: 64px;
        display: flex;
        align-items: center;
    }

    nav.mobile .end-mobile .empty-icon {
        width: 24px;
        height: 24px;
        margin-right: 40px;
    }

    nav.mobile .chevron-down {
        opacity: 0.5;
        margin-left: 16px;
    }

    .translate-100 {
        transform: translateX(-100%);
    }
}

@media screen and (max-width: 800px) {
    header {
        height: 40vh;
    }

    header .banniere-bloc {
        width: 90% !important;
        margin: auto;
    }

    header h1 {
        font-size: 1em !important;
    }

    .center {
        width: 80%;
    }

    img#covid {
        display: none;
    }

    /*nav {
        display: none;
        z-index: 99999;
    }
    /*nav.mobile{
        display: block;
        height: 100vh;
        box-sizing: border-box;
    }
    nav.mobile > a{
        width: 30%;
        margin: 3em auto;
        display: block;

    }
    nav.mobile .end{
        width: 100%;
        flex-wrap: wrap;
        height: 50%;
        font-size: 1.2em;
    }
    nav.mobile .end a{
        width: 100%;
        text-align: center;
    }
    img#burger{
        display: block;
        position: fixed;
        right: 2em;
        top: 2em;
        !*width: 18px;
        height: 15px;*!
        cursor: pointer;
        z-index: 999999;
    }*/
    .form-modale,
    .modale-covid {
        width: 90% !important;
        left: 5% !important;
    }

    main#recrutement article:nth-child(1) div {
        width: 80%;
    }

    article#fonctionnement div div {
        width: 80% !important;
    }

    main article#points ul {
        width: 100%;
    }

    .barre > div {
        width: 100% !important;
        margin-bottom: 5vh;
    }

    main#contact {
        background-size: 100% 10%;
    }

    main#contact h1 {
        margin-top: 10vh;
    }

    .form {
        width: 90%;
        border-radius: 1vh;
    }

    .form form,
    .form .informations {
        width: 100%;
    }

    .form h2 {
        margin: 3vh 0;
    }

    .form .informations,
    .form form {
        padding: 1em;
    }

    .form form > div:nth-child(2) div {
        width: 100% !important;
    }

    .form form > div:nth-child(2),
    .form-group {
        width: 100%;
    }

    .form form input[type="submit"] {
        display: block;
        margin: 2vh auto;
    }

    .informations div:nth-child(5) {
        margin-top: 30%;
    }

    main#contact > h2 {
        font-size: 1.4em;
    }
}

@media screen and (max-width: 768px) {
    nav.mobile .open {
        width: 100%;
        z-index: 9999999;
    }

    nav.mobile .cross-icon {
        margin-right: 32px;
    }
}
