@font-face {
	font-family: "Times";
	src:url("../static/font/times.ttf") ;
}

@font-face {
	font-family: "Times";
	src: url("../static/font/times.ttf");
}

body {

	font-family: "Times";
	/*	background-color:hsl(0, 0%, 95%) ;*/
	/*	padding: 35px;*/
	*/
}

.main {
	display: flex;
	flex-direction: row;
	/*	width: 100vw;*/
}

#panel {
	width: 20vw;
}


.main a {
	color: black;
	text-decoration: none;
}


#artiste-list ul {

	margin: 20px 0px;
}
#artiste-list li {

	margin: 0px;
}

#artiste-list a.active-author {
	text-decoration: underline;
}



ul {
	list-style: none;
	padding: inherit;
	margin: 50px 0px
}

li {
	margin: 20px 0px;
}




h2 {
	padding: inherit;
	margin: 5px 0px;
	font-size: 1,5em;
	font-weight: normal

		/*
		text-decoration: underline;
		padding: inherit;
		font-size: 1em;
		font-weight: inherit;

		*/
}

hr {
	border: none;
	height: 1px;
	background-color: black;
}



h3 {
	padding: inherit;
	font-size: 1em;
	font-weight: inherit;
	margin: 2px;
}

h1 {
	margin:  inherit;
	letter-spacing: 0px;


	padding: inherit;
	font-size: 2.2em;

}

#articles {
	width: 80vw;
}

#works {
	width: 75vw;
	display: grid;
	padding: 0px 250px;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin: 25px 0px;
	box-sizing: border-box;
	align-content: center;
	align-items: center;
}

#works a {
	display: block;
	width: 100%;
}


#view {
	/*	width: 75vw;*/
	padding: 0px 249px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 0px 0px;
	box-sizing: border-box;
	align-content: center;
	align-items: center;
}

#works img {
	max-height: 63vh;
	max-width: 30vw;

}

#view img {

}

.work {
	display: flex;

	flex-direction: column;
	align-items: stretch;
	justify-content: space-between;
	/*	border: solid black 2px;*/
	transition: 0.5s ease-in-out;
	/* centre chaque work */
}

.work img {
	/*	width: 100%;*/
	height: 40vh;
	object-fit: contain;
	display: block;
}

/*

.work:hover {
border: dotted grey 2px;
transition: 0.5s ease-in-out;


}


/* bloc normal */
#view .work {
	transition: all 0.4s ease;
}

/* image */
#view .wimg {
	height: 30vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

#view .wimg img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* MODE ACTIVE */
#view .work.active {
	grid-column: 1 / -1;
}

/* IMPORTANT : empêche les overlaps */
#view.active-mode .work:not(.active) {
	opacity: 0.2;
	transform: scale(0.98);
	pointer-events: none;
}

#view .work.active .wimg {
	height: 90vh;
}

#menu-cat h2 :hover {

	text-decoration: underline;
	transition-duration: 1s;

}


.wimg {
	height: 30vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wimg img {
	height: 100%;
	width: 100%;
	object-fit: contain; /* IMPORTANT */
	display: block;
}

.article-card {
	display: flex;
	flex-direction: column;
}

.article-card p {
	padding: 0px;
	margin: 0px;
}

.article-card h3 {
	padding: 0px;
	margin: 0px;
}



#panel img {

	object-fit: cover;
	width: 23vw;
}


.wdesc p{
	margin: 2px;
	font-style: italic;
	text-decoration: underline;
	font-size: 1.5em;
}

.footer {
	position: fixed;
	bottom: 0;
	left: 0;
	margin: 8px;
	width: 100%;
	/*	background-color: red;*/
	text-align: left;
}

.footer p {
	margin: 2px 0px;
	font-size: 0.8em;
	color: #9e9e9e;
	font-family: "Times";
	text-decoration: none;

}

.footer a {

	color: #9e9e9e;
	font-family: "Times";
	text-decoration: none;

}

@media only screen and (max-width: 1000px) {



	body {
		padding: inherit;
		padding: 5px
	}

	.main {
		display: flex;
		flex-direction: column;
		/* width: 100vw; */
	}

	#panel {
		width: inherit;
	}

	#articles {
		width: inherit;
		margin: 20px 0px;
	}

	#works {
		display: grid;
		width: inherit;
		margin: 0px 0px 20px;
		grid-template-columns: repeat(2, 1fr);
	}

	#view .wimg {
		height: inherit;
	}

	#view .work.active .wimg {
		height: inherit;
	}


	#artiste-list ul {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		list-style: none;
		padding: inherit;
		margin: 10px 0px;
	}


	#artiste-list li {
		text-align: left;
	}

	ul {
		list-style: none;
		padding: inherit;
		margin: 10px 0px;
	}


	li {
		list-style: none;
		padding: inherit;
		margin: 0px 0px;
	}

	nav {
		width: inherit;
	}

	#works {

		margin: 0px 0px 20px;
		padding: 0px;

	}

	#works img {
		max-height: 63vh;
		max-width: 100%;
	}

	.work img {
		height: inherit;
	}

	#view {
		width: 100%;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
		margin: 15px 0px; 
		padding: 0px;
		box-sizing: border-box;
		align-content: center;
		align-items: center;
	}

	h1 {
		font-size: 2em;
		color: black;
	}

	#articles h1 {
		font-size: 0.7em;
		margin: 0px;
		color: black;
	}

	h2 {
		padding: inherit;
		font-size: 0.7em;

	}

	.article {
		display: flex;
		width: 80vw; 
		padding: inherit;
	}

	#sliderShow {
		margin: inherit
	}

	.work {
		display: flex;
		border: 0px solid black;
		border-radius: 2px;
		overflow: hidden;
		transition-duration: 1s;
		flex-grow: 1;
		flex-direction: column;
		align-content: space-around;
		justify-content: space-between;
		color: black;
		align-items: flex-start;
		background-color: white;
	}

	.wdesc {
		font-size: 0.6em;
	}

	#panel img {
		max-width: 100%;
		height: auto;
		margin: 10px;
	}

	.footer {
		position: static;
		bottom: 0;
		left: 0;
		margin: 0px;
		width: 100%;
		/*	background-color: red;*/
		text-align: left;
	}

	.footer p {
		margin: 2px 0px;
		color: #9e9e9e;
		font-family: "Times";

	}


}






