:root {
--base   :#1e1e2e;
--mantle :#181825;
--crust  :#11111b;

--text     :#cdd6f4;
--subtext0 :#a6adc8;
--subtext1 :#bac2de;

--surface0 :#313244;
--surface1 :#45475a;
--surface2 :#585b70;

--overlay0 :#6c7086;
--overlay1 :#7f849c;
--overlay2 :#9399b2;

--blue:      #89b4fa;
--lavender:  #b4befe;
--sapphire:  #74c7ec;
--sky:       #89dceb;
--teal:      #94e2d5;
--green:     #a6e3a1;
--yellow:    #f9e2af;
--peach:     #fab387;
--maroon:    #eba0ac;
--red:       #f38ba8;
--mauve:     #cba6f7;
--pink:      #f5c2e7;
--flamingo:  #f2cdcd;
--rosewater: #f5e0dc;
}

        body {
            font-family: 'Arial', sans-serif;
            line-height: 1.6;
            margin: 0;
            padding: 0;
            color: var(--text);
            background-color: var(--base);
        }
        header {
            background: var(--crust);
            color: var(--subtext0);
            padding: 1rem 0;
            text-align: center;
        }
        .container {
            width: 80%;
            margin: auto;
            overflow: hidden;
            max-width: 1100px;
        }
        nav {
            background: var(--mantle);
            color: var(--subtext0);
        }
        nav ul {
            padding: 0;
            list-style: none;
            display: flex;
            justify-content: center;
        }
        nav li {
            padding: 1rem;
        }
        nav a {
            color: var(--subtext0);
            text-decoration: none;
        }
        nav a:hover {
            color: var(--subtext0);
            text-decoration: underline;
        }
        .blog-posts {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
            padding: 2rem 0;
        }
        .post-card {
            background: var(--mantle);
            border-radius: 5px;
            padding: 1rem;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .post-card h3 {
            margin-top: 0;
        }
        .post-meta {
            font-size: 0.9rem;
            color: var(--mantle);
        }
        footer {
            background: var(--mantle);
            color: var(--subtext0);
            text-align: center;
            padding: 1rem;
            margin-top: 2rem;
        }
        .read-more {
            display: inline-block;
            background: #333;
            color: #fff;
            padding: 0.5rem 1rem;
            text-decoration: none;
            border-radius: 3px;
            margin-top: 1rem;
        }
        .read-more:hover {
            background: #555;
        }
        
.floating {
  background-color: var(--surface0);
  color:var(--text);
  transition: all 0.4s ease-in-out;
  transform: translateY(0);
}

.floating:hover {
  animation: float 2s ease-in-out infinite;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background: var(--surface1);
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}