header {
	display: flex;
	position: fixed;
	background: #414141;
	width: 100%;
	z-index: 10000000;
	justify-content: space-between;
	height: 51px;
}
header nav {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	margin: 0 auto;
}
header nav ul,
.menu ul {
	display: flex;
	gap: 24px;
	list-style: none;
}
header nav ul li,
.menu ul li { 
	padding: 6px 24px;
	border-radius: 10px;
	position: relative;
}
header nav ul li a,
.menu ul li a { 
	text-decoration: none;
	color: #efeded;
	text-wrap: nowrap;
}
header nav ul li:hover,
.menu ul li:hover,
header nav ul li.active {
	background: #282828;
}
header nav ul li ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: white;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
	list-style-type: none;
	padding: 0;
	margin: 0;
	min-width: 150px;
}

header nav ul li ul li:hover {
	background: #282828;
}

header nav ul li:hover ul {
	display: block;
	background: #414141;
	padding: 8px;
}

header nav ul li ul li a {
	padding: 10px;
}
header .signup {
	padding: 8px 24px;
	display: flex;
	flex-wrap: nowrap;
	gap: 16px;
}
header .logo {
	padding: 0 24px;
}
header .logo img {
	height: 100%;
}
header .profile {
	margin: 8px 16px;
	display: flex;
	background: #d0d0d0;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	color: #414141;
	align-items: center;
	justify-content: center;
	font-weight: 900;
	cursor: pointer;
	position: relative;
}
header .profile a {
	text-decoration: none;
    color: #414141;
}
header .profile .info {
	position: absolute;
    background: #cccccc;
    top: 35px;
    right: 0;
    border-radius: 5px;
	padding: 8px;
    font-weight: 300;
    font-size: 14px;
    flex-direction: column;
    gap: 8px;
	display: none;
}
header .profile .info .elem {
	padding: 8px 16px;
    background: #414141;
    color: #dadada;
    border-radius: 5px;
    margin: 16px 0 0;
	transition: background-color 0.3s ease
}
header .profile .info .elem:hover {
	background: #282828;
}

.menu-btn {
	display: none;
	width: 30px;
	position: relative;
	z-index:2;
	overflow: hidden;
	right: 10px;
	cursor: pointer;
	flex-shrink: 0;
}

.menu-btn span {
	width: 30px;
	height: 2px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #efeded;
	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-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 {
	position: fixed;
	top: 0;
	right: 0;
	width: 70%;
	height: 100%;
	padding: 15px;
	background: #414141;
	transform: translateX(100%);
	transition: transform 0.5s; 
	z-index: 1;
}
.menu.active {
	transform: translateX(0);
}
.popup-fade {
	display: none;
}
.popup-fade.active {
	display: contents;
}
.popup-fade.active:before {
	content: '';
	background: #0d0d0d;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 40%;
	z-index: 0;
	animation: ani 0.5s forwards;
}
.menu ul {
	display: none;
	flex-direction: column;
}
.menu ul li {
	width: fit-content;
}
.menu ul li a {
}

.menu li:hover {
}

.menu li:active {
}

.menu li:active a {
}

.menu ul li a:hover {
} 
.language-switcher {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-right: 0;
    margin-left: auto;
    width: 100px;
}

.flag {
	width: 24px;
	height: 24px;
}

.language-switcher select {
	padding: 5px;
	font-size: 16px;
}