@font-face {
	font-family: guillaumot6;
	src: url(‘/fonts/guillaumot6.woff’) format(‘woff’),
	url(‘/fonts/guillaumot6.woff2’) format(‘woff2’),
	url(‘/fonts/guillaumot6.ttf’) format(‘truetype’);
}


html {
	min-height: 100%;
	height: auto;
	/* permet à au site de s'étendre au format de l'écrant d'utilisateur. sinon le background "linear-gradient" coupe */ 
}


body {
	font-family: Georgia,Times,'Times New Roman';
	font-size: 1em;
	background: linear-gradient( grey, black);
	color: #d2ebc3;
	min-width: 375px;
}


a:link {
	color: #debbec;
}
a:visited {
	color: #806898;
}


.menu {
	z-index: 2;
	position: relative;
	list-style-type:none;
	padding-left: 0px;
	max-width: 100px;
}
.menuheader li a {
	color: #d2ebc3;
}
.menu li a {
	text-decoration: none;	
}
.menu ul {
	border-top: ridge 5px;	
	border-left: ridge 5px;	
	border-right: ridge 5px;	
	border-radius: 0px 0px 35px 35px;
	border-color: #d2ebc3; /* pour chrome */
	list-style-type:none;
	background: #c2d8a6;
	
	height: 0;
	opacity: 0;
	position: relative;
	transition: all .3s ease;
	top: 35px;
    padding: 0px;
	
	overflow: hidden;
	
	display: flex;
    flex-direction: column;
}
.menu li:hover ul {
	height: 170px;
	opacity: 1;
	transform: translateY(0);
}
.menu li:hover #apropos {
	height: 200px;
	opacity: 1;
	transform: translateY(0);
}
.menu ul a {
	color: #5c4c6d;
	display: block;
	padding: 5px;
	text-decoration: underline;
}
.menu img {
	position: relative;
	top: -8px;
	display: block;
	max-width: 100px;
	margin: auto;
	opacity: 0;
	transition: all .2s ease-in;
}
.menu li:hover img{
	
	opacity: 1;
}
.divmenu{
	position:absolute;
	left: -10px;
	top: 0px;
}

.menuheader {
	margin: auto;
	max-width: 540px;
	padding-left: 30px;
	padding-right: 30px;
	text-align: center;
	margin-bottom: -15px;
	
    display: flex;
    flex-direction: row-reverse;
	justify-content: space-evenly;
	align-items: flex-end;
	flex-wrap: wrap-reverse;
	
	position: relative;
	top: -50px;
	
	list-style-type:none;
}
header ul li a {
	margin-top: 10px;
	display: inline-block;
	color: #d2ebc3;
	width: 100px;
	
}
.imgresponsive {
	display: block;
	width: 100%;
	max-width: 570px;
	height: auto;
	margin: auto;
}
a:hover {
	opacity: 0.5;
	transition: .2s;
}


.flexboxaccueil {
	max-width: 1400px;
	margin: auto;
	
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
}


.sectionactu {
	max-width: 360px;
}
.sectionactu h2 {
	margin: auto;
	margin-bottom: 10px;
	text-align: center;
}
.texteactu {
	border: ridge 5px;	
	border-radius: 35px 0px;
	border-color: #d2ebc3;
	padding: 10px;	
}




.feedmastodon {
	position: relative;
	max-width:480px;
}
.cadredragontaille {
	max-width: 100%;
}
.cadredragon {
	z-index : 1;
	pointer-events: none;
	
	position: absolute;
	top:0px;
	left:0px;
	
	max-width: 100%;
}
iframe {
	z-index : 0;
	position: absolute;
	top:0px;
	left:0px;
	
	width: 62%;
	height: 73%;
	margin-top: 11%;
	margin-left: 23%;
}



nav {
	width: 550px;
	max-height: 635px;
	background-image : url(images/menu-medievil-base.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}
.pasdeclignottement {
	Width : 100%;
	height: 100%;
	background-image : url(images/menu-medievil-base.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	
	display: flex;
    flex-direction: column; 
    justify-content: center;
	align-items: center;
}
.pasdeclignottement a {
	width: 60%;
	height: 65px;
}
.test1 {
	margin-bottom: 0px;
	margin-top: 40%;
}
.test2 {
	margin: 0px;
}
.test3 {
	margin-top: 0px;
	margin-bottom: 40%;
}
.pasdeclignottement:has(> .test1:hover,.test1:focus,.test1:active) {
	background-image : url(images/menu-medievil-selec-1.png);
}
.pasdeclignottement:has(> .test2:hover,.test2:focus,.test2:active) {
	background-image : url(images/menu-medievil-selec-2.png);
}
.pasdeclignottement:has(> .test3:hover,.test3:focus,.test3:active) {
	background-image : url(images/menu-medievil-selec-3.png);
}



footer {
	height: ;
	font-size: 0.7em;
	text-align: center;
	margin: auto;
	margin-top: 50px;
	position: relative;
}
.iconefooter {
	height: 50px;
	
}
.menufooter {
	max-width: 500px;
	margin: auto;
	
	display: flex;
	justify-content: space-evenly;
	flex-wrap: wrap;
	
	list-style-type:none;
	padding: 0px;
}
.menufooter a {
	color: #d2ebc3;
}


.sectioncontact, .sectioncontact h3 {
	text-align: center;
}
.sectioncontact {
	margin: 50px;
	margin-top: 100px;
	margin-bottom: 100px;
}


.titreexpo {
	max-width: 1150px;
	
	margin: auto;
	margin-top: 80px;
	margin-bottom: 20px;
}
.expos h3 {
	margin: 0px;
}
.expos {
	max-width: 1150px;
	max-height: 70px;
	
	overflow: hidden;
	
	margin: auto;
	margin-bottom: 20px;
	
	border: double 5px;	
	border-radius: 35px;
	border-color: #d2ebc3;
	border-left: 0px;
	border-right: 0px;
	
	display: flex;
	justify-content: space-evenly;
	
	transition: .5s ease;
}
.expos:hover {
	max-height: 2400px;
}
.expos:hover .articleexpo {
	margin-top:30px;
	min-width: 300px;
}
.articleexpo {
	margin:20px;
	margin-top: 9px;
	
	min-width: 1100px;
	
	transition: .5s ease;
}
.afficheexpo {
	margin-top: 10px;
	transition: .5s ease;

	img {
	margin:20px;
	max-height: 250px;
	max-width: 200px;
	}
}
.galerieexpo {
	margin:20px;
	margin-top: 30px;
	
	min-width:440px;
	
	display: flex;
	flex-wrap: wrap;
	justify-content: start;
	
	transition: .5s ease;

	a img {
	margin: 5px;
	margin-top: 0px;
	width: 100px;
	height:100px;
	object-fit: cover;
	}
}

@media (max-width: 840px) {
	.expos {
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
	}
	.expos:hover {
		max-height:1200px;
	}
	.galerieexpo {
		justify-content: center;
	}
	.articleexpo {
		min-width:300px;
	}
	section {
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
	}
}

.bio {
	max-width: 1150px;
	margin: auto;
	margin-top: 50px;
	
	display : flex;
	justify-content: space-evenly;
	
	article {
		max-width: 650px;
		min-width: 350px;
		margin: 20px;
	}
	
	aside {
		min-width: 200px;
		max-width: 200px;
		margin: 20px;
		margin-top: 40px;
	}
	aside img{
		width: 100%;
	}
}




.dropdownnavgal {	
	border: ridge 5px;	
	border-radius: 35px 0px;
	border-color: #d2ebc3;
	float: left;
	position: sticky;
	top: 0px;
	
	margin-bottom: 183px;
	background-color: grey;
	
	overflow: scroll;
	max-height: 91vh;
	z-index: 1;
	
	input {
		display: none;
	}
}
.listnavgal > div {
		max-width: 250px;
	}
@media (max-width: 990px) {
	.dropdownnavgal {
		float: inherit;
		position: sticky;
		top: 20px;
		margin-bottom: 10px;
		background-color: grey;
		overflow: scroll;
		max-height: 91vh;
		display: flex;
		flex-direction: column;
		justify-content: center;
		text-align: center;
		margin: auto;
		width: fit-content;
		
		label:after {
			content: "≡";
		}
		input:checked + label:after {
			content: "✗";
		}
		input:checked ~ div {
			grid-template-rows: 1fr;
			grid-template-columns: 1fr;
			max-width: 100%;
		}	
	}
	.listnavgal {
		display: grid;
		grid-template-rows: 0fr;
		grid-template-columns: 0fr;
		transition: all .3s ease;
	}
	.listnavgal > div {
		overflow: hidden;
	}
}

.dropdowncategorie {
    position: relative;
	
	input {
		display: none;
	}
	label:after {
		content: "▼";
	}
	input:checked + label:after {
		content: "▲";
	}
	input:checked ~ div {
		grid-template-rows: 1fr;
	}	
}
.list {
    display: grid;
	grid-template-rows: 0fr;
	transition: all .3s ease;
}
.list > ul {
	overflow: hidden;
}

.galerieart {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 4px;
	justify-content: center;
	
	padding:20px;
	
	a {
		aspect-ratio: 1 / 1;
		border-radius: 5px;
		overflow: hidden;
	}
	
	img {
		width: 110%;
		height:110%;
		object-fit: cover;
		position: relative;
		top : -5%;
		left: -5%;
	}
}	

@media (max-width: 840px) {
	.galerieart a{
		max-width: 100%;
	}
}



/*Dropdown etapes oeuvres*/
.list > div {
	overflow: hidden;
}

.dropdownetapes {
    position: relative;
	
	input {
		display: none;
	}
	label:after {
		content: "Voir les étapes de réalisation ▼";
	}
	.bottometapes:after {
		content: "Masquer les étapes de réalisation ▲";
	}
	input:checked + label:after {
		content: "Masquer les étapes de réalisation ▲";
	}
	input:checked ~ div {
		grid-template-rows: 1fr;
	}	
}
/* Drop down info oeuvres*/
.dropdowninfo {
	
	.text{
		text-align: left;
		padding: 10px;
	}
	input {
		display: none;
	}
	label:after {
		content: "Infos ▼";
	}
	input:checked + label:after {
		content: "Masquer les infos ▲";
	}
	input:checked ~ div {
		grid-template-rows: 1fr;
	}
}






.sectionoeuvre {
	display: flex;
	justify-content: center;
	
	border-radius: 25px;
	background-color: black;
	padding: 5px;
	padding-top: 25px;
}


.galerieoeuvre {
	display: flex;
	flex-direction: column;
	text-align: center;
	
	a {
		display: flex;
		justify-content:center;
	}
	a img{
		max-width: 100%;
		max-height: calc(90vh - 80px);
		margin-bottom: 10px;
	}
	h3{
		margin-top: -5px;
	}
}

.articleoeuvre {
	width: 30%;
	border-radius: 25px;
	padding: 3%;
	margin-left: 20px;
	margin-right: 20px;
	margin-bottom: 183px;
	background-color: grey;
	
	float: right;
	position: sticky;
	top: 0px;
	
	overflow: scroll;
	max-height: 91vh;
	
	h4{
		text-align: center;
		margin-bottom: -5px;
		margin-top: 40px;
	}
}
#directoshopgal {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 4px;
	justify-content: center;
	
	padding:20px;
	
	a {
		aspect-ratio: 1 / 1;
		border-radius: 5px;
		overflow: hidden;
		max-width: 300px;
		justify-self: center;
	}
	
	img {
		width: 110%;
		height:110%;
		object-fit: cover;
		position: relative;
		top : -5%;
		left: -5%;
	}
}

/* Drop down checkbox + astuce "Grid 0fr > 1fr" pour avoir une animation transition auto 100% height*/
.text {
    display: grid;
	grid-template-rows: 0fr;
	transition: all .3s ease;
}
.text > div {
	overflow: hidden;
}

.container {
    position: relative;
	
	label {
		position: absolute;
		top: 100%;
	}
	input {
		display: none;
	}
	label:after {
		content: "Show More";
	}
	input:checked + label:after {
		content: "Show Less";
	}
	input:checked ~ div {
		grid-template-rows: 1fr;
	}
}


