/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #e3f2fd;
    margin: 0;
    padding: 0;
    color: #333;
    transition: background 0.3s, color 0.3s;
}

/* Dark Mode */
.dark-mode {
    background-color: #0d47a1;
    color: #ddd;
}

header {
    background: #1565c0;
    color: white;
    padding: 20px;
    text-align: center;
    border-bottom: 4px solid #0d47a1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hero img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin-right: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero .text {
    text-align: center;
}

nav {
    background: #1976d2;
    position: sticky;
    top: 0;
    width: 100%;
    padding: 10px 0;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a, #theme-toggle {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

.boxed {
    background: white;
    margin: 20px auto;
    padding: 20px;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #1976d2;
    transition: background 0.3s, color 0.3s;
}

.dark-mode .boxed {
    background: #1e3a8a;
    color: #ddd;
    border-color: #64b5f6;
}

h2 {
    border-bottom: 2px solid #1976d2;
    padding-bottom: 5px;
    color: #0d47a1;
    transition: color 0.3s;
}

.dark-mode h2 {
    color: #bbdefb;
}

ul {
    list-style-type: square;
    padding-left: 20px;
}

footer {
    background: #1565c0;
    color: white;
    padding: 20px;
    text-align: center;
}

footer a {
    color: #bbdefb;
    text-decoration: underline;
}

/* Viewer Counter */
.viewer-counter {
    font-size: 1.3em;
    font-weight: bold;
    margin-top: 10px;
    color: #1976d2;
    transition: color 0.3s;
}

.dark-mode .viewer-counter {
    color: #bbdefb;
}
