header {
	background-color: var(--lite-color);
    position: fixed;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: flex-end;
    align-items: end;
	font-family: "Manrope", sans-serif;
	z-index: 1000;
	top: 0;
}

.logo-a {
	margin-right: auto;
    margin-left: 24px;
    height: 70px;
}
.logo {
	background: url(/static/images/logo_m_new.svg) no-repeat;
    background-size: contain;
    background-position-y: center;
    width: 180px;
    margin-right: auto;
    margin-top: 1px;
    height: 70px;
}

.header-nav {
	position: absolute;
	left: 200px;
	padding: 20px;
}

.header-nav ul {
	margin: 0;
    padding: 0;
    display: flex;
	gap: 24px;
}

.header-nav ul li {
	margin: 0 8px;
	display: flex;
    align-items: end;
}

.header-nav ul li:hover {
	border-bottom: 2px solid;
}

.header-nav ul li.active {
	border-bottom: 2px solid;
	font-weight: bold;
}

.header-nav ul li a {
	text-decoration: none;
	color: var(--primary-color);
}

.header-buttons {
	display: flex;
	gap: 30px;
	position: absolute;
	z-index: 2;
	top: 10px;
	right: 10px;
}

.dropdown {
	position: relative;
	display: inline-block;
}

.dropdown-toggle {
	display: block;
	cursor: pointer;
}

.header-nav .dropdown-menu {
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.3s ease, transform 0.3s ease;
	position: absolute;
	top: 22px;
	background-color: var(--primary-color);
	box-shadow: -2px 2px 20px 0px rgb(0 0 51 / 47%);
	width: max-content;
	pointer-events: none; 
}

.header-nav .dropdown:hover .dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
	display: block;
}

.header-nav .dropdown-menu li {
	padding: 10px;
}

.header-nav .dropdown-menu li a {
	color: var(--lite-color);
}

.header-nav .dropdown-menu li:hover {
	border-bottom: 2px solid var(--lite-color);
}


.menu-btn {
	display: none;
	width: 30px;
	height: 30px;
	position: relative;
	z-index:2;
	overflow: hidden;
	right: 10px;
	align-self: center;
}

.menu-btn span {
	width: 30px;
	height: 2px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #000033;
	transition: all 0.5s;
}
.menu-btn span:nth-of-type(2) {
	top: calc(50% - 5px);
}
.menu-btn span:nth-of-type(3) {
	top: calc(50% + 5px);
}
.menu {
	position: fixed;
	top: 0;
	right: 0;
	width: 70%;
	height: 100%;
	padding: 15px;
	background: var(--lite-primary-color);
	transform: translateX(100%);
	transition: transform 0.5s; 
	z-index: 1;
	background: var(--sec-color);
}

.menu ul {
	display: none;
	flex-direction: column;
	margin-top: 20px;
}

.menu li {
	list-style-type: none;
	text-align: center;
	padding: 20px;
}
.menu ul li a {
	color: var(--lite-color);
}

.menu-btn.active span:nth-of-type(1) {
  display: none;
}
.menu-btn.active span:nth-of-type(2) {
  top: 50%;
  transform: translate(-50%, 0%) rotate(45deg);  
}
.menu-btn.active span:nth-of-type(3) {
  top: 50%;
  transform: translate(-50%, 0%) rotate(-45deg); 
}

.menu.active {
	transform: translateX(0);
}

.menu li:hover {
	border-bottom: 2px solid var(--lite-color);
}

.popup-fade.active:before {
	content: '';
    background: var(--black-color);
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 30%;
    z-index: 0;
    animation: ani 1s forwards;
}