
img {
    border-radius: 10px;
}

.article {
    border-radius: 10px;
    padding: 20px;
    background-color: #1a1a1a;
    position: relative;
    cursor: pointer;
    margin: 20px;
}


/* Title styling */
.article b {
    display: block;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 2px solid #333;
    font-size: 1.1em;
}

.coauthors {
    display: block;
    color: #666;
}

.journal {
    display: block;
    color: #888;
}

.description-tooltip {
    background-color: black;
    position: fixed;
    right: 20px;
    top: 20px;
    width: 300px;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out;
    z-index: 1000;
}

/* Show tooltip on hover */
.article:hover + .description-tooltip,
.article:focus + .description-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Arrow pointing to trigger */
.description-tooltip::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    border-width: 10px 10px 10px 0;
    border-style: solid;
    border-color: transparent black transparent transparent;
}
    
body {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    background-color: #222;
    color: #fff;
    font-family: system-ui, -apple-system, sans-serif;
}

h2, h3 {
    font-weight: bold;
    color: lightblue;
    transition: all 0.3s ease;
    position: relative;
    margin: 1.5em 0;
    padding-bottom: 0.5em;
}

h2:hover, h3:hover {
    color: #7fffd4;
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(127, 255, 212, 0.3);
}

h2::after, h3::after, a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: aquamarine;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

h2:hover::after, h3:hover::after, a:hover::after {
    transform: scaleX(1);
}

a {
    color: aquamarine;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #7fffd4;
}