/* General Styles */
body {
    font-family: 'Tahoma', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #add8e6;
    color: #333; /* Darker font color for header */
    padding: 1em 0;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
}

nav {
    background-color: #faf7f7;
    padding: 0.5em 0;
}

nav .menu-bar {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav .menu-bar li {
    margin: 0 1em;
}

nav .menu-bar li a {
    text-decoration: none;
    color: #333; /* Darker font color for menu tabs */
    font-weight: bold;
    padding: 0.5em 1em;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
}

nav .menu-bar li a:hover {
    background-color: #f08080;
    color: white;
}

/* Main Content */
main {
    padding: 2em 0;
    background-color: white;
}

.content-section {
    max-width: 900px;
    margin: 0 auto 2em auto; /* Centers the section and adds spacing */
    padding: 1em;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow for definition */
    background-color: #f9f9f9;
    border-radius: 8px;
}

main #intro {
    text-align: left;
    margin-bottom: 2em;
}

main .photo-container {
    margin: 0 auto;
    width: 250px;
    height: 250px;
    border-radius: 100%;
    overflow: hidden;
    border: 4px solid #ffcccb;
}

main .profile-photo {
    width: auto;
    height: 70%;
    display: block;
}

main h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    margin-bottom: 0.5em;
}

/* Footer */
footer {
    text-align: center;
    padding: 1em 0;
    background-color: #add8e6;
    color: #333;
}

footer .social-icons a {
    margin: 0 0.5em;
}

footer .social-icons img {
    width: 30px;
    height: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav .menu-bar {
        flex-direction: column;
    }

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

    main {
        padding: 1em;
    }

    .content-section {
        padding: 1em;
        box-shadow: none; /* Removes shadow for smaller devices */
    }
    .fa-bluesky::before {
        content: "\f0c2"; /* Unicode for a cloud icon */
        font-family: "Font Awesome 5 Free";
        font-weight: 900; /* Solid version of Font Awesome */
    }
    .expand-button {
        display: block;
        margin: 1em auto;
        padding: 0.5em 1em;
        font-size: 1.2em;
        background-color: #add8e6;
        color: #333;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }
    
    .expand-button:hover {
        background-color: #f08080;
        color: white;
    }
    
    .content-section.expanded {
        max-height: none;
        overflow: visible;
    }
    
    .full-page {
        max-width: none;
        margin: 0;
        padding: 2em;
    }
    
    .back-link {
        display: block;
        margin-top: 2em;
        text-align: center;
        color: #f8dcdc;
        text-decoration: none;
    }
    
    .back-link:hover {
        text-decoration: underline;
    }  
}    
/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
    text-align: center; /* Center align text */
}

.dropbtn {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 0.5em 1em;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    background: none;
    border: none;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    left: 50%; /* Align with the center of the parent */
    transform: translateX(-50%); /* Shift it back by half its width */
    background-color: #f6e0df;
    min-width: 180px; /* Adjust width based on content */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    z-index: 1000;
    text-align: center; /* Ensures text inside is centered */
}

/* Ensure the dropdown stays visible when hovering */
.dropdown:hover .dropdown-content,
.dropdown-content:hover {
    display: block;
}

/* Style for dropdown items */
.dropdown-content li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-content a {
    color: #333;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    font-weight: normal;
    white-space: nowrap; /* Prevents text wrapping */
    text-align: center; /* Center text */
}

.dropdown-content a:hover {
    background-color: #f08080;
    color: white;
}

a {
    color: #3d6996;
    text-decoration: none;
  }
  
a:hover {
    text-decoration: underline;
  }
  

/* General Publications Styling */
#publications {
    margin: 0 auto;
    max-width: 900px; /* Consistent with .content-section */
    padding: 1em;
}

#publications h2 {
    text-align: center;
}

#publications ul {
    list-style-type: none;
    padding: 0;
}

/* Make sure each publication item is styled correctly */
#publications li {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    display: block;
    background-color: transparent;
}

/* Journal Publications (Pink border) */
#publications li.journal {
    border-left: 5px solid #ce8daa;
}

/* Conference Publications (Blue border) */
#publications li.conference {
    border-left: 5px solid #32729d;
}

/* Manuscripts (Green border) */
#publications li.other {
    border-left: 5px solid #7d9d84;
}

/* Links */
#publications a {
    color: #3d6996;
    text-decoration: none;
}

#publications a:hover {
    text-decoration: underline;
}
