/* Reset */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0} 
*, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

/* Clearfix */
.clearfix:after {
	content: "";
	display: table;
	clear: both;
}

/* Base */
body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	color: #777;
}

#wrapper {
	max-width: 1000px;
	margin: 0 auto;
}

#header {
	margin-bottom: 60px;
	text-align: center;
	position: relative;
}

#avatar {
	display: inline-block;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	margin-bottom: 20px;
}

/* Link to Dribbble */
section#dribbble-shots {
    width: 100%;
    overflow-y: hidden;
    overflow: scroll;
    position: relative;
    margin-bottom: 100px;
    -webkit-overflow-scrolling: touch;
}

section#dribbble-shots img {
    width: 400px;
    height: 300px;
}

#tweets {
    width: 2300px;
    position: relative;
}

ul.shots li {
    float: left; margin: 20px; 
    list-style: none;
}

ul.shots a {
    display: block; width: 400px; height: 300px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1); 
}
            
ul#portfolio a:hover {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2); 
}

.icons {
    width: 24%;
    margin: 0 auto;
}

.icons ul {
    margin: 20px 0 0 0;
    list-style: none; overflow: hidden;
}

.icons li {
    float: left; margin: 20px; 
}


/* Made with Cactus Badge */
#badge {
	position: absolute; 
	bottom: 8px; 
	right: 8px;
	height: 48px; 
	width: 48px;
}

hr {
	border: none;
	height: 2px;
	background: #aaa;
	width: 20%;
	margin-top: 50px; 
}

/* Type */
/* Accent color */
a {
	text-decoration: none;
	color: #5694f1;
	font-weight: 400;
}

h1 {
	font-weight: 200;
	font-size: 20em;
	color: #222;
}

h2 {
	font-size: 2em;
	font-weight: 300;
	color: #000; 
	margin: 10px 0 10px 0;
}

p {
	line-height: 1.8;
	 margin-bottom: 30px;
	 font-size: 1.5em;
}

footer {
	margin: 100px 0 40px 0;

}

#credits  {
	text-align: center;
}

p.sake-intro {
 margin-bottom: 70px;
}

@media screen and (max-width: 540px) {
	#wrapper { padding:40px; }
	#header { margin-bottom: 40px; }
	h1 { font-size: 6.5em; }
	p  { font-size: 1em; }
	.icons { display: none;}
	ul#portfolio a { width: 200px; height: 150px; }
	#docs { display: none; }
	#dribbble-shots {display: none; }
}

@media screen and (max-width:440px) {
	#wrapper { padding:20px; }
	#header { margin-bottom: 20px; }
}
