.header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 300;
	width: 100%;
	height: 100px;
	padding-right: var(--space-md);
	padding-left: var(--space-sm);
	background: transparent;
	transition: 0.4s all;
}

@media (max-width: 767.98px) {
	.header {
		padding-left: var(--space-sm);
		padding-right: var(--space-sm);
	}
}

@media (max-width: 375.98px) {
	.header {
		height: 60px;
	}
}

.header_scrolled {
	height: 75px;
	background-color: rgba(0, 0, 0, .518);
	backdrop-filter: blur(40px);
	box-shadow: -10px -1px 29px 0 rgba(13, 13, 13, .75);
}

@media (max-width: 767.98px) {
	.header_scrolled {
		height: 65px;
	}
}

@media (max-width: 375.98px) {
	.header_scrolled {
		height: 50px;
	}
}

.header_inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.lang {
	justify-self: start;
	position: relative;
}

@media (max-width: 767.98px) {
	.header_menu_open .lang {
		visibility: hidden;
	}
}

.lang_button {
	display: flex;
	align-items: center;
	gap: var(--space-xs);
	background: none;
	border: 0;
	cursor: pointer;
	transition: 0.2s all;
	padding: var(--space-xs);
}

.lang_button:hover {
	background-color: var(--dark-card);
	border-radius: 10px;
	transform: scale(1.1);
}

.lang_handle {
	font-family: var(--font-body), sans-serif;
	font-size: 20px;
	color: #919191;
}

@media (max-width: 767.98px) {
	.lang_handle {
		font-size: 16px;
	}
}

.lang_flag {
	width: 40px;
	height: 40px;
	border-radius: var(--radius-circle);
	object-fit: cover;
}

@media (max-width: 767.98px) {
	.lang_flag {
		width: 30px;
		height: 30px;
	}
}

.lang_menu,
.menu_list {
	list-style: none;
}

.lang_menu {
	position: absolute;
	top: 70px;
	left: -5px;
	background: var(--dark-card);
	width: 250px;
	border-radius: 10px;
	padding: 5px 15px;
	opacity: 0;
	visibility: hidden;
	transition: 0.2s opacity, 0.2s visibility;
}

.lang_menu_open {
	opacity: 1;
	visibility: visible;
}

@media (max-width: 767.98px) {
	.lang_menu {
		width: 220px;
		top: 55px;
	}
}

@media (max-width: 375.98px) {
	.lang_menu {
		width: 150px;
		top: 45px;
		padding: 5px 10px;
	}
}

.lang_link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 16px;
	color: var(--light-text-soft);
	text-decoration: none;
	padding-top: var(--space-xs);
	padding-bottom: var(--space-xs);
	border-bottom: 1px solid #cdcdcd;
	transition: 0.2s all;
}

@media (max-width: 767.98px) {
	.lang_link {
		font-size: 14px;
		padding-top: 8px;
		padding-bottom: 8px;
	}
}

@media (max-width: 375.98px) {
	.lang_link {
		font-size: 11px;
		padding-top: 5px;
		padding-bottom: 5px;
	}
}

.lang_menu li:last-child .lang_link {
	border-bottom: 0;
}

.lang_link img {
	width: 30px;
	height: 30px;
	border-radius: var(--radius-circle);
	object-fit: cover;
}

.lang_link:hover {
	transform: translateY(-5px);
}

.header_logo {
	justify-self: center;
	display: flex;
	padding-left: var(--space-xs);
}

@media (max-width: 767.98px) {
	.header_menu_open .header_logo {
		visibility: hidden;
	}
}

.header_logo img {
	width: 45px;
	height: 40px;
}

@media (max-width: 767.98px) {
	.header_logo img {
		width: 35px;
		height: 31px;
	}
}

.header_actions {
	justify-self: end;
	display: flex;
	align-items: center;
	gap: var(--space-lg);
	transition: 0.4s all;
}

.header_scrolled .header_actions {
	gap: var(--space-md);
}

.header_menu_open .header_actions {
	pointer-events: none;
}

.header_scrolled .button_accent {
	font-size: 13px;
	padding: 16px 18px;
}

@media (max-width: 767.98px) {
	.header_actions .button_accent {
		display: none;
	}
}

.burger {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: 42px;
	padding: 0;
	background: none;
	border: 0;
	cursor: pointer;
}

@media (max-width: 767.98px) {
	.burger {
		width: 32px;
	}
}

@media (max-width: 375.98px) {
	.burger {
		gap: 4px;
	}
}

.burger_bar {
	height: 2px;
	background: #FFFFFF;
}

.burger_bar:nth-child(1),
.burger_bar:nth-child(3) {
	width: 32px;
}

@media (max-width: 767.98px) {
	.burger_bar:nth-child(1),
	.burger_bar:nth-child(3) {
		width: 24px;
	}
}

.burger_bar:nth-child(2) {
	width: 42px;
}

@media (max-width: 767.98px) {
	.burger_bar:nth-child(2) {
		width: 32px;
	}
}

.menu {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 400;
	width: 400px;
	max-width: 100%;
	height: 100vh;
	padding: var(--space-md);
	background-color: rgba(0, 0, 0, .8);
	box-shadow: -10px -1px 29px 0 rgba(13, 13, 13, .2);
	backdrop-filter: blur(40px);
	transform: translateX(100%);
	visibility: hidden;
	transition: transform 0.5s cubic-bezier(0.86,0,0.07,1), visibility 0.5s cubic-bezier(0.86,0,0.07,1);
	overflow-y: auto;
}

@media (max-width: 991.98px) {
	.menu {
		width: 100%;
	}
}

.menu_open {
	transform: translateX(0);
	visibility: visible;
}

.menu_top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-sm);
}

.menu_cta {
	text-align: center;
}

.menu_close {
	flex-shrink: 0;
	position: relative;
	width: 42px;
	height: 42px;
	padding: 0;
	background: none;
	border: 0;
	cursor: pointer;
}

.menu_close_bar {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 32px;
	height: 2px;
	background: #FFFFFF;
}

.menu_close_bar:nth-child(1) {
	transform: translate(-50%, -50%) rotate(45deg);
}

.menu_close_bar:nth-child(2) {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.menu_list {
	margin-top: var(--space-md);
	padding-top: var(--space-md);
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.menu_link {
	display: block;
	font-family: var(--font-body), sans-serif;
	font-weight: 300;
	font-size: 20px;
	text-decoration: none;
	width: 100%;
	outline: 0;
	border: none;
	background: rgba(255, 255, 255, .033);
	box-shadow: -1px -1px 0 0 #67755f47, 1px 1px 2px #000, inset -7px -6px 20px #1c1c1c8c, inset -4px -4px 8px 0 #54d7580d;
	padding: var(--space-lg);
	color: #c6c6c6;
	margin-bottom: 15px;
	border-radius: 20px;
	text-align: center;
	transition: .3s all;
}

.menu_link:hover {
	color: var(--dark-accent);
	transform: translateY(-5px);
	box-shadow: -1px -1px 0 0 rgba(167, 248, 116, .217), 1px 1px 2px #000, inset -7px -6px 20px #1c1c1c8c, inset -4px -4px 8px 0 #54d7580d;
}

@media (max-width: 375.98px) {
    .burger_bar:nth-child(1), .burger_bar:nth-child(3) {
        width: 18px;
    }

    .burger_bar:nth-child(2) {
        width: 27px;
    }

	.header_logo img {
        width: 24px;
        height: 28px;
    }

    .lang_flag {
        width: 25px;
        height: 25px;
    }

    .lang_handle {
        font-size: 12px;
    }

	.menu_link {
		font-size: 16px;
		margin-bottom: 10px;
		border-radius: 13px;
	}
}
