html, body {
    margin: 0;
    padding: 0;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-image: url(images/wallpaper.jpg);
    background-repeat: repeat;
    overflow-x: hidden;
}

.container, .aboutMe, .archive {
    max-width: 720px;
    margin: 8px auto 0;
    padding: 16px;
    background-color: #FDEEE9;
    box-sizing: border-box;
    border: double;
}

.archive {
    margin-bottom: 10px;
}

.header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    border: 1px solid black;
    padding: 10px;
}

.logo {
    max-width: 120px;
    height: auto;
}

.title-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.title, .current-page, .status-time, .aboutMeTitle, .archiveTitle, .subtitle, .paragraph, .footnote {
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
}

.title {
    font-size: 1.8rem;
}

.current-page, .status-time {
    margin: 2px 0;
}

.aboutMeTitle, .archiveTitle {
    font-size: 1.4rem;
}

.archiveTitle {
    margin-bottom: 5px;
}

.subtitle {
    font-size: 1.1rem;
}

.paragraph {
    font-size: 0.9rem;
    margin: 2px 0;
}

.footnote {
    font-size: 0.7rem;
    margin-top: 10px;
    text-align: right;
    margin-bottom: 5px
}

.nav-links, .link-section {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.nav-links {
    gap: 10px;
}

.nav-links a, .link-section a {
    border: 1px solid black;
    background-color: #fff;
    padding: 5px 10px;
    font-weight: 600;
}

.link-section {
    justify-content: space-around;
    margin-top: 20px;
}

.link-section a {
    padding: 10px 15px;
}

.aboutMeTable {
    border: 1px dashed black;
    border-collapse: collapse;
    width: 100%;
    margin: 5px 0;
}

.aboutMeTable td {
    text-align: center;
    border: 1px dashed black;
    padding: 4px;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .title-area {
        align-items: center;
        text-align: center;
    }

    .nav-links {
        justify-content: center;
    }

    .link-section {
        flex-direction: column;
        align-items: center;
    }
}
