/* makes sizing simpler */

*,
*::before,
*::after {
	box-sizing: border-box;
}

/* remove default spacing */
/* force styling of type through styling, rather than elements */

* {
	margin: 0;
	padding: 0;
	font: inherit;
}

/* NEED TO CHECK THE RESET FROM KEVIN POWELL CSS TO GET CORRECT.  BALANCED AND LIMITED WIDTH FOR READABILITY. */

h1,
h2,
h3,
h4,
h5 {
	text-wrap: balance;
}

/* p,
li,
figcaption {
	max-width: 75ch;
} */

:root {
	/* SET FONT SETTINGS */
	font-size: 16px;

	--ff: "Inter", sans-serif;
	--ff--table: "JetBrains Mono";

	/* Available font sizes:  100  300  400  500  700  900  */

	--fw-thin: 100;
	--fw-n: 300;
	--fw-400: 400;
	--fw-m: 500;
	--fw-b: 700;
	--fw-black: 900;

	--fs-2: 5rem;
	--fs-p: 1rem;

	/* END FONT STYLING */

	/* START COLOR SETTINGS */

	/* Dark theme */
	/* Primary Brand Colors */

	/* RGB Space */
	/* --clr-primary: #4da3ff;
	--clr-primary-hover: #154360;
	--clr-secondary: #ffcf70;
	--clr-accent: #e57c23; */

	--clr-primary: oklch(0.7 0.16 252);
	--clr-primary-hover: oklch(0.3666 0.07 240);
	--clr-secondary: oklch(0.86 0.12 82);
	--clr-accent: oklch(0.7 0.15 54);

	/* Background & Surfaces */
	/* RGB Space */
	/* --clr-bg: #0f1419;
	--clr-surface: #1c2228;
	--clr-border: #2c3238; */

	--clr-bg: oklch(0.18 0.01 248);
	--clr-surface: oklch(0.25 0.01 248);
	--clr-border: oklch(0.31 0.01 248);

	/* Text */
	/* RGB Space */
	/* --clr-text-primary: #eaeaea;
	--clr-text-secondary: #b5b5b5;
	--clr-text-white: #ffffff; */

	--clr-text-primary: oklch(0.937 0 0);
	--clr-text-secondary: oklch(0.7731 0 0);
	--clr-text-white: oklch(1 0 0);

	/* Shadows */
	/* --shadow-elevation: 0 2px 10px rgba(0, 0, 0, 0.4); */
	--shadow-elevation: oklch(0 0 0 / 40%);

	/* Link color for schedule */
	--clr-sched-loc: oklch(0.9 0.15 194);
	/* END START COLOR SETTINGS */
}

/* RESPONSIVE LAYOUT QUERIES */
@media screen and (max-width: 768px) {
	header {
		flex-direction: column;
		align-items: flex-start;
	}

	nav {
		width: 100%;
		justify-content: flex-start;
	}

	.hero {
		padding: 2rem 1rem;
	}

	.hero h2 {
		font-size: 1.5rem;
	}

	.container {
		margin: 1rem;
	}

	.card {
		padding: 1rem;
	}
}

@media screen and (max-width: 480px) {
	header h1 {
		font-size: 1.2rem;
	}

	nav a {
		margin: 0.3rem 0.5rem;
		font-size: 0.9rem;
	}

	.hero h2 {
		font-size: 1.3rem;
	}

	.button {
		width: 100%;
		text-align: center;
	}
}
/* END RESPONSIVE LAYOUT QUERIES  */

/* BEGIN STANDARD STYLES */
body {
	min-height: 100vh;
	font-family: var(--ff);
	font-weight: var(--fw-400);
	line-height: 1.75rem;
	margin: 0 auto;
	background-color: var(--clr-bg);
	color: var(--clr-text-primary);
}

/* responsive images/videos */
img,
picture,
svg,
video {
	display: block;
	max-width: 80%;
}

header {
	background-color: var(--clr-surface);
	border-bottom: 1px solid var(--clr-border);
	padding: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

h1,
h2,
h3 {
	text-wrap: balance;
}

h1 {
	font-size: 1.75rem;
	line-height: 2rem;
	margin-bottom: 1rem;
	color: var(--clr-text-primary);
	font-weight: var(--fw-m);
}

h2 {
	font-size: 1.25rem;
	font-weight: var(--fw-m);
	color: var(--clr-secondary);
	margin-bottom: 1rem;
}

h3 {
	font-size: 1.25em;
	font-weight: var(--fw-m);
	color: var(--clr-primary);
	margin-bottom: 0.5em;
}

h3.update {
	display: inline-block;
}

b {
	font-weight: var(--fw-b);
}

p {
	margin-bottom: 1.25rem;
}

p.update {
	margin-bottom: 0;
	color: var(--clr-accent);
	font-size: 0.9rem;
	display: inline-block;
	padding-left: 2rem;
}

em {
	color: var(--clr-accent);
	font-style: italic;
}

.hero {
	background-color: var(--clr-primary);
	color: var(--clr-text-primary);
	padding: 2rem;
	/* text-align: center; */
}

.hero h1 {
	margin-top: 0;
	font-size: 1.75rem;
	color: var(--clr-surface);
}

.hero h2 {
	color: var(--clr-border);
}

.container {
	max-width: 1000px;
	margin: 2rem auto;
	padding: 0 1rem;
}

.card {
	background-color: var(--clr-surface);
	border: 1px solid var(--clr-border);
	border-radius: 10px;
	padding: 1rem 1.5rem;
	margin-bottom: 1.5rem;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* ======================  BEGIN  NAVIGATION BAR ==================== */

.navlogo {
	display: flex;
	align-items: flex-start;
}

.navlogo img {
	min-height: 31px;
	min-width: 116px;
	/* border: solid red 1px ; */
	justify-content: flex-start;
}

nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	flex-grow: 1;
}

nav a {
	color: var(--color-text);
	/* text-transform: uppercase; */
	text-decoration: none;
	margin: 0.5rem 1rem;
	font-weight: bold;
}

nav a:hover {
	color: var(--clr-primary);
}

.nav__list {
	list-style-type: none;
	display: flex;
}

.nav__item {
	color: var(--clr-);
	/* font-weight: ; */
}

.nav__item + .nav__item {
	margin-left: 0.5em;
}

.nav__list--center {
	margin: 0 auto;
}

.nav__list--right {
	justify-content: flex-end;
	margin-left: 1em;
}

.nav__link {
	text-decoration: none;
	text-transform: uppercase;
	color: var(--clr-text-white);
}
.nav__link--btn {
	background-color: var(--clr-accent);
	color: var(--clr-bg);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	padding: 0.5em 1.25em;
	border-radius: 10em;
}

.btn {
	/* display: inline-block; */
	background-color: var(--clr-accent);
	color: var(--clr-bg);
	padding: 0.5rem 1.25rem;
	text-decoration: none;
	border-radius: 5px;
	margin-top: 0.5rem;
}

.btn:hover,
.btn:focus,
.nav__link:hover {
	opacity: 0.75;
	color: var(--clr-text-primary);
}

li {
	line-height: 1.6rem;
}

ul {
	padding-left: 2em;
}

ul li {
	margin-bottom: 1rem;
}

ul li::marker {
	color: var(--clr-secondary);
	font-size: 1.25rem;
}

ol {
	/* font-weight: var(--fw-n); */
	/* text-wrap: balance; */
	line-height: 1.9rem;
	margin-top: 1.25rem;
	padding-left: 2em;
	margin-bottom: 0.5em;
}

ol li {
	margin-bottom: 1rem;
	padding-right: 0.5rem;
	padding-left: 0.5rem;
	margin-left: 0.5rem;
	text-align: left;
}

ol li::marker {
	color: var(--clr-secondary);
}
/* ====================== END NAVIGATION BAR ======================== */

/* ======================== TABLE DESIGN ========================== */
table {
	width: 100%;
	border-spacing: 0;
	margin: 1rem 0;
	background-color: var(--clr-surface);
	/* font-family: var(--ff--table); */
	font-size: 0.95rem;
	font-weight: 300;
}

caption {
	font-size: 1.25em;
	font-weight: var(--fw-m);
	margin-bottom: 0.5em;
	text-align: left;
}

th,
td {
	padding: 1rem 1rem 0 0;
	margin-bottom: 0;
	text-wrap: balance;
	/* border: 1px solid white;
  border-collapse: collapse; */
}

caption {
	padding: 0.25rem 2rem 0.25rem 1rem;
	color: var(--clr-secondary);
	text-align: center;
	font-weight: var(--fw-400);
	text-decoration: underline;
	font-style: italic;
}

th {
	color: var(--clr-secondary);
	/* font-size: 0.9rem; */
	text-align: left;
	font-weight: 400;
	padding-top: 0rem;
	padding-bottom: 2px;
}

td {
	color: var(--clr-text-white);
	/* border: 1px solid yellow; */
	text-align: left;
	padding-bottom: 1rem;
}

tr:nth-of-type(even) {
	background-color: hsl(from var(--clr-surface) h s calc(l + 15));
	/* background-color: var(--clr-primary); */
}

th,
td {
	min-width: 10ch;
	padding-left: 0.5rem;
	/* border: 1px solid green; */
}

/* Center the 2 - 5 column headers */
/* th:nth-of-type(n + 2):not(:nth-of-type(n + 6)) { */
/* border: 1px solid red; */
/* text-align: left; */
/* } */

/* td:nth-of-type(n + 4):not(:nth-of-type(n + 6)) { */
/* text-align: center; */
/* border: 1px solid green; */
/* } */

/* ==================== END TABLE DESIGN ========================== */

/* ======================== RULES DESIGN ========================== */

.rules__double-indent {
	list-style-type: upper-alpha;
	margin-bottom: 1rem;
	margin-top: 1rem;
}
/* ========================END RULES DESIGN ========================== */

.highlight-text {
	font-size: 1rem;
	font-weight: var(--fw-b);
	color: var(--clr-secondary);
	display: inline;
}

.row {
	display: flex;
	justify-content: space-between;
	/* align-items: flex-start; */
}

.column {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.links a {
	color: var(--clr-text-primary);
	text-decoration: none;
	font-size: 1.15rem;
	margin-left: 4rem;
	margin-bottom: 0.5rem;
	display: block;
}

.card__indent {
	font-size: 1.15rem;
	margin-left: 4rem;
	margin-bottom: 0.5rem;
	font-style: italic;
	font-weight: bold;
}

.location a {
	color: var(--clr-sched-loc);
}

.card a:hover {
	color: var(--clr-accent);
}

.card h2 {
	margin-left: 2rem;
	margin-bottom: 0.5rem;
}

.intro {
	line-height: 1.8em;
}

.intro__img {
	box-shadow: var(--shadow-elevation);
	border-radius: 1em;
	float: right;
	margin-right: 1em;
}

.intro__img-container {
	width: 50%;
}

.intro__text {
	width: 58%;
	margin-left: 2rem;
}

.link__text {
	width: 100%;
	text-align: center;
}

.what-is {
	width: 58%;
}

.what-is__text {
	margin-bottom: 2.5rem;
}

.schedule,
.call-to-action {
	background-color: var(--clr-border);
	color: var(--clr-text-primary);
}

.schedule {
	font-size: 14.5px;
}

.call-to-action {
	padding: 1rem;
}

.rules {
	padding-left: 1em;
}

.list {
	display: flex;
	flex-direction: column;
	row-gap: 0.25rem;
}

.shadowbox {
	box-shadow: var(--shadow-elevation);
}

footer {
	text-align: center;
	padding: 1rem;
	border-top: 1px solid var(--color-border);
	font-size: 0.9rem;
	color: var(--color-text-secondary);
}
