/* Base styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    transition: all 0.3s ease;
}

.container {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 800px;
    margin: 2rem 0;
}

header {
    width: 100%;
    text-align: center;
    padding: 1rem;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
}

nav {
    margin: 1rem 0;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav li {
    margin: 0 10px;
}

nav a {
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

section {
    margin-bottom: 2rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

article {
    margin-bottom: 1.5rem;
}

img.avatar {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin: 1rem 0;
}

footer {
    width: 100%;
    text-align: center;
    padding: 1rem;
    margin-top: auto;
}

/* Weather widget */
.weather-widget {
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    text-align: center;
}

.weather-widget h3 {
    margin-top: 0;
}

/* Theme switcher */
.theme-switcher {
    margin: 1rem 0;
    text-align: center;
}

select {
    padding: 0.5rem;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

/* Themes */
/* Default - Light */
.theme-light {
    background-color: #f0f0f0;
    color: #333;
}

.theme-light header, .theme-light footer {
    background-color: #4a90e2;
    color: white;
}

.theme-light nav a {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
}

.theme-light h2 {
    color: #4a90e2;
}

.theme-light .weather-widget {
    background-color: #e6f2ff;
}

/* Dark */
.theme-dark {
    background-color: #121212;
    color: #e0e0e0;
}

.theme-dark .container {
    background-color: #1e1e1e;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
}

.theme-dark header, .theme-dark footer {
    background-color: #252525;
}

.theme-dark nav a {
    color: #e0e0e0;
    background-color: rgba(255, 255, 255, 0.1);
}

.theme-dark h2 {
    color: #90caf9;
}

.theme-dark .weather-widget {
    background-color: #252525;
}

/* Sunset */
.theme-sunset {
    background-color: #ffe8d6;
    color: #6d4c41;
}

.theme-sunset .container {
    background-color: #fff3e0;
}

.theme-sunset header, .theme-sunset footer {
    background-color: #ff7043;
    color: white;
}

.theme-sunset nav a {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
}

.theme-sunset h2 {
    color: #ff5722;
}

.theme-sunset .weather-widget {
    background-color: #ffccbc;
}

/* Mist */
.theme-mist {
    background-color: #e0f7fa;
    color: #006064;
}

.theme-mist .container {
    background-color: #e8f5e9;
}

.theme-mist header, .theme-mist footer {
    background-color: #26a69a;
    color: white;
}

.theme-mist nav a {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
}

.theme-mist h2 {
    color: #00897b;
}

.theme-mist .weather-widget {
    background-color: #b2ebf2;
}
