*{

    padding: 0;
    margin: 0;
}

.nav--main--Container {
    list-style: none;
    background-color: rgb(3, 3, 87);
    width: 450px;
    height: 100vh;
    position: fixed;
    right: -550px; /* add this to position the container to the right */
    float: right; /* add this to make the container float to the right */
    z-index: 3;
}

.nav--main--Container img {
    width: 400px;
    padding: 20px;
}
.nav
{
    display: grid;
    place-items: center;
    place-content: center;
}

.navMenu
{
    display: inline;
    list-style: none;
}
.navMenu li{
    margin-top: 40px;
    width: 390px;
    padding-left: 5px ;
    border-radius: 5px;
}
.navMenu li a{
    color: rgb(181, 205, 250);
    text-decoration: none;
}

.navMenu li:hover{
    transition: 1.1s;
    transform: scale(1.05);
    color: rgb(234, 235, 237);

}
.menu--Icon
 img
{
    height: 30px;
    margin-right: 10px;
    margin-top: 6px;
}

.top--Bar
{
    /* background-color: rgb(3, 3, 87); */
    overflow: hidden;
    padding: 40px;
    display: flex;
}
.top--Bar .logo
{
    width: 50%;
}
.menu--Icon
{
    width: 50%;
}
.top--Bar .logo
 img {
    width: 150px;
    color: white;
}

.menu--Icon img, .menu--Icon p
{
    position: relative;
    float: right;
}

.menu--Icon p
{
    color: white;
    font-size: 25px;
    
}
.menu--Icon p:hover
{
    cursor: pointer;
}
@media screen and (max-width: 768px) {
    .menu--Icon p {
        display: hidden;
    }
}

/* styles for small screens */
@media (max-width: 480px) {
    .nav--main--Container {
      right: -190%;
    }
    
  }
  
  /* styles for medium screens */
  @media (min-width: 481px) and (max-width: 768px) {
    .nav--main--Container {
      right: -190%;
    }
    
  }
  
  /* styles for large screens */
  @media (min-width: 769px) {
    .nav--main--Container {
      right: -190%;
    }
    
  }
 