html {
    scroll-padding-top: 70px; /* Match this with your navbar height */
}

body {
    padding-top: 70px; /* Match this with the navbar height */
    color: #333;
    font-weight: 340;
}

a:active,
a:hover {
    color: #359fb5 !important;
    text-decoration: underline;
}

a {
    color: #0c5e6f !important;
    cursor: pointer;
}

.container-center {
    width: 75%;
    margin: auto;
}

.me-background {
    background-color: #15734E !important;
    padding-bottom: 25px;
    padding-top: 25px;
    color: #fff !important; /* Make text white */
}

.me-background h1,
.me-background h2,
.me-background h3,
.me-background p,
.me-background li,
.me-background span,
.me-background a {
    color: #fff !important; /* Ensure all text within .me-background is white */
}

.me-image-container {
    position: relative;
    display: inline-block;
}

.me-image {
    border-radius: 50%;
    padding: 3px;
    border: 1px solid #c5cdce;
    background-color: #fff;
}

.other-image {
    display: block;
    margin: 0 auto;
    border-radius: 50%;
    padding: 3px;
    border: 1px solid #c5cdce;
    background-color: #fff;
    max-width: 80%;
}

.me-emoji {
    position: absolute;
    bottom: -1px;
    right: -1px;
    font-size: 30px;
}

.me-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
}

.network-icon {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0;
    padding: 5px;
}

.hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 20px 0;
}

.network-icon li {
    margin: 0 10px;
}

.big-icon {
    font-size: 24px !important;
}

.container-main {
    margin-top: 35px;
    margin-bottom: 50px;
}

.news-table {
    margin-top: 15px;
    margin-left: 10%;
    margin-right: 10%;
}

.me-background a,
.me-background .network-icon i {
    color: #fff !important; /* Ensure links and icons within .me-background are white */
}

@media(max-width: 700px) {
    .container-center {
        width: 90%;
    }
    .news-table {
        margin-left: 0;
        margin-right: 0;
    }
}

td.news-date {
    vertical-align: text-top;
    font-weight: 500;
}

span.big-bold {
    font-size: 1rem;
    font-weight: 600;
}

td.news-text {
    padding-left: 25px;
    vertical-align: top;
    padding-bottom: 10px;
}

.pub-image-cell {
    max-width: 300px;
}

.pub-text-p {
    margin-bottom: 8px;
    line-height: 1.3rem;
}

.code {
    background-color: #15734E;
    color: #fff !important; /* Make links white */
    font-family: Consolas, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New;
}

.pub-text-title {
    font-weight: 550;
}

b.myname {
    font-weight: 550;
}

span.pub-note {
    font-weight: 550;
    color: red;
}

.bibtex pre {
    margin: 0;
    font-size: 70%;
}

.bibtex {
    padding: .5rem;
}

.talks-table {
    margin-top: 15px;
}

td.talks-date {
    vertical-align: text-top;
    font-weight: 500;
}

td.talks-text {
    padding-left: 25px;
    vertical-align: top;
    padding-bottom: 5px;
}

footer {
    background-color: #15734E !important;
    padding-bottom: 10px;
    padding-left: 5%;
    padding-top: 10px;
    color: #99afba;
    font-size: .7rem;
    color: #fff !important; /* Make text white */
}

footer > a {
    color: #fff !important; /* Make links white */
}

.limit-items .items tr:nth-of-type(n+4) {
    display: none;
}

.limit-items #show-all:checked ~ .items tr {
    display: table-row;
}

.limit-items #show-all ~ label[for=show-all] {
    display: none;
}

.limit-items #show-all:checked ~ .text-hide {
    display: inline-block;
    padding: .5%;
}

.limit-items #show-all:not(:checked) ~ .text-show {
    display: inline-block;
    padding: .5%;
}

.limit-items {
    display: block;
    position: relative;
    padding-bottom: 2.5em;
}

.limit-items #show-all {
    display: none;
}

.limit-items label[for=show-all] {
    display: block;
    position: absolute;
    width: 25%;
    min-width: 120px;
    bottom: 0;
    margin-left: 40%;
    margin-right: 25%, auto;
    cursor: pointer;
    color: #a0a0a0;
    font-family: sans-serif;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1rem;
    text-align: center;
}

.limit-items label[for=show-all]:hover {
    border: solid;
    border-width: 1px;
}

.limit-items label[for=show-all]:active {
    border: 1px solid #222;
    background-color: #222;
    color: #fff;
}

.skillTab {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
}

.mobilTab {
    visibility: collapse;
    overflow: hidden;
}

.mobilTab tr.collapsed {
    visibility: collapse;
    line-height: 0;
    overflow: hidden;
}

.mobilTab tr.collapsed * {
    padding: 0;
    border: none;
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .skillTab tr {
        display: table;
        width: 100%;
    }
    .skillTab td {
        display: table-row;
    }
    .skillTab tr:nth-of-type(odd) {
        background: #15734E;
    }

    .inspiTab {
        display: none;
    }

    .mobilTab {
        visibility: visible;
        width: 100%;
        border-collapse: collapse;
    }
}


/* Add padding to the body so that the content doesn't hide under the fixed navbar */
body {
    padding-top: 70px;
}

.navbar {
    background-color: #15734E; /* Green background for the navbar */
    z-index: 1000; /* Ensure the navbar stays on top */
}

.navbar .nav-link {
    color: #fff; /* White text for links */
    font-weight: normal; /* Normal weight for links by default */
}

.navbar .nav-link:hover,
.navbar .nav-link:active {
    color: #ffffff; /* White color on hover and active */
    font-weight: bold; /* Bold text when hovering or active */
}

.nav-item.active .nav-link {
    font-weight: bold; /* Bold text for active link */
    color: #fff; /* Ensure the active link remains white */
}

/* Green background sections (reuse .me-background styling) */
.section-green {
    background-color: #15734E;
    color: white; /* Ensure text is visible */
    padding: 20px;
}

/* Alternate color for sections (e.g., light grey) */
.section-alt {
    background-color: #f5f5f5; /* Light grey background */
    color: #333; /* Dark text for readability */
    padding: 20px;
}




/* Existing layout styling for the skills box */
.skills-box {
  display: flex;
  gap: 3px; /* 10 */
  /* flex-wrap: wrap; */
  /*  margin-top: 10px; */
  flex-wrap: wrap; 
}

/* Default skill button styling */
.skill {
    /* font-size: 0.5rem; */ /* Smaller font size */
    /* padding: 5px 10px;*/  /* Reduced padding */
    /* margin: 3px;*/ /* Tighter margin */
    /* padding: 8px 15px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s; */ /* Smooth transition */
    /* margin: 5px; */ /* Add margin to increase space between buttons */
    /* background-color: #15734E; */ /* Green background */
    /* color: #fff; */ /* White text */
    /* border: 1px solid #15734E;*/
    font-size: 0.6rem; /* Smaller font size */
    padding: 5px 10px;  /* Compact padding */
    margin: 3px; /* Reduced margin between skills */
    border: 1px solid #fff; /* Border color matching theme */
    border-radius: 10px; /* Rounded corners for box look */
    background-color: #15734E; /* Light background color */
    color: #fff; /* Text color for contrast */
    font-weight: normal; /* Adjust font weight for clarity */
}

/* Hover effect for skills */
.skill:hover {
  background-color: #1a8d5f; /* Darker green on hover */
  color: #fff; /* White text remains */
}

