main {
	padding: 4rem 2rem;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

main h2 {
	font-size: 2rem;
	text-align: center;
	color: var(--bg2);
}

hr {
	margin-inline: auto;
}

main > div:last-of-type {
	width: 100%;
	max-width: 1000px;
	margin-inline: auto;
}

main > div:last-of-type > div {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	margin-right: 12rem;

	border: solid 1px var(--secondary);
	padding: 2rem;
	position: relative;
}

main > div:last-of-type > div::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	top: 4px;
	left: 4px;
	border: solid 1px var(--bg2);
}

main > div:last-of-type h3 {
	font-size: 2rem;
	color: var(--secondary);
}

main > div:last-of-type > div > div:first-child {
	max-width: 60%;
	justify-content: space-between;
	align-items: center;
}

main > div:last-of-type a {
	font-style: italic;
	color: var(--secondary);
}

main > div:last-of-type > div > div:last-child {
	position: absolute;
	top: 3rem;
	right: -9rem;
}

main > div:last-of-type > div > div:last-child > div {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

main > div:last-of-type > div > div:last-child > div > div {
	background-color: var(--bg2);
	padding: 2rem;
	padding-right: 4.5rem;
	position: relative;
}

main > div:last-of-type > div > div:last-child > div > div > div {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

main > div:last-of-type > div > div:last-child > div > div p {
	color: var(--bg1);
}

main > div:last-of-type > div > div:last-child > div > div strong {
	color: var(--secondary);
}

main > div:last-of-type > div > div:last-child > div > div figure {
	position: absolute;
	right: -2.5rem;
	top: 50%;
	transform: translateY(-50%);
	padding: 1rem;
	background-color: var(--secondary);
}

main > div:last-of-type > div > div:last-child > div > div img {
	width: 3rem;
	height: 3rem;
}

@media (max-width: 800px) {
	main > div:last-of-type h3 {
		font-size: 1.5rem;
		color: var(--secondary);
	}

	main > div:last-of-type > div {
		margin-right: 0rem;
	}

	main > div:last-of-type > div > div:first-child {
		max-width: 100%;
		flex-direction: column;
	}

	main > div:last-of-type > div > div:last-child {
		position: static;
	}

	main > div:last-of-type > div > div:last-child > div > div {
		width: 100%;
	}

	main > div:last-of-type > div > div:last-child > div > div figure {
		right: 2rem;
	}
}

@media (max-width: 480px) {
	main > div:last-of-type > div {
		border: none;
		padding: 0;
	}

	main > div:last-of-type > div::before {
		all: unset;
	}

	main > div:last-of-type > div > div:last-child > div > div {
		padding-right: 2rem;
	}

	main > div:last-of-type > div > div:last-child > div > div figure {
		display: none;
	}
}
