#content {
	margin: 1em 0;
}
a {
	color: black;
}

#content .text {
	margin: 0 auto;
	width: 100%;
	max-width: 1200px;
	box-sizing: border-box;
	padding: 0 10px;
	text-align: center;
}
@media (min-width: 500px) {
	#content .text {
		padding: 0 40px;
	}
}

#description.text {
	margin-bottom: 2em;
}
#description h2 {
	margin-bottom: 0;
}
#description p {
	margin-top: 0;
}


#packages {
	z-index: 2;
	position: relative;
	width: 100%;
	overflow: hidden;

	background-color: #1c1c1c;
	border-radius: 0 0 0.5em 0.5em;
	box-shadow: 0 6px 6px #0006;
}
#packages .scroll-container {
	z-index: 1;
	position: relative;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	width: 100%;
	left: 0;

	transition: left 0.2s ease-in-out;
}
#packages.scrollable .scroll-container {
	justify-content: flex-start;
}
#packages > .button {
	z-index: 2;
	display: none;
	position: absolute;
	top: 0;
	height: 100%;
	width: 2em;

	cursor: pointer;
	transition: width 0.2s ease-in-out;
}
#packages.scrollable > .button {
	display: block;
}
#packages > .button.disabled {
	cursor: initial;
}
#packages > .button:not(.disabled):hover {
	width: 2.5em;
}
#packages > .button.left {
	left: 0;
	background: linear-gradient(90deg, #000 0%, #0000 100%);
}
#packages > .button.right {
	right: 0;
	background: linear-gradient(-90deg, #000 0%, #0000 100%);
}
#packages > .button::before,
#packages > .button::after {
	content: "";
	position: absolute;
	display: block;
	left: 50%;
	top: 50%;
	width: 1.5px;
	height: 1em;
	max-height: 50%;
	background-color: white;
}
#packages > .button.disabled::before,
#packages > .button.disabled::after {
	background-color: #555;
}
#packages > .button.left::before {
	transform-origin: 0 0;
	transform: translateX(-8px) rotate(-35deg);
}
#packages > .button.left::after {
	transform-origin: 100% 0;
	transform: translateX(-100%) translateX(-8px) rotate(-145deg);
}
#packages > .button.right::before {
	transform-origin: 100% 0;
	transform: translateX(-100%) translateX(8px) rotate(35deg);
}
#packages > .button.right::after {
	transform-origin: 0 0;
	transform: translateX(8px) rotate(145deg);
}

#packages .package {
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;

	width: 80%;
	max-width: 100vw;
	aspect-ratio: 21/9;
	padding: 1em 3em;
	box-sizing: border-box;
	flex-shrink: 0;
	flex-grow: 0;

	color: white;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.2s ease-in-out;
}
#packages .package ul {
	display: none;
	list-style-type: none;
	padding: 0;
}
#packages .package h3,
#packages .package .price {
	white-space: nowrap;
	filter: drop-shadow(0 0 3px #000);
}
#packages .package h3 {
	margin-top: 1em;
	margin-bottom: 0.5em;
}
#packages .package .background {
	z-index: -1;
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #333;
	background-size: cover;
	background-position: center;
	box-shadow: inset 0 0 2em #1c1c1c;
	filter: brightness(60%);

	transition-property: left, width, box-shadow ;
	transition-duration: 0.2s;
	transition-timing-function: ease-in-out;
}
@media (min-width: 500px) {
	#packages .scroll-container {
		gap: 2px;
	}
	#packages .package {
		width: unset;
		flex-shrink: unset;
		flex-grow: 1;
	}
	#packages .package .background {
		filter: brightness(30%);
	}

	#packages .package:hover {
		z-index: 2;
	}
	#packages .package:hover .background {
		filter: brightness(60%);
		left: -25%;
		width: 150%;
		box-shadow: inset 0 0 2em #1c1c1c, 0 0 2em #1c1c1c88;

		border-left: 1px solid white;
		border-right: 1px solid white;
	}
}





#categorySections {
	box-shadow: inset 0 0 3em #1a1a1a;
	color: var(--background-color);
	background-color: #333;
	background-image:
		radial-gradient(circle closest-side at 25% 25%,#00000028 0% 50%, #0000 80%),
		radial-gradient(circle closest-side at 75% 75%,#00000028 0% 50%, #0000 80%)
	;
	background-repeat: repeat;
	background-size: 8px 8px;
	padding-top: 2.5em;
	margin-top: -0.5em;
}

/* #categorySections::before, */
#categorySections::after {
	content: "";
	display: block;
	height: 1em;
	margin-bottom: 1em;
	border-radius: 0 0 0.5em 0.5em;
	box-shadow: 0 4px 4px #0006;
	background-color: var(--background-color);
}
#categorySections::after {
	border-radius: 0.5em 0.5em 0 0;
	margin-bottom: 0;
	margin-top: 1em;
	box-shadow: 0 -4px 4px #0006;
}
#categorySections .section {
	position: relative;
	display: flex;
	flex-direction: row;
	text-align: left;
	width: auto;
	max-width: 1000px;
	margin: 0 10px;
	margin-bottom: 1em;
	padding: 0;
	border: 1px solid #444;
	border-radius: 0.5em;
	background-color: #0003;
	box-shadow: 0 0 16px #0006;
	overflow: hidden;
}
#categorySections .section:last-of-type {
	margin-bottom: 0;
}
#categorySections .section:nth-of-type(2n) {
	flex-direction: row-reverse;
}
#categorySections .section > img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.5) blur(2px);
}
#categorySections .section > div {
	z-index: 2;
	flex: 1;
	padding: 1em 10px;
}
#categorySections .section a {
	display: inline-block;
	margin-bottom: 0.35em;
	text-decoration: none;
	color: var(--background-color);
}
#categorySections .section a svg {
	display: inline-block;
	font-size: 2em;
	height: 1em;
	vertical-align: top;
	fill: var(--highlight-color);
}
#categorySections .section a h1 {
	display: inline-block;
	text-decoration: underline;
	margin: 0;
}
#categorySections .section p {
	margin: 0;
}
@media (min-width: 500px) {
	#categorySections .section {
		margin-left: 40px;
		margin-right: 40px;
	}
}
@media (min-width: 850px) {
	#categorySections::before {
		margin-bottom: 2em;
	}
	#categorySections::after {
		margin-top: 2em;
	}
	#categorySections .section {
		margin-bottom: 2em;
	}
	#categorySections .section > img {
		position: initial;
		filter: unset;
		width: unset;
		height: unset;
	}
	#categorySections .section > div {
		padding: 1em 40px;
	}
}
@media (min-width: 1080px) {
	#categorySections .section {
		margin-left: auto;
		margin-right: auto;
	}
}
