* {
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 30px 15px;
    background-color: #d8c9a8;
    color: #403629;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    background-image:
        radial-gradient(
            rgba(80, 60, 30, 0.08) 1px,
            transparent 1px
        );
    background-size: 7px 7px;
}
.page {
    width: 900px;
    max-width: 100%;
    margin: auto;
    padding: 25px;
    background: #eee2c5;
    border: 3px double #66543a;
    box-shadow:
        6px 6px 0 #a49372,
        -3px -3px 0 #f6efd9;
}
.header {
    text-align: center;
    padding: 10px 0 20px;
}
.header h1 {
    margin: 5px;
    font-size: 42px;
    color: #4d603b;
    text-shadow:
        2px 2px 0 #c7b78f;
}
.subtitle {
    margin: 5px;

    font-style: italic;
    color: #78664b;
}
.decor {
    color: #8a6b3f;
    letter-spacing: 3px;
}
gation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap:7px;
    padding: 10px;
    border-top: 1px solid #9a8967;
    border-bottom: 1px solid #9a8967;
    margin-bottom: 25px;
}
.navigation a {
    padding: 6px 13px;
    background: #697b4d;
    color: #fff8e7;
    text-decoration: none;
    border: 2px outset #829466;
    font-size: 14px;
}
.navigation a:hover {
    background: #4e6037;
    border-style: inset;
}
.content {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 25px;
}
.box {
    margin-bottom: 20px;
    padding: 13px;
    background: #e1d2af;
    border: 2px dashed #88734f;
}
.box h2 {
    margin-top: 0;
    color: #56683f;
    font-size: 19px;
}
.box p {
    line-height: 1.5;
}
.post {
    margin-bottom: 25px;
    padding: 20px;
    background: #f3e9d0;
    border: 1px solid #9b8966;
    box-shadow:
        3px 3px 0 #c2b28f;
}
.post-title {
    border-bottom: 1px dotted #877554;

    margin-bottom: 8px;
}
.post h2 {
    margin: 0 0 8px;
    color: #52663d;
    font-size: 24px;
}
.date {
    margin-top: 5px;
    color: #89785c;
    font-size: 13px;
    font-style: italic;
}
.post p,
.post li {
    line-height: 1.7;
}
.post li {
    margin-bottom: 5px;
}
.read-more {
    color: #596c40;
    font-weight: bold;
    text-decoration: none;
}
.read-more:hover {
    text-decoration: underline;
}
footer {
    margin-top: 25px;
    padding-top: 15px;
    text-align: center;
    border-top: 1px dotted #8a7757;
    color: #75634a;
}
.tiny {
    font-size: 12px;
}
@media (max-width: 650px) {
    body {
        padding: 10px;
    }
    .page {
        padding: 15px;
    }
    .header h1 {
        font-size: 32px;
    }
    .content {
        grid-template-columns: 1fr;
    }
    .sidebar {
        order: 2;
    }
    .posts {
        order: 1;
    }
}
#guestbook-form {
    margin-top: 25px;
    margin-bottom: 35px;
}
#guestbook-form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 6px;
}
#guest-name,
#guest-message {
    width: 100%;
    padding: 10px;
    border: 1px solid #c9b8aa;
    border-radius: 6px;
    background: #fffaf7;
    color: #4a3b35;
    font-family: inherit;
    font-size: 15px;
}
#guest-message {
    min-height: 120px;
    resize: vertical;
}
#guest-name:focus,
#guest-message:focus {
    outline: none;
    border-color: #9c8171;
}
#guestbook-form button {
    margin-top: 15px;
    padding: 10px 18px;
    border: 1px solid #9c8171;
    border-radius: 6px;
    background: #f1e4dc;
    color: #4a3b35;
    font-family: inherit;
    cursor: pointer;
}
#guestbook-form button:hover {
    background: #e6d4c9;
}
#guestbook-form button:disabled {
    opacity: 0.6;
    cursor: wait;
}
#form-message {
    margin-top: 10px;
    font-size: 14px;
}
#comments {
    margin-top: 30px;
}
.guestbook-comment {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #dfd0c7;
    border-radius: 8px;
    background: #fffaf7;
}
.guestbook-comment h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 17px;
}
.guestbook-comment p {
    margin-bottom: 10px;
    white-space: pre-wrap;
    overflow-wrap: break-word;
}
.guestbook-comment small {
    color: #8b7a70;
    font-size: 12px;
}
.loading {
    color: #8b7a70;
    font-style: italic;
}