:root {
	--old-main-color: 255, 212, 0; /* #ffd400 */
	--main-color: 140, 147, 185; /* #8c93b9 */
	--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: rgb(var(--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(--white));
	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(--black));
	padding-left: 15px;
	padding-right: 15px;
}
@media only screen and (min-width: 768px) {
	body {
		padding-left: 30px;
		padding-right: 30px;
	}
}
*,
*:before,
*:after {
	box-sizing: inherit;
}
h1 {
	color: rgb(var(--main-color));
	font-weight: 800;
	text-transform: uppercase;
	font-size: 1.5em;
	margin: 0;
}

h2 {
	font-weight: bold;
	text-transform: uppercase;
	color: rgb(var(--main-color));
	font-size: 1.2em;
	margin: 0 0 15px 0;
}
h3 {
	font-weight: bold;
	text-transform: uppercase;
	color: rgb(var(--color2));
	font-size: 1.1em;
	margin: 0 0 15px 0;
}
@media only screen and (min-width: 768px) {
	h1 {
		font-size: 2em;
	}
	h2 {
		font-size: 1.5em;
	}
}

@media only screen and (min-width: 1024px) {
	h1 {
		font-size: 2.5em;
	}
}


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(--main-color));
	text-decoration: underline;
	-webkit-transition: all 0.3s ease-in-out;
		-moz-transition: all 0.3s ease-in-out;
		transition: all 0.3s ease-in-out;
}
main a:hover {
	color: rgb(var(--main-color));
	text-decoration: none;
	opacity: 75%;
}
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 {
	background-color: rgb(var(--main-color));
	padding: 10px 20px;
	color: rgb(var(--white));
	border-radius: 10px;
	cursor: pointer;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.btn:hover {
	opacity: 75%;
}

/* =====================
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 {
	max-width: 100%;
	height: auto;
	/*
	-webkit-filter: drop-shadow(5px 5px 0 rgb(var(--color1)));
	filter: drop-shadow(5px 5px 0 rgb(var(--color1)));
	*/
}
header .entete {
	padding: 20px;
}

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

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

/* =====================
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);*/
	background-color: rgba((var(--black)), .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));
	background-image: url("../img/groovepaper.png");
	background-size: 300px 300px;
	background-repeat: repeat;
	border-radius: 40px;
}
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;
		position: relative;
		/*
		box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.10);
		border: 1px solid #e5e5e5;
		*/
	}
}

/* =====================
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%;
}
.front .contenu.social_news .col iframe {
	min-width: 0!important;
}

@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_left,
.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(--main-color));
	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(--main-color));
}
.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: 100%;
	height: auto;
	border-radius: 15px;
	margin: 0 0 30px 0;
}
@media only screen and (min-width: 768px) {
	.biographie .portrait {
		width: 300px;
		float: left;
		margin: 0 30px 15px 0;
	}
}

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

/* =====================
PROJETS
===================== */

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

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

.projets .contenu {
	display: flex;
	flex-direction: column;
	gap: 60px;
}
.projets .contenu .gallery_container {
	text-align: left;
}
.projets .contenu .gallery_container .gallery a img {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
}
.projets .contenu .gallery_container .gallery .book_item {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 15px;
	cursor: pointer;
	border-radius: 20px;
}
.projets .contenu .gallery_container .gallery .book_item .visuel {
	display: flex;
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 20px;
}
.projets .contenu .gallery_container .gallery .book_item .visuel::before {
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	border: 10px solid rgb(var(--main-color));
	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;
}
.projets .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;
}
.projets .contenu .gallery_container .gallery .book_item .visuel figure {
	border-radius: 20px;
	margin: 0;
	overflow: hidden;
}
.projets .contenu .gallery_container .gallery .book_item .visuel img {
	border-radius: 20px;
	transition: all 0.3s ease-in-out;
}
.projets .contenu .gallery_container .gallery .book_item:hover .visuel::before,
.projets .contenu .gallery_container .gallery .book_item:hover .visuel::after {
	opacity: 1;
}

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

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

.contact form {
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
}
.contact form div {
	width: 100%;
	flex-basis: 100%;
	display: flex;
	flex-direction: column;
	gap: 15px;
	text-align: left;
}

@media only screen and (min-width: 768px) {
	.contact form .form_50 {
		flex-basis: calc(50% - 15px);
	}
}

.contact form .btn_zone {
	align-items: center;
}
.contact .mail_envoye {
	margin-top: 40px;
}
.contact .mail_envoye p {
	font-size: 1.5em;
	font-weight: bold;
	color: rgb(var(--main-color));
	padding: 20px;
	border: 4px solid rgb(var(--main-color));
	border-radius: 20px;
}

.contact form label {
	font-weight: bold;
	color: rgb(var(--main-color));
}
.contact form input,
.contact form textarea {
	height: 40px;
	border: 1px solid rgb(var(--main-color));
	padding: 15px;
	border-radius: 10px;
}
.contact form input:focus,
.contact form textarea:focus {
	border: 1px solid rgb(var(--main-color));
	outline: none;
}
.contact form input {
	height: 40px;
}
.contact form textarea {
	min-height: 150px;
	height: 150px;
	min-width: 100%;
	max-width: 100%;
}

/* =====================
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(--main-color));
	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) {}




