@import "../assets/font/stylesheet.css";

body.lock {
    overflow: hidden;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.container-header {
  background: #FFFFFF;
  padding: 22px 16px;
  top: 0;
  z-index: 10;
  margin: 0 auto;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 80px;
}

.logo-menu{
    width: 46px;  
}

.header-nav {
    display: flex;
    gap: 50px;
}

.header-nav a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
}

.header-button{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 46px;
  padding: 8px 16px;
  color: rgb(255, 255, 255);
  font-size: 16px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0.5px;
  text-align: center;
  border-radius: 39px;
  background: #2D7AFF;
}








.burger {
    display: none;
    width: 28px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    height: 3px;
    width: 100%;
    background: #000;
    border-radius: 3px;
    transition: 0.3s;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: #FAF4FF;
    display: flex;
    flex-direction: column;
    padding: 24px;
    transform: translateY(-100%);
    transition: 0.4s ease;
    z-index: 1000;
}

.mobile-menu.active {
    transform: translateY(0);
}


.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-logo {
    width: 46px;
}

.menu-close {
    width: 46px;
    cursor: pointer;
}

.menu-open {
    display: none;
    width: 46px;
    cursor: pointer;
}

.mobile-menu-links {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 32px;

}

.mobile-menu-links a {
    font-size: 28px;
    font-weight: 500;
    color: #2B2E4A;
    text-decoration: none;
}

.mobile-menu-buttons {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu-buttons .btn-primary,
.mobile-menu-buttons .btn-secondary {
    width: 100%;
}

@media (max-width: 768px) {

    .header-nav,
    .header-button {
        display: none;
    }

    .menu-open {
        display: block;
    }

    .header-inner {
        padding: 0px;
    }
}
