@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

* {
    font-family: 'Open Sans', sans-serif; /* Set Open Sans as the default font */
   
}

/* Ensure full height of viewport */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* Main content wrapper */
.wrapper {
    margin: 0 auto;
    width: 100%;
    max-width: 1000px; /* Limits width on larger screens */
    flex: 1; /* Takes up the remaining space, pushing footer down */
}

/* Footer styling */
#footer {
    text-align: center;
    padding: 10px;
    background-color: #f1f1f1; /* Optional: choose a background color */
    /* You can add other styles as needed */
 }

 .profile-image {
    width: 250px; /* Adjust the width as desired */
    height: auto; /* Keeps the aspect ratio */
    border-radius: 8px; /* Optional: Adds rounded corners */
}


p{
    line-height: 22px;
}

.container {
    display: flex;
    align-items: flex-end; /* Align the items at the bottom */
    justify-content: space-between;
 }
 
 .text {
    flex: 1;
 }
 
 .photo {
    margin-left: 70px;
 }

a.class0 {color:#2194f3;}
a.class0:link {text-decoration: none; color: #2194f3;}
a.class0:visited {text-decoration: none; color: #2194f3;}
a.class0:hover {text-decoration: underline; color: #2194f3;}
a.class0:active {text-decoration: none; color: #2194f3;}

a.class1 {color:rgb(115, 130, 123);}
a.class1:link  {text-decoration: none; color: rgb(115, 130, 123);}
a.class1:visited {text-decoration: none; color: rgb(115, 130, 123);}
a.class1:hover {text-decoration: underline; color: black;}
a.class1:active {text-decoration: none; color: rgb(115, 130, 123);}


a.class2 {color:#E53835;}
a.class2:link {text-decoration: none; color: #E53835;}
a.class2:visited {text-decoration: none; color: #E53835;}
a.class2:hover {
    text-decoration-thickness: from-font;
    font-size: 1.1rem; color: rgba(255, 0, 0, 0.75)red;}
a.class2:active {text-decoration: none; color: #E53835;}

/* Ensure non-linked titles also stay red */
span.class2 {
  color: #E53835;
}




/* Navigation Bar */
.navbar {
    background-color: white;
    overflow: hidden;
}

.navbar a {
    float: left;
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.navbar .right {
    float: right;
}

.navbar a:hover {
    background-color: #ddd;
    color: black;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}


.descriptname {
    font-size: 0.9em;
    color: #666;
}

.date-info {
    font-style: italic;
    color: #888;
    font-size: 0.9em;
    margin-top: 4px;
    text-align: left;
}



/* Tooltip Styling */
.social-links a {
    position: relative;
    text-decoration: none;
}

.social-links a::after {
    content: attr(data-tooltip); /* Tooltip text from data attribute */
    position: absolute;
    top: 120%; /* Position below the icon */
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
    z-index: 10;
}

.social-links a:hover::after {
    opacity: 1; /* Show tooltip on hover */
}


/* General icon styling */
.social-links a i, .social-links a img {
    font-size: 24px;
    transition: color 0.3s ease, transform 0.2s ease;
    margin-right: 10px;
    vertical-align: middle;
}

/* Custom colors for each icon */
.social-links a[data-tooltip="Google Scholar"] i {
    color: #4285F4; /* Google Scholar blue */
}

.social-links a[data-tooltip="DBLP"] i {
    color: #1E90FF; /* DBLP blue */
}

.social-links a[data-tooltip="CV"] i {
    color: #333; /* Neutral color for CV */
}

.social-links a[data-tooltip="ORCID"] i {
    color: #A6CE39; /* ORCID green */
}

.social-links a[data-tooltip="Semantic Scholar"] i {
    color: #FDB515; /* Semantic Scholar yellow */
}

.social-links a[data-tooltip="OpenReview"] img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(66%) saturate(2202%) hue-rotate(188deg) brightness(101%) contrast(92%);
    /* Dark blue for OpenReview */
}

/* Hover effect to slightly enlarge and brighten */
.social-links a:hover i, .social-links a:hover img {
    color: #0056b3;
    transform: scale(1.1);
}

.announcement {
    background-color: #E8F5E9; /* Light green for subtle emphasis */
    color: #103E13; /* Dark Green for the text */
    font-size: 1em;
    font-weight: bold; /* Makes the text bold */
    padding: 8px;
    margin-top: 15px;
    border-left: 4px solid #4CAF50; /* Subtle border for emphasis */
    border-radius: 3px;
    text-align: left;
}

.sections {
    font-family: 'Open Sans', sans-serif; /* Set Open Sans as the default font */
    line-height: 1.6;
    color: #333;
    padding: 20px 0; /* Only vertical padding */
}


.sections h2 {
    color: black;
    font-size: 2rem; /* Increases the size of h2 headings */   
    padding: 0px;
    border-radius: 5px;
    max-width: 800px;
}

.sections h3 {
    color: black;
    border-bottom: 1px solid black;
    padding-bottom: 5px;
    margin-bottom: 15px;
    max-width: 800px;
}

.sections ul {
    list-style-type: none;
    padding: 0;
}

.sections li {
    margin-bottom: 15px;
}

.sections li strong {
    color: #4CAF50;
    font-weight: normal; /* Removes bold styling */

}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.container .text {
    width: 60%;
}

.container .photo {
    width: 30%;
}

.container .photo img {
    width: 100%;
    border-radius: 10px;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    margin-right: 10px;
}

footer#footer {
    text-align: center;
    padding: 15px;
    background: #263238;
    color: white; /* White text color */
    margin-top: 30px;
}



.navbar {
    position: fixed; /* Fixed navbar at the top */
    top: 0;
    width: 100%;
    background-color: #333;
    z-index: 1000; /* Ensure it stays above other content */
    padding: 0 20px; /* Adds padding around navbar */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 14px 20px;
    font-size: 1rem;
    display: inline-block; /* Allows for inline display, not block-level */
    cursor: pointer; /* Pointer cursor on hover */
}

.navbar a:hover {
    background-color: #575757; /* Change background color on hover */
}

/* Adjust left-alignment for the first few items */
.navbar a:nth-child(1), .navbar a:nth-child(2) {
    margin-right: 30px; /* Space between the first 2 links */
}

/* Move CV link to the right */
.navbar .right {
    margin-left: auto; /* Pushes the CV link to the right */
}

/* Optional: Add more manual spacing if needed */
.navbar a:nth-child(3) {
    margin-right: 40px;
}

.navbar a:nth-child(4) {
    margin-right: 50px;
}

body {
    margin-top: 60px; /* Prevent overlap of content with the fixed navbar */

}


/* Banner container */
.banner {
    background: #263238;
    color: white; /* Text color */
    padding: 50px 20px; /* Adds space inside the banner */
    text-align: left; /* Left aligns text and content */
    position: relative; /* Ensures proper stacking with other elements */
    margin: 0; /* Ensures no margin around the banner */
    margin-bottom: 30px; /* Adds space between the banner and the next section */
    margin-top: 0; /* Ensures the banner starts at the very top */
}

/* Banner content styling */
.banner-content {
    max-width: 1000px; /* Matches the layout width */
    margin: 0 auto; /* Centers content */
}

/* Banner heading */
.banner h1 {
    font-size: 4rem; /* Large, bold heading */
    margin-bottom: 20px;
}

/* Banner text */
.banner p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Twitter link styling */
.twitter-link {
    color: white; /* Twitter icon color */
    font-size: 1.5rem;
    text-decoration: none;
    margin-top: 10px;
    display: inline-block; /* Ensures spacing between the link and text */
}

.twitter-link:hover {
    color: #1da1f2; /* Twitter's blue color on hover */
}

/* Adjust margin for the content to prevent overlap with the fixed navbar */
body {
    margin-top: 0px; /* Adjust based on the navbar height */
}


.negativebreak{
    margin-top: -10px; /* Moves the element upwards */
}