Changed around line 1
+ :root {
+ --primary-color: #2c3e50;
+ --secondary-color: #3498db;
+ --background-color: #ecf0f1;
+ --text-color: #333;
+ --border-radius: 8px;
+ --transition-speed: 0.3s;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: 'Segoe UI', sans-serif;
+ line-height: 1.6;
+ color: var(--text-color);
+ background-color: var(--background-color);
+ min-height: 100vh;
+ display: flex;
+ flex-direction: column;
+ }
+
+ header {
+ background: var(--primary-color);
+ color: white;
+ padding: 1.5rem;
+ text-align: center;
+ }
+
+ main {
+ display: flex;
+ flex: 1;
+ padding: 2rem;
+ gap: 2rem;
+ }
+
+ .tree-nav {
+ width: 250px;
+ background: white;
+ padding: 1rem;
+ border-radius: var(--border-radius);
+ box-shadow: 0 2px 5px rgba(0,0,0,0.1);
+ }
+
+ .tree-nav ul {
+ list-style: none;
+ }
+
+ .tree-nav li {
+ margin: 0.5rem 0;
+ }
+
+ .tree-nav a {
+ color: var(--primary-color);
+ text-decoration: none;
+ transition: color var(--transition-speed);
+ }
+
+ .tree-nav a:hover {
+ color: var(--secondary-color);
+ }
+
+ .image-grid {
+ flex: 1;
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
+ gap: 1.5rem;
+ }
+
+ .image-grid img {
+ width: 100%;
+ height: 200px;
+ object-fit: cover;
+ border-radius: var(--border-radius);
+ transition: transform var(--transition-speed), box-shadow var(--transition-speed);
+ }
+
+ .image-grid a:hover img {
+ transform: scale(1.05);
+ box-shadow: 0 4px 15px rgba(0,0,0,0.2);
+ }
+
+ footer {
+ background: var(--primary-color);
+ color: white;
+ text-align: center;
+ padding: 1rem;
+ }
+
+ @media (max-width: 768px) {
+ main {
+ flex-direction: column;
+ }
+
+ .tree-nav {
+ width: 100%;
+ }
+
+ .image-grid {
+ grid-template-columns: repeat(2, 1fr);
+ }
+ }
+
+ @media (max-width: 480px) {
+ .image-grid {
+ grid-template-columns: 1fr;
+ }
+ }