/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0; /* Fallback background color */
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    color: #007BFF;
}

p {
    margin: 1em 0;
}

/* Navbar Styles */
nav {
    background-image: url('./20240614_200247.jpg'); /* Background image for navbar */
    background-size: cover;
    color: white;
    padding: 1em 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease; /* Smooth transition for background color */
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-between; /* Distribute items between the edges */
    align-items: center; /* Center align items vertically */
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 1em;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 1em; /* Increase padding for better click area */
    border-radius: 8px; /* Rounded corners */
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transition for background color and transform */
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Lighten background on hover */
    transform: translateY(-2px); /* Add slight upward lift on hover */
}

.nav-logo {
    font-size: 1.5em;
    font-weight: bold;
    margin-right: auto; /* Push logo to the left */
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin: 0 0.5em;
}

/* Positioning Home and Social links */
.nav-links .nav-home {
    font-weight: bold;
    color: #fff; /* White text color */
}

.nav-links .nav-social {
    font-weight: bold;
    color: #fff; /* White text color */
}

/* Content Styles */
#content {
    max-width: 800px;
    margin: 0 auto; /* Removed top and bottom margin */
    padding: 2em;
    background: linear-gradient(to bottom right, #000000, #5B92E5); /* Gradient from black to light blue */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: white; /* Text color in content area */
}

h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
    color: white; /* Example of text color change in content area */
}

p {
    font-size: 1.2em;
    color: #eee; /* Example of text color change in content area */
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 0.5em 0;
    }

    #content {
        padding: 1em;
    }

    form input, form textarea {
        width: 100%;
    }
}
