/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #e0f8f7; /* Light Turquoise - Background */
    line-height: 1.6;
}

/* Status Bar */
.status-bar {
    background-color: #000000; /* Black - Status bar background */
    color: #ffffff; /* White - Text */
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.network span {
    margin-right: 5px;
}

/* Header Styles */
.header {
    background-color: #ffea00; /* Yellow - Header background */
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.header-top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-title h1 {
    font-size: 24px;
    font-weight: bold;
    color: #000000; /* Black - Title text */
}

.header-character {
    width: 30px;
    height: 30px;
}

.header-date {
    font-size: 18px;
    color: #000000; /* Black - Date text */
}

.header-nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

.search-bar {
    border: 1px solid #000000; /* Black - Border */
    padding: 5px;
    font-size: 14px;
    width: 70%;
    background-color: #ffffff; /* White - Input background */
    color: #000000; /* Black - Text */
}

.header-nav a {
    text-decoration: none;
    color: #000000; /* Black - Link text */
    font-size: 14px;
}

.header-tabs {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.header-tabs a {
    text-decoration: none;
    color: #000000; /* Black - Tab text */
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.icon {
    width: 20px;
    height: 20px;
}

.life-book {
    background-color: #ff69b4; /* Pink - Life book background */
    padding: 10px;
    text-align: center;
    width: 100%;
}

.life-book p {
    font-size: 16px;
    color: #000000; /* Black - Text */
}

.book-image {
    width: 100%;
    max-width: 300px;
    height: auto;
}

/* Main Content Styles */
.main-content {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
}

@media (min-width: 768px) {
    .main-content {
        flex-direction: row;
    }
}

.primary-content {
    flex: 2;
    margin-right: 20px;
}

.essay {
    background-color: #e0f8f7; /* Light Turquoise - Essay background */
    padding: 15px;
    border: 1px solid #ccc; /* Light gray - Border */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.essay-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.essay-illustration {
    width: 50px;
    height: 50px;
    background-color: #ff69b4; /* Pink - Illustration background */
    border-radius: 50%;
}

.essay-subtitle {
    font-size: 14px;
    color: #000000; /* Black - Subtitle text */
}

.essay h2 {
    font-size: 20px;
    font-weight: bold;
    color: #000000; /* Black - Title text */
    margin-top: 5px;
}

.essay p {
    font-size: 16px;
    color: #000000; /* Black - Paragraph text */
    text-align: justify;
    margin-bottom: 10px;
}

.sidebar {
    flex: 1;
}

.latest-content {
    background-color: #ffffff; /* White - Latest content background */
    padding: 10px;
    border: 1px solid #ccc; /* Light gray - Border */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.latest-content h3 {
    font-size: 18px;
    color: #000000; /* Black - Title text */
    margin-bottom: 10px;
}

.new-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff69b4; /* Pink - New tag background */
    color: #ffffff; /* White - Text */
    padding: 2px 5px;
    font-size: 12px;
    border-radius: 3px;
}

.content-card {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    background-color: #ffffff; /* White - Card background */
    border: 1px solid #ccc; /* Light gray - Border */
    padding: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.content-card img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.card-text h4 {
    font-size: 14px;
    color: #000000; /* Black - Title text */
    margin: 0;
}

.card-text p {
    font-size: 12px;
    color: #808080; /* Gray - Reading tag text */
}

/* Banner Ad Styles */
.banner-ad {
    background-color: #ff0000; /* Red - Banner background */
    text-align: center;
    padding: 10px;
    margin: 20px;
}

.banner-ad a {
    color: #ffffff; /* White - Link text */
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.banner-ad img {
    max-width: 100%;
    height: auto;
}

/* Dog Image Styles */
.dog-image {
    text-align: center;
    margin: 20px;
}

.dog-image img {
    border: 5px solid #ffea00; /* Yellow - Border */
    max-width: 100%;
    height: auto;
}

/* Chat Section Styles */
.chat-section {
    background-color: #ffffff; /* White - Chat background */
    border: 2px solid #ffea00; /* Yellow - Border */
    padding: 10px;
    margin: 20px;
}

.chat-section h3 {
    font-size: 16px;
    color: #000000; /* Black - Title text */
    margin-bottom: 10px;
}

.chat-content {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.chat-content p {
    font-size: 14px;
    color: #000000; /* Black - Chat text */
}

.timestamp {
    font-size: 12px;
    color: #808080; /* Gray - Timestamp text */
    margin-top: 5px;
}

.show-more {
    background-color: #808080; /* Gray - Button background */
    color: #ffffff; /* White - Text */
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 14px;
}

/* Footer Styles */
.footer {
    text-align: center;
    padding: 20px;
    background-color: #e0f8f7; /* Light Turquoise - Footer background */
}

.footer-graphic {
    max-width: 100%;
    height: auto;
}