h3 {
	text-align: center;
}

main {
	max-width: 900px;
}

section.main-projects {
	margin: auto 30px;
	background: var(--c4);
	border-radius: 10px;
	border: 1px dashed var(--c2);
	padding: 15px;
	height: auto;
	overflow-y: hidden;
	overflow-x: scroll;
	white-space: nowrap;
	scroll-snap-type: x mandatory;

	[href^="https"]::after {
		content: none;
	}

	img {
		scroll-snap-align: center;
		width: 100%;
	}
}

.wrapper {
	display: flex;
	flex-flow: wrap;
	align-items: center;
	justify-content: center;

	h4,
	p {
		text-align: center;
		margin: 8px;
	}

	section {
		background: var(--c4);
		border-radius: 10px;
		border: 1px dashed var(--c2);
		width: 300px;
		height: auto;
		padding: 20px;
		margin: 10px 20px;
		display: inline-block;
		overflow: auto;

		img {
			width: 100%;
			border-radius: 10px;
		}
	}
}
@media only screen and (max-width: 820px) {
	.wrapper section {
		width: 100%;
	}

	section.main-projects {
		margin: 5px;
	}
}
