:root {
    --primary-color: #007bff;
    --text-color: #333;
    --background-color: #f8f9fa;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    padding-top: 2rem; /* Added padding to top of body */
}

.home-content {
    padding: 2rem 0;
}

.profile-section {
    text-align: center;
    margin-bottom: 2rem;
}

.image-cropper {
    width: 250px;
    height: 250px;
    position: relative;
    overflow: hidden;
    /* border-radius: 25%; */
    margin: 0 auto 1rem;
}

.profile-pic {
    display: inline;
    margin: 0 auto;
    height: 100%;
    width: auto;
}

#profile h1 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

#profile h2 {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--primary-color);
}

.social-links {
    margin-top: 1rem;
}

.big-icon {
    font-size: 2rem;
    margin: 0 0.5rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.big-icon:hover {
    color: darken(var(--primary-color), 15%);
}

.content-section, .publications-section {
    margin-bottom: 2rem;
}

.content-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.content-section h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem; 
}

.publications-section h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem; 
}

.publications-table, .journal-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.5rem; /* Consistent spacing between rows */
}

.publication-date, .journal-date {
    width: 100px; /* Ensure both have the same width */
    vertical-align: top;
    padding-right: 10px; /* Consistent space between date and content */
    color: var(--text-color); /* Use a color that matches your theme */
}

.publication-content, .journal-table td {
    vertical-align: top;
    padding-left: 0; /* Ensure no extra padding is added */
}

.journal-section h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.journal-section ul a {
    color: black;
    text-decoration: underline;
}

.journal-table a {
    color: black;
    text-decoration: underline;
}

@media (max-width: 991px) {
    .image-cropper {
        width: 150px;
        height: 150px;
    }

    #profile h1 {
        font-size: 1.8rem;
    }

    #profile h2 {
        font-size: 1rem;
    }

    .big-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 575px) {
    .image-cropper {
        width: 120px;
        height: 120px;
    }

    #profile h1 {
        font-size: 1.6rem;
    }

    #profile h2 {
        font-size: 0.9rem;
    }

    .big-icon {
        font-size: 1.2rem;
    }
}