@media screen and (min-width: 768px) {
}

@media screen and (min-width: 992px) {
	#presentation {
		padding: 4em 0;
	}
}

@media screen and (min-width: 1200px) {
	#presentation {
		padding: 8em 0;
	}
}

body {
	background: url(images/carton.png) repeat;
	position: relative;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Dancing Script', cursive;
	text-align: center;
}

nav {
	background-color: rgba(111,84,153,.95);
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

#books figure, #albums figure {
	opacity: 0;
	-webkit-transition: opacity .75s ease-in-out;
	-moz-transition: opacity .75s ease-in-out;
	-ms-transition: opacity .75s ease-in-out;
	-o-transition: opacity .75s ease-in-out;
	transition: opacity .75s ease-in-out;
}

#books figure.inview, #albums figure.inview {
	opacity: 1;
}

.navbar-brand {
	background: url(images/plume.png) no-repeat center left;
	padding-left: 2em;
	background-size: contain;
	font-family: 'Dancing Script', cursive;
}

.navbar-brand, .nav > li > a {
	color: #fff;
}

.navbar-brand:hover, .nav > li > a:hover, .nav .active a {
	background-color: rgba(0,0,0,.125);
	color: #fff;
	text-shadow: 0 1px 1px #000;
}

#presentation {
	background-image: radial-gradient(rgba(221,206,245,.75), rgba(170,155,194,.75));
	text-shadow: 0 1px 1px #fff;
	overflow: hidden;
}

#presentation .img-thumbnail {
	overflow: hidden;
}

#presentation .presentation-photo p {
	border: 8px solid #fff;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 2px 2px rgba(0,0,0,.25);
	margin: 10%;
}

#presentation  .presentation-photo {
	opacity: 0;
	
	-webkit-transform: translate(-200px, 0);
	-moz-transform: translate(-200px, 0);
	-ms-transform: translate(-200px, 0);
	-o-transform: translate(-200px, 0);
	transform: translate(-100px, 0);
	
	-webkit-transition: transform .75s, opacity .75s;
	-moz-transition: transform .75s, opacity .75s;
	-ms-transition: transform .75s, opacity .75s;
	-o-transition: transform .75s, opacity .75s;
	transition: transform .75s, opacity .75s;
}

#presentation  .presentation-text {
	opacity: 0;
	
	-webkit-transform: translate(200px, 0);
	-moz-transform: translate(200px, 0);
	-ms-transform: translate(200px, 0);
	-o-transform: translate(200px, 0);
	transform: translate(200px, 0);
	
	-webkit-transition: transform .75s, opacity .75s;
	-moz-transition: transform .75s, opacity .75s;
	-ms-transition: transform .75s, opacity .75s;
	-o-transition: transform .75s, opacity .75s;
	transition: transform .75s, opacity .75s;
}

#presentation  .inview {
	opacity: 1;
	
	-webkit-transform: translate(0, 0);
	-moz-transform: translate(0, 0);
	-ms-transform: translate(0, 0);
	-o-transform: translate(0, 0);
	transform: translate(0, 0);
}

#contact {
	background-color: rgba(111,84,153,.95);
	color: #fff;
}

#books a, #albums a {
	color: #6f5499;
	cursor: pointer;
}

#books a:hover, #albums a:hover {
	color: #563d7c;
}

#books .thumbnail, #albums .thumbnail {
	box-shadow: 0 2px 2px rgba(0,0,0,.25);
}

/** Books */

#books {
	background: url(images/back.png) repeat-x top;
	box-shadow: 0 -4px 4px rgba(0, 0, 0, 0.25);
	text-shadow: 0 1px 0 #fff;
}

#books h2 {
	font-size: 36px;
	margin: 1em 0;
}

#books .book-list .book {
	float: none;
	display: inline-block;
	vertical-align: top;
	margin-bottom: 2em;
}

#books .book-list .crop {
	display: block;
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 0;
	padding-bottom: 75%;
}

#books .book-list  img {
	display: block;
	position: absolute;
	left: 50%;
	top: 50%;
	height: auto;
	width: 100%;
	-webkit-transform: translate(-50%,-50%) scale(1.10);
	-ms-transform: translate(-50%,-50%) scale(1.10);
	transform: translate(-50%,-50%) scale(1.10);
}

/** Albums */

#albums {
	text-shadow: 0 1px 0 #fff;
}

#albums h2 {
	font-size: 36px;
	margin: 1em 0;
}

#albums .album-list .album {
	float: none;
	display: inline-block;
	vertical-align: top;
	margin-bottom: 2em;
}

#albums .album-list .crop {
	display: block;
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 0;
	padding-bottom: 100%;
}

#albums  .album-list img {
	display: block;
	position: absolute;
	left: 50%;
	top: 50%;
	height: auto;
	width: 100%;
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}

/** Details */

@keyframes show {
    from    { opacity: 0 }
    to      { opacity: 1 }
}

@keyframes hide {
    from    { opacity: 1 }
    to      { opacity: 0 }
}

#product-detail .product {
	text-shadow: 0 1px 1px #fff;
	position: fixed;
	left: 0;
	top: 0;
	height: 100vh;
	width: 100vw;
	background-color: rgba(0,0,0,.75);
	transition: opacity .75s, z-index .75s;
	overflow: auto;
	display: flex;
	align-items: center;
}

#product-detail .ng-enter {
	animation: show .5s both ease-in;
}

#product-detail .ng-leave {
	animation: hide .5s both ease-in;
}

#product-detail .panel {
	position: relative;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.75);
	background: url(images/frise.jpg) repeat-x bottom #fff;
}

#product-detail .panel .panel-body {
	background-image: radial-gradient(rgba(221,206,245,.75), rgba(170,155,194,.75));
	padding-bottom: 64px;
}

#product-detail a.close {
	position: absolute;
	z-index: 100;
	top: 0;
	right: 8px;
	font-size: 30px;
	cursor: pointer;
}

#product-detail ul {
	list-style: none;
	padding: 1em;
}

#product-detail li:before {
	content: '\25b2';
	padding-right: 1em;
	color: #6f5499;
}

#product-detail .amazon  iframe {
	border: 1px solid #ccc;
	border-radius: .25em;
}

#product-detail .amazon, #product-detail .image {
	font-size: 30px;
	margin-top: 1em;
}

.margin-l {
	margin: 2em;
}

.margin-v-m {
	margin: 1em 0em;
}

.margin-v-l {
	margin: 3em 0em;
}
