/* CSS Document */

/* Fonts */
@import url('https://fonts.googleapis.com/css?family=Josefin+Sans:100,100i,300,300i,400,400i,600,600i,700,700i');
@import url('https://fonts.googleapis.com/css?family=PT+Sans+Narrow');

@font-face
{
	font-family: 'PT IT Narrow';
	src: url('res/font/pt-sans/Sans Italic.ttf');
}

/* Reset */

html, body, h1, h2, h3, h4, p, a, li, ul, ol {
	margin: 0;
	padding: 0;
	text-decoration: none;
	list-style: none;
}

h1{
	font-family: 'Josefin Sans', sans-serif;
	font-size: 2.5rem;
	letter-spacing: 0.2rem;
	font-weight: 300;
	text-transform: uppercase;
}

h2{
	font-family: 'PT IT Narrow', sans-serif;
	font-size: 1.1rem;
	font-weight: 300;
}

p {
    font-family: 'PT Sans Narrow';
    font-size: 1.1rem;
}

.intro h1, h2, p {
	margin: 15px 0;
}

/* Common */

:root {
	--dynamic-carousel-height: 250px;
	--carousel-height: 20vw;
	--dynamic-carousel-relative: 20%;
	
	--nav-height: 125px;
}

/* Animations */

/* Shutter Out Vertical */
.hvr-shutter-out-vertical {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.hvr-shutter-out-vertical:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
	/* Color shutter */
  background: #f5f5f5;
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
  -webkit-transform-origin: 50%;
  transform-origin: 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.hvr-shutter-out-vertical:hover/*, .hvr-shutter-out-vertical:focus, .hvr-shutter-out-vertical:active*/ {
  color: white;
}
.hvr-shutter-out-vertical:hover:before/*, .hvr-shutter-out-vertical:focus:before, .hvr-shutter-out-vertical:active:before*/ {
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}
.hvr-shutter-out-vertical:active{}
.hvr-shutter-out-vertical:focus{}

/* Fade Text */
.fade-text-color {
  /* First we need to help some browsers along for this to work.
     Just because a vendor prefix is there, doesn't mean it will
     work in a browser made by that vendor either, it's just for
     future-proofing purposes I guess. */
  -o-transition:.5s;
  -ms-transition:.5s;
  -moz-transition:.5s;
  -webkit-transition:.5s;
  /* ...and now for the proper property */
  transition:.5s;
}
.fade-text-color:hover { color:#212121; }
.fade-text-color:active {}
.fade-text-color:focus{}


/* Fade */
/*.nav {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  overflow: hidden;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: color, background-color;
  transition-property: color, background-color;
}
.nav:hover, .nav:focus, .nav:active {
  background-color: rgba(0,0,0,0.75);
}*/


/* Index */

.home-page {
	height: 100vh;
	width: 100%;
	
	background-image: url(res/img/background.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center bottom;
}

.home-page .overlay {
	position: absolute;
    top: 0;
    left: 0;
	z-index: -1;
    height: 100vh;
    width: 100vw;
    box-sizing: border-box;
    padding: 10px;
}

.home-page .overlay > .child-one {
	border: 1px solid black;
    height: 100%;
	padding: 10px;
	box-sizing: border-box;
	width: 100%;
}

.home-page .overlay .child-two {
	border: 1px solid black;
    height: 100%;
}


	/* Nav */

.nav {
	width: 100%;
	box-sizing: border-box;
	background-color: rgba(0,0,0,0.5);
}

.nav .inner {
	display: flex;
	justify-content: space-between;
}

.nav .container {
	width: 45%;
	display: flex;
}

a.main-img {
	height: var(--nav-height);
	display: flex;
	padding: 0 25px;
    margin-left: 8%;
}

img.main-img {
	height: 50%;
	margin: auto 0;	
}

.nav .menu {
	display: flex;
	width: 100%;
}

.nav .menu > .item {
	width: 33.3%;
	height: 100%;
	
	min-height: auto;
    max-height: unset;
    min-width: auto;
    max-width: unset;
    background-color: transparent; 
    padding: 0; 
}

.menu .item a {
	display: flex;
	height: var(--nav-height);
}

.menu .item span {
	margin: auto;
	color: white;
	font-size: 1.25rem;
	text-transform: uppercase;
	font-family: 'PT Sans Narrow', sans-serif;
}

	/*Animations*/

.menu .item span{
  /* First we need to help some browsers along for this to work.
     Just because a vendor prefix is there, doesn't mean it will
     work in a browser made by that vendor either, it's just for
     future-proofing purposes I guess. */
  -o-transition:.5s;
  -ms-transition:.5s;
  -moz-transition:.5s;
  -webkit-transition:.5s;
  /* ...and now for the proper property */
  transition:.5s;
}
.menu .item:hover span { color: black; }

	/* Footer */

.footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	display: flex;
	background-color: rgba(0,0,0,0.5);
}

.footer .inner {
	margin: auto;
	color: white;
	text-align: center;
	padding: 15px 0;
}

.footer .inner > * {
	margin: 20px 0;
	font-family: 'Josefin Sans', sans-serif;
    text-align: center;
    font-weight: 300;
}

.footer h1 {
	text-transform: uppercase;
	font-size: 2.5em;
	letter-spacing: 0.2em;
}

.footer h2 {
	font-size: 1.75em;
	letter-spacing: 0.2em;
}

.footer p {
    font-weight: 300;
    font-style: italic;
    text-transform: lowercase;
    font-size: 1.2em;
}



	/* About */

.about-page {
	background-color: #212121;
	color: white;
	background-image: url(res/img/background.jpg);
    background-repeat-x: repeat;
}
.about-page > .main {
	background-color: rgba(0,0,0,0.85);
}

.about-page .main > .inner {
	margin: 0 auto;
	/*width: 1700px;*/
}

.about-page .intro {
	padding: 100px;
	display: flex;
}

.about-page .intro .inner {
	margin: auto;
	display: flex;
	flex-direction: column;
	text-align: center;
	align-items: center;
}

.about-page .info > .inner {
	display: flex;
	flex-direction: column;
}

.about-page .intro img {
	margin: 0.5rem 0;
}

.about-page .info .row {
	display: flex;
	justify-content: space-around;
}


.about-page .info p {
	font-size: 20px;
}

/* About Artist */

.about-page .about-artist {
	display: flex;
}

.about-page .about-artist > div {
	max-width: 50%;
	display: flex;
    flex-direction: column;
}

.about-page .about-artist img {
	max-width: 80%;
	margin: auto;
	margin-top: 0;}

.about-page .about-artist .info {
	padding: 2rem;
	width: 100%;
}

.about-page .about-artist .box {
	margin: 2rem 10%;
	display: flex;
	flex-direction: column;
}

.about-page .about-artist .box > * {
	display: inline-block;;
}

.about-page .about-artist .box1 {
	margin: auto;
}

.about-page .about-artist .box1 h1 {
	font-size: 1.5rem;
}

.about-page .about-artist .box1 h2 {
	margin: 0.5rem 0;
}

.about-page .about-artist .box1 p {
	
}

.about-page p.small {
	font-size: 1.15rem;
}

/* Box 2 */

.about-page .about-artist .box2 {

}

.about-page .about-artist .box2 p {

}

/* Expo Box */

.about-artist .cities-expo {
	text-transform: uppercase;
	font-size: 20px;
}

/* Box 3 */

.about-page .box3, .about-page .box4 {
	text-align: center;
	margin: 0 25px !important;
}

.about-page .box3 p, .about-page .box4 p {
	margin: 5px 0;
}

/* Box 6 */

.about-page .box6 {
	margin-top: 0 !important;
}

.about-page .box6 h2 {
	margin-bottom: 0;
}

.word_box_content {
	display: flex;
	padding: 0;
	flex-direction: column;
	
}

.word_box_content .row {
	display: flex;
}

.word_box {
	padding: 0 5px 5px 0;
}

.word_box .row .word_box:first-child {
	margin-left: auto;
}

.word_box .row .word_box:last-child {
	margin-right: auto;
}

.word_box .inner {
	padding: 15px 20px;
	text-transform: uppercase;
	background-color: #b71c1c;
	overflow: hidden;
}

.word_box .inner p {
	color: rgba(255, 255, 255, 0.9);
	text-align: center;
	margin: 0;
	cursor: default;
	white-space: nowrap;
}

	/* Art */


.art-page {
	background-image: url(res/img/background.jpg);
	color: white;
	background-repeat-x: repeat;
}

.art-page .main {
	background-color: rgba(0,0,0,0.8);
}

.art-page .intro {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
	margin: 5rem auto;
	max-width: 45vw;
}

.art-page .intro span {
	font-size: 1.5rem;
}

.art-page .intro p:last-of-type {
	line-height: 1.5rem;
}


/* Carousel */

.list-img {
	display: flex;
	flex-wrap: wrap;
}

	/* Dynamic */

.dynamic_carousel {
    width: 100%;
    overflow: hidden;
}
@keyframes carousel {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-5800px, 0, 0); }
}
.dynamic_carousel .carousel {
    width: 5800px;
    display: flex;
    white-space: nowrap;
    transform: translate3d(0,0,0);
    flex-wrap: nowrap;
}

.dynamic_carousel .carousel li {
    min-height: var(--dynamic-carousel-height);
	min-width: var(--dynamic-carousel-height);;
	margin: 30px;
	background-position: center;
	background-size: cover;
	background-color: #f5f5f5;
}

/* test */

.dynamic-slider {
	overflow: hidden;
}

.dynamic-slider .inner {
	display: flex;
    background-color: #f5f5f5;
}


/* Item */
.dynamic-slider	.item, .item-gallery-dynamic {
	height: var(--dynamic-carousel-height);
    width: var(--dynamic-carousel-height);
	min-height: var(--dynamic-carousel-height);
	max-height: var(--dynamic-carousel-height);
	min-width: var(--dynamic-carousel-height);
	max-width: var(--dynamic-carousel-height);
	
	
    background-color: #f5f5f5;
    padding: 30px;
}

.dynamic-slider .item .preview, .item-gallery-dynamic  .preview{
	background-image: url(res/img/gallery/terre.JPG);
    height: 100%;
    width: 100%;
    background-position: center;
    background-size: cover;
	background-repeat: no-repeat;
}

/* Overlay */
.dynamic-slider .item .overlay, .item-gallery-dynamic .overlay{
	background-color: rgba(0,0,0,0.6);
    height: 100%;
	opacity: 0;
    width: 100%;
    position: relative;
	overflow: hidden;
	-webkit-transition: opacity 0.5s ease-in-out;/* transition pour Chrome et Safari */
    -moz-transition: opacity 0.5s ease-in-out;/* transition pour Firefox */
    -o-transition: opacity 0.5s ease-in-out;/* transition pour Opéra */
    transition: opacity 0.5s ease-in-out;
}

.preview:hover .overlay{
	opacity: 1;
	cursor: pointer;
}

.dynamic-slider .item .overlay img, .item-gallery-dynamic .overlay img{
	margin: auto auto 10px auto;
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 500%);
	transition: transform 0.25s  ease-out;
}

.dynamic-slider .item .preview:hover .overlay img, .item-gallery-dynamic .preview:hover img {
	transform: translate(-50%, -50%);
	cursor: pointer;
}

.dynamic-slider .item .overlay span, .item-gallery-dynamic .overlay span {
	margin: 10px auto auto auto;
    color: white;
    font-weight: 500;
    font-size: 1.25rem;
    font-family: 'Josefin Sans', sans-serif;
    text-align: center;
    bottom: 25%;
    position: absolute;
    width: 100%;
	cursor: pointer;
	transform: translate(0%, 500%);
	transition: transform 0.35s ease-out;
}

.dynamic-slider .item .preview:hover .overlay span, .item-gallery-dynamic .preview:hover .overlay span {
	transform: translate(0%, -50%);
}

/* Gallery */

.gallery {
	padding: 100px;
	padding-top: 0;
}

/* Gallery Item */

.gallery .item {
	background-color: transparent;
	margin: 0 auto;
}

/* Viewver */

.art-page > .overlay {
	position: fixed;
    height: 100vh;
    width: 100vw;
    display: flex;
    z-index: 9999;
	transition: opacity .25s;
    background-color: rgba(0,0,0,0.5);
}

.art-page > .overlay .inner {
	display: inline-block;
	margin: auto;
	position: relative;
}

.art-page > .overlay .inner .viewver {
	
}

.art-page > .overlay .inner .viewver img {
	max-height: 85vh;
	max-width: 85vw;
}