html,
body {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	overflow: hidden;
	background-color:#111;
}

body {
        font-family: 'PT Sans Narrow', Arial, sans-serif;
        font-size: 16px;
	color: #fff;
}

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

.credit {
	position: absolute;
	bottom: 24px;
	right: 24px;
	margin: 0;
	z-index: 1000;
	font-size: 0.8em;
        color:white;
        background:transparent;
}

.credit a {
	color: #999;
	text-decoration: none;
}

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

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

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


.footer {
	position: fixed;
	display: inline;
	bottom: 0%;
	right: 98%;
	width: 100% !important;
	height: 75px;
	background: transparent;
	z-index: 100;
}

/* footer h1 (c'est là qu'on met le médaillon)*/
h1 { 
	display:block;
	position:absolute;
	bottom:3%;
	right:-90%;
	}

/*medaillon*/	
	
h1 a {
	display: block !important;
	text-indent: -9999px;
	background: url(http://www.lacor.info/film/trois_soeurs_du_yunnan/dossier-photos/images/medaillon_100pc.png);
	background-position: 50% top;
	background-repeat: no-repeat;
	height: 75px;
	width: 160px;
	float: left;
	}		

h1 a:hover {
	background-position: 50% bottom;
	}


.layer.pink {
	background: #dc6c5f;	
}

.layer.blue {
	background: #77BEB7;
}

.layer.brown {
	background: #8F9D85;
}

.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: 110px;
	top: 45px;
	right:230px;
	padding: 0;
	margin: 0;
	text-align: center;
}

	.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 );
		}
@media screen and (max-width: 1600px) {
       .box{
	max-width:540px;
	max-height:720px;
        }
}        
@media screen and (max-width: 800px) {
	body {
		font-size: 12px;
	}
	.layer h2 {
		font-size: 5em;
	}
          
        .bullets {
	top: 90px;
}

	.bullets li {
		margin: 0 6px;
		float:left;
	}

	.credit {
		
		bottom: 10px;
		right: 10px;
	}

	.share,
	.github-ribbon {
		display: none;
	}
	.box{;
	top:100px;
	max-width:200px;
	max-height:267px;
	min-width:150px;
	min-height:200px;
        }
}

