/* General Page Styling */
body {
    font-family: Arial, Helvetica, sans-serif;;
    font-size: 16px !important;
    text-align: center;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
    /* Ensuring the footer stays at the bottom */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
/* Change h1 Font Size */
h1 {
    font-size: 24px; /* Adjust the size as needed */
    font-weight: bold;
    color: #333; /* Text color */
}

/* Change h2 Font Size */
h2 {
    font-size: 24px; /* Adjust the size */
    font-weight: bold;
    color: #555; /* Slightly lighter color */
}

/* Container for content */
.container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background: white;
    box-shadow: 0px 0px 10px gray;
    flex-grow: 1; /* Makes it expand to fill space */
    position: relative;
}

/* Image Styling */
img {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
}
/* Separation line*/
.separator {
    width: 100%; /* Full-width line */
    height: 2px; /* Thickness of the line */
    background-color: rgb(176, 168, 168); /* Line color */
    margin: 10px 0; /* Space above and below */
}
/* Style for Hamburger Button */
.hamburger-menu {
    position: fixed;
    top: 15px;
    right: 15px;
    font-size: 28px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    cursor: pointer;
    padding: 12px 15px;
    border-radius: 8px;
    z-index: 10000; /* ✅ Keep it above everything */
}
/* Default Menu Styles (for larger screens) */
.menu {
    display: block; /* Always visible on desktop */
    position: static;
    background: none;
    text-align: center;
}

.menu a {
    display: inline-block;
    padding: 10px 20px;
    font-size: 18px;
    color: #333;
    text-decoration: none;
}

.menu a:hover {
    color: #253dab;
    text-decoration: underline;
}

/* ✅ Desktop View (min-width 600px) */
@media (min-width: 600px) {
    .hamburger-menu {
        display: none; /* Hide hamburger on large screens */
    }

    .menu {
        display: block; /* Show menu normally */
        position: static;
        text-align: center;
    }
}

/* ✅ Mobile View (max-width 600px) */
@media (max-width: 600px) {
    .menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.7);
        text-align: center;
        padding-top: 80px;
        margin: 0;
        z-index: 9999; /* ✅ Lower than hamburger-menu */
    }

    .menu.show {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .menu a {
        display: block;
        width: 100%;
        padding: 15px 0;
        font-size: 18px;
        color: white;
        text-decoration: none;
        background-color: transparent; /* ✅ No background */
    }

    .menu a:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }
}
/* Bio Section Styling */
.bio {
    max-width: 800px;
    margin: 20px auto;
    text-align:justify;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    padding: 10px; /* Reduce padding */
}

/* Style Paragraphs for Better Readability */
.bio p {
    margin-bottom: 15px;
}

/* Make It Responsive for Mobile */
@media (max-width: 600px) {
    .bio {
        text-align: justify;
        margin-left: 0; /* Aligns it to the left */
        padding: 0 20px;
    }
}
.cv-container {
    text-align: justify; /* Justify the text */
    display: flex;
    justify-content:left; /* Center the link */
    align-items: center;
    margin-top: 10px;
}
.cv-link {
    display: inline-block;
    background-color: #0658aa;
    color: white;
    padding: 3px 8px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
}

.cv-link:hover {
    background-color: #005bb5;
}
.back-home-button:hover {
    color: #ffcc00; /* Changes text color to yellow */
    font-size: 16px; /* Slightly increases font size */
}