/* Nav */

.nav {
	width: 130%;
	height: 130px;
	background: #2438df;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 13;
	border-radius: 32% 27% 70% 68%;
	left: -15%;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-shadow: 0px 0px 4px rgb(27, 27, 27);
}

.nav:before {
	border-radius: 52% 48% 47% 53%;
	content: "";
}

@media only screen and (max-width: 800px) {
	.nav {
		height: 100px;
		border-radius: 0;
	}
	.nav:before {
		border-radius: 0;
		content: "";
		width: 100%;
		height: 13%;
		background: #2438df;
		position: relative;
		top: 0;
	}
}

/* Nav contacts */

.nav__contacts {
	width: 100%;
	height: 40px;
	background: white;
	border-radius: 32% 27% 100% 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

@media only screen and (max-width: 800px) {
	.nav__contacts {
		display: none;
	}
}

.nav__contacts:before {
	border-radius: 55% 48% 100% 100%;
	content: "";
}

.nav__contacts-item {
	margin: 0 40px 0 40px;
	color: rgb(77, 77, 77);
	font-size: 10pt;
}

@media only screen and (max-width: 1150px) {
	.nav__contacts-item {
		margin: 0 20px 0 20px;
	}
}

.nav__contacts .icon {
	margin-right: 5px;
}

/* Nav social */

.social-nav {
	display: flex;
}

@media only screen and (max-width: 900px) {
	.social-nav {
		display: none;
	}
}

.social-nav__item {
	margin-left: 3px;
	margin-right: 3px;
}

.nav .social-link {
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all 0.2s ease-out;
	width: 28px;
	height: 28px;
	position: relative;
	top: 0;
}

.nav .social-link img {
	width: 100%;
	height: 100%;
}

.nav .social-link:hover {
	top: 5px;
}

/* Nav bottom */
.nav__bottom {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: calc(130px - 40px);
}

.nav__bottom-item {
	margin-left: 20px;
	margin-right: 20px;
}

.nav__bottom-item .logo {
	width: 170px;
}

@media only screen and (max-width: 520px) {
	.nav__bottom-item .logo {
		width: 120px;
		margin-left: 20px;
	}
}

.nav__bottom-item .link {
	font-size: 15pt;
	color: white;
	transition: all 0.2s ease-out;
}

.nav__bottom-item .link:hover {
	color: #9fe333;
}

.nav__bottom-line {
	width: 100px;
	height: 4px;
	background: rgba(255, 255, 255, 0.3);
}

.nav__bottom-item--active {
	display: flex;
	justify-content: center;
}

.nav__bottom-item--active .link {
	color: #9fe333;
}

.nav__bottom-item--active:before {
	content: "";
	background: yellow;
	border-radius: 50%;
	position: absolute;
	width: 10px;
	height: 10px;
	bottom: 13px;
}

.nav__bottom-menu .menu {
	width: 55px;
	height: 55px;
	color: rgb(77, 77, 77);
	border-radius: 50%;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	display: none;
	transition: all 0.2s ease-in-out;
}

.nav__bottom-menu .menu:hover {
	border-radius: 0 0 50% 50%;
}

@media only screen and (max-width: 520px) {
	.nav__bottom-menu .menu {
		width: 50px;
		height: 50px;
		margin-right: 20px;
	}
}

.nav__bottom-menu .menu .fa {
	font-size: 20pt;
}

@media only screen and (max-width: 1000px) {
	.nav__bottom {
		justify-content: space-around;
		height: 70px;
	}

	.nav__bottom-item {
		display: none;
	}
	.nav__bottom-logo,
	.nav__bottom-menu {
		display: block;
	}

	.nav__bottom-menu .menu {
		display: flex;
	}
}
