/* footer */

:root {
	--FOOTER-BG: #efe7cb;
	--COPYRIGHT-BG: rgb(42, 74, 74);
	--COPYRIGHT-TEXT: #e0ffe0;
	--FOOTER-COLOR: #1e1612;
	--FOOTER-LINK-HOVER: teal;
	--LIGHT-MODE-LOGO-DISPLAY: flex;
	--DARK-MODE-LOGO-DISPLAY: none;
}

:root[data-theme="dark"] {
	--FOOTER-BG: #2f2723;
	--FOOTER-COLOR: #fff8df;
	--LIGHT-MODE-LOGO-DISPLAY: none;
	--DARK-MODE-LOGO-DISPLAY: flex;
}

footer {
	font-family: "Nunito", Calibri, sans-serif;
	position: relative;
	background-color: var(--FOOTER-BG);
	overflow: hidden;
	clip-path: ellipse(100% 100% at 50% 100%);
	padding-top: 5vh;
}

.flex-container {
	display: flex;
	margin-bottom: 80px;
}

.contactUs {
	width: 50vw;
	padding: 20px 0;
	margin-bottom: 5vw;
}

.contactUs h2 {
	font-size: 2rem;
	text-align: center;
	padding: 37px 0;
}

.contactUs div {
	display: flex;
}

.mbm-logo-container {
	border-radius: 50%;
	margin: 0px 3vw 0px 20px;
}

.mbm-logo {
	width: 14vw;
	height: 14vw;
	transition: all 0.2s ease-in-out;
}

.mbm-logo:hover {
	transform: scale(1.05);
}

.text-and-icons {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.text-and-icons a {
	text-decoration: none;
	color: var(--FOOTER-COLOR);
}

.text-and-icons a:hover {
	transition: all 0.3s;
}

.contact-info a {
	text-decoration: underline;
}

.contact-info a:hover {
	color: var(--FOOTER-LINK-HOVER);
}

.text-and-icons p {
	padding-right: 1rem;
}

.verticalLine {
	width: 1.5px;
	background-color: #978e6e;
	margin: 10vh 0;
}

.socialMedia {
	padding-top: 5vh;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-right: 4vw;
}

.social-icon {
	width: 35px;
	height: 35px;
	background-color: var(--FOOTER-COLOR);
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: contain;
}

.insta {
	-webkit-mask-image: url("https://static.igem.wiki/teams/5645/wiki-images/footer/social-media/insta.webp");
	mask-image: url("https://static.igem.wiki/teams/5645/wiki-images/footer/social-media/insta.webp");
}

.linkedin {
	-webkit-mask-image: url("https://static.igem.wiki/teams/5645/wiki-images/footer/social-media/linkedin.webp");
	mask-image: url("https://static.igem.wiki/teams/5645/wiki-images/footer/social-media/linkedin.webp");
}

.twitter {
	-webkit-mask-image: url("https://static.igem.wiki/teams/5645/wiki-images/footer/social-media/twitter.webp");
	mask-image: url("https://static.igem.wiki/teams/5645/wiki-images/footer/social-media/twitter.webp");
}

.linktree {
	-webkit-mask-image: url("https://static.igem.wiki/teams/5645/wiki-images/footer/social-media/linktree.webp");
	mask-image: url("https://static.igem.wiki/teams/5645/wiki-images/footer/social-media/linktree.webp");
}

.website {
	-webkit-mask-image: url("https://static.igem.wiki/teams/5645/wiki-images/footer/social-media/website.webp");
	mask-image: url("https://static.igem.wiki/teams/5645/wiki-images/footer/social-media/website.webp");
}

.social-icon {
	position: relative;
}

.social-icon:hover {
	background-color: var(--FOOTER-LINK-HOVER);
}

.sponsors {
	width: 50vw;
	padding: 2vw;
}

.sponsors h2 {
	font-size: 2rem;
	text-align: center;
	padding: 30px 0;
}

.sponsor-logos {
	border-radius: 5px;
	height: fit-content;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 2vh;
}

.sponsor-logos img {
	width: 11vw;
	padding: 2vh 1.5vw;
}

.light-mode-logo {
	display: var(--LIGHT-MODE-LOGO-DISPLAY);
}

.dark-mode-logo {
	display: var(--DARK-MODE-LOGO-DISPLAY);
}

.copyright-container {
	position: relative;
}

.tractor {
	position: absolute;
	animation: tractorMove 15s linear forwards infinite;
	animation-play-state: running;
	z-index: 3;
	cursor: pointer;
	bottom: 100%;
	transform: translateY(23%);
	transition: all 0.5s ease-in-out;
}

.tractor img {
	width: 150px;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}

@keyframes tractorMove {
	0% {
		left: -120px;
	}
	100% {
		left: 100%;
	}
}

.tractor .msg {
	display: none;
	position: absolute;
	left: 70px;
	top: -40px;
	color: #1e1612;
	font-size: small;
	z-index: 3;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}

.tractor .msg p {
	font-weight: bold;
	position: relative;
	top: -95px;
	left: 45px;
}

.pepper-farm {
	position: absolute;
	height: 135px;
	width: 100%;
	bottom: 100%;
	background-image: url("https://static.igem.wiki/teams/5645/wiki-images/footer/footer-plantation-images/pepper-farm.webp");
	background-size: contain;
	background-repeat: repeat-x;
}

.clickMe {
	background-color: #d3533f;
	width: fit-content;
	padding: 1px;
	border-radius: 2px;
	font-size: 0.7rem;
	position: relative;
	top: 35px;
	left: 40px;
	color: #e5ffff;
}

.mbm-logo,
.social-icon,
.tractor,
a,
a:focus,
a:active {
	-webkit-tap-highlight-color: transparent;
	outline: none;
}

.copyright-container {
	margin-top: 100px;
}

.copyright {
	width: 100%;
	padding: 10px;
	background-color: var(--COPYRIGHT-BG);
	font-size: small;
	color: var(--COPYRIGHT-TEXT);
	text-align: center;
}

.copyright a {
	color: var(--COPYRIGHT-TEXT);
	font-weight: bold;
	text-decoration: none;
}

.copyright a:hover {
	text-decoration: underline;
}

@media screen and (max-width: 900px) {
	footer {
		clip-path: ellipse(200% 100% at 50% 100%);
		min-height: 1000px;
		margin-top: 2vh;
	}

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

	.contactUs {
		width: 100vw;
	}

	.contactUs h2 {
		padding: 0;
	}

	.contactUs div {
		flex-direction: column;
	}

	.mbm-logo-container {
		text-align: center;
		width: 100%;
		margin: 10px 0;
	}

	.mbm-logo {
		width: 30vw;
		height: 30vw;
	}

	.text-and-icons {
		width: 100vw;
		margin: 0;
		padding: 0 10vw;
	}

	.text-and-icons .socialMedia {
		display: flex;
		flex-direction: row;
		justify-content: space-evenly;
		align-items: center;
		flex-wrap: wrap;
		padding: 30px 0 0 0;
	}

	.verticalLine {
		display: none;
	}

	.sponsors {
		align-items: center;
		padding-bottom: 70px;
		border-top: 1px solid #978e6e;
		width: 95vw;
	}

	.sponsor-logos img {
		width: 150px;
		padding: 20px;
	}
}
