/* Sun icon color in dark theme */
body.dark-theme .sun-icon {
    color: #fde047; /* light yellow */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "JetBrains Mono", monospace;
    line-height: 1.6;
    color: #000000;
    background-color: #f5f5f5;
    transition: background 0.5s ease, color 0.5s ease;
}

body.dark-theme {
    background-color: #1a1a1a;
    color: #ffffff;
}



/* Header & Navigation */
header {
    background-color: #e0e0e0;
    padding: 1rem 2rem;
    border-bottom: 1px solid #d0d0d0;
    transition: all 0.3s ease;
}

body.dark-theme header {
    background-color: #2d2d2d;
    border-bottom-color: #404040;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

body.dark-theme .logo a {
    color: #ffffff;
}

.logo a:hover {
    text-decoration: underline;
}

.theme-toggle {
    margin-right: 2rem;
}

.theme-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.1rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

body.dark-theme .theme-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sun-icon, .moon-icon {
    transition: all 0.3s ease;
}

/* Main Content */
main {
    padding: 2rem;
}

.content {
    max-width: 800px;
    margin: 0 auto;
}

.introduction h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #4fc3f7;
}

.introduction p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #333;
}

body.dark-theme .introduction p {
    color: #cccccc;
}



/* Responsive Design */
@media (max-width: 768px) {
    .introduction h1 {
        font-size: 2rem;
    }
    
    .introduction p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .introduction h1 {
        font-size: 1.8rem;
    }
    
    .introduction p {
        font-size: 1rem;
    }
}
