/* ------------------ footer ------------------ */

footer {
	padding: 3rem 0;
	color: var(--white);
	background: var(--footer);
}

.footer-first {
	display: flex;
	justify-content: space-between;
}

.footer-first > * {
	padding: 0.5rem;
}

.footer-first #area1 {
	max-width: 20rem;
	padding-right: 2rem;
}

/* footer copywrite */
footer .footer-end {
	display: flex;
	justify-content: space-between;
	border-top: 1px solid var(--border4);
	padding-top: 1rem;
	margin-top: 2rem;
}

footer #copywrite,
footer #developer {
	font-size: 0.875rem;
	text-align: right;
	color: var(--text6);
	margin: 0 0.225rem;
}

footer #copywrite a,
footer #developer a {
	color: var(--white);
	text-decoration: none;
	font-weight: 700;
}

footer .text {
	font-size: 0.725rem;
	line-height: 1.125rem;
}

footer .text p {
	margin-bottom: 0.5rem;
}

footer .text p.h6 {
	font-weight: 700;
}

footer a {
	color: var(--white);
	text-decoration: none;
}

footer a:hover {
	color: var(--white);
	text-decoration: underline;
}

@media (max-width: 992px) {
	footer .footer-first {
		flex-direction: column;
	}

	.footer-first #area1 {
		max-width: 100%;
	}
}

@media (max-width: 568px) {
	footer {
		padding-bottom: 0;
	}
}

/* ------------------ Menu Bottom ------------------ */
footer ul.nav {
	display: flex;
	justify-content: space-between;
	flex-wrap: nowrap;
}

nav[class^="m-foot"] ul {
	list-style: none;
	padding: 0;
	justify-content: space-around;
}

nav[class^="m-foot"] .nav > li {
	padding: 1rem;
}

nav[class^="m-foot"] .nav > li > a {
	font-size: 0.925rem;
	background-color: var(--menuBkg3);
}

nav[class^="m-foot"] li[data-level="1"] > a {
	color: var(--menu3);
	display: block;
	font-weight: bold;
	text-transform: uppercase;
}

nav[class^="m-foot"] li[data-level="2"] {
	margin-bottom: 0.225rem;
}

nav[class^="m-foot"] li[data-level="2"] > a {
	color: var(--text6);
	padding: 0.325rem 1rem;
	font-size: 0.755rem;
	line-height: 1.4;
}

footer ul.nav li[data-level="2"] a:hover {
	background: var(--menuBkg3Hover);
	color: var(--menu3hov);
	text-decoration: none;
}

@media (max-width: 992px) {
	nav[class^="m-foot"] .nav > li {
		padding: 1rem 0;
	}
}

@media (max-width: 768px) {
	footer ul.nav {
		flex-direction: column;
	}

	footer ul.nav > li:not(:first-of-type) {
		margin-top: 2rem;
	}
}
