/* General Reset and Box Sizing */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'Montserrat', sans-serif; /* Default body font */
}

/* Body Background and Color */
body {
    background-color: #f9f9f9; /* Light background for a cute feel */
    color: #333; /* Dark text for contrast */
    display: flex;
    flex-direction: column;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #ffcccb, #ffb3ba); /* Soft gradient for header */
    padding: 15px;
    text-align: center;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #5a5a5a; /* Darker color for links */
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ff6f61; /* Change color on hover */
}

/* Container for Layout */
.container {
    display: flex; /* Flexbox for sidebar and main content */
    flex: 1;
}

/* Sidebar Styles */
.sidebar {
    flex: 1; /* Sidebar takes 1/3 of the space */
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8); /* Light background for sidebar */
}

/* Main Content Styles */
.main-content {
    flex: 2; /* Main content takes 2/3 of the space */
    padding: 20px;
    max-width: 800px; /* Max width for main content */
    margin: 20px auto; /* Centering the main content */
    background: #fff; /* White background for contrast */
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
}

.article {
    margin-top: 20px;
}

h2 {
    font-family: 'Playfair Display', serif; /* Heading font */
    color: #ff6f61; /* Cute pinkish color for headings */
    text-align: center;
    margin-bottom: 15px; /* Space below heading */
}

h3 {
    color: #ffb3ba; /* Soft pink for subheadings */
    margin: 15px 0 10px; /* Space around subheadings */
}

p {
    line-height: 1.6; /* Spacing between lines for readability */
    margin-bottom: 15px; /* Space below paragraphs */
}

/* List Styles */
ul {
    list-style-type: square; /* Cute square bullet points */
    padding-left: 20px; /* Indentation for the list */
}

footer {
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, #ffcccb, #ffb3ba); /* Soft gradient for footer */
    position: relative;
}

/* Responsive Image Styles */
.responsive-image {
    display: block; /* Ensure image is displayed as block */
    max-width: 100%; /* Responsive image */
    height: auto; /* Maintain aspect ratio */
    border-radius: 12px; /* Rounded corners for images */
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Stack sidebar and main content vertically */
    }

    .sidebar {
        width: 100%; /* Full width for sidebar */
        padding: 15px; /* Adjust padding for smaller screens */
    }

    .main-content {
        width: 100%; /* Full width for main content */
        margin: 0; /* Remove margin */
    }
}
