* {
	margin: 0;
	padding: 0;
}

/* || Font Management */

@font-face {
	font-family: "header";
	src: url(fonts/header.ttf);
}

@font-face {
	font-family: "body";
	src: url(fonts/body.ttf);
}

h1 {
	font-family: "header";
	font-weight: normal;
}

h2,
h3,
p,
a {
	font-family: "body";
}




/* Variable Declaration and General Tags */

:root {
	--main: #51977D;
	--lightmain: #98CD98;
	--darkmain: #2A3D33;
	--lightaccent: #F7EDB7;
	--accent: #D69360;
}

body {
	background-color: var(--main);
}

a {
	color: var(--lightaccent);
	text-decoration: none;
}

/* Loading Screen */

#loader {
	background: #262626 url(images/loader.gif) no-repeat center center;
	background-size: 50%;
	height: 100%;
	width: 100%;
	position: fixed;
	z-index: 1;
}

/* || Navbar for large screens */

nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
	background-color: var(--darkmain);
}

nav li {
	font-size: 16px;
}

nav .fa {
	display: none;
}

.nav-links {
    flex: 1;
    text-align: right;
}

/* display: inline-block means that the list runs horizontal rather than vertical*/

.nav-links ul li:hover::after {
    width: 100%;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}


.nav-links ul li::after {
    content: "";
    width: 0;
    height: 2px;
    background: var(--lightaccent);
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after {
    width: 100%;
}

#logo {
	padding: 10px 10px 10px 10px;
	grid-column-start: 1;
	max-height: 50px;
	background-color: var(--darkmain);
	transition: 0.5s;
}

#logo:hover {
	max-height: 60px;
	padding: 5px 5px 5px 5px;
}

/* Resume card */

.resume {
	height: calc(100% - 130px);
	aspect-ratio: 2/3;
	padding: 10px;
	margin: 20px auto;
	border-radius: 10px;
	filter: drop-shadow(0 0 5px black);
	background-color: var(--accent);
	display: grid;
	grid-template-columns: 2fr 3fr;
	grid-template-rows: 2fr 3fr;
}

h1 {
	font-size: 20px;
	padding-bottom: 5px;
	margin-bottom: 5px;
	border-bottom: 2px solid;
}

h2 {
	font-size: 16px;
}

h3, h4, p, li {
	font-size: 10px;
	list-style: none;
}
.icons * {
	margin: 5px 2px;
}

#top-left {
	background-color: var(--darkmain);
	grid-row-start: 1;
	grid-column-start: 1;
	width: 100%;
	height: 100%;
}

#top-left * {
	color: var(--lightaccent);
	border-color: var(--lightaccent);
}

#top-right *, #bot-left *, #bot-right * {
	color: var(--darkmain);
	border-color: var(--darkmain);
}

.quarter div {
	width: calc(80%-60px);
	text-align: center;
	padding: 5px 2.5px;
	margin: 0 5px;
}

#top-left li {
	color: var(--lightaccent);
	padding: 3px 0;
}

#top-left .fa {
	color: var(--accent);	
}

#top-right {
	background-color: var(--lightmain);
	grid-row-start: 1;
	grid-column-end: 3;
	width: 100%;
	height: 100%;
}

#bot-left {
	background-color: var(--lightmain);
	grid-row-end: 3;
	grid-column-start: 1;
	width: 100%;
	height: 100%;
}

#bot-left .fa {
	color: var(--darkmain);
}

#bot-left li {
	margin: 0;
	padding: 2px;
	width: calc(100% - 4px);
	display: block;
}

#bot-left h2 {
	padding: 5px;
	margin: 5px;
	border-bottom: 3px solid var(--darkmain);
	border-top: 3px solid var(--darkmain);
}

#bot-left h3, h4 {
	padding: 2.5px;
}

#bot-right {
	background-color: var(--lightaccent);
	grid-row: 2/3;
	grid-column: 2/3;
	width: 100%;
	height: 100%;
}

#bot-right h1{
	color: var(--darkmain);
	border-color: var(--darkmain);
}

#bot-right h2, #bot-right ul {
	text-align: left;
	margin: 5px;
}

#bot-right li {
	margin: 1px;
	list-style-type: disc;
}

#bot-right h2 {
	font-size: 10px;
}

.resume .quarter:hover {
	box-shadow: 0 0 20px 0 black;
	transition: 0.5s;
	transform: translate(-20px, -20px);
	padding: 20px;
	border-radius: 20px;
	
	overflow: visible;
}

.resume .quarter {
	display: flex;
	justify-content: center;
	align-items: center;
}

/* || Accomodations for Screen Sizes & Aspect Ratios */

@media all and (max-width: 1000px) {

    .nav-links ul li {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        background-color: var(--darkmain);
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200;
        text-align: left;
        z-index: 2;
        transition: 1s;
		filter: drop-shadow(0 0 5px black);
    }

    .nav-links ul {
        padding: 30px;
    }

    /* the .fa class (for the nav) is hidden previously but revealed for mobile screen sizes */
    nav .fa {
        display: block;
        color: var(--lightaccent);
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

	.nav-links ul li:hover::after {
		width: 0%;
	}

	.resume {
		width: calc(100% - 100px);
		display: block;
		height: auto;
	}

	.resume .quarter:hover {
		box-shadow: 0 0 20px 0 black;
		transition: 0.5s;
		transform: translate(0px, 0px);
		padding: 0px;
		border-radius: 20px;
		
		overflow: visible;
	}

	.resume .quarter {
		border: 2px solid var(--accent);
	}

	.resume .quarter div{
		margin: 50px;
	}

	h1 {
		font-size: 40px;
		padding-bottom: 10px;
		margin-bottom: 10px;
		border-bottom: 4px solid;
	}
	
	h2 {
		font-size: 32px;
	}
	
	h3, h4, p, li {
		font-size: 20px;
		list-style: none;
	}

	#bot-right h2 {
		font-size: 20px;
	}

	#bot-right {
		background-color: var(--lightmain);
	}
	
	#bot-left {
		background-color: var(--lightaccent);
	}
}