body {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0f0f0f;
    color: #ffffff;
}

header {
    text-align: center;
    padding: 2rem;
    background-color: #1a1a1a;
    border-bottom: 2px solid #4b4b4b;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.1rem;
    color: #cccccc;
}

nav a {
    color: #00ffe0;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    color: #ff00ff;
}

.blog-post {
    max-width: 700px;
    margin: 2rem auto;
    background-color: #1a1a1a;
    padding: 1.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(185, 131, 255, 0.2);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.blog-post .content {
    max-height: 100px;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.blog-post.expanded .content {
    max-height: 2000px; /* Adjust as needed */
}

.read-more {
    color: #00ffe0;
    cursor: pointer;
    text-decoration: underline;
    display: inline-block;
    margin-top: 10px;
}

}
.blog-post .content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2rem;
    background: linear-gradient(to bottom, transparent, #1a1a1a);
    pointer-events: none;
}

.blog-post.expanded .content::after {
    display: none;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(185, 131, 255, 0.4);
}

.blog-post h2 {
    color: #b983ff;
}

.blog-post em {
    color: #999999;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: #00ffe0;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.2s ease;
}

.read-more:hover {
    color: #f95738;
}

footer {
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    background-color: #0f0f0f;
    color: #aaaaaa;
}
