@charset "UTF-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css?family=Montserrat|Roboto');

@font-face{
    font-family: 'montserrat-bold';
    src: url(../fonts/montserrat-bold.woff) format('woff'),
		 url(../fonts/montserrat-bold.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face{
    font-family: 'montserrat-regular';
    src: url(../fonts/montserrat-regularwoff) format('woff'),
		 url(../fonts/montserrat-regular.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face{
    font-family: 'montserrat-extralight';
    src: url(../fonts/montserrat-regularwoff) format('woff'),
		 url(../fonts/montserrat-regular.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face{
    font-family: 'Roboto-Bold';
    src: url(../fonts/roboto-bold-webfont.woff2) format('woff2'),
        url(../fonts/roboto-bold-webfont.woff) format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face{
    font-family: 'Roboto-Regular';
    src: url(../fonts/roboto-regular-webfont.woff2) format('woff2'),
        url(../fonts/roboto-regular-webfont.woff) format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #fff;
  font-family: montserrat-bold, montserrat-regular, montserrat-extralight, Roboto-Regular, Roboto-Bold, "Helvetica Neue", Helvetica, Arial, "sans-serif";
  font-size: 14px; 
  overflow: auto;
}

.wrapper{
	width: 100%;
	display: block;
	margin-bottom: 30px;
    background-color: #f2f2f2;
}


h1 {
	font-family: montserrat-bold, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-size: 6em;/*96px/16px*/
	color: #505D68;
	letter-spacing: 3.77px;
	line-height: 106px;
	margin-top: 28px;
	margin-bottom: 0;
}

h2 {
	font-family: Roboto-Regular, sans-serif;
	color: #505D68;
	font-size: 2em;
	line-height: 1.5em;
    letter-spacing: 1.25px;
	margin-top: 24px;
}

h3 {
	font-family: Roboto-Bold, sans-serif;
	color: #B45BC7;
	font-size: 2.25em;
	line-height: 1.5em;
    letter-spacing: 1.25px;
	margin-top: 48px;
}

h4 {
    font-family: Roboto-Bold, sans-serif;
	color: #505D68;
	font-size: 1.25em;
    letter-spacing: 0.7px;
	margin-top: 16px;
}

p{
	font-family: Roboto-Regular, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-size: 1em;
	letter-spacing: 1px;
	color: #505D68;
	margin: 0;
}

nav{
	height: 56px;
	width: 100%;
	background-color: rgba(255,255,255,0);
	top: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	z-index: 10000;
}

.highlight {
	text-decoration: underline;
}

.logo-top {
    content:url(../images/logo-blue-rectangle.svg);
}

nav.sticky{
	position:fixed;
	height:50px;
	width:100%;
	top:0;
	left:0;
	background-color:#FFF;
	box-shadow: 0 0 3px rgba(149,149,149,0.2);
	transition: 0.3s;
	z-index: 10000;
}

nav.sticky .logo-top {
    content:url(../images/logo.svg);
}


ul{
	float:right;
/*	width: 360px;*/
	padding: 0;
	display: inline-block;
	margin-right: 0;
}

li{
	list-style: none;
	padding: 0;
	float: left;
}

li a{
	font-family: montserrat-regular, sans-serif;
	font-weight: 800;
	font-size: 1em;
	letter-spacing: 0.5px;
	text-decoration: none;
	color: #505D68;
	line-height: 22px;
	padding: 0;
	margin-right: 48px;
}

#special-li {
    color: #5ECEFF;
    text-decoration: none;
    transition:400ms ease all;
}

#special-li:hover {
    color: #fff;
    transition:400ms ease all;
}

nav.sticky #special-li {
    color: #6B7278;
    text-decoration: none;
    transition:400ms ease all;
}

nav.sticky #special-li:hover {
/*    color: #268AFF;*/
    color: #0076FF;
}

button {
	width: 126px;
	height: 32px;
	margin-top: 24px;
	margin-right: 18px;
	background-color: #505D68;
	color: white;
	border: none;
}

form {
	width: 584px;
}

label {
	font-size: 1em;
	margin: 24px 0 8px 0;
	display: inline-block;
}

input[type="text"],input[type="email"] {
	width: 610px;
	height: 36px;
	background: #FFFFFF;
	border: 1px solid #C2D1D9;
	border-radius: 3px;
	padding-left: 8px;
	font-size: .9em;
}


input[type="text"]:focus{
	background-color: #f7f7f7;
}

input[type="number"] {
	width: 56px;
	height: 40px;
	background: #FFFFFF;
	border: 1px solid #C2D1D9;
	border-radius: 3px;
	padding-left: 8px;
	font-size: .9em;
	margin-right: 24px;
}

table {
	min-width: 400px;
	margin: 16px 0;
}

th,td,table {
	height: 30px;
	border: 1px solid #C2D1D9;
	border-collapse: collapse;
}

th,td {
	width: 200px;
	color: #505D68;
	letter-spacing: 0.8px;
}

th {
	background-color: #E9EEF1;
}

td {
	text-align: center;
}

footer {
	width: 100%;
	height: 120px;
	background-color: #f2f2f2;
/*	padding: 24px 48px 16px 48px;*/
	margin-top: 24px;
	text-align: center;
	
}

/*---------------- HOME PAGE CSS STYLES ----------------------*/

.banner {
	width: 100%;
	height: 100vh;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
  	-webkit-background-size: cover;
  	-moz-background-size: cover;
	display: inline-block;
}

.intro {
	width: 100%;
    max-width: 700px;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%,-40%);
}

.intro h1 {
	font-family: montserrat-bold,"san-serif";
	max-width: 360px;
	font-size: 6.5em;
	font-weight: 800;
	line-height: 1.2em;
	margin-left: auto;
    margin-right: auto;
/*    color: #98E0FF;*/
    color: #fff;
    text-shadow:1px 1px 8px #98E0FF;
}

.intro p {
    font-family: Roboto-Regular, sans-serif;
/*	font-size: 1.25em;*/
    font-size: 18px;
	margin-top: 16px;
	line-height: 30px;
	text-align: center;
/*    color: #98E0FF;*/
    color:#fff;
/*    text-shadow:1px 1px 5px #98E0FF;*/
}

.intro p:first-of-type {
	margin-top: 24px;
}


#myworks {
	position: absolute;
	top:80%;
	left: 50%;
    -webkit-animation: twinkling 3s infinite ease-in-out;
}
.animated{
    -webkit-animation-duration: 3s;
    animation-duration: 3s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}
@-webkit-keyframes twinkling{
    0%{
        opacity: 0.5;
    }
    
    50%{
        opacity:1;
    }
    
    100%{
        opacity: 0.5;
    }
}
@keyframes twinkling{
    0%{
        opacity: 0.5;
    }
    
    50%{
        opacity:1;
    }
    
    100%{
        opacity: 0.5;
    }
}



/*---------------------This is the sorting nav css--------------*/

.project {
	width: 100%;
    padding: 100px 40px;
	z-index: -1;
}

.sort-by {
    max-width: 1000px;
    display: flex;
    justify-content: space-around;
    margin-left: auto;
    margin-right: auto;
}

.project button {
	font-family:Roboto-Bold, "Helvetica Neue","sans-serif"; 
	letter-spacing: 0.5px;
  	text-decoration:none;
  	background:#fff;
  	color:#A1A8AE;
  	position:relative;
  	padding:0 0.5em;
	margin-bottom: 32px;
  	transition:400ms ease all;
	display: inline-block;
}

.project button:after{
  content:" ";
  position:absolute;
  left:0;
  bottom:0;
  height:3px;
  width:0;
  background: #3C8DFF;
  transition:all 300ms;
}

.project button:hover{
  cursor: pointer;
  color:#505D68;
}

.project button:hover:after {
  width:100%; 
}

.active {
  background:#3C8DFF !important;
  color: white !important;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}


#parent {
	display:grid;
    grid-gap: 40px 20px;
	grid-template: 356px 356px 356px 356px /repeat(2, 1fr);
}

.box {
  border: 1px solid #f6f6f6;
  background:#ccc;
  float: left;
  grid-column: inherit;
  grid-row: inherit;
  text-align: center;
  border-radius: 3px;
  color: #fff;
  position:relative;
  display: block;
  float: left;
  overflow: hidden;
  background-position:center center;
  background-repeat: no-repeat;
  background-size: cover; 
}


.box a{
	text-decoration: none;
}

.text {
	color:#fff;
	text-align:center;
  	padding:24px;
/*
  	transform: translateY(30%); 
	-webkit-transform: translateY(30%);
*/
  	transition: 0.4s;           
	-webkit-transition: 0.4s;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 40px;
}

.text h2, .text p {
  transition: 0.5s; -webkit-transition: 0.5s;
  opacity:0;
}

.box:hover .text{
  transform: translateY(0%); -webkit-transform: translateY(0%);
  background: rgba(255,255,255, 0.85);
  height: 100%;
  cursor: pointer;
}

.text:hover h2, .text:hover p {
	 opacity:1;
}

.spacer {
  clear: both;
  height: 0px;
}



/*----------------- This is footer ----------------*/

footer {
    min-height: 210px;
    padding: 32px 60px 8px 60px;
    text-align: center;
}

footer h2 {
    margin-top: 0;
    margin-bottom: 32px;
}

footer p {
    font-family: Roboto-Regular, sans-serif;
    font-size: 12px;
    color: #A3A3A3;
    letter-spacing: 0.2px;
}

.socialmedia {
    display: flex;
    width: 200px;
    justify-content: space-between;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 48px;
}

.socialmedia a {
    opacity: 0.5;
    transition: all 0.3s ease-in-out;
}

.socialmedia a:hover {
    opacity: 1;
}

/*-------------This is about me page ---------------*/

.about-title {
    font-family: Montserrat-ExtraBold, sans-serif;
    font-size: 4em;
    line-height: 78px;
    margin-top: 80px;
    text-align: center;
}

.about-container {
/*    width: 995px;*/
    width: 85%;
    height: 400px;
    margin: 52px auto 0 auto;
    display: block;
}

.selfie {
    width: 320px;
    height: 398px;
    background-image: url(../images/selfie.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover; 
    float: left;
    margin-right: 72px;
}

.about-content p {
    font-family: Roboto-Regular,sans-serif;
    font-size: 18px;
    line-height: 24px;
}

.middle-content {
    display: flex;
}

.middle-box {
    display: flex;
    margin-top: 64px;
}

.middle-box-content {
    width: 150px;
    margin-left: 18px;
}

.about-bold {
    font-family: Roboto-bold,sans-serif;
    font-size: 20px;
    line-height: 22px;
    margin-top: 0;
    margin-bottom: 10px;
}

.middle-box-content p {
    color: #A1A8AE;
    letter-spacing: 0;
    line-height: 18px;
    font-size: 16px;
}

.interesting-thing {
    margin-top: 4px;
}

.interesting-thing p {
    font-size: 16px;
    color: #A1A8AE;
    letter-spacing: 0;
}


/*-------------------This is the sub-page style ----------------*/

.title {
	width: 100%;
    max-width: 800px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
	text-align: center;
}

.banner {
    background-position:center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed; 
    display: inline-block; 
}


.title h1,.title h2 {
	color: black;
}

.story, .story2 {
	display: block;
	justify-content: center;
	align-content: center;
	padding: 70px 120px;
	clear:both;
}

.story h1, .story p {
	color: white;
}

.story h1 {
	margin-bottom: 56px;
}

.story h3 {
    font-family: Roboto-Bold, sans-serif;
}

.story p , .story2 p {
	font-size: 1.5em;
	line-height: 34px;
}

.explain-text {
    padding: 32px 110px;
}

.explain-text h2 {
    font-family: montserrat-bold, "sans-serif";
    font-size: 48px;
    margin-bottom: 20px;
}

.explain-text p {
    font-family: Roboto-Regular, Arial, "sans-serif" !important;
    letter-spacing: 0.2px;
    font-size: 1.5em;
	line-height: 34px;
    padding: 0 60px;
}

.explain-text button {
    font-family:"Roboto-Bold","sans-serif"; 
    font-size: 18px;
	letter-spacing: 0.5px;
  	text-decoration:none;
  	background:rgba(255,255,255,0.3);
    border: 2px solid #A1A8AE;
    border-radius: 3px;
    min-width: 220px;
  	color:#4a4a4a;
  	padding:0 8px;
    height: 44px;
	margin:60px 0;
  	transition:400ms ease all;
	display: inline-block;
    margin: 32px 60px;
}

.explain-text button:hover {
    background: #4a4a4a;
    color: #fff;
    border: 2px solid #4a4a4a;
    cursor: pointer;
}

.challenge-text {
    font-family: montserrat-bold,"sans-serif" !important;
    color: #FF557F;
/*    max-width: 800px;*/
    font-size: 2.25em !important;
	line-height: 56px !important;
    margin-top: 44px;
    margin-left: auto;
    margin-right: auto;
}


.content {
	display: flex;
	float: left;
	margin-top: 32px;
}

.story-button {
    font-family:"Roboto-Bold","sans-serif"; 
    font-size: 18px;
	letter-spacing: 0.5px;
  	text-decoration:none;
  	background:rgba(255,255,255,0.2);
    border: 2px solid #fff;
    border-radius: 3px;
    max-width: 220px;
  	color:#fff;
  	padding:8px 16px;
    height: 44px;
  	transition:400ms ease all;
	display: inline-block;
    margin-top: 32px;
}

.story-button:hover {
    background:rgba(255,255,255);
    color: #4a4a4a;
    cursor: pointer;
}


.container {
    max-width: 100%;
	margin-top: 0;
    margin-bottom: 16px;
	background:#ccc;
    grid-column: inherit;
    grid-row: inherit;
	background-position:center center;
	background-repeat: no-repeat;
	background-size: cover;
}

#detailbox1, #detailbox2, #detailbox3, #detailbox4, #detailbox5, #detailbox6, #detailbox7 {
	display: grid;
	grid-gap: 16px;
	grid-template-columns: repeat(1, 1fr);
	padding: 16px;
}


/*---------This is the Graphic Page style --------------*/

#graphic-cover {
    background-image: url(../images/graphic.png);
}

#detailbox2 {
	grid-template-rows: 600px 2000px 800px;
}



/*-------- This is the Booklet Page Style----------------*/

#booklet {
    background-image: url(../images/brandingcover.png);
}

#detailbox1 {
	grid-template-rows: 600px 750px 750px 750px 750px 750px;
}

#booklet .title h1, #booklet .title h2 {
    color: white;
    text-shadow: 0 0 40px #343434;
}

/*-------- This is the Icon Page Style----------------*/

#icon {
    background-image:url(../images/icon.png);
}

#detailbox3 {
	grid-template-rows: 1800px 200px;
}


/*----------------- This is the Responsive site Page Style  ----------------------*/

#visitfun {
    background-image:url(../images/responsive-cover-huge1.png);
}

#visitfun h1 {
    color: #fff;
}

#detailbox4 {
	grid-template-rows: 600px 1500px 2250px 2500px 720px;
}

/*-----------  This is the Independent Project site Style  --------------*/

#feel {
    background-image: url(../images/feel-cover.png);
}

#feel .title h1, #feel .title h2 {
    color: #fff;
}

#detailbox5 {
	grid-template-rows: 680px 1100px 2100px 1500px 2550px 2200px;
}


/*---------  This is the Foodie site style--------*/

#foodie {
    background-image: url(../images/foodie-app-cover1.png);
}

#foodie .title {
    text-align: left;
    top: 55%;
    left: 20%;
    transform: translate(-20%,-50%);
}

#foodie .title h2 {
    color: #fff;
}

#detailbox6 {
    grid-template-rows: 640px 300px 380px 666px 380px 666px 580px 350px 1240px 440px 280px 460px 800px 400px 320px 600px 600px 600px 600px 600px;
}

#detailbox6 .story h1, #detailbox6 .story p {
    color: #B8C0C8;
}

.critic-text {
    margin-left: 40px;
    margin-top: 16px;
    border-left: 6px solid #505D68;
}

.critic-text p {
/*    font-style: italic;*/
    opacity: 0.5;
    margin-left: -24px;
    margin-top: 16px;
}

/*-------- This is the gif-container style ----------- */

.gif-container {
    width: 100%;
    padding: 0 110px;
    display: flex;
    justify-content: space-around;
    text-align: center;
    align-items: center;
}

.gif-container h2 {
    margin-top: -140px;
    width:300px;
}

.gif-style {
    box-shadow: 0 0 20px 0 rgba(168,168,168,0.50);
    width: 244px;
    height: 433px;
}

/*---------  This is the iPalmap Dashboard Site style--------*/
#iPalmap {
    background-image: url(../images/iPalmap-cover-huge.png);
}

#iPalmap .title {
    text-align: left;
    top: 55%;
    left: 20%;
    transform: translate(-20%,-50%);
}

#iPalmap .title h1 {
    color: #fff;
    text-shadow: 0 0 40px #343434;
}



#detailbox7 {
    grid-template-rows: 640px 750px 750px 750px 1170px 750px 750px 680px;
} 
 





/*-------- The switch the project button style ------*/

.switch {
    display: flex;
    width: 100%;
    justify-content: space-around;
    text-align: center;
    align-items: center;
}

.switch a:hover {
    cursor: pointer;
}

.switch button {
    font-family:"Roboto-Bold","sans-serif"; 
    font-size: 16px;
	letter-spacing: 0.5px;
  	text-decoration:none;
/*  	background:#fff;*/
    border: 2px solid #DCDCDC;
    border-radius: 3px;
    min-width: 160px;
/*  	color:#A1A8AE;*/
    color: #4a4a4a;
  	padding:0 8px;
    height: 44px;
	margin:100px 0 60px 0;
  	transition:400ms ease all;
	display: inline-block;
}

.switch button {
    background: linear-gradient(to right, #268AFF 50%, #fff 50%) repeat scroll right bottom/200% 100% transparent;
}

.switch button:hover {
    color: #fff;
    border: 2px solid #268AFF;
    cursor: pointer;
    background-position: left bottom;
}

.switch h2 {
    margin-bottom: 16px;
}


/*-------This is footer div styles------- */

.socialmedia li {
	margin:8px 32px 8px 0;
}

.socialmedia li:hover {
	cursor: pointer;
	transform: scale(1.2, 1.2)
}


/*---------Responsive Design-----------*/

@media (max-width:1520px) and (min-width:920px) {
    wrapper {
        display: flex;
        align-items: center;
    }
    
}
   
@media (max-width:920px) and (min-width:320px) {
    #parent {
        display: grid;
        grid-gap: 60px 20px;
        grid-template: 356px 356px 356px 356px 356px 356px 356px /repeat(1, 1fr);
    }
    
    .banner {
        width: 100%;
        height: 700px;
    }
}
    
    
    
    
    
    
    
    
    