:root {
    --primary-color: #010101;
    --secondary-color: #d2d5d8;
    --background-light: #f0ecec;
    --background-dark: #d7d2d2;
    --button-background: #ece4e4;
    --button-hover: #849bb1;
    --accent-color: #0a23b0; 
    --border-radius: 20px; 
    --transition-speed: 0.5s; }

body {
    margin: 0;
    line-height: 1.5;
    font-family: Arial, sans-serif;
    font-size: 1em;
    font-weight: 500;
    background-color: var(--background-light);
    display: flex;
    flex-direction: column;
    min-height: 50vh;
    font-size: bold;
    color: var(--primary-color);
    transition: background-color var(--transition-speed);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #008080;
    color: #fff;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color var(--transition-speed);
}

.top-bar:hover {
    background-color: var(--accent-color);
}

button {
    background-color: var(--button-background);
    color: var(--primary-color);
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

button:hover {
    background-color: var(--button-hover);
    transform: scale(1.05);
}

@media (max-width: 400px) {
    body {
        font-size: var(--font-size-small);
    }

    .top-bar {
        padding: 10px;
    }

    button {
        padding: 8px 16px;
    }
}

.logo, .user-controls {
    display: flex;
    align-items: center;
}

.logo img, .user-controls img {
    margin-right: 10px;
    height: 30px;
}

.container {
    display: flex;
    flex: 1;
    overflow: hidden; 
}

.sidebar {
    width: 250px;
    background-color: var(--background-light);
    height: calc(100vh - 60px); 
    overflow-y: auto;
    padding: 20px;
    box-shadow: 2px 0 4px rgba(110, 44, 44, 0.1);
}

.principal-button {
    background-color: var(--button-background);
    color: var(--primary-color);
    padding: 15px;
    margin-bottom: 5px;
    cursor:context-menu;
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    transition: background-color 0.1s ease, color 0.3s ease;
   
}

.principal-button:hover {
    background-color: var(--button-hover);
}

.sub-buttons, .sub-sub-buttons {
    display: none;
    padding-left: 20px;
    display: none;
}

.sub-buttons div, .sub-sub-buttons button {
    background-color: var(--button-background);
    color: var(--primary-color);
    padding: 8px;
    margin-bottom: 5px;
    cursor: context-menu;
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    width: 100%;
    text-align: left;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sub-buttons div:hover, .sub-sub-buttons button:hover {
    background-color: var(--button-hover);
}

.content {
    width: 80%;
    padding: 30px;
    box-sizing: border-box;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 20px;
    border-radius: 10px;
    max-width: 100%;
}

.info {
    color: rgb(88, 88, 96);
    margin-bottom: 10px;
    padding-left: 0px;
    padding-top: 0px;
}

.gray-background {
    border: 1px solid #34495e;
    padding: 20px;
    padding: 20px;
    min-height: 200px;
    background-color: #ecf0f1;
    border-radius: 10px;
    display: none;
    justify-content: center;
    overflow-x: auto;

}

.hierarchy {
    font-weight: bold;
    margin-bottom: 10px;
}

#search-bar {
    padding: 10px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 10px;
    border: 1px solid var(--secondary-color);
    box-shadow: #493a3a;
}

.image-row {
display: flex;
flex-wrap: wrap;
margin-bottom: 10px;
justify-content: center;

}

.image-column {
width: calc(50% - 10px);
margin-right: 20px;
margin-bottom: 20px;
}

.image-column img {
width: 100%;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease-in-out;
}

.image-column img:hover {
transform: scale(1.05);
}

.image-container {
text-align: center;
margin-top: 20px;

}

.image-container img {
max-width: 400px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}
.logo img {
width: 150px;
padding-left: 20px; 
height: auto; 
}

.user-controls img {
width: 100px; 
height: auto; 
padding-right: 20px;
}
.middle-text {
font-size: 30px; 
font-weight: bold;
animation: slideIn 1s ease forwards; 
opacity: 0; 
text-decoration: dotted;
text-align: center;
}

@keyframes slideIn {
    0% {
        transform: translateX(-50px); 
        opacity: 0;
    }
    100% {
        transform: translateX(0); 
        opacity: 1;
    }
}

.gray-background-iconog {
    border: 1px solid #34495e;
    padding: 20px;
    padding: 20px;
    min-height: 200px;
    background-color: #ecf0f1;
    border-radius: 10px;
    display: none;
    justify-content: center;
}


/* Iconographie rein images */
.image-roow {
    margin-top: 20px;
    display: flex;
    justify-content: center; 
    gap: px ;
    margin-bottom: 10px;

}

.image-columns {
    flex: 1;
    display: flex;
    justify-content: center;
}

.centered-image {
    display: inline-block; 
    max-width: 50%;
    height: auto;
    border: 2px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    margin: 5 5px;


}
.centered-image:hover {
    transform: scale(1.08);
}


.content-box {
    background-color: #c48c8c;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    max-width: 600px;
    margin: 20px auto;
    font-family: Arial, Helvetica, sans-serif;
}

.caption {
    margin-top: 20px ;
    color: #841616;
    font-weight: bold;
}

.tb {
    width: auto; 
    margin: 0 auto; 
    border-collapse: collapse;
    margin-bottom: 20px;
    padding-left: 40px;
}
th, td {
    border: 2px solid #c0bbbb;
    padding: 10px;
    text-align: left;
}
th {
    background-color: #841616;
    color: white;
}
tr:nth-child(even) {
    background-color: #f2f2f2;
}
@media (max-width: 600px) {
    table, th, td {
        display: block;
        width: 100%;
    }
    th, td {
        box-sizing: border-box;
        width: 100%;
        display: block;
    }
    tr {
        display: flex;
        flex-direction: column;
        margin-bottom: 15px;
    }
}

.center-text {
    display: none;
    text-align: center;
}

.boorder-box {
    border: 2px rgb(255, 149, 0);
    padding: 5px;
    padding-top: 5px;
    text-align:justify;
    display: flex;
    margin: auto;
    width: fit-content;
    border-radius: 10px;
    fill: #34495e;
    background-color: #dcb7af;
    margin-top: 5px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    
}

.intro {
            
            margin: 1px auto;
            padding: 20px;
            border: 2px solid #4CAF50;
            border-radius: 15px;
            background-color: #f9f9f9;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            font-family: 'Arial', sans-serif;
}

.tp {
    width: 50%;
    margin: 20px auto;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
}

th, td {
    border: 1px solid #ddd;
    padding: 12px;

}

th {
    background-color: #728eff;
    color: white;
}

td {
    background-color: #f9f9f9;
}

.figure-title {
    text-align: center; 
    font-size: 14px; 
    font-weight: bold; 
    color: #382424; 
    padding: 10px; 
   
  }

  .info {
    background: linear-gradient(135deg, #008080, #005757), 
                url('https://example.com/histology-texture.png'); /* Replace with actual histology texture image URL */
    background-blend-mode: overlay;
    background-size: cover;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 800px;
    animation: fadeInUp 1s ease-in-out;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.info h3 {
    text-align: center;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.5px;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.text-ident{
    text-indent: 2em;
    white-space: pre-wrap;
}


.highlight {
    background-color: rgb(202, 157, 9);
    color: rgb(8, 8, 8);
}
.search-button {
    padding-bottom: 200px;
    padding-top: 20 px;
}
.search-bar {
    padding-top: 20px;
    padding-bottom: 20px;
}


/* Basic Reset */
body, p, a {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 20px;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    margin-bottom: 10px;
}

.footer-content a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-content a:hover {
    color: #3498db;
}

.social-media {
    margin: 20px 0;
}

.social-media a {
    margin: 0 10px;
    display: inline-block;
}

.social-media img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

.disclaimer {
    font-size: 0.85em;
    color: #bdc3c7;
    margin-top: 20px;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background-color: #008080;
    color: white;
    border: none;
    border-radius: 50%;
    width: 53px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s;
}

#back-to-top:hover {
    background-color: #2980b9;
}

#back-to-top:focus {
    outline: none;
}


/* Table styles */
.authors-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #6b1111;
}
.ttt {
    background-color: #235975;
}

