/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;  /* Lighter background color for the rest of the page */
    color: #333;  /* Default text color */
}

/* Sidebar Styles */
.sidebar {
    background-color: #009933;  /* Dark green for sidebar */
    width: 100%;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.sidebar ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
}

.sidebar ul li {
    margin: 0 15px;
}

.sidebar ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    padding: 10px 20px;
}

.sidebar ul li a:hover {
    background-color: #00ff00;  /* Lighter green hover effect */
    border-radius: 5px;
}

/* Container (for consistent width) */
.container {
    width: 80%;
    margin: 0 auto;
    max-width: 1200px;
}

/* Header Styles */
header {
    background-color: #009933;  /* Dark green header */
    color: #fff;
    text-align: center;
    padding: 40px 0;
}

header h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2em;
}

/* About Me Section */
section {
    padding: 40px 0;
}

section h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.about-me p {
    font-size: 1.2em;
}

/* Contact Section */
.contact ul {
    list-style-type: none;
    padding: 0;
}

.contact ul li {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.contact a {
    color: #333;  /* Dark text color for readability */
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}

/* Footer Styles */
footer {
    background-color: #333;  /* Dark footer */
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer p {
    font-size: 1em;
}

/* Glow Animation */
@keyframes glow {
    0% {
        text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 15px #00ff00;
    }
    50% {
        text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00;
    }
    100% {
        text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 15px #00ff00;
    }
}

/* Applying glow animation to header h1 */
header h1 {
    font-size: 3em;
    margin-bottom: 10px;
    animation: glow 1.5s ease-in-out infinite alternate;
}

/* Sidebar Links Glow Animation */
.sidebar ul li a:hover {
    background-color: #00ff00;  /* Lighter green hover effect */
    border-radius: 5px;
    animation: glow 1.5s ease-in-out infinite alternate;
}

/* Optional: Glow effect for links in contact section */
.contact a:hover {
    text-decoration: underline;
    animation: glow 1.5s ease-in-out infinite alternate;
}

.picture-frame {
    width: 300px; /* Adjust size as needed */
    height: 300px; /* Adjust size as needed */
    border: 10px solid #fff; /* White frame */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Soft shadow for depth */
    margin: 20px auto; /* Center the frame */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ddd; /* Light gray background */
}

.picture-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fits well */
    border-radius: 5px;
}