/* Font */
@import url(https://fonts.googleapis.com/css?family=Roboto:100,400,700);

/* Text */
h1 { margin: 0 0 1em 0; font-size: 2.8em; font-weight: 700; }
h2 { margin: 0 0 0.5em 0; font-size: 1.6em; font-weight: 700; line-height: 1.1em; }
h3 { margin: 0 0 0.5em 0; font-size: 1.3em; font-weight: 700; }
h4 { margin: 0 0 0.5em 0; font-size: 1em; font-weight: 700; }
p { margin: 0 0 0.5em 0;  font-weight: 400; } 

/* Body */
body { font-family: 'Roboto', sans-serif; font-size: 16px; font-weight: 400; margin: 0; padding: 0; border: 0; }
div.content { width: 90%; max-width: 960px; margin: 0 auto; padding: 2em 0;}
div.content h1 { margin: 0; }

/* About */
.about div.content { padding: 2em 0 0 0; }
.about p { font-size: 1.2em; }

/* Education */
.edu h2 { margin: 1em 0 0.5em 0; }

/* Tables */
.inline-table { display: inline-block; width: 49%; }
.table-layout { width: 100%;  border-spacing: 0; }
.table-layout tr > * { /*padding: 20px 30px;*/ min-width: 85px; max-width: 140px; height: 40px; text-align: center; }
.table-layout th { background-color: #0099cc; color: white; font-weight: 400; font-size: 1.15em; }
.table-layout td { background-color: rgb(238, 238, 238); color: rgb(111, 111, 111); font-size: 0.95em; }

/* Project */
.projects { background-color: #222222; }
/* Project cards*/
.card { display: inline-block; position: relative; width: 32%; height: 400px; background-color: rgb(238, 238, 238); margin: 0 0 20px 8px; overflow: hidden; vertical-align: top; }
.card img { width:100%; }

.card .info { margin: 1em; }
.card .info p { margin: 0; }
.card .info p.overflow { cursor: pointer; }
.card .info .readmore::after { content:" Click to READ MORE"; font-size: 0.5em; font-weight: 400; color: #AAAAAA; white-space: nowrap; cursor: pointer; }

/* Contact - Footer */
section.contact { padding-top: 40px; padding-bottom: 40px; background-color: #0099cc; text-align: center;  }
section.contact h2 { color: #ffffff; }
section.contact a, section.contact p { color: #ffffff; font-size: 0.9em; font-weight: 100; }
section.contact a span { display: inline-block; height: 20px; width: 20px; margin-right: 5px; background-image: url(../img/mail.svg); background-size: contain; vertical-align: top; }

/* Parallax Sections */
section.parallax { height: 400px; background-position: 50% 50%; background-repeat: no-repeat; background-attachment: fixed; background-size: cover; width: 100%; }
section.parallax div > * { margin: 0 auto; color: rgba(255, 255, 255, 0.8); text-align: center; text-shadow: 0 0 10px rgba(0, 0, 0, 0.2); }
section.parallax h1 {  font-size: 4em;  font-weight: 700; text-align: center;  text-transform: uppercase; padding-top: 150px; }
section.parallax p { color: rgba(255, 255, 255, 0.8); }
/* Images */
section.parallax-1 { background-image: url("../img/prg.jpg"); }
section.parallax-2 { background-image: url("../img/gmg.jpg"); }

/* Nav */
.fixed-navbar { position: fixed; top: 0; left: 0; z-index: 1000; width: 100%; height: 50px; background-color: #0099cc; overflow: hidden; }
/*.fixed-navbar li, .fixed-nav-bar a { margin: 0; height: 50px; line-height: 50px; }*/

.menu { width: 90%; max-width: 960px; margin: 0 auto; }
.menu .logo { background-image: url(../img/MyLogo-White.svg); margin: 0 20px; display: inline-block; width: 50px; height: 50px; }
/*.menu a, .menu a:visited { text-decoration: none; font-size: 1.2em; color: #ffffff; }*/
.menu span.mobile { z-index: 1001; width: 32px; height: 32px; background: url(../img/mobmenu.svg) no-repeat 0 0; background-size: contain; position: absolute; top:9px; right: 10%; margin-left: -16px; display: none; }

.menu-items { margin: 0 auto; padding-left: 40px; display: inline-block; line-height: 50px; vertical-align: top; }
.menu-items li { display: inline-block; padding: 0; text-align: left;}
.menu-items a { text-decoration: none; text-align: center; font-weight: 100; font-size: 1.0em; padding: 16px; }
.menu-items a, .menu-items a:visited { color: #ffffff; }
.menu-items a:hover { color: #ebebeb; }

@media screen and (max-width: 960px)
{
	.card { width: 48%; }
}

@media screen and (max-width: 625px)
{
	/* Nav */
	.menu span.mobile { cursor: pointer; display: inline-block; }

	.menu-items { padding-left: 0; width: 100%; }
	.menu-items li { display: block; padding: 8% 0; text-align: center; } 
	.menu-items a { font-size: 2.0em; padding: 8% }

	/* Images */
	section.parallax-1 { background-image: url("../img/prg-m.jpg"); }
	section.parallax-2 { background-image: url("../img/gmg-m.jpg"); }

	/* Projects */
	.card .info .readmore::after { content:" Tap for more"; }

	/* Tables */
	.inline-table { display: block; width: 100%; }
	.table-layout { margin-bottom: 1.5em; }
}

@media screen and (max-width: 575px)
{
	section.parallax { height: 400px; background-position: 50% 50%; background-repeat: no-repeat; background-attachment: scroll; background-size: length; width: 100%; }
	.card { width: 100%; height: auto; margin: 0 0 20px 0;}
	.card .info .readmore::after { content:""; }
}