@charset "utf-8";
*{
	margin: 0px;
	padding: 0px;
	box-sizing: border-box;
}

body{
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	background:  #000208; 
	color: white; 
}

h2 {
	font-family: "lemon_milkregular", sans-serif;
	text-transform: uppercase;
}

nav{
	width: 100%;
	padding: 1%; 
	background:  #00041b;
	/* border-bottom: #FF0308 1px solid; */
	margin-bottom: 2rem; 
	
	display: flex;
	align-items: center; 
	justify-content: space-between;
}
.nav-links {
	list-style: none; 
	display: flex; 
	gap: 10rem; 
	flex-grow: 1;
	justify-content: center;
	
	padding: 10px;
}
.nav-links li a{
	position: relative; 
	font-size: 1.1rem;
	font-weight: 500;
	text-decoration: none;
	color: #C0C1D8 ;
}
.nav-links li a:hover {
	color: #4f7fff;
	text-shadow: 0 0 15px #ffffff88, 0 0 10px #006aff; /* 88 at the end is an opacity channel, 88 out of ff (hex)  */
	
}

.blueSquare{ 
	
	background-color: #000000;
}

main {
	max-width: 150ch;
	margin: auto;
	padding: 1em;
	
}


/* ----------------------------------------------------------------------------- */


main ul.projects {
	list-style-type: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6em;
}

main ul.projects > li {
	margin: 2px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2em;
}

main ul.projects > li > div {
	font-size: 1.4em;
}


main ul.projects > li:nth-child(2n) > aside {  /* Select every other project, to make them swap order back & forth */
	grid-column: 2;
}

main ul.projects > li:nth-child(2n) > div {  /* Select every other project, to make them swap order back & forth */
	grid-column: 1;
	grid-row: 1;
}


main ul.projects > li aside {
	cursor:pointer;
	background: #00041b;
	background-size: contain;
	border-radius: 1em;
	aspect-ratio: 1;
}

main ul.projects > li aside:hover { /* Block Hover */
	/* background: #4f7fff; */
	box-shadow: 0 0 15px #ffffff88, 0 0 10px #006aff; 
}

main ul.projects > li h3 {
	text-align: center;
	margin-bottom: 1em;
}


/* ----------------------------------------------------------------------------- */


main ul.typeProjects{
	list-style-type: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1em;
}

main ul.typeProjects > li {
	margin: 2px;
	padding: 0;
	grid-row: span 2;
}

main ul.typeProjects > li:nth-child(odd) { /* stops wrapping (grid has auto wrapping)*/
	grid-column: 1
}

main ul.typeProjects > li:nth-child(even) {
	grid-column: 2
}

main ul.typeProjects > li:nth-child(2) { /* Acts like a spacer on top of the first column to make the offset effect, forces content to start on row 2, span 2 */
	grid-row: 2 / span 2;
}


main ul.typeProjects > li > div {
	font-size: 1.4em;
}

main ul.typeProjects > li aside {
	background: #00041b;
	background-size: contain;
	border-radius: 1em;
	aspect-ratio: 1;
}

main ul.typeProjects > li aside:hover { /* Block Hover */
	/* background: #4f7fff; */
	box-shadow: 0 0 15px #ffffff88, 0 0 10px #006aff; 
	
}


main ul.typeProjects > li h3 {
	text-align: center;
	padding-top: 1em;
	padding-bottom: 1em;
	font-family: "lemon_milkregular", sans-serif;
	text-transform: uppercase;
}

main ul.typeProjects > li aside:hover h3, main ul.typeProjects > li aside:hover p  {
	color: rgba(255,255,255, 0.00)  /* swap when populated */
}

main ul.typeProjects > li p {
	text-align: left;
	padding: 1em;
}


/* ----------------------------------------------------------------------------- */


.accordion {
	padding: 3px;
}

details summary::marker {
  display: none;
}

.accordion div {
	display: grid;
	grid-template-rows: auto;
	padding: 20px;
	background-color: #28272e;
	color: aliceblue;
}

.accordion p{
	background-color: #28272e;
	padding: 28px;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	line-height: 23px;
	font-size: 18px;
		
}

.accordion div img{
	width: 100%;
	height: 100%;
	object-fit: contain;
}

details > summary::marker {
  content: "";
}

details > summary{
	cursor:pointer;
	background: #00041b;
	color: aliceblue;
	font-size: 32px;
	padding: 13px;
	padding-left: 28px;
	font-family: "lemon_milkregular", sans-serif;
	text-transform: uppercase;
}

details > summary:hover {
	cursor:pointer;
	background: #2a2fd5;
	color: #000000;
	font-family: "lemon_milkregular", sans-serif;
	text-transform: uppercase;
	text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
	box-shadow: 0 0 15px #ffffff88, 0 0 10px #006aff;
}



/* ----------------------------------------------------------------------------- */

.contact{
	display: grid; 
	grid-template-columns: auto auto;
}

.contact div{
	padding: 20px; 
	margin: 10px; 
	text-align: center;
	background-color: #05032B;
	font-size: 20px; 
}

.contact div a{
	list-style: none;
	text-decoration: none;
}

.contact div:hover{
	cursor:pointer;
	background: #2a2fd5;
	color: #000000;
	font-family: "lemon_milkregular", sans-serif;
	text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
	box-shadow: 0 0 15px #ffffff88, 0 0 10px #006aff;
}


/* ----------------------------------------------------------------------------- */

.resume{
	display: flex;
	justify-content: center;
	transform: scale(0.6);
}

/* ----------------------------------------------------------------------------- */

.footer{
	position: fixed; 
 	bottom: 0;      
 	width: 100%; 
	padding-top:5em;
	background: #00041b;
	z-index: -1;
}


#line {
	position: fixed;
	width: 100vw;
	height: auto;
	z-index: -1;
}
