/* CSS Document */

* {
	font-family: Montserrat, sans-serif;
	box-sizing: border-box;
}

/*Container für Einstellungsfenster und Preview-Fenster*/
.app {
	width: 100%;
	max-width: 1300px;
	margin: 40px auto;
	display: grid;
	grid-template-columns: 320px 520px;
	justify-content: space-between;
	align-items: start;
	padding: 0 40px;
}

/*Einstellungs-Fenster*/
.controls {
	width: 520px;
	min-height: 520px;
	background: rgba(255,255,255, 0.4);
	border-radius: 20px;
	padding: 30px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	margin-left: -120px;
}

.control-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 20px;
}

label {
	font-weight: bold;
	font-size: 14px;
}

.control-group input {
	padding: 16px 20px;
	border: none;
	border-radius: 15px;
	font-size: 14px;
	font-family: Montserrat, sans-serif;
	background: rgba(255,255,255,0.8);
	outline: none;
}

.controls label {
	font-weight: 400;
	font-family: Montserrat, sans-serif !important;
	font-size: 16px;
}

/*Buttons*/
button {
	display: inline-block;
	margin: 10px 0 0 0;
	padding: 14px 32px;
	border: none;
	color: white;
	border-radius: 40px;
	font-size: 14px;
	transition: 0.3s;
	cursor: pointer;
}

button a {
text-decoration: none;
}

.farbeButton {
	display: flex;
	gap: 10px;
	width: 100%;
	transition: transform 0.2s;
}

.farbeButton button {
	flex: 1;
	min-width: 100px;
	padding: 14px 18px 14px 18px;
}

.farbeButton button:hover {
	transform: scale(1.1);
}

.schwarzButton {
	background: black;
}

.schwarzButton:hover {
	background: black;
	color: white;
}

.weissButton {
	background: white;
	color: black;
}

.weissButton:hover {
	background: white;
	color: black;
}

.grauButton {
	background: #a6a2a2;
	color:black;
}

.grauButton:hover {
	background: #a6a2a2;
	color:black;
}

.beigeButton {
	background: #d3c6b6;
	color: black;
}

.beigeButton:hover {
	background: #d3c6b6;
	color: black;
}


/*Preview-Fenster*/
.preview-area {
	width: 520px;
	min-height: 520px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 24px;
	overflow: hidden;
	position: relative;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	margin-left: 120px;
}

.preview-area img {
	width: 100%;
	height:auto;
}

#caseGravur {
	position: absolute;
	z-index: 5;
	top: var(--gravur-top, 75%);
	left: 50%;
	transform: translate(-50%, -50%);
	color: gray;
	font-size: var(--gravur-size, 10px);
	font-weight: 400;
	letter-spacing: 2px;
	text-shadow:  0 1px 2px rgba(0,0,0,0.5);
}

#zeichenZaehler {
	font-size: 10px;
	color: #555;
	text-align: right;
	margin-top: 4px;
}
