:root {
	--old-main-color: 255, 212, 0; /* #ffd400 */
	--main-color: 227, 222, 189; /* #e3debd */
	--color1 : 202, 196, 154; /* #cac49a */
	--color2: 89, 89, 89; /* #595959 */
	--black: 0, 0, 0; /* #000000 */
	--white: 255, 255, 255; /* #ffffff */
}
pre {
	text-align: left;
	color: black;
}

/* =====================
FONTS
===================== */



/* =====================
STRUCTURE
===================== */

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	/*background-color: rgb(var(--old-main-color);*/
	background-color: rgb(var(--main-color));
	background-image: url("../img/exclusive-paper.png");
	background-size: 560px 420px;
	background-repeat: repeat;
}
body {
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: rgb(var(--white));
	padding-left: 30px;
	padding-right: 30px;
}
*,
*:before,
*:after {
	box-sizing: inherit;
}
h1 {
	color: rgb(var(--color1));
	font-weight: 800;
	text-transform: uppercase;
	font-size: 2.5em;
	margin: 0;
}
h2 {
	font-weight: bold;
	text-transform: uppercase;
	color: rgb(var(--color2));
	font-size: 1.5em;
	margin: 0 0 15px 0;
}
h3 {
	font-weight: bold;
	text-transform: uppercase;
	color: rgb(var(--color2));
	font-size: 2em;
	margin: 0 0 15px 0;
}
p {
	margin: 0;
	font-size: 1em;
	line-height: 1.5em;
	color: rgb(var(--color2));
}
p + p {
	margin-top: 15px;
}
p strong {
	color: rgb(var(--black));
}
ul {
	margin: 15px 0;
	padding: 0 0 0 15px;
}
ul li {
	font-size: 1.2em;
	line-height: 1.2em;
}
a {
	text-decoration: none;
}
main a {
	color: rgb(var(--old-main-color));
	text-decoration: underline;	
}
main a:hover {
	color: rgb(var(--old-main-color));
	text-decoration: none;
}
main img {
	max-width: 100%;
	height: auto;
}
button {
	-webkit-appearance: none;
	/* remove default appearance on Webkit-based browsers */
	-moz-appearance: none;
	/* remove default appearance on Mozilla-based browsers */
	appearance: none;
	/* remove default appearance on all other browsers */
	border: none;
}
.btn {
	display: inline-block;
	margin-top: 15px;
	background-color: rgb(var(--color2));
	padding: 15px 30px;
	color: rgb(var(--white));
	text-decoration: none;
	border-radius: 20px;
	transition: all 0.3s ease-in-out;
}
.btn:hover {
	background-color: rgb(var(--black));
	color: rgb(var(--white));
}
.sl-overlay {
	z-index: 10100!important;
	opacity: 1!important;
	background: transparent!important;
	background-color: rgba(0, 0, 0, .75)!important;
}
.sl-wrapper {
	z-index: 10200!important;
}
.sl-wrapper .sl-close,
.sl-wrapper .sl-navigation button {
	z-index: 10300!important;
	color: rgb(var(--white))!important;
}

/* =====================
HEADER
===================== */

header {
	display: flex;
	flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
	margin: 0 auto;
	padding: 0 0 60px 0;
	gap: 30px;
	max-width: 960px;
	text-align: center;
}
header img {
	-webkit-filter: drop-shadow(5px 5px 0 rgb(var(--color1)));
	filter: drop-shadow(5px 5px 0 rgb(var(--color1)));
}

/* =====================
MENU
===================== */

header .menu {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 30px;
}
header .menu .menu_img_desk {
	display: none;
}

@media only screen and (min-width: 768px) {
	header .menu .menu_img_mob {
		display: none;
	}
	header .menu .menu_img_desk {
		display: flex;
	}
}
@media only screen and (min-width: 1024px) {}

/* =====================
MODAL STYLES
===================== */

.jw-modal {
	/* modals are hidden by default */
	display: none;

	/* modal container fixed across whole screen */
	position: fixed;
	inset: 0;

	/* z-index must be higher than everything else on the page */
	z-index: 10000;

	/* semi-transparent black background exposed by padding */
	background-color: rgba(0, 0, 0, .75);
	padding: 40px;

	/* enables scrolling for tall modals */
	overflow: auto;
}

.jw-modal.open {
	display: block;
}

.jw-modal-body {
	padding: 30px;
	background: rgb(var(--white));
	border-radius: 15px;
	max-width: 1170px;
	margin: 0 auto;
}

body.jw-modal-open {
	/* body overflow is hidden to hide main scrollbar when modal window is open */
	overflow: hidden;
}

/* =====================
MAIN
===================== */

main {
	display: flex;
	flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
	margin: 0 auto;
	padding: 30px;
	gap: 60px;
	max-width: 960px;
	text-align: center;
	background-color: rgb(var(--white));
}
main,
main::before,
main::after {
	background-image: url("../img/groovepaper.png");
	background-size: 300px 300px;
	background-repeat: repeat;
}
main .intro {
	width: 100%;
}
main .intro p {
	margin-top: 15px;
}
main .contenu {
	width: 100%;
}
main .contenu section {
	display: flex;
    flex-wrap: wrap;
    gap: 60px 30px;
}
main .contenu .resume p {
	text-align: left;
}

@media only screen and (min-width: 1024px) {
	.paper {
		box-sizing: border-box;
		padding: 30px 30px 80px 30px;
		position: relative;
	}
	.paper {
		box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.10);
	}
	.paper,
	.paper:before,
	.paper:after {
		border: 1px solid #e5e5e5;
	}
	.paper:before,
	.paper:after {
		content: "";
		position: absolute;
		height: 100%;
		max-height: 500px;
		width: 100%;
	}
	.paper:before {
		box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.10);
		background-color: #fcfcfc;
		right: 10px;
		top: 0;
		transform: rotate(-3deg);
		z-index: -1;
	}
	.paper:after {
		box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.10);
		background-color: #f5f5f5;
		top: 10px;
		right: -15px;
		transform: rotate(4deg);
		z-index: -2;
	}
}

/* =====================
HOMEPAGE
===================== */

.front .contenu.social_news {
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
	justify-content: center;
}
.front .contenu.social_news .col {
	flex-basis: 100%;
	max-width: 100%;
}

@media only screen and (min-width: 1024px) {
	.front .contenu.social_news .col {
		flex-basis: calc((100% - 30px) / 2);
		max-width: calc((100% - 30px) / 2);
	}
	.front .contenu.social_news .col_full {
		flex-basis: 100%;
		max-width: 100%;
	}
}
.front .contenu.social_news .col_right {
	text-align: left;
}
.front .contenu.social_news .col .fb-page,
.front .contenu.social_news .col .fb-page > span,
.front .contenu.social_news .col .fb-page iframe,
.front .contenu.social_news .col iframe.instagram-media {
	width: 100%!important;
	max-width: 100%!important;
}
.instagram-media {
	margin: 0 auto!important;
}
.video-container {
	position: relative;
	padding-bottom: 56.25%;
}
.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.front .contenu.social_news .col .social {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 30px 0 0 0;
	gap: 15px;
}
.front .contenu.social_news .col .social li {
	display: inline-block;
	vertical-align: top;
	width: 100%;
}
.front .contenu.social_news .col .social li a {
	display: flex;
	align-items: center;
	gap: 15px;
	position: relative;
	color: rgb(var(--color2));
	padding: 0;
	width: fit-content;
	text-align: center;
	line-height: 40px;
	text-decoration: none;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.front .contenu.social_news .col .social li a::before {
	content: '';
	display: inline-block;
	-webkit-border-radius: 20px;
		-moz-border-radius: 20px;
		border-radius: 20px;
	background-size: 20px 20px;
	background-repeat: no-repeat;
	background-position: center center;
	width: 40px;
	height: 40px;
	background-color: rgb(var(--color2));
}
.front .contenu.social_news .col .social a:hover {
	opacity: 0.7;
}
.front .contenu.social_news .col .social li.facebook a::before {
	background-image: url("../img/sprite.svg#facebook");
}
.front .contenu.social_news .col .social li.linkedin a::before {
	background-image: url("../img/sprite.svg#linkedin");
}
.front .contenu.social_news .col .social li.instagram a::before {
	background-image: url("../img/sprite.svg#instagram");
}
.front .contenu.social_news .col .social li.dribbble a::before {
	background-image: url("../img/sprite.svg#dribbble");
}
.front .contenu.social_news .col .social li.behance a::before {
	background-image: url("../img/sprite.svg#behance");
}
.front .contenu.social_news .col .social li.viadeo a::before {
	background-image: url("../img/sprite.svg#viadeo");
}
.front .contenu.social_news .col .social li.twitter a::before {
	background-image: url("../img/sprite.svg#twitter");
}
.front .contenu.social_news .col .social li.youtube a::before {
	background-image: url("../img/sprite.svg#youtube");
	background-size: 30px 30px;
}

/* =====================
BIO	
===================== */

.biographie .portrait {
	width: 300px;
	height: auto;
	border-radius: 15px;
	float: left;
	margin: 0 30px 30px 0;
}

/* =====================
PUBLICATIONS	
===================== */

.publications {}
.publications .bd + h2 {
	margin-top: 60px;
	margin-bottom: 30px;
}
.publications .bd .biblio_elt {
	flex-basis: 100%;
	max-width:  100%;
}
@media only screen and (min-width: 768px) {
	.publications .bd .biblio_elt {
		flex-basis: calc(50% - 15px);
		max-width: calc(50% - 15px);
	}
}
@media only screen and (min-width: 1024px) {
	.publications .bd .biblio_elt {
		flex-basis: calc((100% - 60px) / 3);
		max-width: calc((100% - 60px) / 3);
	}
}

.publications .bd .biblio_elt .biblio_elt--permanent {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 15px;
	cursor: pointer;
}
.publications .bd .biblio_elt .biblio_elt--permanent .visuel {
	display: flex;
	position: relative;
}
.publications .bd .biblio_elt .biblio_elt--permanent .visuel::before {
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	border: 10px solid rgb(var(--color1));
	top: 0;
	left: 0;
	opacity: 0;
	z-index: 2;
	border-radius: 20px;
	background-image: url("../img/sprite.svg#zoom");
	background-size: 50px 50px;
	background-repeat: no-repeat;
	background-position: center center;
	transition: all 0.3s ease-in-out;
}
.publications .bd .biblio_elt .biblio_elt--permanent .visuel::after {
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	background-image: url("../img/pinstriped-suit.png");
	background-size: 400px 333px;
	background-repeat: repeat;
	background-color: rgba(var(--black), .2);
	top: 0;
	left: 0;
	opacity: 0;
	z-index: 1;
	border-radius: 20px;
	transition: all 0.3s ease-in-out;
}
.publications .bd .biblio_elt .biblio_elt--permanent .visuel figure {
	border-radius: 20px;
	margin: 0;
	overflow: hidden;
}
.publications .bd .biblio_elt .biblio_elt--permanent .visuel img {
	border-radius: 20px;
	transition: all 0.3s ease-in-out;
}
.publications .bd .biblio_elt .biblio_elt--permanent:hover .visuel::before,
.publications .bd .biblio_elt .biblio_elt--permanent:hover .visuel::after {
	opacity: 1;
}
.publications .bd .biblio_elt .biblio_elt--permanent:hover .visuel img {
	transform: scale(1.2);
}
.publications .bd .biblio_elt .biblio_elt--permanent .infos {
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.publications .bd .biblio_elt .biblio_elt--permanent .infos .titre p {
	font-size: 1.2rem;
	font-weight: bold;
	color: rgb(var(--black));
}
.publications .bd .biblio_elt .biblio_elt--permanent .infos .sstitre p {
	font-size: 1rem;
	font-weight: bold;
	color: rgb(var(--color1));
}
.publications .bd .biblio_elt .biblio_elt--permanent .infos .tome {
	position: absolute;
	top: 0;
	right: 0;
	background-color: rgb(var(--color2));
	padding: 5px 25px 5px 10px;
	border-radius: 0 20px 0 0;
}
.publications .bd .biblio_elt .biblio_elt--permanent .infos .tome p {
	font-size: 1rem;
	color: rgb(var(--white));
}
.publications .bd .biblio_elt .biblio_elt--modal .jw-modal-body {
	position: relative;
}
.publications .bd .biblio_elt .biblio_elt--modal button {
	position: absolute;
	right: 15px;
	top: 15px;
	background-color: rgb(var(--color2));
	color: rgb(var(--white));
	width: 40px;
	height: 40px;
	border-radius: 20px;
	font-size: 0;
	background-image: url("../img/sprite.svg#close");
	background-size: 15px 15px;
	background-repeat: no-repeat;
	background-position: center center;
	cursor: pointer;
	transition: all 0.3s ease-in-out;
}
.publications .bd .biblio_elt .biblio_elt--modal button:hover {
	background-color: rgb(var(--black));
}
.publications .bd .biblio_elt .biblio_elt--modal {}
.publications .bd .biblio_elt .biblio_elt--modal .biblio_detail {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}
.publications .bd .biblio_elt .biblio_elt--modal .biblio_detail .col {
	flex-basis: 100%;
	max-width: 100%;
}
@media only screen and (min-width: 768px) {
	.publications .bd .biblio_elt .biblio_elt--modal .biblio_detail .col {
		flex-basis: calc(50% - 15px);
		max-width: calc(50% - 15px);
	}
}
@media only screen and (min-width: 1024px) {}

.publications .bd .biblio_elt .biblio_elt--modal .biblio_detail .col.gallery {
	display: flex;
	flex-direction: column;
	gap: 30px;
	padding: 30px;
	background-color: rgb(var(--black));
	border-radius: 15px;
	justify-content: center;
	align-items: center;
}
@media only screen and (min-width: 1024px) {
	.publications .bd .biblio_elt .biblio_elt--modal .biblio_detail .col.gallery {
		flex-direction: row;
	}
}

.publications .bd .biblio_elt .biblio_elt--modal .biblio_detail .gallery img {
	max-width: 100%;
}

.publications .bd .biblio_elt .biblio_elt--modal .biblio_detail .gallery .couverture {
	flex-basis: 100%;
	max-width: 100%;
}
@media only screen and (min-width: 1024px) {
	.publications .bd .biblio_elt .biblio_elt--modal .biblio_detail .gallery .couverture {
		flex-basis: 60%;
		max-width: 60%;
	}
}

.publications .bd .biblio_elt .biblio_elt--modal .biblio_detail .gallery .extraits {
	flex-basis: 100%;
	max-width: 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}
@media only screen and (min-width: 1024px) {
	.publications .bd .biblio_elt .biblio_elt--modal .biblio_detail .gallery .extraits {
		flex-basis: 40%;
		max-width: 40%;
	}
}

.publications .bd .biblio_elt .biblio_elt--modal .biblio_detail .gallery .extraits .extrait {
	width: calc((100% - 45px) / 4);
	max-width: calc((100% - 45px) / 4);
	font-size: 0;
}
@media only screen and (min-width: 768px) {
	.publications .bd .biblio_elt .biblio_elt--modal .biblio_detail .gallery .extraits .extrait {
		width: calc((100% - 15px) / 2);
		max-width: calc((100% - 15px) / 2);
	}
}

.publications .bd .biblio_elt .biblio_elt--modal .biblio_detail .col.content {
	display: flex;
	flex-direction: column;
	gap: 15px;
	text-align: left;
}
@media only screen and (min-width: 768px) {
	.publications .bd .biblio_elt .biblio_elt--modal .biblio_detail .content .titre {
		width: calc(100% - 40px);
	}
}
.publications .bd .biblio_elt .biblio_elt--modal .biblio_detail .content .titre p {
	font-size: 1.5em;
	font-weight: bold;
	color: rgb(var(--black));
}
.publications .bd .biblio_elt .biblio_elt--modal .biblio_detail .content .tome p {
	display: inline-block;
	padding: 5px 15px;
	color: rgb(var(--white));
	background-color: rgb(var(--color2));
	font-weight: bold;
}
.publications .bd .biblio_elt .biblio_elt--modal .biblio_detail .content .date p {}
.publications .bd .biblio_elt .biblio_elt--modal .biblio_detail .content .auteur p {}
.publications .bd .biblio_elt .biblio_elt--modal .biblio_detail .content .recompense p {}
.publications .bd .biblio_elt .biblio_elt--modal .biblio_detail .content .resume {
	background-color: rgb(var(--main-color));
	padding: 30px;
	border-radius: 15px;
	margin-top: 15px;
}
.publications .bd .biblio_elt .biblio_elt--modal .biblio_detail .content .resume p {}

/* =====================
BOOK
===================== */

.book .contenu .gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}
.book .contenu .gallery a {
	width: calc((100% - 30px) / 2);
	aspect-ratio: 1 / 1;
}

@media only screen and (min-width: 768px) {
	.book .contenu .gallery a {
		width: calc((100% - 60px) / 3);
	}
}
@media only screen and (min-width: 1024px) {
	.book .contenu .gallery a {
		width: calc((100% - 90px) / 4);
	}
}

.book .contenu {
	display: flex;
	flex-direction: column;
	gap: 60px;
}
.book .contenu .gallery_container {
	text-align: left;
}
.book .contenu .gallery_container .gallery a img {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
}
.book .contenu .gallery_container .gallery .book_item {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 15px;
	cursor: pointer;
	border-radius: 20px;
}
.book .contenu .gallery_container .gallery .book_item .visuel {
	display: flex;
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 20px;
}
.book .contenu .gallery_container .gallery .book_item .visuel::before {
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	border: 10px solid rgb(var(--color1));
	top: 0;
	left: 0;
	opacity: 0;
	z-index: 2;
	border-radius: 20px;
	background-image: url("../img/sprite.svg#zoom");
	background-size: 50px 50px;
	background-repeat: no-repeat;
	background-position: center center;
	transition: all 0.3s ease-in-out;
}
.book .contenu .gallery_container .gallery .book_item .visuel::after {
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	background-image: url("../img/pinstriped-suit.png");
	background-size: 400px 333px;
	background-repeat: repeat;
	background-color: rgba(var(--black), .2);
	top: 0;
	left: 0;
	opacity: 0;
	z-index: 1;
	border-radius: 20px;
	transition: all 0.3s ease-in-out;
}
.book .contenu .gallery_container .gallery .book_item .visuel figure {
	border-radius: 20px;
	margin: 0;
	overflow: hidden;
}
.book .contenu .gallery_container .gallery .book_item .visuel img {
	border-radius: 20px;
	transition: all 0.3s ease-in-out;
}
.book .contenu .gallery_container .gallery .book_item:hover .visuel::before,
.book .contenu .gallery_container .gallery .book_item:hover .visuel::after {
	opacity: 1;
}

.book .contenu .gallery_container .gallery .book_item:hover .visuel img {
	transform: scale(1.2);
}

/* =====================
CONTACT
===================== */

.contact {}

/* =====================
FOOTER
===================== */

#footer {
	text-align: center;
	padding: 15px;
}
#footer .social {
	list-style: none;
	padding: 0;
	margin: 30px 0;
}
#footer .social li {
	display: inline-block;
	vertical-align: top;
	width: 40px;
	height: 40px;
}
#footer .social li + li {
	margin-left: 10px;
}
#footer .social li a {
	display: block;
	width: 40px;
	height: 40px;
	background-color: rgb(var(--color2));
	color: rgb(var(--white));
	padding: 0;
	font-size: 0;
	text-align: center;
	line-height: 40px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	background-size: 20px 20px;
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
#footer .social a:hover {
	opacity: 0.7;
}
#footer .social li.facebook a {
	background-image: url("../img/sprite.svg#facebook");
}
#footer .social li.linkedin a {
	background-image: url("../img/sprite.svg#linkedin");
}
#footer .social li.instagram a {
	background-image: url("../img/sprite.svg#instagram");
}
#footer .social li.dribbble a {
	background-image: url("../img/sprite.svg#dribbble");
}
#footer .social li.behance a {
	background-image: url("../img/sprite.svg#behance");
}
#footer .social li.viadeo a {
	background-image: url("../img/sprite.svg#viadeo");
}
#footer .social li.twitter a {
	background-image: url("../img/sprite.svg#twitter");
}
#footer .social li.youtube a {
	background-image: url("../img/sprite.svg#youtube");
	background-size: 30px 30px;
}

/* =====================
RESPONSIVE
===================== */

@media only screen and (min-width: 768px) {}
@media only screen and (min-width: 1024px) {}




