/* @import url('https://fonts.googleapis.com/css2?family=Poiret+One&display=swap'); */

.app_container {
    display: grid;
    grid-template-columns: 280px 1fr; 
    min-height: 100vh;
}


.sidebar {
    
    background-color: var(--sidebar-bg); 
    
    
    border-right: 1px solid var(--border-color);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    transition: background-color 0.3s ease, color 0.3s ease; 
}

.sidebar_header {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    margin-bottom: 3rem; 
}
.site_title h1 {
    font-size: 1.5rem; 
    text-align: left;
    padding: 0;
    margin: 0;
    line-height: 1.2;
    color: var(--text-color);
}

.site_title {
    text-decoration: none;
    box-shadow: none; 
}
.site_title:hover {
    transform: none; 
}

.sidebar_nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar_nav a.nav_item {
    font-size: 1.25rem;
    color: #a0a0a0;
    text-decoration: none;
    display: block;
    transition: all 0.05s ease;
    border-radius: 0;
    box-shadow: none;
    text-shadow: none;
    color: var(--secondary-text);
}

.sidebar_nav a.nav_item:hover {
    color: var(--accent-color);
    text-decoration: underline;

}


.sidebar_footer {
    margin-top: auto;
    padding-top: 2rem;
}

.social_icons {
    justify-content: flex-start; 
    flex-wrap: wrap;
}

.copyright {
    margin-top: 1rem;
    color: #555;
    font-size: 0.8rem;
}

.main_content {
    background-color: var(--bg-color);
    transition: background-color 0.3s ease;
}

.Long_text {
    padding: 4rem 5% 4rem 5%; 
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.top_bar > * {
    text-align: left;
}


@media (max-width: 900px) {
    .app_container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: relative;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #353842;
        padding: 1.5rem;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .site_title h1 {
        margin-bottom: 0;
        font-size: 1.5rem;
    }

    .sidebar_nav {
        margin-left: auto; 
    }

    .sidebar_nav ul {
        flex-direction: row;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .sidebar_footer {
        display: none; 
    }
    
    
}

@media (max-width: 600px) {
    .sidebar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .sidebar_nav {
        margin-left: 0;
    }
    .site_title h1 {
        text-align: center;
    }
}
