/* #ff1500, #ff9000, #ffdd00, #26cc10, #18c1f5, #0f74f7, #180ff7, #7d08e2, #b312f7, #e312f7 */

@import url('normalize.css');
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,400;0,500;1,400;1,500&family=Nunito:wght@600;700&display=swap');

body {
	overflow-x: hidden;
	overscroll-behavior: none;
	font-family: 'Rubik', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

::selection {
	color: #fff;
	background: #ff1500;
}

#grid-container {
	height: 100%;
	margin: 15px auto;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Nunito', sans-serif;
}

a {
	color: #180ff7;
	text-decoration: none;
}

/* Sections */

header {
	margin-left: 50px;
	margin-bottom: 100px;
}

header img {
	max-height: 80px;
}

footer {
	font-size: 14px;
	text-align: center;
	margin: 50px 25%;
}

/* Nav styles */

nav {
	top: 5%;
	right: 0;
	position: fixed;
	width: 200px;
	height: 80%;
	overflow-y: auto;
	z-index: 100;
	line-height: 175%;
	padding: 10px;
	color: white;
	background-color: #000000b0;
	border-radius: 30px;
	box-shadow: 0px 1px 5px #000000a0;
	transform: translateX(185px);
	transition: all 200ms;
}

nav i {
	font-size: 30px;
	position: absolute;
	transition: all 300ms;
}

nav:hover {
	background-color: #000000e0;
	border-radius: 15px;
	box-shadow: -1px 3px 3px #00000020;
	transform: translateX(25px);
}

nav:hover i {
	opacity: 0;
}

nav a {
	color: #ffffff;
	opacity: 0;
	pointer-events: none;
	margin-left: 30px;
	transition: all 200ms;
}

nav:hover a {
	margin-left: 5px;
	opacity: 70%;
	pointer-events: all;
}

nav:hover a:hover {
	color: #ffffff;
	opacity: 100%;
}

/* Floating card styles */

.floatingCard {
	box-shadow: -3px 4px 3px #00000010, 0px 2px 5px #00000020, 3px 4px 3px #00000010;
	transition: all 200ms;
}

.floatingCard.floatingCardPointer:hover {
	transform: translateY(-8px);
	box-shadow: -3px 6px 5px #00000015, 0px 4px 7px #00000025, 3px 6px 5px #00000015;
}

.floatingCard.floatingCardPointer:active {
	transform: translateY(-16px);
	box-shadow: -3px 8px 7px #00000020, 0px 6px 9px #00000030, 3px 8px 7px #00000020;
}

/* Mobile view */

@media (max-width: 900px) {
	header {
		margin-left: auto;
		margin-bottom: 10px;
	}
	header img {
		width: 100%;
	}
	nav:not(:hover) {
		height: 30px;
	}
	footer {
		margin: 50px auto auto auto;
		padding: 0;
	}
}