/* je crée ici le responsive via les media queries */

@media only screen and (min-width: 992px) {
    /* For desktop: */
    #burger {
        display: none;
    }
    nav ul {
        visibility: visible;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    /* For tablets: */
    #burger {
        display: flex;
    }
    #menu {
        display: none;
    }
    main {
        width: 95%;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    h3 {
        font-size: 1.4rem;
    }
    h4 {
        font-size: 1.2rem;
    }
    h5 {
        font-size: 1rem;
    }
    h6 {
        font-size: O.8rem;
    }
    .services {
        left: 10%;
        top: 63vh;
    }
    .services h3 {
        font-size: 1.8rem;
    }
    .marginTopD,
    .marginTopE {
        margin-top: 60%;
    }
    .marginTopF,
    .marginTopG {
        margin-top: 150%;
    }
    .marginTopH {
        margin-top: 260%;
    }
}

@media only screen and (max-width: 767px) {
    /* For mobile: */
    #burger {
        display: flex;
    }
    #menu {
        display: none;
    }
    main {
        width: 100%;
    }
    h1 {
        font-size: 1.7rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.1rem;
    }
    h4 {
        font-size: 0.9rem;
    }
    h5 {
        font-size: 0.7rem;
    }
    h6 {
        font-size: O.8rem;
    }
    p,
    a,
    li,
    span {
        font-size: 16px!important;
    }
    .services {
        left: 8%;
        top: 7.5%;
    }
    .container-fluid {
        padding-left: Opx;
        padding-right: Opx;
    }
    .honeycomb-cell__title {
        font-size: 1rem;
    }
    .marginTopA {
        margin-top: 10%;
    }
    .marginTopC {
        margin-top: 40%;
    }
    .marginTopD {
        margin-top: 230%;
    }
    .marginTopE {
        margin-top: 360%;
    }
    .marginTopF {
        margin-top: 500%;
    }
    .marginTopG {
        margin-top: 650%;
    }
    .marginTopH {
        margin-top: 800%;
    }
    .objects_cup {
        left: 7rem;
    }
    .smoke {
        left: unset;
    }
    .rounded-circle {
        border: 0.2rem solid rgba(0, 0, 0, 0.1);
    }
}


/* menu burger */

#burger {
    cursor: pointer;
}

.navresp {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transition: all linear 0.2s;
}

#overlay {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #025097;
    opacity: 0;
    visibility: hidden;
    transition: all linear 0.2s;
}

.navresp ul {
    background-color: rgb(218, 218, 218);
    padding: 20px;
    position: absolute;
    z-index: 2;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0;
    transition: all linear 0.2s;
}

.navresp ul li {
    padding: 10px 20px;
    width: 100%;
    text-align: center;
}

.navresp ul li a {
    color: #414042;
}

.display_menuResp {
    overflow: hidden;
}

.display_menuResp .navresp {
    visibility: visible!important;
    opacity: 1!important;
}

.display_menuResp .navresp ul {
    left: 0!important;
}

.display_menuResp #overlay {
    visibility: visible!important;
    opacity: 0.8!important;
}