body {
	background-color:rgb(32,32,42);
}

#frame {
	/*max-width:60rem;*/
	margin:2rem auto auto auto;
	
}

h1 {
	text-align:center;
	border-bottom:1px solid;
	border-image: linear-gradient(to right, rgba(130,130,130,0) 0%, rgba(130,130,130,100) 50%, rgba(130,130,130,0) 100%) 1;
	padding-bottom:1rem;
	color:white;
}

section#editArea {
	justify-content: center;
	gap:0.5rem;
	padding-bottom:5em;
}

section#editArea .card {
	width:clamp(16rem, 50%, 20rem);
	width:clamp(12rem, calc(100% / 3), 16rem);
}

section#editArea .card h2 {
	text-shadow:0px 0px 4px black;
	font-size:1.1rem;
	width:100%;
	height:2.5em;
	line-height:1.4em;
}

section#editArea .card figure {
	width:100%;
	aspect-ratio:5/7;
	display:flex;
	overflow:hidden;
    margin: 1rem auto;
    justify-content: center;
    align-items: center;
}

section#editArea .card figure.card-img>img {
    width: 100%;
    display: block;
    object-fit: cover;
    height: 100%;
}

section#editArea .card figure.card-img>img[src="#"] {
	display:none;
}

section#editArea .card figure.card-img>img:not([src="#"])~figcaption {
	display:none;
}

section#editArea .card figure.card-img figcaption {
	padding-bottom:0rem;
	
	background-image:url('data:image/svg+xml,<svg style="aspect-ratio:1/1; width:60%; margin:auto; padding-bottom:1rem;" stroke="%23CCCCCC" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="none"><path d="M8 44h8c8 0 16-8 24-8s8 8 16 8"/><rect x="8" y="8" width="48" height="48"/><circle cx="22" cy="22" r="6"/></svg>');
	background-repeat:no-repeat;
	background-position:top center;
    padding-top: 70%;
    background-size: 100%;
    margin-bottom: 5em;
}

section#editArea .card .card-img-overlay {
	top:auto;
	background:hsl(0deg 0% 10% / 80%);
	transition:0.6s ease;
}

section#editArea .card .card-img-overlay[open] {
	background:hsl(0deg 0% 10% / 100%);
}


section#editArea .card .accordion-button { background-color:transparent; }
section#editArea .card.text-white .accordion-button { color:#FFF; text-align:center; }

details.accordion-item .accordion-button::after {
	display:none;
}

details.accordion-item:not([open]) .accordion-button::after {
    transform: unset;
}

details.accordion-item[open] .accordion-button::after {
    transform: rotate(180deg);
}