/*
Theme Name: Custom theme
Author: FafaThe1st
Author URI: http://www.fafathe1st.com
Description: Custom theme for Num-Eric website
Version: 1.0
*/

@font-face {
	font-family: "Very Damaged";
	src: url('fonts/Very Damaged.ttf');
}

@font-face {
	font-family: "HWYGOTH";
	src: url('fonts/HWYGOTH.TTF');
}

@font-face {
	font-family: "CenturyGothic";
	src: url('fonts/CenturyGothic.ttf');
}

.{
	padding: 0px;
	margin: 0px;
	box-sizing: border-box;
	font-family: "CenturyGothic", sans-serif;
}

body, html{
	padding: 0;
	margin: 0;
	background : #000;
	color: #bbb;
	font-size: 1em;
}

h1{
	letter-spacing: 0.1em;
	font-size: 4em;
	font-variant: small-caps;
	color: #FFF;
}

h2{
	letter-spacing: 0.1em;
	text-shadow: 0px 0px 5px #CC9933;
}

h3{
	font-size: 3em;
	color: #857a74;
}

h4{

}

h5{
	font-size: 1.2em;
	font-weight: 600;
	letter-spacing: 0.3em;
	color: #CC9933;
}

a{
	color: inherit;
}

a:hover{
	text-decoration: none;
	color: inherit;
}














  /*--------------------*/
 /*      Accueil       */
/*--------------------*/

#landing-page{
	min-height: 100vh;
	padding-top: 20px;
	position: relative;
}

#landing-page-title{
	text-align: center;
	z-index: 50;
}

#landing-page-title h3{
	margin-top: -0.8em;
}

#land-page-img{
	display: flex;
}

#land-page-img img{
	height: 200px;
	width: auto;
	margin: 20px auto;
	justify-content: center;
	z-index: 30;
}

#land-page-menu{

}

#land-page-menu ul{
	display: block;
	width: 100%;
	padding: 0px;
	text-align: center; 
	z-index: 40; 
}

#land-page-menu ul li{
	list-style: none;
	display: block;
	line-height: 20px;
	padding: 10px;
	margin: 5px;
	vertical-align: center;
}

#land-page-menu ul li a{
	font-family: 'CenturyGothic', sans-serif;
	font-size: 1.5em;
	letter-spacing: 0.1em;
	color: #b6b6b6;
	text-decoration: none;
	transition: 0.3s;
}










  /*-------------------*/
 /*      Header       */
/*-------------------*/

header{
	background: rgba(0,0,0,1);
	padding: 10px;
	margin-bottom: 10px;
	height: 70px;
	position: -webkit-sticky;
	position: sticky;
	top: 0px;
	z-index: 50;
}

#logo{
	background: rgba(0,0,0,1);
	display: flex;
	justify-content: flex-start;
	height: 60px;
}

#logo img{
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
	transition: 0.3s;
}


#hamburger{
	display: block;
	font-size: 30px;
}

#hamburger i{
	display: block;
	cursor: pointer;
	position: absolute;
	right: 20px;
	top: 0px;
}

#navigation{
	background: rgba(0,0,0,1);
	display: block;
	padding: 0px;
	position: fixed;
	border-bottom: solid 1px white;
	top: 70px;
	left: -150vw;
	z-index: 40;
	transition: left 0.3s;
}

#navigation.opened{
	left: 0px;
}

#navigation ul{
	display: block;
	width: 100vw;
	padding: 0px;
	text-align: center;
}

#navigation ul li{
	list-style: none;
	display: block;
	line-height: 20px;
	padding: 10px;
	margin: 5px;
	vertical-align: center;
}

#navigation ul li a{
	color: inherit;
	text-decoration: none;
	font-weight: bold;
	font-size: 0.8em;
	transition: 0.3s;
}

#navigation ul li a:hover,
#navigation ul li a.active{
	text-decoration: none;
	color: #CC9933;
}








  /*-------------*/
 /*    PAGE     */
/*-------------*/

#page{
	box-sizing: border-box;
	display: block;
	min-height: 60vh;
	height: auto;
	/*border: solid 1px green;  à supprimer */
	/*min-height: 1500px;   à supprimer */
	padding: 0px; 
	margin-bottom: 80px;
}

#pagetitle{
	text-align: center;
	padding: 5px 0px 5px 0px;
}










   /*--------------*/
  /*    FOOTER    */
 /*--------------*/

footer{
	background: rgba(0,0,0,1);
	margin-top: 50px;
}

#social-icons{
	text-align: right;
}

#social-icons a:hover{
	color: inherit;
}

#social-icons i{
	margin: 10px;
	font-size: 2em;
}

#others{
	display: none;
}


#contact{
	padding: 10px;
	text-align: center;
}

#contact h4{
	text-align: left;
}

#contact input[type=text],
#contact input[type=email],
#contact textarea{
	font-size: 0.8em;
	font-weight: 500;
	line-height: 1.5em;
	width: 100%;
	padding: 5px;
	margin: 5px 0px;
	border-radius: 3px;
}

#contact input[type=submit]{
	text-align: center;
	width: 50%;
}

#copyright{
	display: flex;
	justify-content: center;
	padding-top: 10px;
	font-weight: 600;
}

#copyright a{
	color: inherit;
	text-decoration: none;
}









  /*------------------*/
 /*      NEWS        */
/*------------------*/

.separation{
	text-align: center;
	width: 100%;
	height: auto;
	margin-top: 1.2em;
	background: url('img/separation.jpg') center no-repeat;
}

#news div{
	text-align: center;
	line-height: 1em;
	margin-bottom: 1.2em;
}

#news h6{
	text-transform: uppercase;
	text-align: center;
	color: #CC9933;
	margin-top: 1.2em;
}

#news img{
	margin-top: inherit;
}

.fa-star{
	color: #CC9933;
	transform: rotate(-10deg);
}

.news-thumb{
	margin-top: 1.2em;
	max-width: 90%;
	height: inherit;
}










  /*------------------*/
 /*    BIOGRAPHY     */
/*------------------*/

#page-bio{
	box-sizing: border-box;
	height: auto;
	padding: 0px;
	background: url('img/bg-portrait.png') right top no-repeat;
}

#page-bio-veil{
	background-color: rgba(0,0,0,0.8);
}

#page-bio p:first-of-type{
	margin-top: 50px;
}

#bio-image{
	display: block;
	text-align: center;
	margin-top: 50px;
}

#bio-image img{
	max-width: 300px;
}










   /*-----------------------*/
  /*      EXHIBITIONS      */
 /*-----------------------*/

.column{
	float: left;
	padding: inherit;
}

#masonrywrapper[data-columns]::before{
	content: '2 .column.col-6';
}

#masonrywrapper{
	padding-top: 20px;
	width: 100%;
	display: flex;
}

.masonrypanel{
	/*border: solid 1px #999;
	background: gray;*/
	overflow: hidden;
	padding: 0.5em;
	/*transform: scale(0);*/
	opacity: 0;
	animation: scaleIn 0.5s ease;
	animation-fill-mode: forwards;
}

.masonrycontent{
	line-height: 1em;
	background: #333;
	color: #fff;
	padding-bottom: 0.5em; 
	border-radius: 1px 1px;
	border: solid 1px #999;
}

.masonrycontent:hover{
	transform: scale(1.01);
	box-shadow: 0px 0px 3px #CC9933;
}

.masonrycontent a{
	color: inherit;
}

.masonrycontent a:hover,
.masonrycontent a:focus{
	text-decoration: none;
	color: inherit;
	font-weight: 500;
}

.masonrycontent a img{
	width: 100%;
	height: inherit;
}

.masonrycontent a h6,
.masonrycontent a p
{
	width: 100%;
	margin: 0.5em;
	padding-right: 0.5em;
}

@keyframes scaleIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}












   /*----------------------------*/
  /*      Exhibition-post       */
 /*----------------------------*/

#exhibition-post-thumb{
	max-height: 100%;
	text-align: center;
}

#exhibition-post-thumb img{
	max-width: 100%;
	max-height: 100%;
	height: auto; 
}

#exhibition-post-desc{
	padding-top: 20px;
}

#exhibition-post-desc h6{
	text-align: center;
	font-weight: 900;
	color: #cc9933;
	margin-bottom: 15px;
}

#exhibition-post-img{
	text-align: center;
}

#exhibition-post-img img{
	margin: 5px 0px;
	max-width: 100%;
	height: auto;
}











   /*----------------------*/
  /*      Galleries       */
 /*----------------------*/

#galleries{
	padding-top: 20px;
	height: auto;
	font-family: "CenturyGothic", sans-serif;
	display: flex;
}

#galleries[data-columns]::before{
	content: '2 .column.col-6';
}

.album-card{
	overflow: hidden;
	padding: 0.5em;
}

.album{
	border-radius: 1px;
	border: 1px solid white;
}

.album:hover{
	transform: scale(1.01);
	box-shadow: 0px 0px 3px #CC9933;
}

.album a{
	color: inherit;
}

.album a:hover,
.album a:focus{
	text-decoration: none;
	color: inherit;
	font-weight: 500;
}

.album a img{
	width: 100%;
	height: inherit;
}

.gallery-title-overlay{
	z-index: 20;
	border-radius: 1px;
	border: 1px solid white;
	padding: 10px;
	text-align: center;
	vertical-align: middle;
	background-color: rgba(0,0,0,0.65);
	color: #fff;
	width: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
} 

.gallery-title{
	line-height: 1em;
	font-weight: 600;
	margin-bottom: 20px;
}

.gallery-content{
	line-height: 0.6em;
	font-weight: 300;
}











   /*----------------------*/
  /*     Gallery-post     */
 /*----------------------*/

#gallery-post-thumb{
	text-align: center;
	height: inherit;
}

#gallery-post-thumb img{
	max-width: 100%;
	height: auto;
}

#gallery-post-desc{
	padding: 20px 0px;
	color: #fff;
	font-family: 'CenturyGothic', sans-serif;
	line-height: 0.5em;
}

#gallery-post-desc h6{
	text-align: center;
	font-weight: 900;
	margin-bottom: 15px;
}

#gallery-post-desc div{
	text-align: center;
}

#gallery-post-back{
	color: #555;
	position: absolute;
	bottom: 0px;
	padding: inherit;
	margin-left: -1em;
}

.arrow{
	font-family: 'CenturyGothic', sans-serif;
	font-size: 1.5em;
	font-weight: 500;
}

.arrow a:hover,
.back:hover{
	text-decoration: none;
}

.back{
	display: none;
}













   /*------------------*/
  /*      Links       */
 /*------------------*/

#links[data-columns]::before {
		content: '2 .column.col-6';
}

#links div{
	padding: 10px;
}

.left-links{
	text-align: right;
}

#links div ul{
	list-style: none;
	padding: 0px;
}

#links div ul li{
	padding: 0px;
}

#links div ul li a:hover{
	font-weight: 600;
	text-shadow: 0px 0px 1px #CC9933;
}











   /*------------------*/
  /*       Medias     */
 /*------------------*/

#medias{
	padding-top: 20px;
}

#medias div ul{
	list-style: none;
}

#medias .row div:first-child{
	text-align: right;
	font-family:  'HWYGOTH', sans-serif;
	font-size: 1.5em;
}

#medias div ul li a:hover{
	font-weight: 600;
	text-shadow: 0px 0px 1px #CC9933;
}














   /*------------------*/
  /*   MEDIA QUERIES  */
 /*------------------*/

/* Extra small devices (portrait phones, less than 576px) */
/* No media query for `xs` since this is the default in Bootstrap */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

	header{
		padding: 20px;
		margin-bottom: 20px;
		height: 100px;
	}

	#navigation{
		top: 100px;
	}
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

	#landing-page{
	background-image: url("img/homepage2020.png"); 
	background-position: center;
	background-repeat: no-repeat;
	}

	#landing-page-title{
		display: none;
	}

	#land-page-img{
		position: absolute;
		top: 50%;
		left: 50%;
	}

	#land-page-img img{
		height: auto;
		width: auto;
		margin-top: -50%;
		margin-left: -50%;
	}

	#land-page-menu ul{
		width: inherit;
		position: absolute;
		top: 50%;
		left: 50%;
	}

	#land-page-menu ul li{
		position: absolute;
		transition: 0.5s ease;
	}

	#land-page-menu ul li a:hover{
		color: #CC9933;
	}

	.link1{
		top: -170px;
		left: -270px;
	}

	.link2{
		top: -40px;
		left: -380px;
	}

	.link3{
		top: 80px;
		left: -300px;
	}

	.link4{
		top: -170px;
		left: 210px;
	}

	.link5{
		top: -40px;
		left: 230px;
	}

	.link6{
		top: 80px;
		left: 170px;
	}

	#copyright{
		display: none;
	}

	#logo{
		height: 100px;
	}

	#hamburger{
		display: none;
	}

	#navigation{
		font-family: "CenturyGothic", sans-serif;
		position: relative;
		padding: auto;
		top: inherit;
		left: inherit;
		border: none;
	}

	#navigation ul{
		display: block;
		position: absolute;
		width: auto;
		top: 0px;
		right: 20px;
		border: none;
	}

	#navigation ul li{
		float: left;
	}

	#page-bio-veil{
		background-color: rgba(0,0,0,0.65);
	}

	.portfolio-container{
		height: calc(100vh - 185px);
		position: relative;
	}

	#exhibition-post-img img{
		height: 150px;
		width: inherit;
	}

	#gallery-post-img{
    	text-align:justify;
	}

	#gallery-post-img img{
		height: 150px;
		width: inherit;
		margin: 5px;
	}

	#gallery-post-thumb img{
		max-height: calc(100% - 2px);
		object-fit: contain;
	}

	#gallery-post-desc div{
		text-align: left;
	}

	.back{
		display: inline-block; 
		padding: inherit;
		font-size: 1.5em;
		font-weight: 500;
		letter-spacing: 0.05em;
	}

	.arrow{
		padding: inherit;
	}

	#social-icons{
		display: none;
	}

	#others{
		display: block;
		padding: 10px;
	}

	#others h4{
		text-align: left;
		margin-bottom: 10px;
	}

	#others div.row{
		margin: inherit;
	}

	#others div.col{
		padding: inherit;
	}


	#social-list{
		padding: inherit;
		margin: inherit;
		text-align: left;
		vertical-align: center;
	}

	#social-list li{
		display: inline-block;
		text-decoration: none;
		margin: 2px 10px;
		line-height: 15px;
		height: 15px;
	}

	.site-logo img{
		height: 80px;
		margin-top: -40px;
	}

	.site-link a{
		display: block;
		border: 5px solid white;
		padding: 10px 20px;
		border-radius: 22.5px;
		overflow: hidden;
		font-size: 0.9em;
		color: #fff;
		text-align: center;
		vertical-align: center
	}

	.social img{
		height: 60px;
		margin-top: -30px;
	}

	/*
	.social a{
		white-space: nowrap;
		display: block;
		border: 5px solid white;
		padding: 10px;
		border-radius: 22.5px;
		width: 45px; 
		overflow: hidden;
		font-weight: 600;
		color: #fff;
		text-align: center;
	}

	.social-fb{
		background-color: #4267B2; 
	}

	.social-insta{
		background: #d6249f;
 		background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
	}
	*/

}


/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
	#logo img:hover{
		transform: rotate(5deg);
	}

	#navigation ul li a{
		font-size: 1em;
	}

	#navigation ul li a:hover,
	#navigation ul li a.active{
		font-size: 1.05em;
	}

	#page-bio-veil{
	background-color: rgba(0,0,0,0.5);
	}
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

}




/* MEDIA QUERIES for SALVATTORE.js */
@media screen and (max-width: 767px){
	#masonrywrapper[data-columns]::before {
		content: '2 .column.col-6';
	}

	#galleries[data-columns]::before{
		content: '2 .column.col-6';
	}
}
@media screen and (min-width: 768px) and (max-width: 991px) {
	#masonrywrapper[data-columns]::before {
		content: '3 .column.col-4';
	}

	#galleries[data-columns]::before{
		content: '3 .column.col-4';
	}
}
@media screen and (min-width: 992px) {
	#masonrywrapper[data-columns]::before {
		content: '4 .column.col-3';
	}

	#galleries[data-columns]::before{
		content: '4 .column.col-3';
	}
}