/*buttonu*/
.horizontal-list {
  display: flex;
  justify-content: center; 
  width: auto; 
}
  

.horizontal-list li {
flex: 0.5; 
display: flex;
justify-content: center; /* Center content inside each li */
margin:0.1px;
}

.content {
position: relative;
width: 100%; 
max-width: 200px; /* Optional: Set a max width for buttons */
overflow: hidden;
}

.content .content-overlay {
background: rgba(155, 158, 189, 0.7);
position: absolute;
height: 100%;
width: 100%;
left: 0;
top: 0;
opacity: 0;
transition: all 0.4s ease-in-out;
}

.content:hover .content-overlay {
opacity: 1;
}

.content-image {
width: 100%;
}

.content-details {
position: absolute;
text-align: center;
padding: -2.5em;
width: 100%;
top: 50%;
left: 50%;
opacity: 0;
transform: translate(-50%, -50%);
transition: all 0.3s ease-in-out;
}

.content:hover .content-details {
opacity: 1;
}

.content-details h3 {
color: #fff;
font-weight: 200;
font-size: 1em;
}

.content-details p {
color: #fff;
font-size: 0.8em;
}

.fadeIn-bottom {
top: 60%;
}


/*menu.html*/
*{
  width: 100%;
}
.home3 img{
  display: block;
  width: 100%;
  height: auto;
}
.home3{
    margin-top: 500px;
    display:flex;
    justify-content:center;
    align-items:center;
    width: 100vw;
    max-width: 100%;
    height: 100vh;
  
}
.text-container {
  display: flex; /* Flexbox for horizontal alignment */
  position: absolute;
  letter-spacing: .01em;
  top: 100;
  left:35%;
}
.Frist {
  padding-left: 20px; /* Add some padding to limit movement */
  margin-right: 100px; /* Add margin to stop the word from going too far right */
  padding-top: 20px;
}
.big-title{
  position:relative;
  right: 70vw;
  white-space: nowrap;
  text-align:left;
  display:flex;
  left: -110%
}

@keyframes gradientText {
  0% {
      color: #1c1c54;
  }

  25% {
      color: #4f4f8a;
  }

  50% {
      color: #9090a9;
  }

  100% {
      color: white;
  }
}

@keyframes caret {
  50% {
    border-color: transparent;
  }
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: orange; }
}

@keyframes reveal {
  0% {opacity:0;width:0px;}
  20% {opacity:1;width:0px;}
  80% {opacity:1;}
  100% {opacity:0;}
}

.text-container div {
  display: inline-block; /* Ensure the divs are inline for letters */
  font-size: 100%; /* Adjust the font size */
  color: black;
  font-weight: bold;
  width: 100vw;

}
.text-container{
  font-size:4.5vw; 
  color: white;
  font-weight:bold;
  top: 15%; 
  left: 65%;
  animation:fadeInUpShorterPlus 5s  ;
}
p{
  text-indent: 25px;
}
.indent{
  text-indent: 25px;
}
.no-indent{
  text-indent: 0px !important;
}
.overlay-text,.overlay-text-2 {
  display: inline-block;
  position: absolute;
  padding: 10px 20px; 
  text-align: right;
  letter-spacing: .02em;
  word-spacing: .2em;
  white-space: normal; /* Allow text to wrap */
  overflow:visible; /* Hide overflowing content */
  max-width: 50vw; /* Ensure the text stays within 90% of the viewport width */
  box-sizing: border-box; 
  word-wrap: break-word;
}
.overlay-text{
  line-height:2em;
  transform:translate(-50%, -50%);
  top: 60%; 
  left: 70%; 
}
.overlay-text-2{
  line-height:3em;
  transform:translate(-40%, -50%);
  top: 60%; 
  left: 70%; 

}
.overlay-text-4{
  top: 25%; 
  left: 50%; 
  justify-content: center;
  line-height: 2em;

}
.three-columns {
  display: flex;
  justify-content: space-between; /* Spread the columns evenly */
  padding: 50px;
  padding-top: 10vw;
}

.column {
  flex: 1; /* All columns take equal space */
  padding: 20px;
  margin: 10px;
  text-align: center;
  height: 30vw;;
  font-size: 80%;
}
.revealUp {
  opacity: 0;
  visibility: hidden;
  transform: translateY(50px); /* Start with the element 50px down */
  transition: all 0.6s ease; /* Smooth transition */
}

.revealUp.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0); /* Move to its original position */
}

.hovere{
  --s: 0.1em;   /* the thickness of the line */
  --c: #446b4e; /* the color */
  
  color: #0000;
  padding-bottom: var(--s);
  background: 
    linear-gradient(90deg,var(--c) 50%,#000 0) calc(100% - var(--_p,0%))/200% 100%,
    linear-gradient(var(--c) 0 0) 0% 100%/var(--_p,0%) var(--s) no-repeat;
  -webkit-background-clip: text,padding-box;
          background-clip: text,padding-box;
  transition: 0.5s;
  cursor: pointer;
    /* Adjust positioning */
    position: relative;
    text-align: right;
    width: 50%; /* Take up the right 50% of the container */
    float: right; /* Align the element to the right */
    /* Layout adjustments */
    position: relative; /* Keep it in normal flow */
    padding-top: 10px;  /* Optional: Add some top padding */
    padding-right: 30px;
    margin-top: 20px;   /* Add margin to prevent overlap */
}
.home-image6{
    width: 50%;
   float: left; /* Align the element to the right */
   position: relative; /* Keep it in normal flow */
    padding-top: 10px;  /* Optional: Add some top padding */
    padding-right: 30px;
    margin-top: 20px;   /* Add margin to prevent overlap */

}


.hovere:hover {--_p: 100%}

.home-image7 {
  margin: 0;
  color: rgb(255, 255, 255);
}



.btn-padding{
    margin-left: 10px
  }
.dropdown-content {
    display: none;
}
.dropdown:hover {
    color: #3070d8 !important
}
.dropdown:hover .dropdown-content {
    display: block;
}
.nav-link{
    color: #ffffff !important
}
.nav-link {
    font-family: 'regular Clash';
}
:root {
  --primary-font: "Georgia", serif;  /* Primary font for most content */
  --secondary-font: "Georgia", serif;   /* Secondary font for headings and specific content */
  --test-font: "Poppins", serif;
}
  .navbar {
transition: top 0.6s; /* Smooth transition for hiding and showing */
  }
  .navbar {
    background-color: #8a8eae !important
  }
  .navbar .navbar-brand {
    position: absolute;
    top: -0;
    left: 100;
  }
  @font-face {
    font-family: "Clash";
    src: url('https://static.igem.wiki/teams/5094/font/clashdisplay-variable.ttf') format('truetype');
  }



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

.hoverg {
    transition: 0.4s;
    opacity: 1;
  }
  
  /* Define the hover state for .hover1 */
  .hoverg:hover {
    opacity: 0.5;
  }
   /* footer */
  
  .bg-footer {
    background-color: #8a8eae !important;
    margin: 0;
}
.wave {
    position: absolute;
    bottom: 0;
    height: 120px;
    width: 100%;
    background: url('https://static.igem.wiki/teams/5094/footer/wavefooter.png') repeat-x;
    background-size: 250rem 30rem;
    animation: animate 15s linear infinite;
  }
  
  @keyframes  animate {
    0% {
      background-position-x: 0;
      background-position-x: -250rem;
    }
  }
  
  .wave:nth-child(1) {
    opacity: 0.9;
  }
  
  .wave:nth-child(2) {
    opacity: 0.5;
    animation-delay: 0.2s;
    animation-direction: reverse;
  }
  
  .wave:nth-child(3) {
    opacity: 0.7;
    animation-delay: 5s;
  }


  

.bigger-text {
  font-size: 20px;  /* Adjust this value to your preference */
}






/* Define your navigation bar styles */
.sidebar {
	background-color: #8a8eae;
	padding-top: 15px;
	border-radius: 15px;
	position: sticky !important;
	top: 18%;
	/*overflow-y: auto; */ /* Add scroll functionality for small screens */
}

/*
.font-weight-semi-bold {
	text-align: center;
	line-height: 2;
  font-family: 'medium Clash' !important;
} 
  */
.sidebar.sidebar-bg {
	width: 300px;
	margin: 0 auto;
}

/*
.font-weight-bold{
	font-weight: 700;
}
.custom-heading{
	font-size:20px;
	color: rgb(86,57,42)
}
*/
	
/* two images one row */ 
.image-container{
  display: flex;
  justify-content: space-between; 
}



.front, .back{
	width: 100%;
	height: 100%;
	position: absolute;
	backface-visibility: hidden;
}
.col-lg-9 {
	max-width: 1300px;
	margin: 10 auto;
}



.postcard-index {
    text-align: center;
    font-style: italic;
    margin-top: 10px;
    clear: both; 
}
.mid-image img {
	transform: scale(0.85);
	transform-origin: top left;
	margin-bottom: -100px;
}

body {
	font-family: var(--primary-font);
	font-size: 16px;
    background-color: #ffffff;
    overflow:clip;
  width: 100%;
}
/*h1, h2, h3, h4, h5, h6 {
	font-family: var(--secondary-font);
}*/
.special-content {
	font-family: var(--secondary-font);
}
.reduce-space {
	margin-bottom:0;
	padding:0;
	font-size: 0;  /* To counteract whitespace inherent with inline-block */
}
.reduce-space img {
	vertical-align: top;
}

/* Add CSS styles to control the margin between div elements */

.small-image img {
    transform: scale(0.65);
    transform-origin: top left;
    margin-bottom: -200px;
}
h2 strong {
	font-family: "Clash", serif !important;
}

.button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 20px;
}

.additional-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 20px;
    margin-top: 20px; /* Add some space above the additional buttons */
}

.botton_note,
.botton_note:focus {
    position: relative;
    width: 13%;
    z-index: 0;
    min-width: 200px;
    border: 2px solid currentColor;
    border-radius: 48px;
    color: #8a8eae;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    transition: 0.2s transform ease-in-out;
    will-change: transform;
    padding: 10px 20px;
}

.botton_note:after {
    content: '';
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    z-index: -1;
    background-color: #8a8eae;
    border-radius: 3rem;
    transform: translate(-100%, 0) rotate(10deg);
    transform-origin: top left;
    transition: 0.2s transform ease-out;
    will-change: transform;
}

.botton_note:hover:after {
    transform: translate(0, 0);
}

.botton_note:hover {
    border: 2px solid transparent;
    color: #FFFFFF;
    transform: scale(1.05);
    will-change: transform;
}

.botton_note.active {
    border-color: #8a8eae;
    color: #FFFFFF;
    background-color: #8a8eae;
}

/* Popup styles */
.popup {
display: none; /* Hidden by default */
position: fixed;
z-index: 1000; /* Sit on top */
left: 0;
top: -150;
width: 100%;
height: 200%;
overflow: center; /* Enable scroll if needed */
background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.popup-content {
background-color: #fefefe;
margin: 15% auto; /* 15% from the top and centered */
padding: 20px;
border: 1px solid #888;
width: 80%; /* Could be more or less, depending on screen size */
max-width: 600px; /* Limit width */
max-height: 80vh; /* Limit height to 80% of viewport height */
position: relative;
border-radius: 10px; /* Rounded corners */
overflow-y: auto; /* Enable vertical scrolling */
}

/* Optional: Add a scrollbar style for better appearance */
.popup-content::-webkit-scrollbar {
width: 10px;
}

.popup-content::-webkit-scrollbar-thumb {
background-color: #888;
border-radius: 10px;
}

.popup-content::-webkit-scrollbar-thumb:hover {
background-color: #555;
}

.popup-close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}

.popup-close:hover,
.popup-close:focus {
color: black;
text-decoration: none;
}

/* Next week*/
#next-week,
#next-week:focus {
position: relative;
min-width: 150px;
background-color: black;
border-radius: 4em;
color: white;
font-size: 0.7rem;
font-weight: bold;
text-align: center;
text-decoration: none;
text-transform: uppercase;
transition-duration: 0.4s;
padding: 10px 20px;
}
#next-week:hover {
background-color: #3A3A3A;
color: white;
transition-duration: 0.1s;
}
#next-week:after {
content: "";
display: block;
position: absolute;
left: 0;
top:0;
width: 100%;
height: 100%;
opacity: 0;
transition: all 0.5s;
box-shadow: 0 0 10px 40px white;
border-radius: 4em;
}
#next-week:active:after {
opacity: 1;
transition: 0s;
box-shadow: 0 0 0 0 white;
}
#next-week:active {
top: 1px;
}
#next-week{
right:-260;
}

/*Sep-next*/
#Sep-next,
#Sep-next:focus {
position: relative;
min-width: 150px;
background-color: black;
border-radius: 4em;
color: white;
font-size: 0.7rem;
font-weight: bold;
text-align: center;
text-decoration: none;
text-transform: uppercase;
transition-duration: 0.4s;
padding: 10px 20px;
}
#Sep-next:hover {
background-color: #3A3A3A;
color: white;
transition-duration: 0.1s;
}
#Sep-next:after {
content: "";
display: block;
position: absolute;
left: 0;
top:0;
width: 100%;
height: 100%;
opacity: 0;
transition: all 0.5s;
box-shadow: 0 0 10px 40px white;
border-radius: 4em;
}
#Sep-next:active:after {
opacity: 1;
transition: 0s;
box-shadow: 0 0 0 0 white;
}
#Sep-next:active {
top: 1px;
}
#Sep-next{
left: 410;
}

/*previous week*/
#previous-week,
#previous-week:focus {
position: relative;
min-width: 100px;
background-color: black;
border-radius: 4em;
color: white;
font-size: 0.7rem;
font-weight: bold;
text-align: center;
text-decoration: none;
text-transform: uppercase;
transition-duration: 0.4s;
padding: 10px 20px;
}
#previous-week:hover {
background-color: #3A3A3A;
color: white;
transition-duration: 0.1s;
}
#previous-week:after {
content: "";
display: block;
position: absolute;
left: 0;
top:0;
width: 100%;
height: 100%;
opacity: 0;
transition: all 0.5s;
box-shadow: 0 0 10px 40px white;
border-radius: 4em;
}
#previous-week:active:after {
opacity: 1;
transition: 0s;
box-shadow: 0 0 0 0 white;
}
#previous-week:active {
top: 1px;
}
#previous-week{
left: 0;
}

.header{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8%;
    width:110%;
    height: 100vh;
    overflow: hidden;
    background-color: rgb(54, 64, 127)
}

canvas {
    display: block;
    transition: 1s transform;
}
canvas:hover {
    transform: scale(1.2);
}
#imageContainer {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 900px; /* Set a specific width */
    height:800px; /* Set a specific height */
    margin: 0 auto; /* Center the container horizontally */
    border-radius: 10px;
    max-width: 100%;
    transition: all ease 0.5s;
    transform: translateX(-70px); 
    
}
#imageContainer:hover{
    filter: saturate(100%);
}
#imageContainer > * {
    position: absolute;
    inset: 0;
    height: 100% !important;
    width: 100% !important;
    object-fit: cover;
    image-rendering: pixelated;
}

.content {
    width: 100%;
    margin: 0;
    justify-content: center; /* Center the content horizontally within its parent */
    align-items: center; /* Center the content vertically within its parent */
}

.img-with-gif-container img[src*="reh13.png"] {
    width: 700px;
    height: auto;
}

img[src*="h14.png"] {
    width: 50%; /* Reducing the image width by half */
    height: auto; /* Keep the aspect ratio */
}

.img-with-gif-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-gif, .right-gif {
    max-width: 500px; /* Increase this for larger GIFs. */
    height: auto;
    flex-shrink: 0;
}

.h13-container {
    flex-direction: column;
}

.huge-gap {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh; /* Or whatever value you've set */
    margin-bottom: 100px; /* Add this line. Adjust the value as needed */
}

.huge-gap-img {
    flex: 1; /* This will allow the main image (h11, h12) to take the remaining space */
    max-width: calc(100% - 360px); /* Decrease width a bit based on the GIF sizes */
}

.scroll-image {
    opacity: 0;
    transition: opacity 1s;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    margin-bottom: 100px;
}

.first-image {

    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    margin-bottom: 100px;
}

.scroll-image.enlarge img {
    transform: scale(0.8);
    transition: transform 1s;
}

.bigger-gap {
    margin-bottom: 150px;  /* Adjust to your needs */
} 



        /* Define your navigation bar styles */
        @font-face {
            font-family: "regular Clash";
            src: url('https://static.igem.wiki/teams/5094/font/clashdisplay-regular.otf') format('truetype');
        }

		/* Define your navigation bar styles */
        @font-face {
            font-family: "italic Plein";
            src:url('https://static.igem.wiki/teams/5094/font/plein-mediumitalic.otf') format('otf');
        }
    
    .highlight {
      color: black;
      left: -5%;
    }
    
    .highlight:hover {
      color: dark;
      text-shadow:none;
    }
    
    .highlight.c1:hover {
      background-color:rgb(178, 178, 221);
    }


.table {
font-size: 1.5em; 
font-family: "regular Clash";
src: url('https://static.igem.wiki/teams/5094/font/clashdisplay-regular.otf') format('truetype');
border-collapse: collapse; /* This ensures that borders don't double up */
}

.table th, .table td {
border: 2px solid #8B4513; /* Set the border to dark brown */
padding: 10px; /* Add some padding around the content in each cell */
}

.table th {
background-color: #f2f2f2; /* Add a background color to header cells */
}

                h2  {
                font-family: "Clash", serif !important;
            }

/* Center the loading page both horizontally and vertically */
.left-aligned { margin-left: auto; }
.bg-dark { background-color: #8a8eae !important; }

.bg-hero { background-color: #8a8eae; }

/* CALLOUT */
.bd-callout { padding:1.25rem; margin-top:1.25rem; margin-bottom:1.25rem; border:1px solid #e9ecef;}
.bd-callout h4 { margin-bottom:.25rem }
.bd-callout p:last-child { margin-bottom:0 }
.bd-callout code { border-radius:.25rem }
.bd-callout+.bd-callout { margin-top:-.25rem }
.bd-callout-info { border-left-color:#5bc0de }
.bd-callout-warning { border-left-color:#f0ad4e }
.bd-callout-danger { border-left-color:#d9534f }

/* footer */
footer a { color: white; font-weight: bold; text-decoration: none; }
footer a:hover { color: white; text-decoration: underline; }

/*loading page*/
/* Center the loading page both horizontally and vertically */

.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    overflow: hidden;
    align-items: center;
    background-color: rgb(60, 71, 134);/* Set a solid background color here */
    z-index: 999; /* Set a high z-index value to ensure it appears on top of other content */
  }
  
  /* Style the container for the loading animation and text */
  .load-container {
    text-align: center;
    position: relative;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    display: fixed;
  
    /* Remove the backface-visibility and display properties */
  }
  
  /* Style the loading animation image */
  .load-container img {
    width: 600px;
    height:600px /* Adjust the width as needed */
  }
  
  /* Style the loader text */
  .loader-texts {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px; /* Adjust the margin as needed */
    color: rgb(185, 188, 202);
  }
  
  /* Style the individual letscxters */
  .loader-texts div {
    font-size: 48px; /* Adjust the font size as needed */
    margin: 0 4px; /* Adjust the spacing between letters as needed */
  }

  p, li, span{
    font-family: "Clash", serif;
  }

  /* indent */
  .textind {
    text-indent: 40px; 
  }

  /* only indent first line */
  .hanging-indent {
    text-indent: -60px;
    margin-left: 60px; 
  }

  /* works cited smaller linne height*/ 
  .wch {
    line-height: 0.6; 
  }

  /* Collapsible button styling */
 /* Collapsible button styling */
.openclosecollapsible {
  font-family: "Clash";
  background-color: #ffffff; /* Default background of button */
  color: #444;
  cursor: pointer;
  padding: 10px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 18px;
  transition: background-color 0.4s ease, transform 0.3s ease; /* Added transform transition */
}

.active, .openclosecollapsible:hover {
  background-color: #f1f1f1; /* Background color on hover or active */
}

/* Collapsible content */
.openclosecontent {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out; /* Smooth transition */
  background-color: #f1f1f1; /* Background color of opened content */
  margin: 30px 0; /* Reduced vertical margin for better spacing */
  padding: 0 18px;
  width: calc(100% - 36px); /* Adjust width considering margin */
  box-sizing: border-box; /* Ensures padding is included in width calculation */
  word-wrap: break-word; /* Allows long words to be broken and wrapped */
  overflow-wrap: break-word; /* For modern browsers */
}

/* Active state when content is expanded */
.openclosecollapsible.active {
  transform: rotate(180deg); /* Added rotation for visual feedback */
}

/* Show content when active */
.active + .openclosecontent {
  max-height: 500px; /* Use a large value to allow full expansion */
  display: block; /* Ensure it displays when active */
}

/* General styling for active state */
.collapsible {
  background-color: #f1f1f1;
  color: #444; /* Reset color for readability */
  padding: 5px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: background-color 0.3s ease;
}

/* Hover state for collapsible */
.collapsible:hover {
  background-color: #e0e0e0; /* Slightly darker hover effect */
}

.select-wrapper {
  position: relative;
  width: 250px;
  margin-bottom: 20px;
}

.custom-select {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  font-family: "Clash", serif;
  border-radius: 8px;
  background-color: #e0e0eb;
  color: #333;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  appearance: none;
  outline: none;
  transition: 0.3s ease;
}
.custom-select option {
  font-family: "Clash", serif;
  font-size: 14px;
  color: #000; /* Change font color for the options */
  background-color: #fff; /* Background color for the dropdown */
}

.custom-select:hover {
  background-color: #d1d1e0;
}
