Changed around line 1
+ :root {
+ --primary-color: #2d3436;
+ --secondary-color: #0984e3;
+ --background-color: #ffffff;
+ --text-color: #2d3436;
+ --spacing: 2rem;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
+ line-height: 1.6;
+ color: var(--text-color);
+ background-color: var(--background-color);
+ }
+
+ .site-header {
+ position: fixed;
+ width: 100%;
+ background: rgba(255, 255, 255, 0.95);
+ backdrop-filter: blur(10px);
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
+ z-index: 1000;
+ }
+
+ .main-nav {
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 1rem var(--spacing);
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ }
+
+ .logo {
+ font-size: 1.5rem;
+ font-weight: bold;
+ color: var(--primary-color);
+ }
+
+ .nav-links {
+ display: flex;
+ list-style: none;
+ gap: 2rem;
+ }
+
+ .nav-links a {
+ text-decoration: none;
+ color: var(--primary-color);
+ font-weight: 500;
+ transition: color 0.3s ease;
+ }
+
+ .nav-links a:hover {
+ color: var(--secondary-color);
+ }
+
+ .menu-toggle {
+ display: none;
+ }
+
+ #hero {
+ height: 100vh;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ text-align: center;
+ padding: var(--spacing);
+ background: linear-gradient(135deg, #74b9ff, #0984e3);
+ color: white;
+ }
+
+ #hero h1 {
+ font-size: 3.5rem;
+ margin-bottom: 1rem;
+ animation: fadeInUp 1s ease;
+ }
+
+ #hero p {
+ font-size: 1.5rem;
+ opacity: 0.9;
+ animation: fadeInUp 1s ease 0.2s;
+ }
+
+ .post-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
+ gap: var(--spacing);
+ padding: var(--spacing);
+ max-width: 1200px;
+ margin: 0 auto;
+ }
+
+ .post-card {
+ background: white;
+ border-radius: 15px;
+ overflow: hidden;
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
+ transition: transform 0.3s ease;
+ }
+
+ .post-card:hover {
+ transform: translateY(-5px);
+ }
+
+ .post-image {
+ height: 200px;
+ background: linear-gradient(45deg, #74b9ff, #0984e3);
+ }
+
+ .post-content {
+ padding: 1.5rem;
+ }
+
+ .read-more {
+ display: inline-block;
+ margin-top: 1rem;
+ color: var(--secondary-color);
+ text-decoration: none;
+ font-weight: 500;
+ }
+
+ footer {
+ background: var(--primary-color);
+ color: white;
+ padding: var(--spacing);
+ margin-top: 4rem;
+ }
+
+ .footer-content {
+ max-width: 1200px;
+ margin: 0 auto;
+ text-align: center;
+ }
+
+ .social-links {
+ margin-bottom: 1rem;
+ }
+
+ .social-links a {
+ color: white;
+ text-decoration: none;
+ margin: 0 1rem;
+ opacity: 0.8;
+ transition: opacity 0.3s ease;
+ }
+
+ .social-links a:hover {
+ opacity: 1;
+ }
+
+ @keyframes fadeInUp {
+ from {
+ opacity: 0;
+ transform: translateY(20px);
+ }
+ to {
+ opacity: 1;
+ transform: translateY(0);
+ }
+ }
+
+ @media (max-width: 768px) {
+ .menu-toggle {
+ display: block;
+ background: none;
+ border: none;
+ cursor: pointer;
+ padding: 0.5rem;
+ }
+
+ .menu-toggle span {
+ display: block;
+ width: 25px;
+ height: 3px;
+ background: var(--primary-color);
+ margin: 5px 0;
+ transition: 0.3s;
+ }
+
+ .nav-links {
+ display: none;
+ position: absolute;
+ top: 100%;
+ left: 0;
+ right: 0;
+ background: white;
+ flex-direction: column;
+ padding: 1rem;
+ text-align: center;
+ }
+
+ .nav-links.active {
+ display: flex;
+ }
+ }