/* Sections */

section {
	min-height: 100vh;
	max-width: 100vw;
	padding-top: 2em;
	padding-bottom: 2em;
	justify-content: center;
	color: var(--main-white);
	background-color: var(--main-dark);
}

section:nth-child(even) {
	background-color: var(--main-mid);
}

.section-header {
	flex-basis: 25%;
	font-size: 2rem;
	font-family: "Roboto", sans-serif;
	text-align: center;
	width: 100%;
	margin-bottom: 1em;
	align-self: center;
	/* grid-area: header; */
}

@media screen and (max-width: 550px) {
	.section {
		padding-top: 0;
	}

	.section-header {
		padding-left: 0.5em;
		padding-right: 0.5em;
	}
}

/* 88                                             88  88                             */
/* 88                                             88  ""                             */
/* 88                                             88                                 */
/* 88           ,adPPYYba,  8b,dPPYba,    ,adPPYb,88  88  8b,dPPYba,    ,adPPYb,d8   */
/* 88           ""     `Y8  88P'   `"8a  a8"    `Y88  88  88P'   `"8a  a8"    `Y88   */
/* 88           ,adPPPPP88  88       88  8b       88  88  88       88  8b       88   */
/* 88           88,    ,88  88       88  "8a,   ,d88  88  88       88  "8a,   ,d88   */
/* 88888888888  `"8bbdP"Y8  88       88   `"8bbdP"Y8  88  88       88   `"YbbdP"Y8   */
/* aa,    ,88   */
/* "Y8bbdP"    */

#landingHero {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding-top: 0px;
	min-height: 100vh;
	width: auto;
	color: var(--main-blue);
	background-color: var(--main-dark);
}

#profile-img {
	max-height: 40vh;
	max-width: 40vh;
	border: 3px solid var(--main-blue);
	border-radius: 50%;
	margin-top: 2em;
}

.hero-text {
	display: flex;
	flex-direction: column;
	justify-content: start;
	text-align: center;
	padding-top: 2em;
	width: 100%;
}

.hero-text > p:first-of-type {
	font-size: 1.3rem;
	font-weight: 600;
}

/*        db         88                                               */
/*       d88b        88                                       ,d      */
/*      d8'`8b       88                                       88      */
/*     d8'  `8b      88,dPPYba,    ,adPPYba,   88       88  MM88MMM   */
/*    d8YaaaaY8b     88P'    "8a  a8"     "8a  88       88    88      */
/*   d8""""""""8b    88       d8  8b       d8  88       88    88      */
/*  d8'        `8b   88b,   ,a8"  "8a,   ,a8"  "8a,   ,a88    88,     */
/* d8'          `8b  8Y"Ybbd8"'    `"YbbdP"'    `"YbbdP'Y8    "Y888   */

#about {
	display: flex;
	flex-wrap: wrap;
	line-height: 1.7;
	align-items: center;
	width: 100%;
}

#bio-container {
	text-align: left;
	height: 75%;
	width: 60%;
	padding: 1.5em 4em 0 4em;
	align-content: center;
	/* grid-area: section-info; */
}

#bio-container p {
	padding: 0.6rem;
}

#download-btn-container {
	border: 1px solid #fff;
	border-radius: 0.5em;
	color: var(--main-white);
	background-color: inherit;
	font-size: 1em;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0.3em;
	width: 15em;
	margin: 2em auto 3em auto;
	box-shadow: 10px 10px 10px 0px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 10px 10px 10px 0px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 10px 10px 10px 0px rgba(0, 0, 0, 0.2);
}

#download-btn-container:hover {
	cursor: pointer;
	box-shadow: 6px 6px 5px 0px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 6px 6px 5px 0px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 6px 6px 5px 0px rgba(0, 0, 0, 0.2);
}

#download-icon {
	margin-top: -0.125em;
	margin-right: 0.6em;
}

#skill-container {
	align-self: center;
	background-color: var(--main-dark);
	border-radius: 0.5em;
	color: #fff;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 2em 3em 2em 0;
	padding: 1em 1em 1em 1em;
	height: 85%;
	width: 30%;
}

#skill-container h3 {
	text-align: center;
	justify-content: center;
	width: 100%;
}

.icon-container {
	background-color: var(--main-white);
	border: 1px solid var(--main-dark);
	border-radius: 0.5em;
	color: #000;
	font-size: 0.8rem;
	margin: 0.3em;
	padding: 0.5em;
	text-align: center;
	width: 28%;
}

.icon-container p:hover {
	color: rgba(0, 0, 0, 0.8);
	cursor: default;
}

.skill-icon {
	width: 4em;
	height: 4em;
}

@media screen and (max-width: 1300px) {
	.icon-container {
		width: 45%;
	}
	.skill-icon {
		width: 3.5em;
		height: 3.5em;
	}
}

@media screen and (max-width: 950px) {
	#bio-container {
		width: 100%;
	}
	#skill-container {
		margin: auto;
		width: 400px;
	}
	#skill-container h2 {
		text-align: center;
		width: 100%;
	}
	.icon-container {
		width: 28%;
	}
}

@media screen and (max-width: 550px) {
	#bio-container {
		margin: 2em auto 0 auto;
		padding: 0 0.8em 0 0.8em !important;
		width: 100%;
	}
	#skill-container {
		width: 95%;
		margin: 1em auto 2em auto;
		padding: 1em auto 1em auto;
	}

	.icon-container {
		width: 25vw;
		height: 35vw;
		font-size: 0.7em;
	}
	.skill-icon {
		width: 15vw;
		height: 15vw;
	}
}

/* 88888888ba                            88                                               */
/* 88      "8b                           ""                            ,d                 */
/* 88      ,8P                                                         88                 */
/* 88aaaaaa8P'  8b,dPPYba,   ,adPPYba,   88   ,adPPYba,   ,adPPYba,  MM88MMM  ,adPPYba,   */
/* 88""""""'    88P'   "Y8  a8"     "8a  88  a8P_____88  a8"     ""    88     I8[    ""   */
/* 88           88          8b       d8  88  8PP"""""""  8b            88      `"Y8ba,    */
/* 88           88          "8a,   ,a8"  88  "8b,   ,aa  "8a,   ,aa    88,    aa    ]8I   */
/* 88           88           `"YbbdP"'   88   `"Ybbd8"'   `"Ybbd8"'    "Y888  `"YbbdP"'   */
/* ,88                                               */
/* 888P"                                               */

#projects {
	text-align: center;
	max-width: 100vw;
}

.project-wrapper {
	width: 100vw;
}

.project {
	display: flex;
	flex-wrap: wrap;
	color: var(--main-dark);
	background-color: var(--main-white);
	text-align: center;
	width: 45em;
	height: auto;
	border: 1px solid #000;
	border-radius: 0.2em;
	padding: 2em 1em;
	margin: 2em auto 2em auto;
	box-shadow: 10px 10px 10px 0px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 10px 10px 10px 0px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 10px 10px 10px 0px rgba(0, 0, 0, 0.2);
}

.project-info {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	width: 40%;
	padding: 0 1em;
}

.project-desc {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	width: 60%;
	padding: 0 1em;
	text-align: left;
}

.tech-list {
	margin-bottom: 0.5em;
}

.js-scroll {
	opacity: 0;
	transition: opacity 1000ms;
}

.js-scroll.scrolled {
	opacity: 1;
}

.scrolled.fade-in-right {
	animation: fade-in-right 1s ease-in-out both;
}

.scrolled.fade-in-bottom {
	animation: fade-in-bottom 500ms ease-in-out both;
}

@keyframes fade-in-right {
	0% {
		transform: translateX(100vw);
		opacity: 0;
	}
	100% {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes fade-in-bottom {
	0% {
		transform: translateY(25vh);
		opacity: 0;
	}
	100% {
		transform: translateY(0);
		opacity: 1;
	}
}

.project-img {
	height: auto;
	width: 100%;
}

.project-header {
	font-size: 1.4rem;
}

.project-links {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
}

.link-container a {
	color: var(--main-blue);
	font-weight: 700;
}

.link-container a:hover {
	color: #0064b5;
}

@media screen and (max-width: 950px) {
	.project {
		width: 90vw;
	}
}

@media screen and (max-width: 800px) {
	.project {
		height: auto;
		width: 80vw;
	}
	.project-img {
		height: auto;
		margin: 1em auto 1em auto;
		max-width: 80%;
	}
	.project-info,
	.project-desc {
		width: 100%;
	}
}

@media screen and (max-width: 550px) {
	.project {
		height: auto;
		width: 90vw;
		margin: 2em auto 2em auto;
		padding: 2em 1em;
	}

	.project-info {
		width: 100%;
	}
	.project-img {
		margin: 1em auto 1em auto;
	}
	.link-container {
		margin: 1em auto;
	}
	.project-desc {
		width: 100%;
	}
}

/*   ,ad8888ba,                                                                       */
/*  d8"'    `"8b                             ,d                               ,d      */
/* d8'                                       88                               88      */
/* 88              ,adPPYba,   8b,dPPYba,  MM88MMM  ,adPPYYba,   ,adPPYba,  MM88MMM   */
/* 88             a8"     "8a  88P'   `"8a   88     ""     `Y8  a8"     ""    88      */
/* Y8,            8b       d8  88       88   88     ,adPPPPP88  8b            88      */
/*  Y8a.    .a8P  "8a,   ,a8"  88       88   88,    88,    ,88  "8a,   ,aa    88,     */
/*   `"Y8888Y"'    `"YbbdP"'   88       88   "Y888  `"8bbdP"Y8   `"Ybbd8"'    "Y888   */

#contact {
	padding: 2rem 0px;
}

.contact-wrapper > p {
	margin: 1rem auto 1rem auto;
	text-align: center;
}

.contact-container {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 500px;
	width: 325px;
	border: 1px solid #000;
	border-radius: 0.3rem;
	color: var(--main-dark);
	background-color: var(--main-white);
	text-align: center;
	padding: 1rem;
	margin: auto;
	box-shadow: 10px 10px 10px 0px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 10px 10px 10px 0px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 10px 10px 10px 0px rgba(0, 0, 0, 0.2);
}

.contact-form {
	display: flex;
	flex-wrap: wrap;
	text-align: left;
}

.contact-form label,
input,
textarea {
	margin: auto;
	width: 90%;
}

.contact-form input {
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: 1px solid var(--main-mid);
	border-radius: 0.2rem;
	height: 1.5rem;
	margin-bottom: 1rem;
}

.contact-form input:focus {
	outline: none;
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: 2px solid var(--main-mid);
}

.contact-form textarea:focus {
	outline: none;
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: 2px solid var(--main-mid);
}

.contact-form textarea {
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: 1px solid var(--main-mid);
	border-radius: 0.2rem;
	height: 3.25rem;
	resize: none;
}

.submit-btn {
	background-color: var(--main-dark);
	color: var(--main-blue);
	cursor: pointer;
	border-radius: 1rem;
	font-size: 1rem;
	margin: 1rem auto;
	height: 2rem;
	width: 60%;
}

.submit-btn:focus {
	outline: none;
}

#spinner {
	color: var(--main-blue);
	margin: 1rem auto;
}

#contact-response {
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
}

#close-form-response {
	position: absolute;
	display: block;
	top: 0.3em;
	left: 0.4em;
	color: var(--main-blue);
	font-size: 2em;
}

#sent-icon {
	font-size: 6em;
	color: var(--main-mid);
	padding-bottom: 2rem;
}

#contact-error {
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
}

#error-icon {
	font-size: 6em;
	color: var(--error-red);
	padding-bottom: 2rem;
}

.hide-content {
	display: none !important;
}

@media screen and(max-width: 550px) {
	.contact-wrapper {
		width: 80%;
	}
}
