/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IBM Plex Mono', monospace;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    font-size: 16px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0.5rem;
}

/* Header Section */
.header {
    margin-bottom: 0.5rem;
    margin-top: 10rem;
}

.profile-section {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.profile-image {
    flex-shrink: 0;
}

.profile-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-info {
    flex: 1;
    min-width: 300px;
}

.name {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2px;
}

.description {
    font-size: 0.9rem;
    color: #cccccc;
    margin-bottom: 0.7rem;
    line-height: 1.5;
}

/* Main Content Layout */
.main-content {
    display: grid;
    grid-template-columns: 200px 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

/* Sidebar Links */
.sidebar {
    background: transparent;
    padding: 0.5rem;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.7rem;
    padding-left: 0.5rem;
}

.links-nav {
    display: flex;
    flex-direction: column;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.5rem;
    text-decoration: none;
    color: #cccccc;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.link-item:hover {
    color: #4A90E2;
}

.link-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Posts Section */
.posts-section {
    background: transparent;
    padding: 0.5rem;
}

.posts-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.7rem;
    padding-left: 0.5rem;
}

/* CVEs Section */
.cves-section {
    background: transparent;
    padding: 0.5rem;
}

.cves-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.7rem;
    padding-left: 0.5rem;
}

.posts-list {
    display: flex;
    flex-direction: column;
}

.post-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.3rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.post-item:hover {
    /* No hover effect */
}

.post-icon {
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1;
}

.cert-logo {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.post-content {
    flex: 1;
}

.post-title {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.4;
    display: block;
    transition: color 0.3s ease;
}

.post-title:hover {
    color: #4A90E2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0.5rem;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .sidebar {
        position: static;
        order: 3;
    }
    
    .posts-section {
        order: 1;
    }
    
    .cves-section {
        order: 2;
    }
    
    .profile-section {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-image {
        margin: 0 auto;
    }
    
    .name {
        font-size: 1.8rem;
    }
    
    .title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0.3rem;
    }
    
    .name {
        font-size: 1.5rem;
    }
    
    .description {
        font-size: 0.85rem;
    }
    
    .post-item {
        flex-direction: column;
        text-align: center;
    }
    
    .post-icon {
        margin: 0 auto;
    }
}

/* Additional styling for better visual hierarchy */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.link-item:focus,
.post-title:focus {
    outline: 2px solid #4A90E2;
    outline-offset: 2px;
} 