@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@600;900&display=swap');

@media screen and (min-width: 1400px) {
	nav ul {
		margin-left: -100px !important;
		width: 1400px;
	}
	
	main h1 {
		margin-left: -8rem !important;
	}
}

@media screen and (min-width: 1200px) {
	html {
		font-size: 11px;
	}
}

@media screen and (max-width: 1199px) {
	html {
		font-size: 0.92vi;
	}
}

html {
	background-attachment: fixed;
	background-color: #1a1a1a;
	background-image: url("html.png");
	font-family: Copperplate, sans-serif;
	height: 100%;
}

body:before {
	background-image: url("./bd7788004c3931c5e47fb363fd7558c5.png");
	background-repeat: no-repeat;
	background-size: 100% auto;
	content: "";
	filter: blur(0.5rem);
	height: 100vh;
	left: 0;
	mask-image: linear-gradient(0deg, black 0%, black 25%, white 75%, white 100%);
	mask-mode: luminance;
	mask-repeat: repeat-x;
	mask-size: 100% 100rem;
	position: fixed;
	top: 0;
	width: 100vw;
	z-index: -1;
}

body {
	align-items: stretch;
	display: flex;
	flex-direction: column;
	margin: 0;
}

body > * {
	margin: auto;
	max-width: 1200px;
	width: 100%;
}

main {
	background-color: white;
	border-radius: 0.5rem;
	box-shadow: 0 0 1rem rgba(0, 0, 0, 0.7);
	flex-grow: 1;
	margin: 3rem auto;
}

nav {
	font-size: 1.3rem;
	position: sticky;
	top: 0;
}

.stickynav nav ul {
	border-radius: 0;
	margin-left: 0 !important;
	width: 100%;
}

.stickynav nav ul .spacer {
	display: none;
}

.stickynav #logo {
	transform: scale(0);
}

nav ul {
	background: linear-gradient(0deg, rgba(111,111,111,1) 0%, rgba(164,164,164,1) 75%, rgba(176,176,176,1) 100%);
	border-radius: 0.3em;
	box-shadow: 0 0 1rem rgba(0, 0, 0, 0.7);
	display: flex;
	list-style-type: none;
	margin: 0;
	font-weight: bold;
	letter-spacing: 0.08em;
	overflow: hidden;
	padding: 0;
	transition: margin .2s ease 0s, width .2s ease 0s;
}

nav ul li {
	flex-basis: 0;
	flex-grow: 1;
	text-align: center;
	transition: background-color .2s ease 0s;
}

nav ul li:not(:first-child) {
	border-left: 1px solid #C0C0C0;
}

nav ul li:hover {
	background-color: rgba(16,135,255,1);
}

nav ul li a {
	background-image: url("bg.png");
	color: white;
	display: block;
	font-size: 1.2em;
	height: 100%;
	padding: 2rem;
	text-decoration: none;
	text-shadow: 0 0 1rem black;
}

header {
	align-items: center;
	display: flex;
	flex-direction: column;
	height: 25rem;
	justify-content: space-between;
}

#title {
	display: flex;
	font-family: 'Raleway';
	font-size: 6rem;
	font-weight: 900;
	justify-content: center;
	margin: 6rem auto 2rem auto;
	width: 100%;
}

#title p {
	flex-basis: 0;
	flex-grow: 1;
	margin: 0 1rem;
	text-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);
}

#craft {
	color: #5c5c5c;
	text-align: right;
}

#together {
	color: #31b6f4;
}

#logo {
	aspect-ratio: 1/1;
	background-image: url("logo.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	margin-bottom: -12rem;
	transition: transform .2s ease 0s;
	width: 20%;
	z-index: 1;
}

#logo a {
	display: block;
	width: 100%;
	height: 100%;
}

#logo:hover {
	transform: scale(1.1, 1.1);
}

main h1 {
	animation: test 1s linear 0s infinite alternate;
	border-radius: 0.5rem;
	box-shadow: 0 0 1rem #B8B8B8;
	display: inline-block;
	font-family: 'Raleway';
	font-size: 4rem;
	font-weight: 600;
	margin: 6rem 6rem 0 8rem;
	padding: 1.5rem 3rem;
	text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
}

main p {
	font-size: 1.8rem;
	letter-spacing: 0.05rem;
	line-height: 2.5rem;
	margin: 6rem;
	text-shadow: 0 1px 1px #E8E8E8;
	word-spacing: 0.4rem;
}

@keyframes test {
	from {
		background: linear-gradient(0deg, rgb(128, 166, 255) 0%, rgb(181, 210, 255) 50%, rgb(226, 235, 255) 100%);
	}
	
	to {
		background: linear-gradient(360deg, rgb(128, 166, 255) 0%, rgb(181, 210, 255) 50%, rgb(226, 235, 255) 100%);
	}
}