/**
 * Styles frontend — Galerie Alain.
 */

@font-face {
	font-family: "faunedisplay_black";
	src:
		url("../fonts/faune-displayblack-webfont.woff2") format("woff2"),
		url("../fonts/faune-displayblack-webfont.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: "swap";
}

@font-face {
	font-family: "faunetext_bold";
	src:
		url("../fonts/faune-textbold-webfont.woff2") format("woff2"),
		url("../fonts/faune-textbold-webfont.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: "swap";
}

@font-face {
	font-family: "faunetext_regular";
	src:
		url("../fonts/faune-textregular-webfont.woff2") format("woff2"),
		url("../fonts/faune-textregular-webfont.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: "swap";
}

@font-face {
	font-family: "mier_abold";
	src:
		url("../fonts/miera-bold-webfont.woff2") format("woff2"),
		url("../fonts/miera-bold-webfont.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: "swap";
}

@font-face {
	font-family: "mier_aregular_italic";
	src:
		url("../fonts/miera-italic-webfont.woff2") format("woff2"),
		url("../fonts/miera-italic-webfont.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: "swap";
}

@font-face {
	font-family: "mier_aregular";
	src:
		url("../fonts/miera-regular-webfont.woff2") format("woff2"),
		url("../fonts/miera-regular-webfont.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: "swap";
}

:root {
	--galerie-beige: #ddc2a4;
	--galerie-beige-clair: #f5ede4;
	--galerie-noir: #181e24;
}

*,
::before,
::after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

/* Works on Firefox */
* {
	scrollbar-width: thin;
	scrollbar-color: #808080 #eaeaea;
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
	width: 3px;
}

*::-webkit-scrollbar-track {
	background: #eaeaea;
}

*::-webkit-scrollbar-thumb {
	background-color: var(--galerie-black);
	border-radius: 20px;
	border: 2px solid #eaeaea;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "mier_aregular", Arial, Helvetica, sans-serif;
	font-size: 20px;
	line-height: normal;
}

#site-wrapper {
	overflow-x: clip;
}

.menu-open {
	overflow-y: hidden;
	height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "faunetext_regular";
}

h2 {
	font-size: 3rem;
}

h1 strong,
h2 strong,
h3 strong,
h4 strong,
h5 strong,
h6,
.wp-block-heading strong {
	font-family: "faunetext_bold";
}

a {
	color: var(--galerie-beige);
	text-decoration: none;
}

ul {
	padding-left: 0;
	list-style: none;
}

ul.wp-block-list li,
ul.wp-block-page-list li,
ul.wp-block-latest-posts li {
	position: relative;
	padding-left: 35px;
	margin-bottom: 0.5em;
}

ul.wp-block-list li::before,
ul.wp-block-page-list li::before,
ul.wp-block-latest-posts li::before {
	content: "\F135";
	position: absolute;
	left: 0;
	top: 0;
	font-size: 2rem;
	font-family: bootstrap-icons !important;
}

strong,
b,
em,
span {
	font-size: inherit;
	color: inherit;
}

img {
	max-width: 100%;
	height: auto;
}

strong,
b {
	font-family: "mier_abold";
}

.beige {
	color: var(--galerie-beige);
}

.blanc {
	color: #fff;
}

.bg-beige {
	background-color: var(--galerie-beige-clair);
}

.bg-noir {
	background-color: var(--galerie-noir);
}

.bg-blanc {
	background-color: #fff;
}

/* ****************************
 * *********** DIVERS
 * ***************************/

.map-responsive {
	overflow: hidden;
	position: relative;
	height: 0;
	padding-bottom: 56.25%;
}

.map-responsive iframe {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
}

/* ****************************
 * *********** BUTTON
 * ***************************/

.custom-btn {
	display: inline-block;
	padding: 12px 15px 12px 15px;
	text-transform: uppercase;
	font-size: 16px;
	letter-spacing: 1px;
	border: 2px solid var(--galerie-beige);
	border-radius: 50px;

	transition: all 0.4s ease;
}

.custom-btn:hover {
	background-color: var(--galerie-beige);
	color: #fff;
}

.custom-btn::after {
	content: "\2192";
	display: inline-block;
	margin-left: 10px;
	font-family: "faunetext_regular";
}


/* ***********************************
 * * RGPD
 *********************************** */

#tarteaucitronAlertBig #tarteaucitronCloseAlert,
#tarteaucitronAlertBig #tarteaucitronPersonalize,
#tarteaucitronAlertBig #tarteaucitronPersonalize2,
.tarteaucitronCTAButton,
#tarteaucitron #tarteaucitronPrivacyUrl,
#tarteaucitron #tarteaucitronPrivacyUrlDialog,
#tarteaucitronRoot .tarteaucitronDeny,
#tarteaucitronRoot .tarteaucitronAllow {
    background-color: var(--galerie-noir) !important;
    color: #fff !important;
}

#tarteaucitronRoot .tarteaucitronCross::before,
#tarteaucitronRoot .tarteaucitronCheck::before {
    color: #fff !important;
}

#tarteaucitronIcon #tarteaucitronManager {
    opacity: 0.4;
}

#tarteaucitronIcon #tarteaucitronManager:hover {
    opacity: 1;
}

/* ****************************
 * *********** HEADER
 * ***************************/

#site-header {
	background-color: var(--galerie-noir);
}

/* ****************************
 * *********** MENU
 * ***************************/

#site-header nav {
	flex: 1;
	position: relative;
	padding-block: 1em;
}

#site-menu > li > a {
	font-size: 1.8rem;
	font-family: "faunetext_regular";
}

#site-menu a {
	transition: color 0.4s ease;
}

#site-menu li.current-menu-item > a,
#site-menu li.current_page_item > a,
#site-menu li.current_page_ancestor > a,
#site-menu a.active,
#site-menu a:hover {
	color: #fff;
}

#site-menu > li.menu-item-has-children > a::after {
	content: "\2193";
	display: inline-block;
	margin-left: 10px;
}

.sub-menu {
	z-index: 9;
	position: absolute;
	top: 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 0 25px;
	max-width: 85%;
	background: var(--galerie-noir);
	border-top: 2px solid var(--galerie-beige);

	opacity: 0;
	transform: translateY(-10px);
	visibility: hidden;
	transition: all 0.3s ease-in-out;
}

.sub-menu.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.sub-menu > li {
	flex: 1 calc(20% - 20px);
}

.sub-menu > li > a {
	display: block;
	padding: 0.8em;
	font-size: 1.4rem;
	font-family: "faunetext_regular";
}

.sub-menu > li:nth-child(-n + 5) > a {
	border-bottom: 1px solid;
}

#toggle-menu {
	align-items: center;
	margin-left: auto;
	background: transparent;
	border: none;
	padding: 0;
}

#toggle-menu::before {
	content: "Menu";
	text-transform: uppercase;
	font-size: 14px;
	color: var(--galerie-beige);
}

#toggle-menu line {
	stroke: var(--galerie-beige);
	stroke-linecap: round;

	transition: all 0.3s ease;
}

/* **************************** 
 * *********** HOMEPAGE
 * ***************************/

.padding-section {
	padding-block: 3.5em;
}

.title-section {
	margin-bottom: 0.5em;
}

#section-hero .row:first-of-type {
	padding-bottom: 8em !important;
}

#section-hero h1 {
	font-size: 5rem;
}

#section-hero h2 {
	font-family: "mier_aregular";
	font-size: 2.6rem;
	color: #fff;
}

/*
 * SWIPER
 * */

.site-hero-carousel {
	position: relative;
	z-index: 0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 50px;
	margin-top: -6em;
}

#carousel-artistes {
	max-width: 1200px;
	margin: 0;
}

#carousel-artistes a {
	position: relative;
}

#carousel-artistes .swiper-slide img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	object-position: center;
}

#carousel-artistes .swiper-slide h3 {
	z-index: 1;
	position: absolute;
	bottom: 20px;
	right: 50px;
	color: var(--galerie-noir);
}

.slider-navigation > div {
	position: relative;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 60px;
	height: 60px;

	transition: all 0.4s ease;
}

.slider-navigation .swiper-button-prev {
	transform: scaleX(-1);
}

.slider-navigation div svg {
	fill: var(--galerie-noir);
	
	transition: all 0.4s ease;
} 

.slider-navigation div:hover svg,
.slider-navigation .swiper-button-disabled svg {
	fill: var(--galerie-beige);
}

/*
 * ARTISTES
 * */

#grid-artistes {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
	gap: 35px;
}

.artiste a {
	overflow: hidden;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.artiste a > img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.artiste-content {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: 250px;
	height: 250px;
	background: rgba(24, 30, 36, 0.8);

	transition: all 0.4s ease;
}

.artiste a:hover .artiste-content {
	width: 100%;
	height: 100%;
}

.artiste-content span {
	font-size: 16px;
}

/* ****************************
 * *********** FOOTER
 * ***************************/

#site-footer {
	padding-block: 3.5em 1em;
}

#site-footer * {
	color: var(--galerie-noir);
}

#site-footer h3 {
	font-size: 3rem;
}

#site-footer .text-secondary {
	font-size: 16px;
}

.footer-widget ul,
.footer-widget a[href^="mailto:"] {
	margin-bottom: 10px;
}

.footer-widget a[href^="mailto:"] {
	display: block;
}

.footer-widget a:hover svg {
	transition: all 0.3s ease;
}

.footer-widget a:hover svg {
	fill: var(--galerie-beige);
}

/* ****************************
 * *********** PAGE
 * ***************************/

.page-title {
	font-size: 4rem;
}

.main-content-page *:not(a):not(.has-text-color *) {
	color: #fff;
}

/* ****************************
 * *********** ARTISTE
 * ***************************/

#header-artiste,
#header-page {
	position: relative;
}

#header-artiste .line,
#header-page .line {
	position: absolute;
	bottom: 3.5em;
	right: 0;
	width: 23%;
	height: 2px;
	background-color: var(--galerie-beige);
}

#header-page img,
#header-artiste img {
	width: 100%;
	margin-left: auto;
}

.photo-title {
	font-family: "mier_aregular", Arial, Helvetica, sans-serif;
}

.introduction-content-page,
.main-content-artiste {
	margin-bottom: -3em;
	padding: 0 3.5em 3.5em;
	background-color: #fff;
}

.introduction-content-page p:last-child,
.main-content-artiste .wp-block-paragraph:last-child {
	margin-bottom: 0;
}

.text-page,
.text-artiste {
	font-size: 2.4rem;
	font-family: "faunetext_regular";
	text-align: justify;
}

#introduction + #main-content,
#galerie {
	padding-top: 8em;
}

#grid-artistes.gallery li {
	border-bottom: 1px solid var(--galerie-beige);
}

#grid-artistes.gallery img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

/* ****************************
 * *********** MQ WIDE
 * ***************************/

@media screen and (min-width: 2000px) {
	/*
	 * HOME
	 * */
	#carousel-artistes {
		max-width: 75%;
	}

	/*
	 * PAGE
	 * */
	#header-page img,
	#header-artiste img {
		width: 90%;
	}
}

/* ****************************
 * *********** MQ SMALL
 * ***************************/

@media screen and (max-width: 1400px) {
	/*
	 * HEADER
	 * */

	.sub-menu {
		max-width: 100%;
	}

	/*
	 * HOME
	 * */

	#carousel-artistes {
		margin: 0 auto;
	}

	#artistes-navigation {
		width: 100%;
		justify-content: center;
	}

	/*
	 * PAGE
	 * */
	.introduction-content-page br {
		display: none;
	}
}

@media screen and (max-width: 1280px) {
	/*
	 * MENU
	 * */

	.sub-menu > li > a {
		font-size: 1rem;
	}
}

@media screen and (max-width: 1200px) {
	/*
	 * HOME
	 * */
	#section-hero h1 {
		font-size: 4rem;
	}

	/*
	#section-hero h2 {
		font-size: 2.8rem;
	}
*/

	/*	#carousel-artistes {
		margin-right: 4em;
	}*/

	#grid-artistes {
		grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
		gap: 25px;
	}
}

@media screen and (max-width: 990px) {
	.wp-block-columns {
		margin-bottom: 0;
		flex-wrap: wrap !important;
	}

	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
		flex-basis: 100% !important;
	}

	.custom-btn {
		padding: 9px 10px 9px 10px;
	}

	.text-page,
	.text-artiste {
		font-size: 1.8rem;
	}

	/*
	 * MENU 
	 * */

	#site-header {
		position: relative;
		height: 150px;
	}

	#site-header {
		padding-inline: 0.5em;
	}

	#bloc-logo img {
		width: 120px;
		height: 120px;
	}

	#site-header nav {
		position: initial;
	}

	#site-header nav {
		z-index: 999;
		overflow-y: scroll;
		position: absolute;
		width: 100%;
		height: calc(100vh - 150px);
		top: 150px;
		left: 0;
		bottom: 0;
		background-color: rgb(24 30 36 / 95%);

		opacity: 0;
		visibility: hidden;
		transform: translateY(-20px);

		transition: all 0.3s ease-in-out;
	}

	#site-header nav.is-open {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	#site-menu {
		flex-direction: column;
		padding: 0.5em 1.5em;
		gap: 15px !important;
	}

	#site-menu > li > a {
		display: block;
		padding: 5px 10px;
		font-family: "faunedisplay_black";
	}

	.sub-menu {
		max-height: 0;
		transform: translateY(0);
		position: relative;
		top: 0;
		background-color: transparent;
	}

	.sub-menu.is-open {
		max-height: 500vh;
	}

	.sub-menu > li {
		flex: 100%;
	}

	.sub-menu > li > a {
		padding: 0.5em 1.5em;
		font-size: 1.2rem;
		border-bottom: 1px solid;
	}

	/*
	 * HOME 
	 * */
	#section-hero h1 {
		font-size: 3rem;
	}

	#section-hero h2 {
		font-size: 2.2rem;
	}

	/*	.site-hero-carousel {
		margin-top: -10.5em;
	}*/

	/*
	 * SINGLE
	 * */

	.btn-artiste {
		display: flex;
		gap: 10px;
	}
}

@media screen and (max-width: 768px) {
	/*
	 * HOME
	 * */

	#section-about p {
		font-size: 2.4rem !important;
	}

	#grid-artistes {
		grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	}

	/*
	 * SINGLE
	 * */

	.header-artiste-content {
		margin-top: 2em;
		text-align: center;
	}

	.btn-artiste {
		justify-content: center;
	}

	/*
	 * PAGE
	 * */

	#header-artiste .line,
	#header-page .line {
		display: none;
	}
}

@media screen and (max-width: 576px) {
	body,
	.main-content-page p {
		font-size: 18px !important;
	}

	#site-header {
		height: 132px;
	}

	#bloc-logo img {
		width: 100px;
		height: 100px;
	}

	.text-page,
	.text-artiste {
		font-size: 1.4rem;
		text-align: left;
	}

	.page-title {
		font-size: 2.4rem;
	}

	h2 {
		font-size: 2rem;
	}

	.introduction-content-page,
	.main-content-artiste {
		padding: 0 1.5em 1.5em;
	}

	ul.wp-block-list li::before,
	ul.wp-block-page-list li::before,
	ul.wp-block-latest-posts li::before {
		font-size: 1.6rem;
	}

	ul.wp-block-list li,
	ul.wp-block-page-list li,
	ul.wp-block-latest-posts li {
		padding-left: 30px;
	}

	/*
	 * MENU
	 * */

	#site-header {
		padding-inline: 2em;
	}

	#site-header nav {
		height: calc(100vh - 132px);
		top: 132px;
	}

	/*
	 * HOME 
	 * */

	.padding-section {
		padding-inline: 1.5em;
	}

	#section-hero h1 {
		font-size: 2rem;
	}

	#section-hero h2 {
		font-size: 1.8rem;
	}

	/*	.site-hero-carousel {
		margin-top: -7em;
	}*/

	/*	#carousel-artistes {
		margin-right: 2em;
	}*/

	#section-about p {
		font-size: 1.8rem !important;
	}

	#grid-artistes {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
		gap: 15px;
	}

	.artiste-content {
		width: 150px;
		height: 150px;
	}

	.artiste-content img {
		width: 35px;
	}

	.artiste-content span {
		font-size: 12px;
	}

	.artiste-content h3 {
		font-size: calc(1rem + 0.6vw);
	}

	#site-footer h3 {
		font-size: 2.4rem;
	}

	.footer-widget {
		flex-direction: column;
		gap: 20px !important;
		text-align: center;
	}
}

@media screen and (max-width: 480px) {
	#site-header {
		height: 110px;
	}

	#bloc-logo img {
		width: 80px;
		height: 80px;
	}

	/*
	 * MENU
	 * */

	#toggle-menu svg {
		width: 60px;
	}

	#site-header nav {
		height: calc(100vh - 110px);
		top: 110px;
	}

	/*
	 * HOME
	 * */

	#section-hero h1 {
		font-size: 1.8rem;
	}

	#section-hero h2 {
		font-size: 1.6rem;
	}

	/*
	 * PAGE
	 * */

	.btn-artiste {
		flex-direction: column;
		gap: 0;
	}

	.btn-artiste li {
		margin-bottom: 0.5em !important;
	}
}
