.pane {
	position: fixed;
	display: grid;
	grid-template-rows: 32px 1fr;
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
	overflow: clip;
	width: 360px;
	height: 360px;
	min-width: 160px;
	min-height: 160px;
}

.pane .title {
	cursor: move;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 8px;
	background-color: #cccccc;
	color: #333333;
}

.pane .title-text {
	font-size: 1rem;
	font-weight: 400;
	flex-grow: 1;
	text-align: center;
	margin: 0;
	padding: 0 4px;
}

.pane .title-minimize-button {
	cursor: pointer;
	font-size: 1.5rem;
	font-weight: bold;
	line-height: 1;
	padding: 0 8px;
	color: #555;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}

.pane .title-minimize-button:hover {
	color: #000;
}

.pane .content {
	position: relative;
	background-color: #ffffff;
    overflow: hidden;
}

.pane .content img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
	-webkit-user-drag: none;
	user-drag: none;
}

.pane .corner {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 24px;
	height: 24px;
	cursor: nwse-resize;
	z-index: 1;
}

.pane.is-dragging .title {
	background-color: #aaaaaa;
}

.pane.is-minimized {
	height: 32px !important;
	width: auto;
	min-width: auto;
	min-height: auto;
}

.pane.is-minimized .content {
	display: none;
}
