@import url(https://fonts.googleapis.com/css?family=PT+Sans:700|Pacifico|Changa+One);
:root {
	--max-page-width: 100%;
	--body-padding: 2em;
	--body-line-height: 1.5;
	--p-max-width: 75ch;
}

.page-container {
	max-width: var(--max-page-width);
	min-height: 100vh;
	min-height: 100dvh;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 2fr 1fr;
}

*,
*::before,
*::after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

* {
	margin: 0;
	padding: 0;
}

html {
	hanging-punctuation: first last;
}

body {
	scroll-behavior: smooth;
	text-rendering: optimizeSpeed;
	line-height: var(--body-line-height);
	min-height: 100vh;
	min-height: 100svh;
	font-family: Arial, Helvetica, sans-serif;
}

img,
picture,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
	font-style: italic;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	text-wrap: balance;
}

p,
li {
	max-width: var(--p-max-width, 75ch);
	text-wrap: pretty;
}

code {
	display: block;
	border: 1px solid rgb(141, 141, 141);
	padding: 1em 2em;
	max-width: var(--p-max-width, 75ch);
}

input,
textarea,
button,
select {
	font: inherit;
}

@media (prefers-reduced-motion: no-preference) {
	:has(:target) {
		scroll-behavior: smooth;
	}
}
/* ---------------------------- */
header {
	padding: var(--body-padding);
	background-color: #fafaf6;
	/* box-shadow: 0 0 12px #000; */
}

main {
	padding: var(--body-padding);
}

h1,
h2 {
	width: 100%;
	text-align: center;
}

h1 {
	font-family: "Changa One", sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	font-size: 3em;
	letter-spacing: 0.5rem;
	margin: 0 0;
	line-height: 1.1;
}

h3 {
	margin-top: 1.2em;
	font-size: 1.2em;
}
a.external-link {
	position: relative;
	width: fit-content;
	display: inline-block;
	text-decoration: none;
	color: inherit;
}

a.external-link :after {
	position: absolute;
	right: -1.2rem;
	top: 0;
	content: "";
	width: 1rem;
	height: 1rem;
	background-image: url("../images/up-right-from-square-solid.svg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.lined {
	position: relative;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
	margin: auto;
}
.lined:before,
.lined:after {
	content: " ";
	position: absolute;
	display: block;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	width: 50px;
	height: 5px;
	border-top: 1px solid #222222;
	border-bottom: 1px solid #222222;
}
.lined:before {
	left: -60px;
}
.lined:after {
	right: -60px;
}

.star {
	--star-size: 20px;
	position: relative;
	margin-left: var(--star-size);
	padding-left: 10px;
}
.star:before {
	content: "";
	position: absolute;
	aspect-ratio: 1;
	height: var(--star-size);
	background-image: url("../images/star-solid.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	left: calc(0px - var(--star-size));
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

h2 {
	font-family: "PT Sans", sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 6px;
}

h3 {
	font-family: "PT Sans", sans-serif;
	font-weight: 800;
}

p {
	font-family: "PT Sans", sans-serif;
	color: #333;
}

.introduction {
	display: grid;
	gap: var(--body-padding);
	grid-template-columns: 1fr 1fr;
	container-type: inline-size;
	container-name: intro;
}

.introduction img {
	width: 100%;
}

.introduction > * {
	padding-top: var(--body-padding);
}

@container intro (width < 600px) {
	.introduction > * {
		grid-column: span 2;
	}
}
.quote p {
	font-family: "PT Sans", sans-serif;
	font-weight: 400;
	margin-bottom: 0.3em;
}

.img-card {
	display: flex;
	flex-wrap: wrap;
	margin-top: 2.5rem;
	gap: 5px;
	img {
		flex: 1 1 200px;
	}
}

@media screen and (max-width: 960px) {
	.page-container {
		display: grid;
		grid-template-columns: 1fr;
	}
}
