html {
    scroll-behavior: smooth;
}  

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color:#f4f4f4;
}

main {
    padding: 20px;
    text-align: center;
}

.link {
    color: rgb(17, 0, 255);
}

#publications {
    text-align: left;
}

.image-cont {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.circle-image {
    width: 250px;  /* Fixed width */
    height: 250px; /* Same as width to ensure perfect circle */
    border-radius: 50%;
    object-fit: cover; /* This ensures the image covers the area without distortion */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    border: 3px solid #fff; /* White border */
    margin: 20px auto; /* Center the image with some vertical spacing */
    display: block; /* Helps with centering */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth transition for hover effects */
}

/* Side navigation menu - starts visible */
.side-nav {
    width: 200px;
    background: #333;
    padding: 1rem;
    position: fixed;
    height: 100%;
    transition: all 0.3s;
    overflow-x: hidden;
    left: 0;
    top: 0;
    z-index: 2;
    visibility: visible;
}

.side-nav.closed {
    width: 0;
    padding: 0;
    visibility: hidden;
}

.side-nav ul {
    padding: 20px 0 0 0;
    list-style-type: none;
    display: block;
}

.side-nav li {
    margin-bottom: 1rem;
}

.side-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    display: block;
}

.side-nav a:hover {
    color: #f39c12;
}

.menu-btn {
    display: block;
    position: fixed;
    top: 10px;
    left: 10px;
    background-color: #333;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 3;
}

.content {
    margin-left: 220px;
    padding: 2rem;
    transition: margin-left 0.3s ease-in-out;
}

.content.closed {
    margin-left: 0;
}

/* Mobile styles */
@media (max-width: 768px) {
    .side-nav {
        width: 100%;
        height: auto;
        position: fixed;
        top: -50px;
        left: 0;
        padding: 0;
        transition: all 0.3s ease;
        visibility: hidden;
        background: #333;
    }

    .side-nav.active {
        top: 0;
        visibility: visible;
    }

    .side-nav ul {
        display: flex;
        flex-direction: row;
        justify-content: flex-start; /* Align items to the left */
        align-items: center;
        padding: 10px 60px 10px 20px; /* Add right padding for menu button */
        margin: 0;
        gap: 20px; /* Add space between navigation items */
    }

    .side-nav li {
        margin: 0;
    }

    .side-nav ul li a {
        font-size: 1rem;
        padding: 10px;
        white-space: nowrap;
    }

    .menu-btn {
        right: 10px;
        left: auto;
        border-radius: 4px;
        position: fixed;
        top: 10px;
        z-index: 4; /* Ensure button stays on top */
    }

    .content {
        margin-left: 0;
        margin-top: 40px;
        padding: 1rem;
    }
}