footer {
	background-color: var(--color-primary);
	color: #fff;
	width: 100%;
	display: flex;
	justify-content: center;
}

footer a {
	transition: 0.1s ease-in-out;
}

footer a:hover img {
	opacity: 0.7;
}

footer .footer_inner {
	width: 100%;
	display: grid;
	grid-template-columns: auto 1fr;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 50px;
	padding: 55px 70px;
	max-width: 1400px;
}

footer .footer_inner .footer_right {
	display: flex;
	flex-direction: row;
	gap: 50px;
	flex-wrap: wrap;
	flex-grow: 1;
	justify-content: space-between;
}
footer .footer_inner .footer_right::after {
	content: "";
	flex-grow: 1;
}

footer a {
	color: #fff;
	text-decoration: none;
	font-size: var(--footer-font-size);
}

footer .footer_segment.wide {
	padding-right: 50px;
	max-width: none;
}

footer .footer_segment.wide .logo {
	width: 360px;
	margin-bottom: 30px;
}

footer .footer_segment {
	width: fit-content;
	min-width: 110px;
	max-width: 145px;
}

footer .footer_segment.wide .socials {
	width: fit-content;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 25px;
}

footer .footer_segment.wide .footer_left {
	margin-bottom: 25px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

footer .footer_segment.wide .footer_left a,
footer .footer_segment.wide .footer_left div {
	color: #fff;
	opacity: 0.75;
	font-size: var(--footer-font-size);
	transition: 0.1s ease-in-out;
}

footer .footer_segment.wide .footer_left a:hover {
	color: var(--color-secondary);
	opacity: 1;
}

footer .footer_segment.wide .socials img {
	width: 24px;
	height: 24px;
	transition: 50ms ease-in-out;
}

.socials img:hover {
	opacity: 0.5;
}

footer .footer_segment.wide .copyright {
	font-size: var(--footer-subtext-font-size);
	font-style: normal;
	font-weight: 300;
	line-height: normal;
}

.footer_title {
	display: block;
	margin-bottom: 30px;
	font-size: var(--footer-font-size);
	font-style: normal;
	font-weight: 800;
	/* text-wrap: nowrap; */
	margin-top: 25px;
}

.footer_links,
footer .footer_segment.wide .copyright {
	color: #fff;
	display: flex;
	flex-direction: column;
	gap: 20px;
	opacity: 0.75;
	font-size: var(--footer-font-size);
	font-style: normal;
}

footer .footer_segment.wide .copyright {
	font-size: var(--footer-subtext-font-size);
	font-style: normal;
	line-height: normal;
}

@media screen and (max-width: 1024px) {
	footer .footer_inner {
		gap: 25px;
		padding: 32px 40px;
		display: flex;
		flex-direction: column;
	}

	footer .footer_segment.wide .logo {
		width: 200px;
		margin-bottom: 30px;
	}

	footer .footer_segment.wide {
		width: 100%;
		padding: 0;
		column-gap: 20px;
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto 1fr;
	}

	footer .footer_segment.wide .copyright {
		/* grid-area: 2 / 2 / 1 / 2; */
	}
}

@media screen and (max-width: 420px) {
	footer .footer_segment.wide {
		display: flex;
		flex-direction: column;
		margin-bottom: 12px;
	}

	footer .footer_segment.wide .logo {
		margin-bottom: 8px;
	}

	footer .footer_segment.wide .socials {
		margin-bottom: 8px;
	}

	footer .footer_segment.wide .footer_left {
		margin-bottom: 8px;
	}

	footer .logo {
		width: 80% !important;
	}

	footer .footer_inner {
		flex-direction: column;
		gap: 0;
	}

	footer .footer_segment {
		width: 100%;
		max-width: none;
	}

	footer .footer_inner a {
		margin: 6px 0;
	}

	.footer_links {
		gap: 6px;
	}

	.footer_links a:last-of-type {
		margin-bottom: 16px;
	}

	.footer_title {
		padding: 16px 0 12px;
	}
}
