Changed around line 1
+ * {
+ 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, #f5f7fa 0%, #c3cfe2 100%);
+ min-height: 100vh;
+ display: flex;
+ flex-direction: column;
+ }
+
+ header {
+ background: #2c3e50;
+ color: white;
+ padding: 2rem;
+ text-align: center;
+ }
+
+ main {
+ flex: 1;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ padding: 2rem;
+ }
+
+ .tree {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ }
+
+ .generation {
+ display: flex;
+ justify-content: center;
+ gap: 2rem;
+ margin-bottom: 2rem;
+ }
+
+ .person {
+ background: white;
+ padding: 1.5rem 2rem;
+ border-radius: 10px;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+ text-align: center;
+ font-weight: bold;
+ transition: transform 0.3s ease;
+ }
+
+ .person:hover {
+ transform: translateY(-5px);
+ }
+
+ .connector {
+ width: 2px;
+ height: 50px;
+ background: #2c3e50;
+ margin: 1rem 0;
+ }
+
+ footer {
+ background: #2c3e50;
+ color: white;
+ text-align: center;
+ padding: 1rem;
+ }
+
+ @media (max-width: 768px) {
+ .generation {
+ flex-direction: column;
+ gap: 1rem;
+ }
+
+ .person {
+ width: 100%;
+ max-width: 300px;
+ }
+ }