@import url(https://fonts.googleapis.com/css?family=Lato:100,300);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,600);
@import url(https://fonts.googleapis.com/css?family=Oswald);

.close-button {
	background: none;
	border: none;
	height: 40px;
	position: absolute;
	right: 5px;
	top: 5px;
	width: 40px;
}

.close-button:after,
.close-button:before {
	background-color: #333;
	content: "";
	height: 25px;
	position: absolute;
	top: 0;
	width: 2px;
}

.close-button:before {
	transform: rotate(45deg);
}

.close-button:after {
	transform: rotate(-45deg);
}

.close-button:focus,
.link:focus,
.submit-button:focus {
	outline: solid #4cc1d9;
}

.contact-icons-container {
	background-color: rgba(255, 255, 255, .5);
	display: flex;
	justify-content: space-around;
	padding: .7rem 0;
}

.contact-icons-container > .contact-list-item {
	font-size: 1.3em;
	list-style: none;
}

.container {
	margin: 0 10%;
}

.form-group {
	border: none;
	color: #FFF;
	position: relative;
}

.form-group > .button-container {
	display: inline-block;
	margin-left: 17%;
	text-align: right;
	width: 73%;
}

.form-group > .form-input-text {
	padding: 2%;
	width: 68%;
}

.form-group > .form-input-textarea {
	height: 100px;
	padding: 2%;
	width: 68%;
}

.form-group > .form-label {
	display: inline-block;
	margin-right: 2%;
	text-align: right;
	width: 15%;
}

.form-input-text:focus,
.form-input-textarea:focus {
	outline: 2px solid #4CD964;
}

.h1 {
	font-family: Oswald, Sans-Serif;
	font-size: 3.3em;
	margin: 0;
}

.h2,
.h3,
.h4 {
	color: #4CD964;
	font-family: Lato, Sans-Serif;
	font-weight: 300;
	text-transform: uppercase;
}

.h2 {
	font-size: 2em;
	text-align: center;
	letter-spacing: 5px;
}

.h3 {
	color: #FFFFFF;
	font-size: 1.5em;
	font-weight: 100;
	margin-bottom: 0;
}

.h4 {
	font-size: 1.2em;
	margin: .5em 0 0 0;
}

.hidden {
	display: none;
}

.link {
	color: #4CD964;
	text-decoration: none;
}

.mobile-hide {
	display: initial;
}

.mobile-show {
	display: none;
}

.modal-background {
	background: rgba(0, 0, 0, .7);
	cursor: pointer;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	z-index: 2;
}

.nav-link {
	font-family: Oswald, Sans-Serif;
	font-size: 1.3em;
	letter-spacing: .5px;
	list-style: none;
	position: relative;
	text-decoration: none;
	text-transform: uppercase;
}

.nav-link > .link:hover {
	color: #80F20D;
}

.nav-link > .link:after {
  background: #80F20D;
	content: "";
  bottom: -8px;
  height: 3px;
  left: -25%;
  position: absolute;
	opacity: 0;
	width: 150%;
}

.nav-link:hover > .link:after {
	opacity: 1;
}

.paragraph {
	color: #FFFFFF;
	font-family: Open Sans, Sans-Serif;
	font-size: 1em;
	text-align: justify;
}

.project-description > .paragraph {
	margin: 0;
}

.project-image {
	box-shadow: 4px 4px 5px 0px rgba(50, 50, 50, 0.3);
	width: 100%;
}

.radio-button {
	position: relative;
}

.radio-button:checked:before {
	background: #4CD964;
	border: 1px solid white;
	border-radius: 6px;
	content: "";
	height: 11px;
	position: absolute;
	width: 11px;
}

.radio-button-container > .form-label,
.radio-button-container > .radio-button {
	cursor: pointer;
}

.radio-group {
	display: inline-flex;
	width: 72%;
}

.radio-group > .radio-button-container {
	flex-basis: 25%;
	text-align: left;
}

.required-field {
	color: red;
}

.skills-name {
	white-space: nowrap;
	padding-right: .3rem;
}

.skills-score {
	width: 100%;
}

.skills-score > div {
	background-color: #4CD964;
	min-height: .6em;
}

.skills-score > div:hover {
	background-color: #4CE964;
}

.social-icons {
	height: 2.5em;
	top: 0;
	position: relative;
	transition: top 0.3s ease-in;
	vertical-align: middle;
}

.social-icons:hover {
	top: -0.5em;
}

.stop-body-scroll {
	overflow: hidden;
}

.submit-button {
	background: #4CD964;
	font-family: Open Sans, Sans-Serif;
	font-weight: 600;
	padding: 1rem 5rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.submit-button:focus,
.submit-button:hover {
	background: #4CE964;
}

.table {
	color: #FFFFFF;
	font-family: Open Sans, Sans-Serif;
}

.tagline {
	color: #000000;
	display: flex;
	font-size: 1.4em;
	justify-content: space-between;
	letter-spacing: normal;
	margin: 0 auto;
}

/* ID Selectors */

#about-me {
	align-items: flex-start;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

#about-me > .article {
	width: 100%;
}

#about-me > .article > .h3 {
	font-size: 1.5em;
	margin-top: 0;
}

#bio {
	flex-basis: 35%;
}

#body {
	background-color: rgba(0, 0, 0, .7);
}

#confirmation-modal {
	background: linear-gradient(
		rgba(255, 255, 255, .5),
		rgba(255, 255, 255, .5)
	), url(../images/brickwall.png);
	border-radius: 5px;
	height: 35%;
	left: 50%;
	padding: 5%;
	position: fixed;
	top: 50%;
  transform: translate(-50%, -50%);
	width: 45%;
	z-index: 2;
}

#confirmation-modal .h2 {
	color: #000;
	letter-spacing: normal;
	line-height: 1;
	text-transform: none;
}

#confirmation-modal .paragraph {
	color: #000;
	text-align: center;
}

#contact-form {
	border: 5px double rgba(250, 250, 250, .1);
	font-family: Open Sans, Sans-Serif;
	padding: 2rem;
}

#contact-icons > .contact-icons-container {
	padding: .7rem 25%;
}

#footer-text {
	color: #FFFFFF;
	text-align: center;
	font-family: Lato, Sans-Serif;
	font-weight: 100;
	padding: 1rem;
}

#header {
	background-image: url(../images/brickwall.png);
	display: flex;
	justify-content: center;
	padding: 1rem 0;
	text-align: center;
}

#header-left {
	align-items: center;
	display: flex;
	justify-content: center;
	margin-right: 2rem;
	perspective: 15rem;
}

#main-photo {
	background-image: url(../images/marco-pretell-vazquez.jpg);
	background-size: cover;
	border-bottom-right-radius: 110px;
	border-top-left-radius: 110px;
	box-shadow: 4px 4px 5px 0px rgba(50, 50, 50, 0.3);
  height: 11rem;
	transition: transform 2s ease-out;
	width: 9rem;
}

#main-photo:hover {
	-webkit-transform: rotate3d(.8, -1, 0, 720deg);
	-ms-transform: rotate3d(.8, -1, 0, 720deg);
	transform: rotate3d(.8, -1, 0, 720deg);
}

#nav-bar {
	background-image: url(../images/brickwall.png);
	position: sticky;
	top: 0;
	width: 100%;
	z-index: 1;
}

#nav-links {
	background-color: rgba(255, 255, 255, .5);
	box-shadow: 0px 3px 5px 0px rgba(50, 50, 50, 0.75);
	display: flex;
	justify-content: space-between;
	margin: 0;
	padding: .5rem 10%;
}

#project-list {
	align-items: flex-start;
	display: flex;
	justify-content: space-between;
}

#project-list > .article {
	display: flex;
	flex-basis: 32%;
	flex-direction: column;
}

#relevant-skills {
	flex-basis: 29%;
}

#relevant-skills-tables > .table:first-child > tbody > tr:first-child > td > .h4,
.article > hr + .paragraph:first-of-type,
.article > .table > tbody > tr:first-child > td > .h4 {
	margin-top: 0;
}

#tech-skills {
	flex-basis: 32%;
}

/*Start Responsive Design*/

@media (max-width: 1024px) {
	.article {
		margin-bottom: 2rem;
	}

	.container {
		margin: 0 5%;
	}

	.social-icons:hover {
		top: 0;
	}

	.tagline {
		font-size: 1.2em;
	}

	#bio,
	#tech-skills {
		flex-basis: 49%;
	}

	#nav-links {
		padding: .5rem 5%;
	}

	#relevant-skills {
		flex-basis: auto;
	}

	#relevant-skills-tables {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	#relevant-skills-tables > .table {
		flex-basis: 49%;
		width: 49%;
	}

	#relevant-skills-tables > .table > tbody > tr:first-child > td > .h4 {
		margin-top: 0;
	}
}

@media (max-width: 768px) {
	.h1 {
		font-size: 2.1rem;
	}

	.form-group > .form-label {
		display: block;
		margin-bottom: .5rem;
		text-align: left;
		width: auto;
	}

	.form-group > .button-container {
		margin-top: 1rem;
		margin-left: 0;
		width: 100%;
	}

	.form-group > .form-input-textarea,
	.form-group > .form-input-text {
		width: 95%;
	}

	.mobile-hide {
		display: none;
	}

	.mobile-show {
		display: inherit;
	}

	.nav-link {
	  font-size: 1rem;
	}

	.nav-link > a:after {
		content: none;
	}

	.project-description {
		order: -1;
	}

	.project-description > .h3 {
		margin-top: 0;
		padding: 1rem 0 0 1rem;
	}

	.project-description > .paragraph {
		padding: 1rem;
		padding-top: 0;
	}

	.radio-group {
		position: absolute;
	  top: 6px;
		left: 100px;
	}

	.radio-group > .radio-button-container {
		flex-basis: 50%;
		text-align: center;
	}

	.submit-button {
		width: 100%;
	}

	.tagline {
		font-size: 1.5em;
		justify-content: center;
    letter-spacing: 2px;
	}

	/* ID Selectors */

	#about-me,
	#header,
	#project-list {
		flex-direction: column;
	}

	#confirmation-modal {
		width: 85%;
	}

	#contact-form {
		padding: 1rem;
	}

	#contact-icons > .contact-icons-container {
		background-color: rgba(0, 0, 0, 0);
		justify-content: space-between;
		padding: 0;
	}

	#contact-icons > .contact-icons-container > li {
		-webkit-filter: invert(.8);
		filter: invert(.8);
	}

	#header-left {
		margin: 0;
	}

	#header {
		padding: 0;
	}

	#main-photo {
		margin: 1em auto;
	}

	#project-list > .article {
		background-color: rgba(250, 250, 250, .1);
		flex-basis: auto;
	}

	#relevant-skills-tables {
		display: block;
	}

	#relevant-skills-tables > .table {
		width: initial;
	}

	#relevant-skills-tables > .table > tbody > tr:first-child > td > .h4 {
		margin-top: .5em;
	}
}

@media (max-width: 425px) {
	.radio-group {
		display: block;
		position: static;
	}

	.radio-group > .radio-button-container {
		margin-left: 1rem;
		text-align: left;
	}

	.radio-group > .radio-button-container:first-child {
		margin: 1rem;
	}
}

@media (min-width: 1025px) {
	#header {
		padding: 1.5rem 0;
	}

	#header-left {
		margin-right: 3rem;
		perspective: 20rem;
	}

	#main-photo {
		border-top-left-radius: 130px;
		border-bottom-right-radius: 130px;
		width: 11rem;
    height: 13rem;
	}

	.h1 {
		line-height: 1;
		font-size: 4em;
	}

	.h2 {
		line-height: 2.5;
	}

	.tagline {
		letter-spacing: .02rem;
	}
}
