/* Challenge 3: Fonts, Colors, and Spacing */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #212121;
    background-color: #f4f4f9;
    margin: 0;
    padding: 20px;
}

header {
    background: #1976D2;
    color: white;
    padding: 1rem;
    text-align: center;
    margin-bottom: 20px;
}

header a {
    color: white;
    text-decoration: underline;
}

/* Challenge 4: Two-Column Layout using Flexbox */
.container {
    display: flex;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.content {
    flex: 2; /* Takes up more space */
}

.sidebar {
    flex: 1; /* Takes up less space */
    background: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    text-align: center;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Challenge 5: Palette Styling */
.palette-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.color-swatch {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    border-radius: 4px;
}