@font-face {
	font-family: "Whois";
	src: url("../font/Helvetica.ttf");
}

@font-face {
	font-family: "police2";
	src: url("../font/FramesPartOne-Regular.otf");
}

body {
	margin: 2px;
	padding: 2px;
	font-family: "Whois";
	background-color: #ebebeb;
}

a {
	text-decoration: none;
	color: black;
	transition: 0.75s;
}

a:hover {
	/*	letter-spacing: 0.2px;*/
	text-decoration: underline;
}

a:has(h3):hover {
	background: transparent;
	color: black;
}

/* MENU */

#menu a {
	display: block;
	padding: 8px;
	background-color: white;
	transition: 0.5s;
}

#menu a:hover,
#menu-cat a:hover,
details summary:hover,
.info-link:hover {
	background-color: #ebebeb;
}

#menu a:has(h3):hover {
	background-color: transparent;
}

#menu-cat {
	width: 16vw;
}

#menu-cat ul,
details ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* DETAILS */

details summary,
.info-link {
	cursor: pointer;
	margin: 10px 10px 5px 0;
	font-size: 1.37em;
	display: block;
	user-select: none;
	outline: none;
	transition: 0.3s;
}

details[open] summary {
	font-weight: bold;
}

/* LAYOUT */

.main {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	overflow: hidden;
}

#panel {
	display: flex;
}

#cartel img {
	margin: 10px 0 0 60px;
	box-shadow: var(--box-shadow);
	/*	width: 50vw;*/
	height: auto;
}

/* WORKS */

#works {
	width: 70vw;
	margin: 0 50px;
}

.work {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0 auto;
	width: auto;
}

.work:hover,
.work:hover .wdesc,
.work:hover h1 {
	color: black;
}

.wimg {
	display: flex;
	justify-content: center;
	transition: 1s;
}

.wimg img {
	display: block;
	width: 100%;
	max-width: 50vw;
	max-height: 90vh;
	object-fit: cover;
	transition: .5s ease-in-out;
}

.wdesc {
	padding: 5px 1px 1px;
	background-color: #ebebeb;
	transition: 1s;
	width: auto;
}

.wdesc img,
#gallery img {
	margin: 5px 0;
	max-width: 100%;
	height: auto;
}

.desc,
.date,
footer {
	display: none;
}

/* TITRES */

h1,
.wdesc h2 {
	margin: 1px 0 5px;
	text-align: end;
}

h3 {
	margin: 10px 60px 0 10px;
	font-size: 1.37em;
	font-weight: normal;
	width: 16vw;
}

/* CATEGORIES */

.cat,
.cat a {
	color: black;
	background: white;
	box-shadow: none;
}

/* INFO */

.info a {
	background: black;
	color: white;
}

.main-content-info {
	display: none;
	flex-wrap: nowrap;
	border-radius: 5px;
	box-shadow: var(--box-shadow);
	padding: 10px;
	width: 100%;
	margin: 10px;
	overflow: hidden;
	justify-content: center;
}

.main-content-info .box {
	flex-basis: 50%;
	padding: 10px 49px;
}

/* MEDIA */

img {
	max-width: 100%;
}

video {
	display: block;
	/*	margin: 10px;*/
	/* width: 400px; */
	/* max-width: 400px; */
	max-width: 100%;
	height: auto;
}

table {
	/*	width: 95vw;*/
}

td {
	text-align: center;
}

/* GALLERY */

#gal {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(430px, 1fr));
	grid-gap: 1px;
	justify-content: center;
	margin: 1px;
}

.img_containers {
	position: relative;
	overflow: hidden;
	display: grid;
	justify-items: center;
	justify-content: center;
	align-items: center;
	align-content: space-around;
}

.img_containers img {
	width: 100%;
	/*	height: 700px;*/
	max-height: 750px;
}

.img_containers-down img {
	animation: fadeIn 5s ease-in;
	width: 530px;
}

.img_containers-down img:hover {
	animation: fadeIn 1s ease-in;
	width: 530px;
}

.fullImg {
	grid-column: span 4;
	height: auto !important;
}

.fullImg img {
	/*	width: 70%;*/
}


/* EM IMAGES / VIDEOS */

em:has(img),
em:has(video) {
	display: grid;
	flex-direction: row;
	/* grid-template-columns: 250px 2fr; */
	justify-content: space-around;
	align-items: center;
	/* margin: 50px auto 10px; */
	width: 100%;
	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;
	justify-items: center
}

em img,
em video {
	max-width: 750px;
	max-height: 750px;
	width: auto;
	height: auto;
}

em a {
	/*	color: white;*/
	transition: .5s;
}

/*
em a:hover {
color: white;
background: black;
border-radius: 5px;



}
*/

.wimg-foot {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.wimg-foot img {
	max-width: 100%;
	max-height: 90vh;
}

/* RESPONSIVE */

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

	#panel {
		display: flex;
		flex-direction: column;
	}

	#works{
		display:flow;
		grid-template-columns:1fr 1fr;
		gap:1px;
		margin:1px;
		width: inherit;
	}

	iframe{
		width:260px;
		height:auto;
	}

	#menu ul{
		display:flex;
		flex-wrap:wrap;
	}


	h3 {
		margin: inherit;
		/*		font-size: inherit;*/
		width: inherit;
		font-weight: inherit;

	}


	h2 {
		font-size: 1em;
	}

	#menu-cat {
		width: inherit; 
	}


	.wdesc{
		font-size:.8em;
	}

	.wdesc img{
		width:200px;
	}

	.wimg img{
		width:100px;
	}

	#menu a{
		font-size:.55em;
		padding:3px;
	}

	.wdesc p{
		font-size:.8em;
	}
}

@media only screen and (min-width:1920px){
	.wimg img{
		width:610px;
	}
}