* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: #333;
	/*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
	min-height: 100vh;
	padding: 20px;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	background: white;
	border-radius: 10px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	overflow: hidden;
}

.flex {
	display: flex;;
}

.flex-column {
	flex-direction: column;
	align-items: center;
}

.flex-gap {
	gap: 10px;
	justify-content: center;
	align-items: center;
}

header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 40px;
	text-align: center;
}

header img {
	width: 100px;
	height: 100px;
}

header h1 {
	font-size: 4em;
	margin-bottom: 10px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

header p {
	font-size: 1.2em;
	opacity: 0.9;
}

nav {
	background: #f8f9fa;
	padding: 20px;
	border-bottom: 2px solid #e9ecef;
	position: sticky;
	top: 0;
	z-index: 100;
}

nav ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
}

nav a {
	text-decoration: none;
	color: #667eea;
	padding: 10px 20px;
	background: white;
	border-radius: 5px;
	transition: all 0.3s ease;
	font-weight: 600;
	border: 2px solid transparent;
}

nav a:hover {
	background: #667eea;
	color: white;
	border-color: #667eea;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

main {
  padding: 40px;
}

section {
	margin-bottom: 50px;
	scroll-margin-top: 80px;
}

section h2 {
	color: #667eea;
	font-size: 2.2em;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 3px solid #667eea;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
	background: white;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

thead {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
}

th {
	padding: 15px;
	text-align: left;
	font-weight: 600;
	font-size: 1.1em;
}

td {
	padding: 15px;
	border-bottom: 1px solid #e9ecef;
}

tbody tr:hover {
	background: #f8f9fa;
	transition: background 0.2s ease;
}

tbody tr:last-child td {
  border-bottom: none;
}

code {
	background: #f4f4f4;
	padding: 3px 8px;
	border-radius: 4px;
	font-family: 'Courier New', monospace;
	color: #e83e8c;
	font-size: 0.95em;
}

.example {
	background: #f8f9fa;
	padding: 3px 8px;
	border-radius: 4px;
	font-family: 'Courier New', monospace;
	color: #28a745;
	font-size: 0.9em;
}

.construct {
	margin-bottom: 35px;
	padding: 20px;
	background: #ffffff;
	border-left: 4px solid #667eea;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
}

.construct:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
}

.construct h3 {
	color: #667eea;
	margin-bottom: 12px;
	font-size: 1.3em;
	font-weight: 600;
}

.construct h3 code {
	background: transparent;
	padding: 0;
	color: #667eea;
	font-size: 1em;
}

.construct p {
	color: #555;
	margin-bottom: 15px;
	line-height: 1.6;
}

.construct pre {
	background: #f8f9fa;
	border: 1px solid #e9ecef;
	border-radius: 6px;
	padding: 16px;
	overflow-x: auto;
	margin: 0;
}

.construct pre code {
	background: transparent;
	padding: 0;
	color: #2c3e50;
	font-family: 'Courier New', monospace;
	font-size: 0.95em;
	line-height: 1.6;
	display: block;
}

footer {
	background: #2c3e50;
	color: white;
	text-align: center;
	padding: 30px;
	margin-top: 40px;
}

footer p {
  opacity: 0.9;
}

@media (max-width: 768px) {
	header h1 {
			font-size: 2em;
	}

	nav ul {
			flex-direction: column;
			align-items: stretch;
	}

	main {
			padding: 20px;
	}

	section h2 {
			font-size: 1.8em;
	}

	table {
			font-size: 0.9em;
	}

	th, td {
			padding: 10px;
	}
}

.scroll-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	background: #667eea;
	color: white;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
	text-decoration: none;
	font-size: 1.5em;
}

.scroll-to-top:hover {
	background: #764ba2;
	transform: translateY(-5px);
}