/* //////////////////////MAIN//////////////////////// */
/* Intro */
main > section:nth-of-type(1) {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	grid-gap: 3em;
	margin: 0 -3em;
	position: relative;
}

main > section:nth-of-type(1) img {
	grid-column-start: 1;
	grid-column-end: 4;
	width: 100%;
}

main > section:nth-of-type(1) section {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

main > section:nth-of-type(1) section h3 {
	order: -1;
}

main > section:nth-of-type(1) section p {
	margin-bottom: 1.5em;
}

@media only screen and (max-width: 1025px) {
	main > section:nth-of-type(1) {
		margin: 0 -1em;
	}
	main > section:nth-of-type(1) section {
		position: absolute;
		color: var(--color-background);
		bottom: 1em;
		left: 1em;
	}
	main > section:nth-of-type(1) img {
		grid-column-end: 5;
	}
}

/* Story */
main > section:nth-of-type(2) ul {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
}

main > section:nth-of-type(2) ul li {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2em;
}

main > section:nth-of-type(2) ul li img {
	grid-column-start: 1;
	grid-column-end: 2;
	grid-row-start: 1;
	grid-row-end: 2;
	width: 100%;
}

main > section:nth-of-type(2) ul li section {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

main > section:nth-of-type(2) ul li section p {
	margin-bottom: 0.5em;
}

main > section:nth-of-type(2) ul li section a {
	margin-top: 0.5em;
}

@media only screen and (max-width: 1025px) {
	main > section:nth-of-type(2) ul {
		grid-template-columns: 1fr 1fr;
		gap: 1em;
	}
	main > section:nth-of-type(2) ul li {
		grid-template-columns: 1fr;
		gap: 1em;
	}
	main > section:nth-of-type(2) ul li:first-child {
		grid-column-start: 1;
		grid-column-end: 3;
	}
}

/* Favorites */
main > section:nth-of-type(3) {
	margin-right: -3em;
}
main > section:nth-of-type(3) h2 {
	grid-column-start: 1;
	grid-column-end: 4;
}

main > section:nth-of-type(3) ul {
	display: flex;
	width: 100%;
	gap: 2.5em;
	overflow-x: scroll;
}

main > section:nth-of-type(3) ul li {
	display: flex;
	width: calc(100% / 3);
	flex-shrink: 0;
	flex-direction: column;
}

main > section:nth-of-type(3) ul li img {
	order: 1;
	width: 100%;
	margin-bottom: 1em;
}

main > section:nth-of-type(3) ul li p {
	order: 2;
	margin-bottom: 0.5em;
}

@media only screen and (max-width: 1025px) {
	main > section:nth-of-type(3) {
		margin-right: -1em;
	}
	main > section:nth-of-type(3) ul li {
		width: calc(100% / 1.5);
	}
}

/* Stores */
main > section:nth-of-type(4) ul {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5em;
}

main > section:nth-of-type(4) ul li {
	display: flex;
	flex-direction: column;
}

main > section:nth-of-type(4) ul li img {
	width: 100%;
	margin-bottom: 1.3em;
	order: 1;
}

main > section:nth-of-type(4) ul li a {
	order: 2;
	margin-bottom: 0.5em;
}

main > section:nth-of-type(4) ul li p {
	order: 2;
}

@media only screen and (max-width: 1025px) {
	main > section:nth-of-type(4) ul {
		grid-template-columns: 1fr;
	}
}
