:root{
	--color1: #fff9f4;
	--color2: #e09558;
	--color3: #572910;
	--color5: #ffdcbf;
	--padding_medium: 1rem;
	--padding_small: 0.5rem;
	--font_size1: 2.8rem;
	--font_size1_2: 2rem;
	--font_size2: 1.5rem;
	--font_size3: 0.9rem;
}

::selection {
    color: var(--color3);
    background-color: var(--color2);
}

@font-face {
	font-family: "ronzino-bold";
	src: url("../fonts/Ronzino-Bold.woff2") format("woff2");
}
@font-face {
	font-family: "ronzino-bold-oblique";
	src: url("../fonts/Ronzino-BoldOblique.woff2") format("woff2");
}
@font-face {
	font-family: "ronzino-medium";
	src: url("../fonts/Ronzino-Medium.woff2") format("woff2");
}
@font-face {
	font-family: "ronzino-medium-oblique";
	src: url("../fonts/Ronzino-MediumOblique.woff2") format("woff2");
}
@font-face {
	font-family: "ronzino-oblique";
	src: url("../fonts/Ronzino-Oblique.woff2") format("woff2");
}
@font-face {
	font-family: "ronzino-regular";
	src: url("../fonts/Ronzino-Regular.woff2") format("woff2");
}
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

html {
	background-color: var(--color1);
	color: var(--color3);
	overflow: hidden;
	background: linear-gradient(45deg, var(--color5), var(--color1), var(--color5), var(--color1));
  	background-size: 400% 400%;
  	/* animation: halo 10s ease infinite; */
}

/* @keyframes halo {
	0% {
	  background-position: 0% 50%;
	}
	50% {
	  background-position: 100% 50%;
	}
	100% {
	  background-position: 0% 50%;
	}
  } */

/* SCROLLBAR */
::-webkit-scrollbar {
    width: var(--padding_small);
  }
  /* Track */
  ::-webkit-scrollbar-track {
    background-color: var(--color5);
  }
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background-color: var(--color2);
    transition: all 0.3s;
  }
  ::-webkit-scrollbar-thumb:hover {
    background-color: var(--color3);
    cursor: pointer;
    transition: all 0.3s;
  }

  /* SCROLLBAR pour Firefox */
  @-moz-document url-prefix() {
	* {
	  scrollbar-width: thin;
	  scrollbar-color: var(--color2) var(--color5);
	}
  }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
body{
    background-color: var(--grey);
}

body, p{
	font-family: "ronzino-regular";
}

/* ________________ H __________________ */
.logo img{
	width: auto;
	height: 48px;
	transition: all 0.3s;
}
.logo h1{
	font-size: 3em;
    display: flex;
    color: var(--color2);
    padding: 0;
    padding-bottom: 0 !important;
    align-items: center;
	transition: all 0.3s;
}
h1 svg {
	width: 50px;
	height: auto;
}
.logo b{
	font-weight: normal;
	font-family: "ronzino-regular";
	transition: all 0.3s;
}
.logo h1:hover{ 
	color: var(--color3);
	transition: all 0.3s;
}
.logo h1:hover svg {
	fill: var(--color3); 
	transition: all 0.3s;
}
svg {
	fill: var(--color2); 
	transition: all 0.3s;
}
h1 {
	font-size: 2.8rem;
	font-weight: normal;
	padding-bottom: var(--padding_small) !important;
}
h2 {
	font-size: var(--font_size1_2);
	font-weight: normal;
	padding-bottom: var(--padding_small) !important;
}
h3 {
	font-size: var(--font_size2);
	font-weight: normal;
	padding-bottom: var(--padding_small);
}

p { 
	font-size: var(--font_size3);
	line-height: 110%;
}

em, i {
	font-family: "ronzino-oblique";
	font-style: normal;
	text-transform: none;
}
strong, b {
	font-family: "ronzino-bold";
	font-style: normal;
	text-transform: none;
}

a{
	text-decoration: none;
	color: var(--color2);
}
a:hover{
	color: var(--color3);
}

p a{
	text-decoration: none;
	color: var(--color2);
	border-bottom: 1px solid inherit;
}

a:visited {
	color: none;
}

.container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto;
	height: 100vh;
}
/*            HEADER              */

header {
    grid-column: span 2;
	height: 55px;
	display: flex;
	padding: var(--padding_medium);
	width: calc(100% - var(--padding_medium)* 2);
	justify-content: space-between;
	z-index: 20000;
	border-bottom: 1px solid var(--color2);
}
.logo, .buttons {
	align-content: center;	
}

button {
	color: var(--color2);
    height: auto;
    padding: var(--padding_medium);
    border: none;
    background: none;
	cursor: pointer;
	font-size: var(--font_size2);
	transition: all 0.3s;
}
button:hover {
	color: var(--color3);
	transition: all 0.3s;
}

.pop_up{
	display:none;
	position: fixed;
	overflow : hidden;
	width: calc(100% / 3 * 1);
	height: auto;
	border: 1px solid var(--color2);
	top:120px;
	padding: 0 !important;
	background-color: var(--color1);
	font-size: var(--font_size2);
	z-index: 1000;
	animation: bop 0.5s 1 ease-in-out;
}
.pop_up.new{
	background-color: var(--color5);
}
@keyframes bop {
	0%{transform:translateX(60px);opacity: 0;}
	100%{transform:translateX(0px);opacity: 1;}
}
.pop_up_content{
	overflow-y: scroll;
	overflow-x: hidden;
	width: calc(100% - var(--padding_medium) * 2);
	padding: var(--padding_medium);
	height: calc(100% - var(--padding_medium) * 2);
}
#bio_content.active_bio, #activities_content.active_activities{
	display: block;
	left:0;
	bottom:0;
}
#bio_button.active_button_bio, 
#activities_button.active_button_activities, 
#pastevents_button.active_button_pastevents{
	color: var(--color3);
}

#bio_content .block-type-text{
	position: relative;
}
.button_off{
	position: absolute;
	overflow: hidden;
	background-color: var(--color2);
	width:20px;
	height:20px;
	top: var(--padding_small);
    right: var(--padding_small);
	border: 1px solid var(--color3);
	border-radius: 0%;
	display: grid;
	cursor: pointer;
	justify-content: center;
	align-items: center;
	font-size: var(--font_size3);
	transition: all 0.3s;
}
.button_off:before, .button_off:after {
	position: absolute;
	content: ' ';
	left: 10px;
	height: 30px;
	width: 1px;
	background-color: var(--color3);
  }
  .button_off:before {
	transform: rotate(45deg);
  }
  .button_off:after {
	transform: rotate(-45deg);
  }
.button_off:hover{
	background-color: var(--color3);
	border-radius: 50%;
	transition: all 0.3s;
}

/*          TOUR DATE         */
.marquee{
	overflow: hidden;
	border-bottom: 1px solid var(--color2);
	background-color: var(--color1);
	padding: var(--padding_small) 0 !important;
	cursor: pointer;
	font-family: "ronzino-oblique";
	position: absolute;
	width: 100%;
	z-index: 1200;
	border-right: 1px solid var(--color2);
	border-left: 1px solid var(--color2);
	transition: all 0.3s;
	white-space: nowrap;
}
#tour_date.active_snare,
#tour_date_project.active_project_snare,
#music_date.active_snare {
	background-color: var(--color3);
	color: var(--color1);
	font-family: "ronzino-bold-oblique";
	transition: all 0.3s;
}

.marquee:hover{
	background-color: var(--color2) !important;
	transition: all 0.3s;
}
.newMarquee {
  display: inline-block;
  white-space: nowrap;
}

.newMarquee p,
.newMarquee br,
.newMarquee em,
.newMarquee strong {
  display: inline;
  white-space: nowrap;
  margin: 0;
  padding: 0;
}

.newMarquee br {
  display: none;
}
.newMarquee br {
  display: none !important;
}
#tour_date, #tour_date_project {
	background-color: var(--color5);
	transition: all 0.3s;
}

#items_container.item_active{
	display:block;
	top: 120px;
	bottom:calc(50% - 50px);
	left:calc(100% / 3 * 2);
}
#items_container_project.item_active{
	display:block;
	top: 120px;
	bottom: 0;
	left:calc(100% / 3 * 2);
}
#music_programm_container.music_programm_active{
	display:block;
	left:calc(100% / 3 * 2);
	top:calc(50% + 49px);
	bottom:0%;
}

.music_none {
	padding: var(--padding_medium) 0;
}
.music_none h2 {
	padding: 0 !important;
}

#activities_content.active_activities{
	display:block;
	left:calc(100% / 3 * 1);
	top: 120px;
	bottom: calc(50% - 50px);
}
#pastevents_content.active_pastevents{
	display: block;
	left:calc(100% / 3 * 1);
	top: calc(50% + 49px);
	bottom: 0%;

}

/*________________ LEFT HOMEPAGE  _________________*/

.content_left_right {
	width:calc(100% - var(--padding_medium) * 2);
	height: calc(100% - 35px - var(--padding_medium));
	padding: 0 var(--padding_medium);
	top:3px;
	padding-top: var(--padding_medium);
	overflow-y: scroll;
	overflow-x: hidden;
}
.content_left_right li:last-child {
	padding-bottom: var(--padding_medium);
}
.projects_list{
	padding-top: calc(var(--padding_medium) * 3);
}
ul {
	gap: var(--padding_medium);
    display: grid;
}
#left {
	max-width: 100%;
	overflow:hidden;
	position: relative;
}

.info_flex {
	display: flex;
    column-gap: var(--padding_medium);
    justify-content: flex-start;
    color: var(--color2);
    font-family: "ronzino-oblique";
}

/*  project  */

.project{
	display: flex;
	color: var(--color3);
	column-gap: var(--padding_medium);
}
.project:hover .project_image img{
	opacity: 0.8;
	transition: all 0.3s;
}
.project_info{
	width: calc(100% / 3);
}
.project_info h1, .project_info h2{
	padding-bottom: var(--padding_small);
}
.project_image{
	display: flex;
	overflow: hidden;
	height: 375px;
	background-color: var(--color2);
  	width: calc(100% / 3 * 2);
}
.project_image img {
	width: 100%;
	opacity: 1;
	object-fit: cover;
	transition: all 0.3s;
}

.project_image.smartphone{
	display:none;
}

/*     ITEMS  ACTIVITIES    */

#pastevents_content .pop_up_content {
	width: 100%;
	height: 100%;
	padding: 0px;
}
.agenda_sub{
	gap: var(--padding_medium);
	display: grid;
	padding: var(--padding_medium);
	padding-bottom:0px;
}
.agenda_sub:first-child{
	background-color: var(--color1);
}
.agenda_sub .item{
	border-bottom: 1px solid var(--color2);
	padding-bottom: var(--padding_small);
}
.info_item{
	padding-bottom: var(--padding_small);
	color: var(--color2);
}

#activities_content .item {
	padding-bottom: var(--padding_medium);
}
.item{
	padding-bottom: var(--padding_medium);
}

/*________________ RIGHT HOMEPAGE  _________________*/
#right{
	overflow: hidden;
	bottom: 0;
	position: relative;
}

.description {
	padding-bottom: var(--padding_medium) !important;
	font-size: var(--font_size2);
  }
/*________________ RIGHT PROJECTPAGE  _________________*/

#gallery img {
	width: 100%;
}
figcaption {
	font-family: "ronzino-oblique";
	font-size: var(--font_size3);
	color: var(--color3);
	opacity: 0.7;
}
figure{
	overflow: hidden;
	width: 100%;
}
figure img{
	width: 100%;
}
.block:last-child {
	padding-bottom: 3em !important;
}
#block_container {
	gap: var(--padding_medium);
	display:grid;
}
.block-type-text h2, .block-type-heading h2{
	padding: 0px !important;
}

.smartphone {display:none;}


/* Responsive Design */
/* TABLETS */
@media (min-width: 769px) and (max-width: 1024px) {
	.logo h1{
		font-size: 2.3em;
	}
	h1{
		font-size: 2.6em;
	}
	h1 svg {
		width: 40px;
		height: auto;
		}
	h2{
		font-size: 1.5em;
	}
	h3, button{
		font-size: 1.1em;
	}

}
/* SMARTPHONE */
@media (max-width: 768px) {
	.hide-mobile {
    display: none !important;
  	}

	:root{
		--font_size1: 3rem;
	}
	
    .container {
        grid-template-columns: 1fr; /* Stack everything on small screens */
		display: block;
		overflow: auto;
		overflow-x: hidden;
    }

    #left {
        grid-template-columns: 1fr; /* Stack sub-articles */
		padding-top: calc(var(--padding_medium) * 5);
    }

	.smartphone {
		display:block;
	}
	.container_right_smart{
		padding:0 !important;
		margin-top: calc(var(--padding_medium) * 2);
	}

    header, footer, .article1, .article2 {
        grid-column: span 1;
    }
	header {
        padding: var(--padding_small);
		width: calc(100% - var(--padding_small) * 2);
		position: fixed;
    	height: 55px;
		background-color: var(--color5);
    }

	.project{
		display:block;
	}
	.laptop{
		display:none;
	}
	.project_image.smartphone{
		display:flex;
		width:100%;
		height: auto;
		margin-bottom: var(--padding_small);
	}
	.project_info{
		width:100%;
	}

	#right{
		position: fixed;
		width: 100vw;
		top: 72px;
		transform: translateX(100%);
		transition: 1s all;
	}
	.responsive_left{
		display: block !important;
		width: 100%;
		height: auto;
		position: relative !important;
		transform: none !important;
		padding-top: calc(var(--padding_medium) * 6) !important;
	}
	.responsive_right{
		display: block !important;
		width: 100%;
		height: auto;
		position: relative !important;
		transform: none !important;
		top: 0;
		left: 0;
	}
	.projects_list{
		padding-top: 0;
	}
	.pop_up {
		top: 104px;
	}

	#right_button.smartphone {
		display:block;
	}

	#right_button {
		position: fixed;
		left:auto;
		right:0;
		bottom:0;
		background-color: var(--color2);
		padding: var(--padding_small);
		z-index: 200000;
		transition: 1s all;
	}
	#right_button.right_button_active{
		left:0;
		right:auto;
		background-color: var(--color3);
		color: var(--color1);
		transition: 1s all;
		z-index: 200000 !important;
	}

	#right.right_active{
		transform: translateX(0%);
		transition: 1s all;
		background-color: var(--color5);
	}

	#tour_date.nope {
		opacity: 0;
		transition: all 0.3s;
	}

	.content_left_right.projects_list {
		padding-top: calc(var(--padding_medium) * 2.6);
	}

	button {
    font-size: var(--font_size3);
	}
	.pop_up {
		width: 100vw;
		position: fixed;
	}
	#tour_date, #tour_date_project{
		position: fixed;
		top: 72px;
	}
	#bio_content.active_bio{
		z-index: 800;
		top: 104px !important;
	}
	#activities_content.active_activities{
		top: calc(72px * 2 + 33px) !important;
		bottom: 0;
		z-index: 900;
	}
	
	#pastevents_content.active_pastevents{
		left: 0;
		top: calc(72px * 3 + 33px);
	}
	#items_container.item_active, 
	#items_container_project.item_active {
		top: calc(72px * 4 + 33px);
		bottom: 0;
	}
	#items_container_project.item_active{
		left: 0;
	}
	#items_container.item_active, 
	#items_container_project.item_active{
		z-index: 100000;
	}
	#music_programm_container.music_programm_active {
		position: fixed !important;
		top: calc(72px * 4 + 33px) !important;
		left: 0 !important;
		width: 100vw !important;
		z-index: 100000 !important;
		overflow-y: auto;
		display: block !important;
		transform: none !important;
	}
	
	#activities_content.active_activities, #music_programm_container.music_programm_active, #bio_content, #items_container.item_active{
		left:0;
	}
}