* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

:root {
    --primary-green: #808080;
    --primary-yellow: #FFC107;
    --primary-blue: #2196F3;
    --text-dark: #333;
    --text-light: #666;
    --background-light: #f5f5f5;
    --white: #fff;
}

body {
    background-color: #EAEAEA;
    color: #0C1A26;
    font-family: Arial, sans-serif;
}

.container {
    max-width: 1700px;
            margin: 0 auto;
            padding: 0 20px;
}

.header {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem; 
    gap: 4rem; 
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 200px;
    height: auto;
    border-radius: 5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.forum-container {
    margin-top: 120px;
    padding: 2rem 0;
}

.forum-header {
    background: #101c2c;
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.new-topic-btn {
    background: var(--primary-green);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
    margin-top: 1rem;
}

.new-topic-btn:hover {
}

.forum-topics {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.topic {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 2rem;
    align-items: center;
}

.topic:last-child {
    border-bottom: none;
}

.topic-info h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.topic-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.topic-stats {
    text-align: center;
}

.topic-stats span {
    display: block;
    color: var(--text-light);
}

.last-reply {
    text-align: right;
}

.last-reply span {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer {
    background: #081C2C;
    color: var(--white);
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-yellow);
}

.footer-section p,
.footer-section li {
    margin-bottom: 0.5rem;
    font-size: 16px
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    


    .topic {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .last-reply {
        text-align: center;
    }
}

