/* For base template */
html, body {
    height: 100%; /* Ensure the full height is taken up */
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column; /* Stack content and footer */
}
/* Add a shadow effect to the navbar */
.navbar {
    background-color: #000000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
}
/* Style the navbar brand with logo and name */
.navbar-brand {
    font-size: 1.25rem; /* Slightly larger font for the company name */
    font-weight: bold;
    color: white; /* Adjust color to match your theme */
    text-decoration: none; /* Remove underline */
}
.navbar-brand img {
    border-radius: 50%; /* Optional: Make the logo circular */
}
.navbar-nav .nav-link {
    font-size: 1rem; /* Standard font size for nav links */
    margin-left: 10px;
    color: white; /* Adjust to your theme color */
}
.navbar-nav .nav-link:hover {
    color: #FFD700; /* Add a hover effect (e.g., gold color) */
}
#flash-messages {
    position: sticky;
    width: 100%;
}
.alert {
    margin-bottom: 5px; /* Space between multiple alerts */
}
.container {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    padding: 20px;
}
footer {
    background-color: #000000;
    color: white;
    margin-top: auto;
    padding: 10px 0;
    text-align: center;
    position: relative; /* Keep it in the normal document flow */
}

/* For "About Me" page */
.section {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for better responsiveness */
    align-items: flex-start;
    gap: 20px; /* Add consistent spacing between elements */
    margin-bottom: 40px;
}
.section figure {
    flex: 1 1 300px; /* Allow the figure to take up space and shrink if needed */
    max-width: 40%; /* Limit the width */
    margin: 0; /* Remove default margins */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center-align the image and caption */
    text-align: center; /* Center-align text within the figure */
}
.section figure img {
    width: 100%; /* Make the image responsive */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Optional: rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: shadow for style */
}
.big-fig figure img{
    display: flex;
    flex-direction: column;
    align-items: center; /* Center-align the image and caption */
    text-align: center;
    width: 100%;
    height: auto; 
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.section .text {
    flex: 2; /* Allow the text to take up more space */
    min-width: 300px; /* Ensure text doesn't shrink too much */
}
figcaption {
    color: rgb(128, 128, 128); /* Lighter gray for the caption */
    font-size: 0.9em; /* Slightly smaller font size */
    margin-top: 10px; /* Add space above the caption */
}

/* For "Contact Me" page" */
label {
    display: block;
    margin-bottom: 8px;
}
input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.button-download {
    padding: 10px 15px;
    background-color:#0f8090;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.button-download:hover {
    background-color: #0056b3;
}

/* Message page pop ups*/
.popup {
    text-align: center;
    background-color: white;
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.face {
    font-size: 100px;
}
.message {
    font-size: 24px;
    margin: 20px 0;
}
.home-link {
    font-size: 18px;
    text-decoration: none;
    color: #007BFF;
}

.resume img {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center-align the image and caption */
    text-align: center;
    width: 100%;
    height: auto; 
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
