@import url(https://fonts.googleapis.com/css?family=Indie+Flower);
@import url(https://fonts.googleapis.com/css?family=PT+Sans);
@import url(https://fonts.googleapis.com/css?family=Raleway);

* {
	font-family: 'PT Sans', sans-serif;
}

html,body {
	height: 100%;
	width: 100%;
}

.clickable {
	cursor: pointer;
}

body {
	margin: 0;
	background-color: #ffffff;
	background-image: url(/img/crossword.png);
	background-attachment: fixed;
}

/**
 
 * GENERAL
 
 */

a {
	color: blue;
	text-decoration: none;
}

a:hover {
	color: darkblue;
}

ul {
	list-style-type: none;
}

h1 {
	text-align: center;
}

h3 {
	color: darkblue;
	text-align: center;
}

i {
	font-size: 24px;
	margin: 0 0.2em;
}

.center-block {
	margin: 0 auto;
}

.center { 
	margin-left: auto;
	margin-right: auto;
}

.center-text {
	text-align: center;
}

.section, .section2 {
	padding: 5% 0;
	min-height: 100%;
	width: 100%;
	position: relative;
	display: flex;
  align-items: center;
  box-sizing: border-box;
}

.section2 {
	/*box-shadow: 0px 0px 13px 4px rgba(0,0,0,0.52);
	background-color: rgba(240,240,240,1);*/
  box-shadow: 0px 0px 14px 1px rgba(0,0,0,0.22);
  background-color: rgba(240,240,240,0.3);
}

.section-header {
	font-family: "Indie Flower", sans-serif;
	font-size: 40px;
}

.float-left {
	float: left;
}

.float-right {
	float: right;
}

.clear-float {
	clear: both;
}

/**
 
 * NAV BAR
 
 */

header {
	z-index: 50;
	position: fixed;
	top: 0;
	width: 100%;
	height: auto;
	text-align: center;
	background-color: rgb(240,240,240);
	box-shadow: 0px 0px 13px 4px rgba(0,0,0,0.52);
}

header ul {
	padding-left: 0;
}

header li {
	display: inline-block;
	margin: 0px 15px 0px 15px;
	text-align: center;
	font-size: 20px;
  text-shadow: 0px 2px 2px rgba(0,0,0,0.1);
}

header a {
	font-family: "Indie Flower", sans-serif;
}


/**
 
 * TOP SECTION
 
 */

.profile {
	text-align: center;
}

.my-name {
	font-family: "Poppins", sans-serif;
	font-size: 40px;
}

img.profilePic {
	width: 300px;
	border-radius: 25px;
}

.card-flip {
	/* make sure the height and width match the images placed inside */
	width: 300px;
	height: 336px;
	position: relative;
}

.card-front,
.card-back {
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	backface-visibility: hidden;
	transition: transform 0.5s;
}

.card-back {
	transform: rotateY(180deg);
}

/*takes effect when '.flipped' is added to '.card-flip'*/
.card-flip.flipped .card-front {
	transform: rotateY(180deg);
}

.card-flip.flipped .card-back {
	transform: rotateY(0);
}

.my-doings {
	color: navy;
	font-family: initial;
	font-size: 21px;
}

@media only screen and (max-device-width: 320px), (max-width: 320px) {
	.my-doings {
		text-align: center;
	}
}

/** 
 
 * ABOUT ME SECTION
 
 */

.about-me h1 {
	font-family: "Indie Flower", sans-serif;
	font-size: 28px;
}

.articles {
	clear: both;
	color: black;
	width: 80%;
	text-align: center;
	margin: 0 auto;
}

article {
	width: 80%;
}
.tech-list {
	width: 33%;
	margin-bottom: 12px;
}

.tech-list > div {
	text-align: center;
	font-weight: 800;
}

.tech-list > ul {
	padding-left: 11px;
  /*width: inherit;*/
  margin: 0 auto;
}

.tech-list > ul > li {
	position: relative;
}

.tech-list > ul > li:before {
	position: absolute;
	content: " ";
	width: 0;
	height: 0;
	border: 5px solid transparent;
	border-left: 5px solid black;
	top: 4px;
	left: -10px;
}

/**
 
 * PROJECTS SECTION
 
 */

.projects,
.project {
	width: 100%;
	overflow: hidden;
}

.projects .center-block {
	width: 100%;
}

.projects-wrapper {
	position: relative;
}

.prev-project,
.next-project {
	position: absolute;
	/*width: 5%;*/
	/*float:left;*/
	font-size: 36px;
	top: 50%;
	z-index: 10;
	cursor: pointer;
}

.next-project {
	right: 0;
}

.projects-carousel {
	width: 100%;
	/*float:left;*/
}

.project-name {
	color: darkblue;
}

.project-details {
	/*display: none;*/
	font-family: 'Raleway', sans-serif;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}

.project-details .thumbnail, 
.project-details .description {
	width: 49%;
	display: inline-block;
	vertical-align: middle;
}

.project-details .description {
	padding-left: 1%;
}

.thumbnail {
	max-height: 450px;
	overflow-y: scroll;
}

.project-details img {
	width:100%;
	box-shadow: -1px 2px 5px rgba(0,0,0,0.2);
}

.description > a {
    display: block;
    margin: 12px 0;
}

.tip {
	color: #09A1D0;
}

@media only screen and (max-device-width: 600px), (max-width: 600px) {
	.project-details .thumbnail,
	.project-details .description {
		width: 100%;
		display: block;
	}

	.project-details a {
		display: block;
    text-align: center;
    margin-top: 18px;
	}
}

@media only screen and (max-device-width: 320px), (max-width: 320px) {
	.tech-list {
		width: 100%;
		margin-bottom: 24px;
	}

	.thumbnail {
		max-height: 300px;
	}

	.project-details .description {
		width: 92%;
		margin: 0 auto;
	}
}

/** 
 
 * CONTACT SECTION
 
 */

.contact {
	padding: 0px 0px 48px;
	text-align: center;
	min-height: initial;
}

.contact .section-header {
	font-size: 32px;
}

.contact i {
	font-size: 32px;
}

.email-me-wrapper {
	display: inline-block;
	position: relative;
}

#contact-card {
	position: absolute;
	top: 0px;
	left: -120px;
	background-color: white;
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
	width: 260px;
	padding: 12px;
	text-align: left;
	opacity: 0;
	display: none;
}

.contact-card-header {
	font-size: 16px;
}

.contact-card-header .mdi-close {
	float: right;
	font-size: 20px;
}

.contact-card-form {
	margin-top: 12px;
}

#send-email {
  font-size: 13px;
  border: 2px solid rgba(0,0,0,0.4);
  border-radius: 10px;
  padding: 2px;
  margin-left: 43px;
}