:root {
	--header-height: 1.75rem;
	--header-button-hover-color: rgba(255, 255, 255, 5%);
}

.Window-container {
	--shadow-size: 0.3rem;
	--shadow-opacity: 35%;
	--shadow-spread: 3;

	position: absolute;
	display: flex;
	flex-direction: column;
	min-width: 300px;
	min-height: 150px;
	background-color: var(--background-color-c);
	border-radius: 0.5rem;
	box-shadow: calc(var(--shadow-size) * -1) var(--shadow-size) calc(var(--shadow-size) * var(--shadow-spread)) 0px rgba(0, 0, 0, var(--shadow-opacity));
	resize: both;
	overflow: hidden;
	/* animation: pop-in 200ms ease-in-out; */
}

@keyframes pop-in {
	0% {
		scale: 0;
	}
	100% {
		scale: 100%;
	}
}

.Window-container.Maximized {
	transform: none !important;
}

.Header {
	display: flex;
	align-items: center;
	height: var(--header-height);
	padding: 0.25rem;
	padding-left: 0.5rem;
	padding-right: 0;
	background-color: var(--background-color-b);
	cursor: grab;
}

.Window-icon,
.Window-icon > div,
.Window-icon > div > svg {
	height: 100%;
	width: auto;
}

.Window-icon {
	height: 1rem;
	margin-right: 0.4rem;
}

.Window-icon > div {
	display: flex;
	align-items: center;
}

.Header > p {
	user-select: none;
	margin: 0;
	margin-right: auto;
}

.Header > button {
	margin: 0;
	padding: 0.5rem;
	height: var(--header-height);
	display: flex;
	align-items: center;
}

.Header button {
	color: var(--foreground-color-a);
	background: none;
	cursor: pointer;
	border: none;
	outline: none;
}

.Header button:hover {
	background-color: var(--header-button-hover-color);
}

.Window-content {
	position: relative;
	overflow: hidden;
	height: 100%;
}