﻿.MyNavbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    z-index: 100000;
}

.navbar-nav {
    flex-direction: row;
}

.nav-li {
    list-style: none;
}

.nav-a {
    text-decoration: none;
}

.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #101010;
}


.nav-menu {
    display: flex;
    /*justify-content: space-between;*/
    align-items: center;
}

.nav-item {
    /*margin-left:5rem;*/
}

.nav-link {
    font-size: 1.0rem;
    font-weight: 400;
    color: #475569;
}

    .nav-link:hover {
        color: #482ff7;
    }

.nav-logo {
    font-size: 1.2rem;
    font-weight: 500;
    color: #482ff7;
}



@media only screen and (max-width: 768px) {
    .MyNavbar {
        direction:ltr;
        position: fixed;
        /*top:20px;*/ 
        width: 100%;
    }

    .container {
        position: relative;
        top: 5rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 50px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        border-radius: 10px;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active{
        left: 0;
    }

    .nav-item {
        /*margin: 1.0rem 0;*/
    }


    .hamburger {
        display: block;
        cursor: pointer;
        position: fixed;
        right: 20px;
        TOP: 10px;
    }


      

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }


}
