html {
	margin: 0;
	padding: 0;
	
	height: 100%;
	width: 100%;
}

img#jokerneb {
	position: fixed;
	bottom: 0;
	left: 0;
	display: none;
	transform: translateX(-100%);
}

body {
	background: url("stars.png") repeat top center, linear-gradient(#430368, #6900a5, #df08ff) no-repeat;
	background-color: #df08ff;

	margin: 0;
	padding: 0;

	height: 100dvh;
	width: 100%;
	
	display: flex;
	justify-content: center;
	align-items: center;
	
	color: #FFFFFF;
	font-family: 'Inter', Sans-Serif, serif;
	font-weight: 300;
}

main {
	border-radius: 50px;
	border: 1px solid #A142DB;

	display: flex;
	flex-direction: column;

	height: calc(80% + 2px);
	width: calc(40% + 2px);

	max-height: 1002px;

	min-height: 852px;
	min-width: 742px;
	overflow: hidden;
}

header {
	background: radial-gradient(#d3c502, #f69909, #f14d0b);
	border-top-left-radius: 50px;
	border-top-right-radius: 50px;

	display: flex;
	justify-content: center;

	flex: 1;
	min-height: 0;
	width: 100%;
}

header div#headerWrapper {
	text-align: center;
	
	margin-top: 10%;
	
	height: calc(100% - 100px);
	width: 100%;
}

header div#frame {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	
	border: 8px solid #FFFFFF;
	border-radius: 50%;
	
	height: 256px;
	width: 256px;
	
	margin: 0 auto 5% auto;
}

header div#frame div#oink {
    position: absolute;
    bottom: 42px;
    left: 122px;
    height: 10px;
    width: 6px;
}

header div#frame img {
	background-color: rgba(255, 255, 255, .1);
	border: 5px solid rgba(0, 0, 0, 0);
	border-radius: 50%;
	
	height: 240px;
	width: 240px;
}

header h1 {
	font-family: 'Audiowide', cursive;
	font-size: 62px;
	line-height: 78px;
	font-weight: 400;
	text-shadow: 0 0.25rem 1rem rgba(0,0,0,0.75);
}

header p#top {
	letter-spacing: 9.633px;
	font-size: 17px;
	line-height: 28px;
	text-shadow: 0 3px 10px rgb(0, 0, 0, 0.5);
}

header p#bottom {
	letter-spacing: 1.1333px;
	font-size: 22px;
	line-height: 40px;
	text-shadow: 0 3px 10px rgb(0, 0, 0, 0.5);
}

footer {
	background: #FFFFFF;
	border-bottom-left-radius: 50px;
	border-bottom-right-radius: 50px;
	border-top: 3px solid #A142DB;
	
	min-height: 147px;
	width: 100%;
}

footer nav {
	display: flex;
	
	margin: 0 auto;
	padding: 36px 45px;
	
	height: 75px;
	width: calc(100% - 90px);
	max-width: 700px;
}

footer nav a.social {
	display: flex;
	justify-content: center; /* align item horizontally */
	align-items: center; /* align item vertically */
	
	border: 1px solid #A142DB;
	border-radius: 50%;
	
	margin-right: 35px;
	
	height: 73px;
	width: 73px;
	
	cursor: pointer;
	transition: transform .3s ease-in-out;
}

footer nav a.social:hover {
	transform: scale(1.25);
	z-index: 1;
}

footer nav a:focus-visible {
	outline: 3px solid #A142DB;
	outline-offset: 3px;
}

footer nav a.social img {
	height: 50px;
	width: 50px;
	transition: transform .7s ease-in-out;
}

footer nav a#email {
	color: #FFFFFF;
	text-decoration:none;
	
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;

	background-color: #A142DB;
	border-radius: 37.5px;

	height: 75px;
	width: calc(100% - 440px);
	
	cursor: pointer;
	transition: transform .3s ease-in-out;
}

footer nav a#email:hover {
	transform: scale(1.25);
	z-index: 1;
}

footer nav a#email img {
	height: 16px;
	width: 25px;
	transition: transform .7s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
	footer nav a.social,
	footer nav a#email,
	footer nav a.social img,
	footer nav a#email img {
		transition: none;
	}
}

/* Tablet */
@media (max-width: 1023px) {
	body {
		align-items: flex-start;
	}

	main {
		border-radius: 0;
		border: none;

		height: 100%;
		width: 100%;

		min-width: 0;
		min-height: 0;
		max-height: none;
	}

	header {
		border-radius: 0;
	}

	footer {
		border-radius: 0;
	}

	header div#headerWrapper {
		position: relative;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;

		margin-top: 0;
		height: 100%;
	}

	header div#frame {
		position: absolute;
		top: 20px;
		left: 20px;

		height: 100px;
		width: 100px;
		border-width: 5px;
		margin: 0;
	}

	header div#frame div#oink {
		bottom: 16px;
		left: 48px;
	}

	header div#frame img {
		height: 90px;
		width: 90px;
		border-width: 3px;
	}

	header h1 {
		font-size: 52px;
		line-height: 66px;
	}
}

/* Mobile */
@media (max-width: 767px) {
	body {
		align-items: flex-start;
	}

	main {
		border-radius: 0;
		border: none;

		height: 100%;
		width: 100%;

		min-height: 0;
		min-width: 0;
		max-height: none;
	}

	header {
		border-radius: 0;
	}

	header div#headerWrapper {
		margin-top: 0;
		padding-top: 24px;
	}

	header div#frame {
		position: static;
		height: 180px;
		width: 180px;
		border-width: 6px;
		margin: 0 auto;
	}

	header div#frame div#oink {
		bottom: 30px;
		left: 86px;
	}

	header div#frame img {
		height: 168px;
		width: 168px;
	}

	header h1 {
		font-size: 38px;
		line-height: 48px;
	}

	header p#top {
		letter-spacing: 5px;
		font-size: 13px;
		line-height: 22px;
	}

	header p#bottom {
		font-size: 16px;
		line-height: 30px;
	}

	footer {
		border-radius: 0;
		height: auto;
	}

	footer nav {
		flex-wrap: wrap;
		justify-content: center;
		gap: 16px;

		height: auto;
		width: auto;
		max-width: none;

		padding: 24px 20px;
	}

	footer nav a.social {
		height: 56px;
		width: 56px;
		margin-right: 0;
	}

	footer nav a.social img {
		height: 36px;
		width: 36px;
	}

	footer nav a#email {
		width: 100%;
		height: 56px;
	}
}