@charset "utf-8";

.hamburger {
	display: none;
	width: 50px;
	height: 50px;
	padding: 15px 12px;
	margin-right: 20px;
	flex-direction: column;
	justify-content: space-between;
	cursor: pointer;
	z-index: 1001;
}

.hamburger span {
	display: block;
	height: 2px;
	background: var(--accent-color);
	border-radius: 2px;
	transition: all 0.3s ease-in-out;
}

.global-menu {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	position: fixed;
	width: 100%;
	height: 80px;
	z-index: 9999;
}

.home .global-menu {
	justify-content: flex-end;
}

.hamburger.active span:nth-child(1) {
	transform: rotate(45deg) translate(calc(1.4142 * 4.5px), calc(1.4142 * 4.5px));
}

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

.hamburger.active span:nth-child(3) {
	transform: rotate(-45deg) translate(calc(1.4142 * 4.5px), calc(-1.4142 * 4.5px));
}

.global-menu__links {
	background-color: #eee;
	border-radius: 999px;
	margin-right: 20px;
}

.home .global-menu__links {
	background-color: #fff;
}

.global-menu__company {
	display: flex;
	width: 50%;
	max-width: 180px;
	max-height: 100%;
}

.home .global-menu__company {
	display: none;
}

.global-menu__list a {
	position: relative;
}

.global-menu__list a::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 1px;
	background-color: #333;
	bottom: 0;
	left: 0;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.3s ease-in-out;
}

.global-menu__list a:hover::before {
	transform: scaleX(1);
	transform-origin: left;
}

.global-menu__list {
	display: flex;
	gap: 36px;
	padding: 0 50px;
	margin: 12px 0;
}

.main-header {
	display: none;
}

.menu-toggle {
	display: none;
}


.header__logo-link {
	display: flex;
}
.header__logo-img {
	width: 100%;
}
@media (hover: hover) {

}

@media screen and (max-width: 1023px) {
	.global-menu__list {
		display: none;
	}

	.home .global-menu {
		justify-content: space-between;
	}
	.global-menu__company {
		display: flex;
	}
	.home .global-menu__company {
		display: flex;
	}

}


@media screen and (max-width: 479px) {
	.hamburger {
		display: flex;
		background-color: #FFF;
		border-radius: 50%;
	}
	.global-menu__links {
		position: fixed;
		top: 0;
		right: -100%;
		width: 100%;
		height: 100vh;
		padding: 100px 30px;
		transition: right 0.2s ease-in-out;
		z-index: 1000;
		background-color: #eee;
		border-radius: 0px;
		margin-right: 0px;
	}
	.global-menu__links.open {
		right: 0;
	}

	.global-menu__list {
		display: flex;
		flex-direction: column;
		padding: 0;
	}
	.global-menu__list .menu-item {
		opacity: 0;
		transform: translateX(20px);
		padding-bottom: 2rem;
		color: var(--accent-color);
		border-bottom: 1px solid #ccc;
	}
	.global-menu__links.open .menu-item {
		animation: fadeIn 0.2s ease-in-out forwards;
	}
	.menu-item:nth-child(1) {
		animation-delay: 0.3s!important;
	}
	.menu-item:nth-child(2) {
		animation-delay: 0.4s!important;
	}
	.menu-item:nth-child(3) {
		animation-delay: 0.5s!important;
	}
	.menu-item:nth-child(4) {
		animation-delay: 0.6s!important;
	}
	.menu-item:nth-child(5) {
		animation-delay: 0.7s!important;
	}
	.menu-item:nth-child(6) {
		animation-delay: 0.8s!important;
	}

	@keyframes fadeIn {
		to {
			opacity: 1;
			transform: translateX(0);
		}
	}
}