/* style.css */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212; /* Dark background */
    color: #fff;
    transition: background-color 0.3s, color 0.3s;
}

header {
    background-color: #333; /* Dark header background */
    color: #fff;
    padding: 1rem 0;
    transition: background-color 0.3s, color 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ff7f50; /* Hover color */
}

section {
    padding: 40px 0;
}

h2 {
    font-size: 24px;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

.project {
    margin-bottom: 20px;
    padding: 20px;
    background-color: #333; /* Dark project background */
    border-radius: 10px;
    transition: background-color 0.3s;
}

.project:hover {
    background-color: #444; /* Hover project background */
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    transition: background-color 0.3s, color 0.3s;
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #121212; /* Dark background */
    color: #fff;
}

header.dark-mode {
    background-color: #121212; /* Dark header background */
    color: #fff;
}

.toggle-dark-mode {
    position: absolute;
    right: 20px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 20px;
}

.slider.round {
    border-radius: 20px;
}

input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

input[type="checkbox"]:checked + .slider {
    background-color: #2196F3;
}

input[type="checkbox"]:checked + .slider:before {
    transform: translateX(20px);
}

/* Add more CSS styles as needed */
