html,
body {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	overflow: hidden;
	background-color:#2C0D09;
        font-family: 'PT Sans Narrow', Arial, sans-serif;
        font-size: 16px;
	color: #111;
}

.share {
	position: absolute;
	bottom: 20px;
	left: 24px;
	margin: 0;
	z-index: 1;
	font-size: 0.9em;
}


.layer {
	text-align: center;
	text-shadow: 1px 1px 0px rgba( 0, 0, 0, 0.1 );
}
.layer {
display:block;
float:left;
}

.layer h2 {
	position: relative;
	top: 30%;
	margin: 0;
	font-size: 6.25em;
}

.layer p {
	position: relative;
	top: 30%;
	margin: 0;
}

.layer.pink {
	background: #CEA148;	
}

.layer.beige {
	background:#8D5821;
}

.layer.brown {
	background: #2C0D09;
}
.layer.black {
	background: #111;
}

.box{
	display:block;
	min-width:300px;
	min-height:400px;
	max-width:750px;
	max-height:1000px;
	margin:auto;
	top:2%;
	bottom:5%;
	box-shadow: rgba(0, 0, 0, 0.5) 20px 20px 20px; 	
}

.bullets {
	position: absolute;
	z-index:999;
	width: 80%;
	top: 45px;
	right:50px;
	padding: 0;
	margin: 0;
	text-align:right;
}

	.bullets li {
		display: inline-block;
		width: 20px;
		height: 20px;
		border-radius: 50%;
		margin: 0 3px;

		background: rgba( 227, 213, 22, 0.5 );
		box-shadow: 0px 0px 4px rgba( 0, 0, 0, 0.2 );
		cursor: pointer;

		-webkit-tap-highlight-color: rgba( 0, 0, 0, 0 );
	}

		.bullets li:hover {
			background: rgba(  227, 213, 22, 0.8 );
		}

		.bullets li.active {
			cursor: default;
			background: rgba(  227, 213, 22, 1.8 );
		}
	.object{
	display:block;
	width:800px;
	height:560px;
	}
@media screen and (max-width: 1600px) {
       .box{
	max-width:540px;
	max-height:720px;
        }
}        
@media screen and (max-width: 800px) {
	body {
		font-size: 12px;
		min-height:700px;
	}
	.layer h2 {
		font-size: 5em;
	}
          
       .bullets{
	top:5px;
	z-index:0;
		}
	.bullets li {
	display: inline-block;
	width: 15px;
	height: 15px;
	}
	.credit {
		
		bottom: 10px;
		right: 10px;
	}

	.share,
	.github-ribbon {
		display: none;
	}
	.box{;
	top:5%;
	max-width:300px;
	max-height:400px;
        }
        .object{
	width:100%;
	margin:auto;
	height:400px;
	margin-top:0;
	}	
}


@media screen and (max-width: 500px) {	
	body {
	height:700px;
	}
	.object{
	width:90%;
	margin:auto;
	height:100x;
	margin-top:0;
	}
	.bullets{
	top:5px;
	z-index:0;
		}
	.bullets li {
	display: inline-block;
	width: 15px;
	height: 15px;
	}
}