/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #12121a; 
    color: #c0caf5; 
}

header {
    background-color: #0f0f17; /* Even darker header background */
    padding: 40px 20px 20px;
    text-align: center;
    border-bottom: 1px solid #7aa2f7; /* Thin separator */
}

.header-content {
    margin-bottom: 10px;
}

.profile-photo {
    max-width: 150px;
    height: auto;
    border-radius: 50%;
    border: 4px solid #7aa2f7;
    margin-top: 20px;
}

.profile-name {
    font-size: 2.5rem;
    font-family: 'Merriweather', serif;
    color: #E5E4E2;
    margin-top: 10px;
}

nav {
    margin-top: 10px;
}

nav a {
    color: #c0caf5;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: #7aa2f7;
}

.container {
    max-width: 1000px; /* Increased width */
    margin: 0 auto;
    padding: 20px;
}

section {
    padding: 20px;
    margin: 20px 0;
    background-color: #1a1b26; /* Darker section background */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.social-links {
    margin-top: 20px;
    text-align: center;
}

.social-links a {
    color: #c0caf5;
    margin: 0 10px;
    font-size: 18px;
    text-decoration: none;
}

.social-links a:hover {
    color: #7aa2f7;
}

.social-links i {
    margin-right: 5px;
}

footer {
    background-color: #0f0f17;
    color: #c0caf5;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}
.gallery-container {
    display: flex;
    flex-wrap: wrap; /* Ensures responsiveness */
    gap: 1px; /* Space between images */
    justify-content: center; /* Centers images */
}

figure {
    display: flex;
    flex-direction: column;
    align-items: center;
}

img {
    height: 200px; /* Fixed height */
    width: auto; /* Adjust width automatically */
    object-fit: cover; /* Ensures images don’t stretch */
    border-radius: 10px; /* Optional */
}

figcaption {
    font-size: 14px;
    color: #ccc;
    text-align: justify;
    margin-top: 5px;
    max-width: 250px; /* Limits width so text wraps */
    word-wrap: break-word; /* Ensures text wraps properly */
    white-space: normal; /* Allows multiline text */
}

