:root {
	--bg: #252323;
	--fg: #F5F1ED;
	--cta: #A663CC;
	--accent: #51A3A3;

	--max-body-width: 28rem;
	--min-body-width: 12rem;
	--body-padding: 1rem;
	--gap: 0.7rem;
	--gallery-height: max(40vh, 15rem);
}

html {
	font-family: "Montserrat", sans-serif;
	font-size: 16pt;
	font-weight: 400;
	line-height: 1.5;

	background-color: var(--bg);
	color: var(--fg);

	scroll-behavior: smooth;
}

body {
	width: 100vw;
	max-width: min(100%, var(--max-body-width));
	min-width: var(--min-body-width);
	margin: 0 auto;
	padding: 2rem var(--body-padding);
	box-sizing: border-box;

	background-color: rgba(255, 255, 255, 5%);

	display: flex;
	flex-direction: column;
	align-items: stretch;
}

a,
a:visited {
	color: var(--accent);
}

a:hover,
a:focus {
	color: color-mix(in srgb, var(--accent), white 10%);
}

ul {
	margin: 0;
}

ul li {
	margin-block: var(--gap);
}

section {
	width: 100%;

	margin-bottom: 5rem;

	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: var(--gap);
}

section section {
	margin-bottom: 2rem;
}

h1,
h2,
h3,
p {
	scroll-margin-top: 3rem;
	margin-block: 0.5rem;
}

section>h1 {
	font-size: 1.5rem;
}

section>h2 {
	font-size: 1.25rem;
}

section>h3 {
	font-size: 1.1rem;
}

summary {
	cursor: pointer;
}

summary>h1,
summary>h2,
summary>h3 {
	display: inline-block;
}

code {
	display: inline-block;
	margin: 0;
	padding: 0.1rem;

	border-radius: 0.1rem;
	outline: 1px solid var(--fg);
	background-color: rgba(255, 255, 255, 10%);
}

footer {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.cta,
.cta:hover,
.cta:focus,
.cta:visited {
	color: var(--fg);
}

.cta {
	background-color: var(--cta);
	padding: 0.75rem;
	border-radius: 999vw;

	font-weight: 800;
	font-size: 1.1rem;
	text-decoration: none;
	margin-inline: auto;

	display: flex;
	align-items: center;
	gap: var(--gap);
}

.cta:hover,
.cta:focus {
	outline: 3px solid var(--fg);
}

.cta img {
	display: inline-block;
	height: 2rem;
	aspect-ratio: 1/1;
	border-radius: 999vw;
}

.imp::before {
	content: '!';
	display: inline-block;
	width: 1rem;

	font-weight: 800;
	font-size: 1.5rem;
	text-align: center;
	color: var(--accent);
}

#contact_btn img {
	border-radius: unset;
}

.hint {
	font-size: smaller;
	opacity: 70%;
}

.gallery {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: var(--gap);

	overflow-x: scroll;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;

	height: var(--gallery-height);
}

.gallery>img {
	max-width: 100%;
	height: 100%;
	object-fit: contain;

	scroll-snap-align: center;
	user-select: none;

	--margins: max(calc((100% - var(--gallery-height)) / 2), 0%);
}

.gallery>img:first-child {
	margin-left: var(--margins);
}

.gallery>img:last-child {
	margin-right: var(--margins);
}

.prices {
	width: 100%;
	display: grid;
	grid-template-columns: auto 3rem;
	gap: var(--gap);

	padding: var(--gap);
	box-sizing: border-box;

	outline: 1px solid var(--fg);
}
