:root{
	--savoy-blue: #445db0;
	--savoy-blue-shadow-hsl: hsl(226deg 44.26% 47.84% / 0.3);
	--silver-lake-blue: #5c8cb7;
	--mimi-pink: #f2d0e0;
	--amethyst: #8075ab;
	--deep-pink: #fb3099;
	--deep-pink-shadow-hsl: hsl(329deg 96.21% 58.63% / 0.3);
}

/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
	color: #222;
}

body {
	font-size: 1em;
	line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
	vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
	resize: vertical;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {
	height: 100%;
}

body {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background-color: var(--mimi-pink);
	font-family: "Poppins", serif;
	line-height: 1.5;
}

header {
	z-index: 2;
	position: sticky;
	top: 0;
	background-color: var(--deep-pink);
	padding: 16px;
}

header h1 {
	margin: 0;
	color: #fff;
	font-size: 16px;
}

header h1 a {
	color: #fff;
}

@media (min-width: 960px) {
	header h1 {
		font-size: 24px;
	}
}

.button {
	z-index: 1;
	overflow: hidden;
	display: inline-block;
	position: relative;
	padding: 26px 48px 22px 48px;
	color: #fff;
	font-weight: 700;
	box-shadow:
		1px 2px 2px var(--deep-pink-shadow-hsl),
		2px 4px 4px var(--deep-pink-shadow-hsl),
		3px 6px 6px var(--deep-pink-shadow-hsl);
	background-color: var(--deep-pink);
	transition: box-shadow 0.3s ease;
}

.button span {
	z-index: -1;
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: var(--savoy-blue);
	transition: transform 1s ease;
}

.button span:nth-child(1) {
	top: 0;
	left: -100%;
	transform: skewX(-50deg);
}

.button:hover span:nth-child(1) {
	transform: skewX(-50deg) translateX(100%);
}

.button span:nth-child(2) {
	top: 1px;
	left: -100%;
	transform: skewX(50deg);
}

.button:hover span:nth-child(2) {
	transform: skewX(50deg) translateX(100%);
}

.button span:nth-child(3) {
	top: 1px;
	right: -100%;
	transform: skewX(-50deg);
}

.button:hover span:nth-child(3) {
	transform: skewX(-50deg) translateX(-100%);
}

.button span:nth-child(4) {
	top: 0;
	right: -100%;
	transform: skewX(50deg);
}

.button:hover span:nth-child(4) {
	transform: skewX(50deg) translateX(-100%);
}

.button:hover {
	text-decoration: none;
	box-shadow:
		1px 2px 2px var(--savoy-blue-shadow-hsl),
		2px 4px 4px var(--savoy-blue-shadow-hsl),
		3px 6px 6px var(--savoy-blue-shadow-hsl);
}

.wrapper {
	flex-grow: 1;
	position: relative;
	max-width: 660px;
	margin: 16px auto;
}

nav {
	position: absolute;
	width: 100%;
	min-height: 100vh;
	top: -100vh;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	background-color: #fff;
	opacity: 0;
	transition: all 350ms ease;
}

.nav-toggle {
}

.nav-toggle input {
	display: none;
}

.nav-toggle label {
	position: absolute;
	right: 0;
	top: 0;
	z-index: 2;
	padding: 16px;
	cursor: pointer;
	color: #fff
}

@media (min-width: 960px) {
	.nav-toggle label {
		padding: 24px;
	}
}

.nav-toggle label .close {
	display: none;
}

.nav-toggle input:checked + label {
	color: var(--savoy-blue);
}

.nav-toggle input:checked + label + nav {
	opacity: 1;
	top: 0;
}

.nav-toggle input:checked + label + nav,
.nav-toggle input:checked + label {
	position: fixed;
}

.nav-toggle input:checked + label > .menu-text {
	display: none;
}

.nav-toggle input:checked + label > .close {
	display: block;
}

.menu-text {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

nav a {
	display: block;
	margin: 8px 0 0 0;
	font-size: 1.4em;
	text-decoration: none;
}

nav a:link {
	color: #000;
}

nav a:hover {
	text-decoration: underline;
	color: #444;
}

nav a.active {
	color: var(--savoy-blue);
}

.content {
	padding: 16px;
}

h1 {
	margin: 16px;
}

h2 + p {
	margin-top: -12px;
}

h2 + ul {
	margin-top: -12px;
}

h3 {
	margin-bottom: 0;
}

img {
	max-width: 100%;
	height: auto;
}

p {
	margin: 16px 0 0 0px;
}

ul {
	padding-left: 22px;
}

li {
	margin: 16px 0 0 0;
}

footer {
	background-color: var(--amethyst);
	color: #fff;
	margin: 64px 0 0 0;
	padding: 16px;
	line-height: 2;
}

footer a {
	text-decoration: none;
	margin: 0 12px 0 0;
}

footer a {
	color: #fff;
}

footer a:hover {
	text-decoration: underline;
	color: #444;
}

a {
	color: var(--deep-pink);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

video {
	display: block;
	width: auto;
	margin: 24px auto;
	max-width: 100%;
	max-height: max-content;
}

.video-container {
	max-width: 100%;
	aspect-ratio: 16 / 9;
	position: relative;
}

.video-container iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.cv-item {
	margin-top: 0;
	margin-bottom: 24px;
	font-size: 14px;
}

.cv-item li {
	margin-top: 8px;
}

.cv-item dt strong,
.cv-item dt a {
	display: block;
	font-size: 16px;
	font-weight: 700;
}
@media (min-width: 960px) {
	.cv-item {
		display: flex;
		gap: 16px
	}
	.cv-item dt {
		flex-shrink: 0;
		width: 40%;
	}
	.cv-item ul {
		margin-top: 16px;
	}
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
	background-color: transparent;
	border: 0;
	overflow: hidden;
	/* IE 6/7 fallback */
	*text-indent: -9999px;
}

.ir:before {
	content: "";
	display: block;
	width: 0;
	height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
	display: none !important;
	visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
	visibility: hidden;
}

.u-ta-center {
	text-align: center;
}


/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
	* {
		background: transparent !important;
		color: #000 !important; /* Black prints faster: h5bp.com/s */
		box-shadow: none !important;
		text-shadow: none !important;
	}

	a {
		text-decoration: underline;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}

	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	/*
	 * Don't show links for images, or javascript/internal links
	 */

	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content: "";
	}

	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	thead {
		display: table-header-group; /* h5bp.com/t */
	}

	tr,
	img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	@page {
		margin: 0.5cm;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}
}
