* {
	margin: 0;
	padding: 0;
}

@font-face {
	font-family: desert-dreams;
	src: url('DesertDreamsRegular.ttf');
	font-display: swap;
	font-weight: 400;
}

html {
	line-height: 1.75;
	font-family: "Roboto", sans-serif;
	font-family: desert-dreams;

	background-color:#0f0c1d;
	color: #fff;

	--color-main-bg: #fff;
	--color-accent: #072861;
}

h1, h2, h3, h4, h5, h6 {
	font-family: desert-dreams;
	line-height: 1;
}

h2 {
	text-align: center;
	font-weight: 400;
	font-size: 3em;
}

h3 {
	text-transform: uppercase;
	font-weight: 200;
	font-size: 1.5em;
}

main {
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	gap: 6em;
	margin: 0 1em;
}

main > section {
	max-width: 120ch;
	margin: 1em auto;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *                            custom class styles                            *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

.rounded-button {
	color: var(--color-main-bg);
	background-color: var(--color-accent);
	text-decoration: none;

	width: fit-content;

	padding: 0.5ch 2ch;
	border-radius: 2.5em;
	border: 0.1em solid var(--color-accent);
}

.rounded-button:visited {
	color: var(--color-main-bg);
}

.rounded-button:hover {
	background-color: var(--color-main-bg);
	color: var(--color-accent);
}

.modlink, .modlink:visited {
	color: #fff;
	text-decoration: none;
}

.modlink:hover {
	text-decoration: underline;
}


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *                             header page styles                            *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

header {
	display: flex;
	padding: 0.5rem 2rem;
	font-family: desert-dreams;
	flex-flow: row nowrap;
	top: 0;
	z-index: 999;
	position: sticky;
	background-color: #0f0c1d;
}

header div {
	font-size: 150%;
	flex-grow: 2;
}

header div, header ul{
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	gap: 1rem;
	list-style-type: none;
}

header img {
	display: block;
	max-height: 1.5em;
}

header ul {
	font-size: 150%;
	flex-flow: row nowrap;
}

@media only screen and (max-width: 35em) {
	header ul {
		display: none;
	}
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *                             splash page styles                            *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#splash {
	background-image: url('hero.jpg');
	background-size: cover;
}

@keyframes gradient {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

#splash-content {
	max-width: 150ch;
	min-height: min(100vh, 55em);
	margin: 0 auto;
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-between;
	align-content: space-between;
	box-sizing: border-box;
	padding: 2em;
}

#splash-vbox {
	max-width: 50em;
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	height: fit-content;
	flex-grow: 1;
}

#splash-vbox * {
	font-weight: bold;
}

#splash h1 {
	font-size: 5em;
	text-align: left;
}

#splash h1 em {
	font-style: normal;
}

#splash .subline {
	line-height: 1;
	font-weight: bold;
	font-size: 150%;
}

#splash .rounded-button {
	line-height: 1.5;
	font-size: 125%;
	max-width: fit-content;
}

#splash-vbox {
	min-height: calc(100vh);
}

#splash .rounded-button {
	margin-top: 1.8rem;
}

@media only screen and (min-width: 45em) {
	#splash-vbox {
		min-height: 0;
	}
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *                           services card styles                            *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
.card img {
	display: block;
	grid-area: img;
}
.layout-2 {
	max-width: 120ch;
	margin: 0 auto;
	gap: 1em;
	display: flex;
	flex-flow: column nowrap;
}

.layout-2 > p {
	font-size: 125%;
	max-width: 70ch;
	text-align: center;
	margin: 0 auto;
}

.layout-2 > div {
	display: flex;
	flex-flow: column-reverse nowrap;
	gap: 4em;
	align-items: center;
}

.layout-2 > div > img {
	max-height: 30em;
	max-width: 100%;
	border-radius: 1em;
}

.layout-2 .card-container {
	display: flex;
	flex-flow: column nowrap;
	gap: 3em;
	padding-top: 2em;
}

.layout-2 .card {
	display: grid;
	gap: 0.5em;
	max-width: 80ch;
	grid-template-areas:
		"img name"
		"img text";
	align-items: center;
}

.layout-2 .card img {
	width: 5em;
	height: 5em;
	margin-right: 1em;
}

@media only screen and (min-width: 70em) {
	.layout-2 > div {
		flex-flow: row nowrap;
	}
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *                             layout-1 styles                               *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */


.layout-1 {
	display: flex;
	flex-flow: column nowrap;
	gap: 1em;
	max-width: 120ch;
	margin: 0 auto;
}

.layout-1 * {
	margin: 0 auto;
	width: 100%;
}

.layout-1 h2 {
	grid-area: header;
}

.layout-1 h3 {
	text-align: center;
	font-size: 2rem;
}

.layout-1 > p {
	grid-area: text;
}

.layout-1 p:not(.subline) em {
	font-style: normal;
	color: var(--color-text);
}

.layout-1 .card-container {
	display: flex;
	flex-flow: column nowrap;
	gap: 3em;
	overflow: hidden;
	grid-area: cards;
}

.layout-1 section {
	display: grid;
	grid-template-areas:
		"img"
		"name"
		"text";
	max-width: 45em;
	gap: 1em;
	justify-content: center;
	height: fit-content;
	border-radius: 1em;
}

.layout-1 section p {
	text-align: center;
	font-size: 1.25rem;
}

.layout-1 section img {
	font-size: 1.25rem;
	grid-area: img;
	height: 6em;
	width: 6em;
}

@media only screen and (min-width: 40em) {
	.layout-1 .card-container {
		flex-flow: row nowrap;
	}
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *                               CTA styles                                  *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#CTA {
	max-width: 60em;
	margin: 0 auto;
	margin-bottom: 2em;
}

#CTA > p {
	font-size: 125%;
	text-align: center;
	margin: 2rem;
}

#CTA .rounded-button {
	font-size: 150%;
	margin: 0 auto;
	margin-top: 2rem;
	display: block;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *                              footer styles                                *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#footer-container {
	margin-top: 3em;
	padding-top: 1em;
}

footer {
	margin: 0 auto;
	padding: 0 1em;
}


footer > div {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: flex-end;
}

#brand-footer {
	gap: 1.5em;
}

#brand-footer div {
	display: flex;
	flex-flow: column nowrap;
}

#legal {
	text-align: center;
	margin-top: 1em;
	flex-flow: row-reverse wrap;
	border-top: 1px solid #333;
	padding: 1em 0em;
}

footer a, footer a:visited {
	color: #fff;
	text-decoration: none;
}
#legal ul {
	display: flex;
	align-self: flex-end;
	list-style-type: none;
	gap: 1.5em;
}

#legal li {
	color: var(--color-accent);
}

@media only screen and (max-width: 30em) {
	#brand-footer * {
		display: block;
	}

	#logo2 {
		margin-bottom: 1em;
	}
}

@media only screen and (max-width: 55em) {
	#legal ul, #legal p {
		justify-content: center;
		gap: 2.5em;
		width: 100%;
	}
}
