

.navbar{
  position:sticky;
  z-index: 3;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.nav-container a {
  text-decoration: none;
}

.mp {
  display: flex;
  flex-direction: column;

}

.mp .Mariia {

    width: 144px;
    height: 37px;
    flex-grow: 0;
    margin: 16px 2px 0px 21.7px;
    font-family: Montserrat;
    font-size: 30px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 5.4px;
    text-align: left;
    color: white;
  }

  .mp .Patratii {

    width: 146px;
    height: 37px;
    flex-grow: 0;
    margin: 0 0 11px 21.7px;
    font-family: Montserrat;
    font-size: 30px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.3px;
    text-align: left;
    color: white;
  
  }

  .logo img { 
    margin: 18px 22px 11px 34px;
  }
  
  .logo { 
  display: flex;
  flex-direction: row;
  }

/*for all*/


  .menu a {

    height: 22px;
    flex-grow: 0;
    font-family: Montserrat;
    font-size: 18px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.72px;
    text-align: left;
    color: #fff;
    list-style: none ;
  
  }

  .menu{   
    margin-top: 27px;
    margin-bottom:21px ;
    margin-right:33px ;
    /*margin: 27px, 0, 21px, 33px;*/
    display: flex;
    flex-direction: row;
    gap: 60px;
    list-style: none ;
    align-items: center;
  }



  .navbar {
    box-sizing: 0 2px 5px rgba(0,0,0, .2) ;
    background-color: #1a1a1a;
    color:white;
    position: sticky;
    top: 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  height: 100px;
  padding: 0, 15px;
}

.menu li a {
  font-size: 1rem;
  color: white;
  text-decoration: none;
  
}

/************/

@media screen and (max-width: 1050px) {
.menu-container { 
  height: 1000%;
  position: absolute;
  right: 0;
  top: 100px; 
  margin: 0 0 68px;
  padding: 0 0 10px;
  background-color: #1a1a1a;
  min-width: 250px;
  max-width: 320px;
  transform: translateX(110%);
  transition: transform .5s;
}

.menu-container .inner {
  padding: 2rem;
}

.menu {
  list-style: none ;
  margin: 30px 0 0 0;
  gap: 10px;
  /*margin: 27px, 0, 21px, 33px;*/
  display: flex;
  flex-direction:column;
  list-style: none ;
  align-items: center;
}

.menu li {
  margin-bottom: 1rem;

}
.menu li a {
  font-size: 1rem;
  color: white;
  text-decoration: none;
  position: relative;
}


.menu-burger {
  height: 26px;
  width: 32px;
  position: absolute;
  top: 17px;
  right: 20px;
  z-index: 2 ;
  display: flex;
  flex-direction:column ;
  justify-content: space-between;
  cursor: pointer;
}

.menu-burger .line {
  display: block;
  height: 4px;
  width: 100%;
  background-color: white;
  border-radius: 10px ;
}

.menu-burger .line1 {
  transition: transform .4s;
  transform-origin: 0% 0%;
}
.menu-burger .line2 {
  transition: transform .2s;
}
.menu-burger .line3 {
  transition: transform .4s;
   transform-origin: 0% 100%;
}

.menu-burger.open .line1 {
  transform: rotate(45deg);
}

.menu-burger.open .line2 {
  transform: scaleX(0);
}

.menu-burger.open .line3 {
  transform: rotate(-45deg);
}

.menu-burger.open ~ .menu-container {
  transform: none;
}
}

/******************/

.menu button {
width: 200px;
height: 52px;
flex-grow: 0;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
gap: 10px;
padding: 16px 24px;
border-radius: 100px;
background-color: #fff;
border-style: none ;

}
.menu a button {
color: #000;
font-family: Montserrat;
font-size: 16px;
font-weight: bold;
font-stretch: normal;
font-style: normal;
line-height: normal;
letter-spacing: 0.16px;
text-align: left;
}



