body {
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0px;
    background-color: #171717;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    font-size: 14px;
    margin-top: 20px;
}

.container {
    width: 500px;
}

.navbar {
    width: 100%;
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0px;
}

.navbar li:first-child {
    margin-right: auto;
}

.navbar li:first-child a {
    padding-left: 0;
}

.navbar li:last-child a {
    padding-right: 0;
}

.navbar img {
    height: 20px;
    width: auto;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.navbar img:hover {
    opacity: 1;
    filter: brightness(0) invert(1);
}

.sort-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.sort-btn {
    background: none;
    border: 1px solid #737373;
    color: #737373;
    padding: 5px 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sort-btn:hover {
    color: #ffffff;
    border-color: #ffffff;
}

.sort-btn.active {
    color: #ffffff;
    border-color: #ffffff;
}

.theme-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    margin-left: auto;
}

.theme-btn {
    background: none;
    border: 1px solid #737373;
    color: #737373;
    padding: 5px 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: auto;
}

.theme-btn:hover {
    color: #ffffff;
    border-color: #ffffff;
}

.theme-btn.active {
    color: #ffffff;
    border-color: #ffffff;
}

.blog ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    width: 100%;
    transition: color 0.2s ease;
    border-bottom: 1px solid #737373;
    margin-bottom: 2px;
}

.blog .date {
    color: #737373;
    font-size: 12px;
    transition: color 0.2s ease;
}

.blog li a:hover,
.blog li a:hover .date {
    color: #ffffff;
}

.article {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

.article h1 {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    margin: 0px;
}

.article h3 {
    color: #a3a3a3;
    margin-top: 5px;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: normal;
}

.article a {
    color: #a3a3a3;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article a:hover {
    color: #ffffff;
}

.article p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

a {
    text-decoration: none;
}

.navbar li {
    display: inline;
}

.navbar a {
    display: inline-block;
    padding: 10px 20px;
    color: #a3a3a3;
    text-decoration: none;
    border-radius: 5px;
    transition: color 0.2s ease;
}

.navbar a:hover {
    color: #ffffff;
}

h1 {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 60px;
    margin: 0px;
}

h3 {
    color: #a3a3a3;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: normal;
}

p, ul li, ul li a {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

footer p {
    text-align: center;
    color: #737373;
}

.error-page {
    text-align: center;
    margin-top: 100px;
}

.error-page h1 {
    font-size: 120px;
    margin-bottom: 0;
}

.error-page h3 {
    margin-top: 0px;
}

/* Mobile styles */
@media (max-width: 600px) {
    body {
        margin-top: 10px;
    }

    .container {
        width: 90%;
        padding: 0 15px;
    }

    h1 {
        font-size: 36px;
    }

    h3 {
        font-size: 14px;
    }

    .navbar a {
        padding: 8px 12px;
        font-size: 13px;
    }

    .navbar img {
        height: 16px;
    }

    .blog li a {
        padding: 10px 0;
    }

    .blog .date {
        font-size: 11px;
    }

    .article h1 {
        font-size: 28px;
    }

    .article h3 {
        font-size: 14px;
    }

    .article p {
        font-size: 14px;
    }

    .error-page {
        margin-top: 60px;
    }

    .error-page h1 {
        font-size: 80px;
    }

    footer p {
        font-size: 12px;
    }
}