* {
  margin: 0;
  padding: 0;

}

body {
  background: #f1f2f3;
}

.container{
  box-sizing: border-box;
  width: 100%;
  max-width: 1560px;
  min-width: 1240px;
  margin: 20px auto;
  color: #333;
}

.container * {
  box-sizing: border-box;
}

header {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
}


header h1 {
  font-size: 30px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  margin-bottom: 5px;
}


header p {
  font-size: 16px;
  color: #7f8c8d;
  max-width: 95%;
  margin: 0 auto;
}

.main-content {
	display: flex;
	gap: 30px;
	align-items: flex-start;
	margin-bottom: 40px;
}

.main-content h2{
	margin-bottom: 20px;
	font-size: 22px;
}

.avatar-preview {
	flex-shrink: 0;
	background: white;
	padding: 20px;
	border-radius: 16px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	display: flex;
	flex-direction: column;
	align-items: center;
}

.avatar-container {
	position: relative;
	background: #f8f9fa;
	border-radius: 12px;
	padding: 5px;
	width: 280px;
	height: 280px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.avatar-size-info {
	position: absolute;
	bottom: 10px;
	right: 10px;
	background: rgba(0, 0, 0, 0.7);
	color: white;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
}

.control-panel {
	flex: 1;
	background: white;
	padding: 20px;
	border-radius: 16px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-group {
	margin-bottom: 30px;
}

.form-group label {
	display: block;
	margin-bottom: 12px;
	font-weight: 600;
	color: #2c3e50;
	font-size: 16px;
}

.form-group input {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid #e1e5e9;
	border-radius: 8px;
	font-size: 16px;
	transition: border-color 0.3s ease;
	outline: none;
}

.form-group input[type="range"] {
	padding: 12px 0px;
}

.form-group input[type="text"]:focus {
	outline: none;
	border-color: #3498db;
	box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group input.error {
	border-color: #e74c3c;
}

.size-input-wrapper {
	display: flex;
	gap: 16px;
	align-items: center;
}

.size-input-wrapper input {
	flex: 1;
}

.size-display {
	font-weight: 600;
	color: #3498db;
	min-width: 60px;
	text-align: center;
}

.buttons {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 40px;
}

button {
	padding: 14px 24px;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.btn-primary {
	background: #3498db;
	color: white;
}

.btn-primary:hover {
	background: #2980b9;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
	background: #2ecc71;
	color: white;
}

.btn-secondary:hover {
	background: #27ae60;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.btn-tertiary {
	background: #e74c3c;
	color: white;
}

.btn-tertiary:hover {
	background: #c0392b;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.feature-section {
	background: white;
	padding: 40px;
	border-radius: 16px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	margin-bottom: 60px;
	text-align: center;
}

.feature-title {
	font-size: 24px;
	font-weight: 700;
	color: #2c3e50;
	margin-bottom: 24px;
	text-align: center;
}

.features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.feature-card {
	text-align: center;
	padding: 30px 20px;
	background: #f8f9fa;
	border-radius: 12px;
	transition: transform 0.3s ease;
}

.feature-icon {
	font-size: 48px;
	margin-bottom: 20px;
}

.feature-card h3 {
	font-size: 20px;
	font-weight: 600;
	color: #2c3e50;
	margin-bottom: 12px;
}

.feature-card p {
	color: #7f8c8d;
	font-size: 16px;
}

.about-section {
	max-width: 95%;
	margin: 0 auto;
	text-align: center;
	margin-bottom: 60px;
}

.about-section h2 {
	font-size: 24px;
	font-weight: 700;
	color: #2c3e50;
	margin-bottom: 20px;
}

.about-section p {
	color: #7f8c8d;
	font-size: 16px;
	margin-bottom: 20px;
	line-height: 1.8;
}
footer {
	box-sizing: border-box;
	width: 100%;
	min-width: 1240px;
	background: #2c3e50;
	color: white;
	padding: 40px 0;
	text-align: center;
}

.footer-content {
	max-width: 1560px;
	margin: 0 auto;
}

.footer-logo {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 20px;
}

.footer-text {
	color: #bdc3c7;
	margin-bottom: 20px;
}

.copyright {
	font-size: 14px;
	color: #95a5a6;
}
.copyright  a{
	color: #3498db;
}
.notice {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	background: #2c3e50;
	color: white;
	padding: 16px 24px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.notice.show {
	opacity: 1;
	visibility: visible;
}

.notice.success {
	background: #2ecc71;
}

.notice.error {
	background: #e74c3c;
}

.notice.warning {
	background: #f39c12;
}