@import url("font-awesome.min.css");
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300italic,400,600");

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    color: #333;
    background-color: #f5f5f5;
    line-height: 1.6;
}

ol{
    padding: 0 25px;
}
ol li{
    padding-left: 0px;
}
ul{
    padding: 0 25px;
}
ul li{
    padding-left: 0px;
}

/* Container */
.container {
    width: 85%;
    max-width: 1200px;
    margin: auto;
}

/* Header Styles */
header {
    background-color: #003350;
    color: white;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    float: left;
    font-size: 1.8rem;
}


/* Section Headers with Right-Aligned Buttons */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    margin: 0;
}

.section-header .button {
    background-color: #003350;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
}

.section-header .button:hover {
    background-color: #002840;
}

/* Simple Header for Publications/Projects Pages */
.simple-header {
    background-color: #003350;
    padding: 20px 0;
    text-align: left;
}

.home-link {
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    margin-left: 20px;
}

.home-link:hover {
    text-decoration: underline;
}

/* Main Sections */
.main-section {
    padding: 80px 0;
    padding-top: 100px;
}

.section-bg-1 {
    background-color: #e5e5e5;
}

.section-bg-2 {
    background-color: #f9f9f9;
}

/* Profile Image and Bio */
.profile {
    display: flex;
    align-items: center;
}

.profile-pic {
    max-width: 150px;
    margin-right: 20px;
    border-radius: 0;
}

/* Projects/Publications List */
.project-list {
    list-style: none;
    margin-top: 20px;
}

.project-list li {
    margin-bottom: 10px;
}

.project-list a {
/*    color: #003350; */
    text-decoration: none; 
/*    font-weight: bold; */
}

.project-list a:hover {
    text-decoration: underline;
}

/* Footer Styles */
footer {
    background-color: #003350;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.social-links {
    list-style: none;
    margin-top: 10px;
}

.social-links li {
    display: inline-block;
    margin: 0 10px;
}

.social-links a {
    color: white;
    text-decoration: none;
}

.social-links a:hover {
    text-decoration: underline;
}


/* Navigation */
nav {
    float: right;
}

.nav-links {
    list-style: none;
}

.nav-links li {
    display: inline-block;
    margin-left: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Mobile Menu Icon */
.menu-icon {
    display: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

/* For Mobile: Menu Button and Hidden Nav Links */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background-color: #003350;
        flex-direction: column;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        display: block;
        text-align: center;
        padding: 10px 0;
        margin-left: 0;
    }

    .menu-icon {
        display: block;
        float: right;
    }

    .logo {
        float: left;
    }

    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

/* Responsive Profile Image */
.profile {
    display: flex;
    align-items: center;
}

.profile-pic {
    max-width: 150px;
    margin-right: 20px;
    border-radius: 0;
}

@media screen and (max-width: 768px) {
    .profile {
        flex-direction: column;
        text-align: center;
    }

    nav {
        float: none;
        text-align: center;
    }
}

/* Icons */
.icon {
    text-decoration: none;
  }
  
  .icon:before {
    display: inline-block;
    font-family: FontAwesome;
    font-size: 1.25em;
    text-decoration: none;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .icon > .label {
    display: none;
  }
