html {
	--footer-color-grey-500: hsl(207, 13.7%, 44.5%);
}

.footer {
	position: relative;
	max-width: var(--main-max-width);
	margin: auto;
}

.footer__info {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 90px 100px 50px 40px;
}

.footer__logo {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.footer__logo__text {
	font-size: 14px;
	line-height: 18px;
	text-align: center;
	font-weight: 400;
	color: hsl(207, 6%, 38%);
	margin: 20px 0 0;
}

.footer__logo__img {
	object-fit: contain;
	width: 80px;
	height: 50px;
}

.footer__menu__social,
.footer__menu__links {
	list-style: none;
	padding: 0;
}

.footer__menu__links__item {
	font-size: 14px;
	font-weight: 500;
	color: var(--footer-color-grey-500);
	text-decoration: none;
	line-height: 25px;
}

.footer__menu__social__item {
	display: inline-block;
	width: 18px;
	height: 18px;
	color: var(--footer-color-grey-500);
}

.footer__menu__social__item:not(:last-child) {
	margin-right: 15px;
}

.footer__contact__title {
	font-size: 18px;
	font-weight: 500;
	color: var(--main-text-color-1);
}

.footer__contact__description {
	font-size: 14px;
	font-weight: 400;
	color: var(--footer-color-grey-500);
}

.footer__contact__field {
	width: 220px;
}

.footer__contact__button {
	margin-left: -30px;
}

.footer__divider {
	height: 1px;
	width: 100%;
	background-color: var(--main-color-grey-400);
}

.footer__legal {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.footer__legal__open-cmp,
.footer__legal__rights,
.footer__legal__mentions {
	color: var(--footer-color-grey-500);
	font-size: 13px;
	font-weight: 400;
}

.footer__legal__open-cmp {
	margin-right: 20px;
}

.footer__legal__mentions {
	display: none;
	margin-right: 60px;
}

@media (max-width: 991px) {
	.footer__info {
		flex-direction: column;
	}

	.footer__menu {
		margin-top: 60px;
	}

	.footer__menu__links__item {
		display: flex;
		justify-content: center;
	}

	.footer__contact {
		margin-top: 60px;
		text-align: center;
	}

	.footer__contact__title {
		text-align: center;
	}

	.footer__contact__description {
		text-align: center;
	}

	.footer__legal {
		justify-content: center;
	}

	.footer {
		max-width: 520px;
	}
}

@media (max-width: 575px) {
	.footer {
		padding: 0 10px;
	}

	.footer__info {
		margin: 40px 0;
	}

	.footer__contact__field {
		width: 150px;
	}

	.footer__legal {
		flex-direction: column;
	}

	.footer__legal__mentions {
		margin-top: 30px;
		margin-right: 0;
	}

	.footer__legal__rights {
		margin-bottom: 30px;
	}
	.footer__divider {
		margin: 10px 0;
	}
	.footer .partner {
		width: auto;
	}
	.footer__legal__open-cmp {
		margin-right: 0;
	}
}
