/* Main Stylization Area */
html, body {
	margin: 0;
	padding: 0;
	height: auto;
}

main {
	margin-top: 100px;
}

h1 {
	font-family: Main-Font;
	font-size: 26px;
	text-align: center;
}

h2 {
	font-family: Main-Font;
	font-size: 22px;
	text-align: center;
}

p {
	font-family: Texts-Area;
	font-size: 16px;
}

.work-style, .about-style {
	background-color: rgba(0, 0, 0, .5);
	padding: 25px;
	margin: 25px;
	border-radius: 10px;
	color: white;
	overlfow: auto;
}

iframe {
	border-radius: 5px;
	border: none;
	height: auto;
	max-width: 100%;
	aspect-ratio: 16/9;
}

.demo-reel {
	width: 100%;
	max-width: 100%;
}

.work-images {
	border-radius: 10px;
	max-width: 100%;
}

.about-image {
	background-color: rgba(0, 0, 0, .5);
	padding: 25px;
	margin: 25px;
	border-radius: 10px;
	max-width: 75%;
}

.main-content {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

/* Video Area */

.video-background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
}

video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
}

#transitionVideo {
	pointer-events: none;
}

/* Nav Bar Design Area */

header {
	margin-bottom: 100px;
}

.nav-name {
	margin-right: auto;
	margin-left: 8px;
	font-family: Navigation;
	font-size: 18px;
	font-weight: bold;
	color: white;
}

.nav-bar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: rgba(0, 0, 0, .75);
	display: flex;
	align-items: center;
	justify-content: space-between;
	z-index: 1000;
	height: 50px;
}

.nav-links {
	overflow: hidden;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.nav-links li {
	font-family: Navigation;
	font-size: 18px;
}

.nav-bar a {
	color: white;
	text-decoration: none;
	padding: 10px 5px;
	display: flex;
	align-items: center;
	height: 100%;
	transition: background 250ms ease-in-out;
}

.nav-bar a:hover {
	background: rgba(100, 100, 100, .75);
	color: white;
}

/* Fonts Area */

@font-face {
	font-family:Navigation;
	src: url(fonts/Oxanium.ttf);
}

@font-face {
	font-family: Main-Font;
	src: url(fonts/Audiowide.ttf);
}

@font-face {
	font-family: Texts-Area;
	src: url(fonts/Sono.ttf);
}

/* Links */

.work-links {
	color: cyan;
	text-decoration: none;
	padding: 2.5px;
	z-index: 10;
	pointer-events: auto;
}

.work-links:hover {
	color: white;
	padding: 5px;
	background-color: rgba(200, 200, 200, .5);
	border-radius: 5px;
}

.contact-links {
	color: cyan;
	text-decoration: none;
	padding: 2.5px;	
}

.contact-links:hover {
	color: white;
	padding: 2.5px;
	background-color: rgba(200, 200, 200, .5);
	border-radius: 5px;
}

/* Resume Download Area */

.resume-area {
	width: 90%;
	height: 80vh;
	max-width: 100%;
	object-fit: contain;
	padding: 15px;
	border-radius: 10px;
	background-color: rgba(0, 0, 0, .5);
	margin-top: 25px;
	box-sizing: border-box;
}
.download-btn {
	font-family: Main-Font;
	font-size: 18px;
	color: white;
	background-color: rgba(0, 0, 0, .5);
	padding: 12px 30px;
	border: none;
	cursor: poiner;
	text-decoration: none;
	border-radius: 5px;
	transition: background-color 300ms ease;
}

.download-btn:hover {
	background-color: rgba(100, 100, 100, .75);
}

/* Grid Set Up Area For Computers */

@media (min-width: 450px) {
	.grid-work {
		display: grid;
		grid-template-columns: 50% 50%;
	}
}

@media (min-width: 901px) {
	.work-grid {
		display: grid;
		grid-template-columns: 50% 50%;
		grid-gap: 15px;
		justify-items: center;
		align-items: center;
	}

	.about-grid {
		display: grid;
		grid-template-columns: 50% 50%;
	}
}