:root {
    --menu-bg: #4d4d4d;
    --border-color: lightblue;
}

nav.menu {
    background-color: var(--menu-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

nav.menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav.menu li {
    border-right: 1px solid #ffffff;
}

nav.menu li:last-child {
    border-right: none;
}

nav.menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: #ffffff;
    text-decoration: none;
}

nav.menu a:hover {
    background-color: #5a5a5a;
}

nav.menu a.active {
    text-decoration: underline;
}

.breadcrumb {
    display: flex;
    gap: 0.5rem;
}

.breadcrumb a,
.breadcrumb span:not(.separator) {
    color: var(--menu-bg);
}

.breadcrumb .separator {
    color: lightblue;
}

h1 {
    text-align: center;
}

hr {
    border: none;
    border-top: 1px solid lightgray;
    margin: 1rem 2rem;
}

.content {
    margin: 1rem 2rem;
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.about-text {
    flex: 1;
}

.about-content img {
    max-width: 300px;
    height: auto;
}

.page-links a {
    color: var(--menu-bg);
}

footer {
    background-color: var(--menu-bg);
    border: 1px solid var(--border-color);
    color: #ffffff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

.comments-block {
    border: 1px solid var(--menu-bg);
    border-radius: 8px;
    padding: 1rem;
}

.comments-list {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.comment-author {
    display: block;
    margin-bottom: 0.25rem;
}

.comment-content {
    margin: 0 0 0.5rem 0;
    white-space: pre-wrap;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 40rem;
    margin-top: 1rem;
}

.comment-form textarea {
    min-height: 6rem;
    resize: vertical;
}

.comment-form-error {
    color: #c0392b;
    margin: 0;
}
