/* @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,500;1,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    font-family: 'Roboto', sans-serif;
}  */

li {
    list-style: none;
}

a {
    text-decoration: none;
}



 .header{
    /* border-bottom: 1px solid #E2E8F0;
    width:100%; */
}  

.mynavbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.mynavbar ul{
  display:flex;
    flex-direction: row;
}


.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: #f0efeb;
}





.nav-item {
margin-left: 5rem;
}

.nav-link{
font-size: 0.8rem;
font-weight: 400;
color: #f0efeb;
font-weight: bold;
}

/* .nav-link:hover{
color: #482ff7; 
} */

.nav-link:hover {
  background-color: #555;
}

/* .nav-logo { */
/* font-size: 0.8rem;
font-weight: 500;
color: #482ff7; 
} */

 .nav-menu{
  position: relative;
left: -110%;
/* top: 5rem; */
flex-direction: column;
background-color: #7C8D7D;
width: 95%;
border-radius: 10px;
text-align: center;
transition: 0.3s;
box-shadow:
0 10px 27px rgba(0, 0, 0, 0.05);
} 


.nav-menu.active {
    left: 30px;
    height:auto;
}

.nav-item {
    margin: 10px 0;
}

.mynavbar ul{
   display:flex;
    flex-direction: column;
}

.hamburger {
    display: block;
    cursor: pointer;
    position: absolute;     /* I added this  */
    left: 30px;           /* I added this  */
}

/* .left{
    text-align: left;
} */


.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); /* */
} 



@media only screen and (min-width: 768px) {
.nav-menu { 
position: relative; 
left: -110%; 
/* top: 5rem;  */
flex-direction: column; 
background-color: #7C8D7D;
width: min(700px,80%);
border-radius: 10px; 
text-align: center; 
transition: 0.3s; 
box-shadow:
0 10px 27px rgba(0, 0, 0, 0.05); 
height:30px;
}


.hamburger {
    display: none;
}

.mynavbar ul{
    display:flex;
    flex-direction: row;
    justify-content: space-around;
}

.nav-menu{
    left: 30px;
    height:auto; 
}

} 
