/* NAV */
/*
div.position_nav_mikado {
    position: absolute;
    z-index: 9999;
}
*/

nav.nav_mikdo {
    width: 100%;
    height: 100px;
}

div.image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

div.width_nav_left {
    width: 50%;
}

div.width_nav_left a {
    position: absolute;
    top: 50%;
    /*left: 0%;*/
    transform: translate(0%, -50%);
    width: 100%;
    height: auto;
    margin-left: -20px;
}

img.logo_mikado {
    width: 170px;
}

.logo_mikado_blanc {
    display: none;
}

nav.nav_mikdo div.nav_bar {
    height: 100%;
}

a.mobile {
    display: none;
}

.contact_nav a.nav_bar {
    font-size: 40px;
    font-weight: 400;
    color: #000;
    padding: 5px 20px 7px 20px;
    border: 1px solid #000;
    transition: all 0.4s;
}

.contact_nav a.nav_bar:hover {
    color: #fff;
    background-color: #000;
}

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

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

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

@media only screen and (max-width: 768px) {
    nav.nav_mikdo {
        position: fixed;
        z-index: 9999;
        top: 0;
        left: 0;
        background-color: #000;
        padding: 0 30px;
    }

    .logo_mikado_noir {
        display: none;
    }

    .logo_mikado_blanc {
        display: block;
    }

    .contact_nav a {
        font-size: 30px;
    }

    .contact_nav a.nav_bar {
        font-size: 30px;
        color: #fff;
        border: 1px solid #fff;
    }

    .contact_nav a.nav_bar:hover {
        color: #000;
        background-color: #fff;
    }
}

@media only screen and (max-width: 468px) {
    nav.nav_mikdo {
        padding: 0px;
    }

    div.width_nav_left a {
        left: 0%;
        margin-left: -10px;
    }

    img#logo_mikdo {
        /*padding-left: 30px;*/
        padding-left: 0px;
    }

    a.desktop {
        display: none;
    }

    a.mobile {
        display: block;
        position: fixed;
        bottom: -100px; /* Initialement caché en bas */
        left: 0;
        width: 100%;
        height: auto;
        background-color: #fff;
        font-size: 95px;
        font-weight: bold;
        text-align: center;
        color: #000;
        transition: bottom 0.4s, opacity 0.4s;
        opacity: 0; /* Initialement transparent */
    }

    a.mobile.show {
        bottom: 0; /* Visible au niveau du bas de l'écran */
        opacity: 1; /* Opaque */
    }
    
    a.mobile:hover {
        background-color: #00EA90;
    }
}

@media only screen and (max-width: 368px) {
    a.mobile {
        font-size: 70px;
    }
}
/* END NAV */