.home-text {
	display: flex !important;
	justify-content: center;
	align-items: center;
}

.home-text h2 {
	margin: 2rem 0;
}

section {
	height: 100vh;
}

section#top,
section#last {
	background-image: url("../images/medlar-bg.svg");
	background-repeat: no-repeat;
}

.cta {
	cursor: pointer;
	position: absolute;
	bottom: 10rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	animation: clear 1s 1.5s forwards;
	opacity: 0;
}

.cta i {
	animation: pulse 1s infinite;
}

#last {
	background: var(--white);
	z-index: 2;
}

footer {
	z-index: 2;
}

#last img {
	margin-bottom: 2rem;
}

.anim-1 {
	animation: clear 1s 0.5s forwards;
	opacity: 0;
}

.anim-2 {
	animation: clear 1s 1s forwards;
	opacity: 0;
}

#pop-up {
	position: fixed;
	margin: auto;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--jellies);
	border: var(--primary-text) solid 2px;
	color: var(--white);
	padding: 5rem;
	z-index: 10;
	max-height: 100vh;
	animation: clear 1s 2s forwards;
	opacity: 0;
	display: flex;
	flex-direction: column;
	text-align: center;
	align-items: center;
	justify-content: center;
	width: 100vw;
	height: 100vh;
}

#pop-up button {
	background: var(--white) !important;
	border: var(--primary-text) !important;
	color: var(--primary-text) !important;
}

#pop-up a {
	color: var(--white) !important;
	text-decoration: underline;
}

#pop-up a.img-link {
	display: block;
}

#pop-up img {
	width: 19.5rem;
	margin-bottom: 3rem;
}

#pop-up .buttons a {
	color: var(--primary-text) !important;
	text-decoration: none !important;
}

/* Animations */
@keyframes clear {
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes pulse {
	0% {
		transform: translateY(0rem);
	}
	50% {
		transform: translateY(0.3rem);
	}
	100% {
		transform: translateY(0rem);
	}
}

@media only screen and (max-width: 1024px) {
	section#top {
		height: auto;
		min-height: 100vh;
		height: 100vh;
		display: flex;
	}

	section#last {
		min-height: auto !important;
		height: auto;
	}

	.cta {
		bottom: 1rem;
	}
}

@media only screen and (max-width: 640px) {
	h2 {
		text-align: center;
	}

	#landing .row,
	#last .row {
		flex-direction: column !important;
		justify-content: center;
	}

	#last .center-hor {
		align-items: center !important;
	}

	#pop-up {
		max-height: inherit;
		margin: 0;
		padding: 0;
		overflow: scroll;
	}

	#pop-up a.img-link {
		display: flex;
		justify-content: center;
	}

	#pop-up img {
		width: 10rem;
	}
}
