@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700&family=Montserrat:wght@400;700&family=Poppins:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&family=Roboto:wght@400;500;700&display=swap');


body {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    /* font-family: Arial, sans-serif; */
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #121212;
    /* padding-top: 60px; Equal to header height */
}

body.loaded {
    visibility: visible;
    opacity: 1;
  }

header {
    background-color: #333;
    color: #121212;
    text-align: center;
    line-height: 10px;
    /* background-image: url('./images/title_background2.jpeg'); */
    background-size: cover;
    background-position: 50% 51%;
    /* justify-content: bottom; */
    position: fixed;
    width: 100%;
    background-color: #121212; /* Customize header background color */
    height: 60px; /* Define a fixed height */
    z-index: 1000; /* Keep the header above all other elements */
    /* overflow: hidden; */

}


.header-content{
    width: 100%;
}
.tab-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end; /* Aligns the tabs to the right */
    color: cyan;
}

.tab-item  {
    position: relative;
    flex: 0 0 100px; /* Ensures even width (150px is the base width; adjust as needed) */
    text-align: center;
    font-family: 'Roboto Slab', sans-serif !important;
    color: cyan !important;
    font-weight: 300;
}



 .tab-link {
    display: block;
    padding: 1rem;
    color: #C0C0C0;
    text-decoration: none;
    background-color: #121212;
    position: relative;
  }
  
  .tab-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: blueviolet;
    transition: width 0.3s ease;
  }
  
  .tab-link:hover::after {
    width: 100%;
  }

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #121212;
    list-style-type: none;
    margin: 0;
    padding: 0;
    min-width: 200px;
}

.dropdown-menu li {
    border-bottom: 1px solid #000000;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: #E8E8E8;
    text-decoration: none;
}

.dropdown-menu a:hover {
    background-color: #555;
}

/* main {
    margin-top: 200px;
} */

hr.divider {
    border: 0;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
    border-top: 2px solid #B3B3B3; /* Line color and thickness */
    text-align: justify; /* Justifies the text for even spacing */
    width: 80%; /* Sets the width of the line */
    max-width: 800px; /* Maximum width of the block */
    color: #B3B3B3;
}

p {
    font-size: 16px; /* Sets the font size */
    color: #000000; /* Sets the text color */
    line-height: 1.5; /* Sets the line height for better readability */
    margin: 1rem 0; /* Adds vertical margins to space out paragraphs */
    /* padding: 20px; Removes any default padding */
    text-align: justify; /* Justifies the text */
}

p.highlight {
    background-color: #ffeb3b; /* Adds a background color to highlight text */
    padding: 0.5rem; /* Adds padding around the text */
    border-radius: 4px; /* Rounds the corners of the background */
}

p.centered {
    text-align: center; /* Centers the text */
    font-style: italic; /* Makes the text italic */
}

p.large {
    font-size: 1.25rem; /* Makes the text larger */
    font-weight: bold; /* Makes the text bold */
}

p.small {
    font-size: 0.875rem; /* Makes the text smaller */
    color: #777; /* Sets a lighter color */
}

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: calc(100% - 100px); Subtract header height */
    min-height: 100vh;
    margin-top: 60px;
    color: #E8E8E8;
}

.main_text {
    text-align: center;
    margin-bottom: 0px; /* Space below the entire block if needed */
  }

  h1 {
    font-family: 'Lato', sans-serif !important;
    text-align: center;
    margin-bottom: 20px; /* Space between the two headers */
  }
  
  .main_text h1 {
    font-family: 'Lato', sans-serif !important;
    margin-bottom: 20px; /* Space between the two headers */
    color: #E8E8E8; /* Optional: softer color for primary text */
    font-size: 2em;
    text-align: center;
  }
  
  .main_text h3 {
    margin-top: 5px; /* Reset any default margin */
    color: #C0C0C0; /* Optional: softer color for secondary text */
    font-weight: 300; /* Optional: lighter font for contrast */
    font-family: 'Roboto Slab', sans-serif !important;
  }


.profile-image {
    margin: 100px 10px 10px; /* Adds space between the image and text */
    width: 20vw;
    max-width: 200px; /* Sets a maximum width for the image */
    align-items: center;
    height: auto; /* Maintains the aspect ratio of the image */
    border-radius: 50%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.bio-text {
    font-family: 'Open Sans', sans-serif;
    text-align: justify; /* Justifies the text for even spacing */
    /* padding: 20px; Padding inside the block */
    margin: auto; /* Adds space around the block (outside) */
     max-width: 800px; /*Maximum width of the block */
    width: 90%; /* Responsive width relative to the parent container */
    color: #E8E8E8;
    margin-top: 20px;
    margin-bottom: 40px;
  }

.panel-container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    background-color: #121212;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 5px;
    /* padding: 20px; */
}


.image-container {
    display: flex;
    gap: 20px;
    padding: 20 px;
    justify-content: center;

}

html {
    scroll-behavior: smooth;
}

.logo-image {
    width: 30px;
    height: 30px;
    object-fit: contain;
  }

.profile-image {
    width: 25vw; /* Relative to viewport width, making it responsive */
    max-width: 200px; /* Limits the size on larger screens */
    height: 25vw; /* Same as width for a square shape */
    max-height: 200px; /* Limits height on larger screens */
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
  }

.profile-image:hover {
    transform: scale(1.1);
}


/* For CV page */
.cv-container {
    display: block;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 20px;
    background-color: #E8E8E8;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 15px;
}

.cv-container .centered-text-1 {
    display: block;
    font-size: 2em;
    font-weight: bold;
    margin: 0; /* Remove all default margins */
    text-align: center;
}

.cv-container .centered-text-2 {
    display: block;
    font-size: 1em;
    margin: 0; /* Remove all default margins */
    text-align: center;
}



.cv-container h1 {
    margin-top: 10px auto;
    padding-bottom: 5px;
}

.cv-section {
    margin-bottom: 30px;
}



.cv-container h2 {
    margin-top: 20px;
    border-bottom: 2px solid #333;
    padding-bottom: 0px;
}

.cv-container .DEIA-text {
    margin: 0;
    padding-left: 40px;
    padding-right: 40px;
    display: inline-block; /* Ensure the element stays inline */
    font-size: 16px; /* Sets the font size */
    color: #000000; /* Sets the text color */
    line-height: 1.5; /* Sets the line height for better readability */
    text-align: justify; /* Justifies the text */
}

.cv-list {
    list-style: disc inside;
    padding-left: 10px;
}

.cv-list li {
    margin-bottom: 10px;
    padding-left: 10px;
}

.cv-list strong {
    font-weight: bold;
}

.cv-list em {
    font-style: italic;
}

/* for embedding */

.project-container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    background-color: #121212;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 5px;
    /* padding: 20px; */
}


.project-container section {
    padding: 0px;
    margin-bottom: 50px;
    border-radius: 5px;
    background-color: #121212; /* Optional: Adds contrast */
}

.project-container h1 {
    font-family: 'Lato', sans-serif;
    text-align: center;
    margin-bottom: 0px;
    padding: 0px;
}

.project-container .project-title {
    font-family: 'Lato', sans-serif;
    font-size: 1.5em;
    font-weight: bold;
    text-align: left;
    color: #F8F8F8;
    margin-top: 10px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.3);
    /* padding-left: 20px; */
}


.project-container .project-text{
        font-family: 'Open Sans', sans-serif;
        text-align: justify; /* Justifies the text for even spacing */
        /* padding: 20px; Padding inside the block */
        margin: auto; /* Adds space around the block (outside) */
         max-width: 800px; /*Maximum width of the block */
        width: 90%; /* Responsive width relative to the parent container */
        color: #E8E8E8;
        margin-top: 0;
        margin-bottom: 15px;
}


.project-list {
    list-style: disc inside;
    padding-left: 10px;
}

ol {
    padding-left: 20px;  /* Adjust the space to the left of the list items */
    list-style-position: outside;
}
/* hiding panel */

.panel {
    display: none; /* Ensure sections with class 'panel' are hidden by default */
}

/* Page 2-specific style */
body#page2 #Shiny_RNAseq {
    display: block;
  }


/* Ensure the selected panel is visible */
.panel.active {
    display: block;
}

.container {
    display: flex;
    height: 100%;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}


.content-panel {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: #121212;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    max-height: 300px; /* Default collapsed height */
    transition: max-height 0.3s ease-in-out;
}

/* Wrapper around iframe to allow gradient effect */
.iframe-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    transition: height 0.3s ease-in-out;
}

/* The iframe styles */
iframe {
    width: 100%;
    height: 300px; /* Default height */
    border: none;
    transition: height 0.3s ease-in-out;
}

/* Gradient overlay */
.gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%; /* Cover bottom half */
    background: linear-gradient(to bottom, rgba(18, 18, 18, 0) 0%, #121212 100%);
    transition: opacity 0.3s ease-in-out;
    z-index: 2;
}

.read-more-btn {
    display: block;
    width: fit-content;
    margin: 10px auto 0; /* Center horizontally */
    color: rgba(255, 255, 255, 0.6); /* Subtle text */
    font-weight: 500;
    font-size: 16px;
    font-family: 'Lato', sans-serif !important;;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: color 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
}

/* Hover shimmer effect */
.read-more-btn:hover {
    color: rgba(255, 255, 255, 1); /* Brighter text */
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8); /* Soft glow */
}

/* Expanded state: remove height restriction */
.content-panel.expanded {
    max-height: 10000px;
}

/* Expand iframe height */
.content-panel.expanded .iframe-wrapper {
    height: 1000px; /* Adjust as needed */
}

.content-panel.expanded iframe {
    height: 1000px; /* Ensure the iframe itself expands */
}

/* Hide gradient when expanded */
.content-panel.expanded .gradient-overlay {
    opacity: 0;
    visibility: hidden;
    height: 0px;
}
 /* make new styling for project name titles */

    .project-title {
        font-family: 'Lato', sans-serif !important;
        font-size: 1.5em;
        font-weight: bold;
        text-align: center;
        color: #F8F8F8;
        margin-top: 50px;
        margin-bottom: 0px;
        padding-bottom: 0%;
        text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.3);
    }

    :target {
        scroll-margin-top: 60px; /* Adjust to match your header height */
      }


/* footer image */

footer {
    width: 100%;
    margin-top: 20px;
  }
  
  .footer-image {
    width: 100%;
    height: auto;
    display: block;
  }
  

  .clickable-image {
    width: 90%; /* Adjust the width as needed */
    max-width: 800px; /* Limit the maximum width */
    margin: 0 auto; /* Center the image */
    height: auto; 
    border: 2px solid #007BFF; /* Border color to indicate link */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .clickable-image:hover {
    transform: scale(1.05); /* Zoom effect on hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
  }
