
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #111420;
    color: #e0e0e0;
    margin: 0;
    padding: 20px;
    padding-bottom: 0;
    line-height: 1.6;
}

h1 {
    color: #6fca89;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
}

h1 img {
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

h2 {
    color: #e3c04b;
    border-bottom: 2px solid #e3c04b;
    padding-bottom: 10px;
    margin-top: 40px;
}

ul {
    list-style-type: disc;
    padding: 0;
}

li {
    margin: 5px 0;
    margin-left: 17px;
    padding: 10px;
    padding-top: 6px;
    padding-bottom: 6px;
    background-color: #1c2134;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}
ul.proche li {
    padding-bottom: 5px;
    padding-top: 5px;
}


a {
    color: #6fca89;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    text-decoration: underline;
}

p {
    margin: 0px 0;
}


html {
    scroll-behavior: smooth;
}

footer {
    text-align: center;
    margin-top: 30px;
    padding: 0;
    color: #aaaaaa;
    font-size: 0.8em;
}



.colle {
    text-align: left;
}

.back_to_home{
    position: fixed;
    z-index: 9999;
    top: 20px;
    left: 20px;
    border: 3px solid #55af6f;
    border-radius: 200px;
    background-color: #183420;
    padding: 4px;
    transition: background-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
    opacity: 0.5;
    box-shadow: 0 0 30px #55af6f;
    transform: scale(1);
}

.back_to_home:hover{
    background-color: #55af6f;
    transition: background-color 0.4s ease , transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
    opacity: 0.8;
    box-shadow: 0 0 50px #55af6f;
}


.arxiv-link, .journal-link, .abstract {
    display: inline-block;
    margin-right: 5px;
    background-color: #d5d8e6;
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 5px;
    border: 2px solid #55af6f;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    transition: transform 0.2s ease;
}
.journal-link, .abstract {
    font-family: 'Larabie', sans-serif;
    color: #4d4841;
    font-size: 0.75em;
    font-weight: bold;
    padding: 0px 6px;
    padding-bottom: 1px;

}

.arxiv-link:hover, .journal-link:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
    text-decoration: none;
}


.abstract {
    position: relative
}

.abstract::after {
    font-family:'Segoe UI', sans-serif;
    font-weight: normal;
    content: attr(abstract-text);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    
    background: black;
    color: white;
    padding: 5px 8px;
    border-radius: 5px;
    
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.abstract:hover::after {
    opacity: 1;
}


.page-shell {
    display: flex;
    align-items: flex-start;
    gap: 20px;
} 


.sidebar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 140px;
    padding: 20px;
    /* background-color: #151a2d;
    border-radius: 18px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 212, 69, 0.12); */
}

.sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar a {
    display: block;
    padding: 12px 14px;
    background-color: #1c2134;
    color: #e3c04b;
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid rgba(255, 212, 69, 0.15);
    text-align: center;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.sidebar p {
    color: #ffd445;
    font-size: 0.9em;
    text-align: center;
}

.sidebar a:hover,
.sidebar a:focus {
    background-color: #2d3b67;
    color: #ffffff;
    transform: translateX(5px);
}

.content {
    margin-left: 200px;
    max-width: 1500px;
}



@media (max-width: 900px) {
    body {
        padding: 20px 10px;
    }
    .page-shell {
        display: block;
    }
    .sidebar {
        position: static;
        width: auto;
        margin-bottom: 20px;
    }
    .content {
        margin-left: 0;
    }
}


.table-airee,
.content table {
    border-collapse: collapse;
    margin-top: 20px;
    width: auto;
}

.content table td,
.content table th {
    padding: 12px 16px;
    vertical-align: top;
}

.content table tr {
    line-height: 1.6;
}

@font-face {
    font-family: 'Larabie';
    src: url('./larabiefont.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
