/* Document Setup Start */

*, ::before, ::after {
	background-repeat: no-repeat;
	box-sizing: inherit;
}
html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box;
}

/* Create Grid & Main Style */

body {
    margin: 0;
    font: 16px/1.5 sans-serif;
	font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, p, ol, ul {
    margin: 0;
    padding: 0;
}

main, li, figcaption, figure, article, aside, footer, header, nav, section {
    display: block;
}

h1, h2, h3, h4 {
    font-size: inherit;
		text-transform: uppercase;
}

b, strong {
    font-weight: bold;
}

a, button {
    color: inherit;
    transition: .3s;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
}

/* Document Setup End */

/* Header & Nav Bar Start */

.siteTitle {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border: 3px solid #f4f6fe;
	color: #f4f6fe;
	padding: 40px;
}

header {
  width: 100%;
  height: 100vh;
  background-image: url(./james_webb_space.jpeg);
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  position: relative;
  grid-area: hdr;
}

header::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-image: linear-gradient(to bottom right,#0f1a32,#040813);
	opacity: .6;
}

nav {
  grid-area: nav;
  position: sticky;
  background-color: #ffffff;
  width: 100%;
  top: 0;
  height: 50px;
  align-self: center;
  padding: 0 10vw;
  z-index: 1;
  /* color: #f4f6fe; Delete Later*/
  color: #3f5183;
}

nav ul {
	display: flex;
	justify-content: space-between;
}

#check {
	display: none;
}

.checkbtn {
	display: none;
}

/* Header & Nav Bar End */

/* About Me Start */

.aboutMe {
  grid-area: abt;
	min-height: 250px;
  padding: 50px 10vw;
  margin: 25px 100px;
  font-size: 20px;
	background-color: #ffffff;
	color: #3f5183;
	text-align: center;
}

.aboutMe p {
	max-width: 1200px;
}

.aboutMe img {
  height: 150px;
  width: 150px;
  margin: 15px;
  border-radius: 50%;
}

/* About Me End */

/* Skills Start */
.skills {
  grid-area: skl;
  padding: 50px 10vw;
	background-color: #ffffff;
	color: #3f5183;
}
.skills ul {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.skill_icon {
	height: 95px;
	width: 95px;
}

.skill_icon span {
	text-align: center;
}

/* .skills, .socialLinks {
		padding: 50px 10vw 50px 0;
	  }
	  .socialLinks ul, .skills ul {
		  display: flex;
		  flex-direction: column;
	  } */

/* Skills End */

.portfolio {
  grid-area: ptf;
	min-height: 250px;
  padding: 50px 10vw;
	/* background-color: #0f1a32; */
	/* color: #c4cce8; */
	color: #0f1a32;
}

.contactForm {
  grid-area: ctf;
  display: grid;
	min-height: 250px;
  padding: 50px;
  margin: auto;
  /* 10vw */
  background-color: #1b2441;
	/* background-color: #3f5183; */
	color: #c4cce8;
	justify-content: center;
}

.contactForm input {
	border-radius: 10px;
}

#contact input {
	width: 800px;
}

.messageMe {
	height: 100px;
}

.socialLinks {
  grid-area: lks;
	padding: 50px 10vw;
	background-color: #1b2441;
	/* background-color: #3f5183; */
	color: #c4cce8;
}

.socialLinks ul {
	display: flex;
	justify-content: space-between;
}


/* .wrapper {
  display: grid;
  grid-template-areas:
  "nav"
  "hdr"
  "abt"
  "skl"
  "ptf"
  "ctf"
  "lks"
  "ftr";
} */

.portfolioItems {
  list-style: none;
	margin-top: 25px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  grid-gap: 20px;
  width: 100%;
  
  /* display: grid; */
  /* grid-template-columns: repeat(auto-fill,minmax(300px, 1fr)); */
}

.portfolioItems li {
  border: 1px solid #0f1a32;
  border-radius: 5px;
   /* #c4cce8; */
  height: 300px;
  width: 500px;
}

#projects button {
	display: flex;
	margin: 2em;
	margin-left: auto;
	margin-right: auto;
}

/* @media (min-width: 750px) {
  .wrapper {
    grid-template-columns: 3fr 1fr;
    grid-template-areas:
      "nav nav"
      "hdr hdr"
      "abt skl"
      "ptf ptf"
      "ctf lks"
      "ftr ftr"
  }
	
	.skills, .socialLinks {
	  padding: 50px 10vw 50px 0;
	}
	.socialLinks ul, .skills ul {
		display: flex;
		flex-direction: column;
	}
} */

/* Specific Element Styles */



/* @media screen and (max-width: 480px) {
	.siteTitle {
		top: 45%;
		left: 50%;
	}
} */

h1 {
	font-size: 40px;
	letter-spacing: 8px;
	word-spacing: 5px;
	padding-bottom: 10px;
	line-height: 1;
	text-align: center;
	font-weight: 700;
}

h2 {
	font-size: 12px;
	letter-spacing: 2px;
	word-spacing: 5px;
	padding-top: 10px;
	text-align: center;
	font-weight: 400;
}

h3 {
	font-size: 30px;
	margin-bottom: 50px;
	word-spacing: 5px;
	letter-spacing: 5px;
	font-weight: 400;
}

h4 {
	font-size: 18px;
	letter-spacing: 5px;
	margin-top: 15px;
	margin-bottom: 50px;
	font-weight: 400;
}

p {
	margin-bottom: 25px;
	text-align: justify;
}

nav li a:link, a:visited {
	padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: 2px;
}

nav li a:hover, a:active {
    background-color: #c4cce8;
   	color: #0f1a32;
	border-color: #c4cce8;
}

.button a {
	padding: 5px 10px;
	margin: 25px 10px 0 0;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 12px;
	letter-spacing: 1px;
}

.light a {
	border: 1px solid #6475ae;
	color: white;
		/* color: #c4cce8; */
	background-color: #6475ae;
	font-size: 20px;
	border-radius: 10px;
}

.light a:hover{
	background-color: rgba(255, 68, 0, 0.658);
	cursor: pointer;
	transition: all 1s ease;
}

.dark a {
	border: 1px solid #c4cce8;
	color: #c4cce8;
		
}

button {
	padding: 10px 10px;
	margin: 25px 10px 0 0;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 10px;
	letter-spacing: 1px;
	word-spacing: 5px;
	border: 1px solid #0f1a32;
	color: #c4cce8;
	background-color: #0f1a32;
	text-transform: uppercase;
	font-size: 20px;
	border-radius: 10px;
}

button:hover{
	background-color: rgba(255, 68, 0, 0.658);
	cursor: pointer;
	transition: all 1s ease;
}

input {
	width: 100%;
	background-color: #c4cce8;
	padding: 10px;
	margin: 3px 0;
	border: 1px solid #6475ae;
	color: #3f5183;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 2px;
	word-spacing: 5px;
}

li img.placeholder {
	width: 100%;
	min-height: 200px;
	height: 100%;
	background-color: #c4cce8;
	min-width: 0px;
	opacity: 1;
}

li p {
	text-align: center;
	color: #3f5183;
	/* color: #c4cce8; */
	padding: 10px;
	font-size: 12px;
	margin-bottom: 0px;
}

.socialLinks li i {
	font-size: 20px;
	vertical-align: middle;
	padding-right: 5px;
}

.socialLinks li a {
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 1px;
	vertical-align: middle;
}

.alignLeft {
	float: left;
	clear: right;
}

.alignRight {
	float: right;
	margin-top: -30px;
}

/* Skills Icons Start */

.skills li {
	margin-bottom: 10px;
}

.skills li i {
	font-size: 45px;
	color: #6475ae;
}

.devicon-html5-plain:hover {
	color: #e54d26;
}

.devicon-css3-plain:hover {
	color: #3d8fc6;
}

.devicon-javascript-plain:hover {
	color: #f0db4f;
}

.devicon-typescript-plain:hover {
	color: #3d8fc6;
}

.devicon-sass-original:hover{
	color: #bf4080;
}

.devicon-react-original:hover {
	color: #087ea4
}

.devicon-less-plain-wordmark:hover {
	color: #1d365d;
}

.devicon-bootstrap-plain:hover{
	color: #712cf9;
}

/* Skills Icons End */

/* Portfolio Items Start */

.cta {
	opacity: 0;
	position: relative;
	top: -50%;
	text-align: center;
}

.portfolioItems li:hover img {
	opacity: 0.2;
}

.portfolioItems li:hover {
	transform: scale(1.05);
}

.portfolioItems li:hover .cta {
	opacity: 1;
}

.cta a {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	background-color: #3f5183;
	color: #c4cce8;
	border-color: #3f5183;
	opacity: 1;
}

.portfolioItems li p {
	margin-top: -70px;
	font-size: 18px;
}

/* Portfolio Items End */

/* footer Start */

footer {
	grid-area: ftr;
	background-color: #0f1a32;
	color: #c4cce8;
	min-height: 30px;
	padding: 30px 10vw;
	font-size: 12px;
}

/* About Me Pg Start */

.aboutMe_pg {
	grid-area: abt;
	min-height: 250px;
	padding: 50px 10vw;
	margin: 25px 100px;
	font-size: 20px;
	background-color: #ffffff;
	color: #3f5183;
	text-align: center;
}
  
.aboutMe_pg p {
	max-width: 1200px;
}
  
.aboutMe_pg img {
	height: 150px;
	width: 150px;
	margin: 15px;
	border-radius: 50%;
}

.fun_facts {
	grid-area: abt;
	min-height: 250px;
	padding: 50px 10vw;
	margin: 25px 100px;
	font-size: 20px;
	color: #3f5183;
	text-align: center;
}
  
/* About Me Pg End */

/* Projects Pg Start */

.project-pg-flex{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-around;
    padding-top: 2.5em;
    padding-bottom: 2.5em;
	text-align: center;
}

#project-pg section {
    /* padding: 1.5em; */
    padding-top: 3em;
	padding-bottom: 3em;
    width: 500px
}

#project-pg section img {
    margin-left: auto;
    margin-right: auto;
    height: 300px;
    width: 100%;
    padding-top: 10px;
	border: 1px solid #0f1a32;
}

#project-pg section img:hover {
    transform: scale(1.1);
}

#project-pg p {
    padding-top: 10px;
}

.project-pg-flex button {
	text-align: center;
}

.galaxy {
    padding-top: 100px;
    /* max-width: 600px; */
}

.galaxy img {
    height: 500px;
    width: 480px;
}

/* Project Pg End */

/* Contact Pg Start */
#contact_pg{
	padding-top: 16em;
	padding-bottom: 16em;
	background-color: #1b2441;
}

/* Contact Pg End */

/* Mobile Settings Start */

@media screen and (max-width: 1500px) {
	.aboutMe{
		margin: 0 0;
	}

	.aboutMe_pg{
		margin: 0 0;
	}

	.fun_facts{
		margin: 0 0;
		padding: 30px 10vw;
	}
}

@media screen and (max-width: 1200px) {
	#contact h3 {
		text-align: center;
	}

	.Contact button {
		display: flex;
		margin-left: auto;
		margin-right: auto;
	}
}

@media screen and (max-width: 830px) {
	#contact input {
		width: 500px;
	}
}


@media screen and (max-width: 768px) {
	nav {
		padding: 10px;
		width: 100%;
	}

	nav .nav-list {
		display: block;
	}

	.nav-list {
		position: fixed;
		width: 100%;
		height: 100vh;
		background: #3671B5;
		top: 50px;
		right: -100%;
		text-align: center;
		transition: all .5s;
	}

	nav li{
		border: none;
	}

	nav ul li{
		display: block;
		color: #ffffff;
		font-size: 40px;
		padding-top: 1.5em;
		padding-bottom: 1em;
		font-weight: bold;
	}

	.checkbtn{
		display: block;
		font-size: 30px;
		float: right;
		z-index: 999;
	}

	#check:checked ~ ul{
		right: 0%;
	}
}

@media screen and (max-width: 795px) {
	.skills h4 {
		text-align: center;
	}

	.skills {
		height: 300px;
	}
		
	.skills ul {
		display: flex;
		flex-wrap: wrap;
		flex-direction: row;
		width: 380px;
		margin-left: auto;
		margin-right: auto;
		flex-direction: row;
		justify-content: center;
	}

	.portfolio h3 {
		text-align: center;
	}

	.prj_heading {
		font-size: 30px;
	}
}

@media all and (max-width: 515px) {
	#contact input {
		width: 300px;
	}
	
}

@media all and (max-width: 515px) {
	#project-pg section img {
		margin-left: auto;
		margin-right: auto;
		height: 250px;
		width: 100%;
		padding-top: 10px;
		border: 1px solid #0f1a32;
	}

	#project-pg section {
		/* padding: 1.5em; */
		padding-top: 2em;
		padding-bottom: 2em;
	}

	#project-pg section img:hover {
		transform: none;
	}

	.prj_heading{
		font-size: 24px;
	}

	.project-pg-flex h3{
		font-size: 20px;
	}
}

@media screen and (max-width: 480px) {
	.siteTitle {
		top: 45%;
		left: 50%;
	}
}
	
@media screen and (max-width: 430px) {		
	.skills {
		padding: 50px 10px;
		background-color: #ffffff;
		color: #3f5183;
		height: fit-content;
	}

	.skills ul {
		display: flex;
		flex-wrap: wrap;
		flex-direction: row;
		width: 280px;
		margin-left: auto;
		margin-right: auto;
		flex-direction: row;
		justify-content: center;
	}

	#project-pg section img{
		height: 200px;
	}

	.prj_heading{
		font-size: 18px;
	}
	

	.project-pg-flex h3{
		font-size: 18px;
	}
}

/* .skills, .socialLinks {
		padding: 50px 10vw 50px 0;
	  }
	  .socialLinks ul, .skills ul {
		  display: flex;
		  flex-wrap: wrap;
		  flex-direction: row;

			.portfolio{
		display: none;
	}
	  } */
/* Mobile Settings End */