@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@400;600&display=swap');

body {
  font-family: 'Mulish', sans-serif;
  margin: 0;
  padding: 0;
}

body.no-scroll {
  overflow: hidden;
}

/* Header layout */
.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0px;
  background: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px #a753b6;
}


.headtext_burger {
    margin-left: 0px;
}

.burger-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.burger-logo img {
  width: 40px;
}

.headtext_burger {
  font-size: 14px;
  line-height: 1.2;
  margin: 0;
}

/* Burger button */
.burger {
  display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 19px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
    margin-right: 5px;
    margin-top: -7px;
}

.popup_burger {
    top:0%; 
    right: 0;
    left: 0%;
    font-size: 14px;
    z-index: 20;
    margin: 0;
    max-width: 880px;
    width: 100%;
    position: fixed;
    overflow-y: auto;
    padding: 20px;
    gap: 0px;
    border: none; 
    background: #fff;
    transition: transform .6s ease-out;
}


.popup_burger li {
    width: 310px;
    list-style: none;
}

.popup_burger ul {
    list-style: none;
    padding: 0;
    margin-top: 10px; 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #a753b6;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger.open span:nth-child(1) {
transform: rotate(45deg) translate(5px, 5px);
    z-index: 1000;

}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -7px)
}

/* Mobile menu */
.popup_burger {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background: white;
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  display: none;
}

.popup_burger.open {
  transform: translateX(0);
  display: block;
}

.popup_burger ul {
  list-style: none;
  padding: 0;
  margin-top: 60px;
  margin-bottom: 150px;
}

.popup_burger ul li {
  margin-bottom: 20px;
}

.popup_burger ul li a {
  font-size: 20px;
  color: black;
  text-decoration: none;
  display: block;
}

/* Скрыть header и бургер на больших экранах */
@media (min-width: 880px) {
  .mobile-header,
  .popup_burger {
    display: none;
  }
}