body { padding-top: 56px; }
.left-aligned { margin-left: auto; }
.bg-dark { background-color: #343a40 !important; }
.bg-hero { background-color: #45b06cff; 
    background-image: url('https://static.igem.wiki/teams/5063/logo/gifs/header-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 50%;
    width: 100%;
}
.bg-results {
  background-image: url('https://static.igem.wiki/teams/5063/page-banners/img-2231.png');
  background-size: cover; /* Cover the entire area */
  background-repeat: no-repeat; /* Prevent repeating */
  background-position: center; /* Center the image */
  height: 100vh; /* Full viewport height */
  display: flex; /* Use flexbox for centering content */
  align-items: center; /* Center items vertically */
  justify-content: center; /* Center items horizontally */
  color: #ffffff; /* Text color */
}
.bg-description {
  background-image: url('https://static.igem.wiki/teams/5063/page-banners/img-2178.png');
  background-size: cover; /* Cover the entire area */
  background-repeat: no-repeat; /* Prevent repeating */
  background-position: center; /* Center the image */
  height: 100vh; /* Full viewport height */
  display: flex; /* Use flexbox for centering content */
  align-items: center; /* Center items vertically */
  justify-content: center; /* Center items horizontally */
  color: #ffffff; /* Text color */
}
.bg-engineering {
  background-image: url('https://static.igem.wiki/teams/5063/page-banners/img-2180.png');
  background-size: cover; /* Cover the entire area */
  background-repeat: no-repeat; /* Prevent repeating */
  background-position: center; /* Center the image */
  height: 100vh; /* Full viewport height */
  display: flex; /* Use flexbox for centering content */
  align-items: center; /* Center items vertically */
  justify-content: center; /* Center items horizontally */
  color: #ffffff; /* Text color */
}
.bg-attribution {
  background-image: url('https://static.igem.wiki/teams/5063/page-banners/img-2232.png');
  background-size: cover; /* Cover the entire area */
  background-repeat: no-repeat; /* Prevent repeating */
  background-position: center; /* Center the image */
  height: 100vh; /* Full viewport height */
  display: flex; /* Use flexbox for centering content */
  align-items: center; /* Center items vertically */
  justify-content: center; /* Center items horizontally */
  color: #ffffff; /* Text color */
}
.bg-edu {
  background-image: url('https://static.igem.wiki/teams/5063/page-banners/img-2233.png');
  background-size: cover; /* Cover the entire area */
  background-repeat: no-repeat; /* Prevent repeating */
  background-position: center; /* Center the image */
  height: 100vh; /* Full viewport height */
  display: flex; /* Use flexbox for centering content */
  align-items: center; /* Center items vertically */
  justify-content: center; /* Center items horizontally */
  color: #ffffff; /* Text color */
}
.bg-hp {
  background-image: url('https://static.igem.wiki/teams/5063/page-banners/human-practice.png');
  background-size: cover; /* Cover the entire area */
  background-repeat: no-repeat; /* Prevent repeating */
  background-position: center; /* Center the image */
  height: 100vh; /* Full viewport height */
  display: flex; /* Use flexbox for centering content */
  align-items: center; /* Center items vertically */
  justify-content: center; /* Center items horizontally */
  color: #ffffff; /* Text color */
}
.bg-contribution {
  background-image: url('https://static.igem.wiki/teams/5063/page-banners/img-2194.png');
  background-size: cover; /* Cover the entire area */
  background-repeat: no-repeat; /* Prevent repeating */
  background-position: center; /* Center the image */
  height: 100vh; /* Full viewport height */
  display: flex; /* Use flexbox for centering content */
  align-items: center; /* Center items vertically */
  justify-content: center; /* Center items horizontally */
  color: #ffffff; /* Text color */
}
.bg-safety {
  background-image: url('https://static.igem.wiki/teams/5063/page-banners/img-2165.png');
  background-size: cover; /* Cover the entire area */
  background-repeat: no-repeat; /* Prevent repeating */
  background-position: center; /* Center the image */
  height: 100vh; /* Full viewport height */
  display: flex; /* Use flexbox for centering content */
  align-items: center; /* Center items vertically */
  justify-content: center; /* Center items horizontally */
  color: #ffffff; /* Text color */
}
.pd-30px {
  padding-left: 70px;  /* Left padding */
  padding-right: 70px; /* Right padding */
}
.centered-div {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    justify-content: center; /* Center items within the div */
    align-items: center; /* Center items within the div */
}

.center-flex {
  display: flex;
  justify-content: center; /* horizontal center */
  align-items: center;    /* vertical center */        /* adjust height as needed */
}
/*Buttons*/
.button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none; /* Remove underline */
  border: none;
  border-radius: 5px;
  background-color: #b2e0b2; /* Softer green button background */
  color: #333; /* Darker text color for contrast */
  transition: background-color 0.3s;
  display: inline-block; /* Ensure the anchor behaves like a button */
}

.button:hover {
  background-color: #004d00; 
            color: #ffffff; 
}

.button-container {
  margin-top: 50px; /* Space below the header */
  display: flex; /* Use flexbox for horizontal stacking */
  gap: 40px; /* Gap between buttons */
  justify-content: center; /* Center buttons */
}

/* CALLOUT */
.bd-callout { padding:1.25rem; margin-top:1.25rem; margin-bottom:1.25rem; border:1px solid #e9ecef; border-left-width:.25rem; border-radius:.25rem }
.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; }


/*Container*/
.viewport-width-container {
  width: 100vw; /* 100% of the viewport width */
  background-color: rgba(152, 251, 152, 0.5); /* Pale green with 50% opacity */
  
}


/*Member*/
.member-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px;
}
.member {
  text-align: center;
  margin: 40px;
  flex: 0 1 300px; 
}
.photo {
  width: 100%; 
  max-width: 1000px; 
  height: auto;
  margin-bottom: 5px; 
}



/*no horizontal scrolling*/
* {
  box-sizing: border-box; /* Include padding and border in element's total width/height */
  margin: 0; /* Reset default margins */
  padding: 0; /* Reset default padding */
}

body {
  overflow-x: hidden; /* Disables horizontal scrolling */
}

h1, h2, h3, h4, h5, h6, p {
  overflow: hidden; /* Prevents overflow issues in headers and paragraphs */
}

    /* SCROLL UP */

    #scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
   font-size: 18px;
}

 #scrollToTopBtn:hover {
    background-color: #0056b3;
 }
/*Fade*/
 .fade {
    animation: fadeAnimation 3s infinite;
  }
  
  @keyframes fadeIn {
    from {
        opacity: 0; /* Start fully transparent */
    }
    to {
        opacity: 1; /* End fully opaque */
    }
}

.styled-text {
    animation: fadeIn 2s ease-in; /* Apply fade-in animation */
}

@keyframes fadeInTranslate {
  from {
      opacity: 0; /* Start fully transparent */
      transform: translateX(100%); /* Start from the right */
  }
  to {
      opacity: 1; /* End fully opaque */
      transform: translateX(0); /* End in original position */
  }
}

.lead {
  animation: fadeInTranslate 2s ease-in; /* Apply the animation */
}

.left-aligned {
    transform: translateX(40px);
    font-size: 24px;
    color: #333;
}

.centered-content {
  max-width: 800px; 
  margin: 0 auto; 
  padding: 20px;
}

.img{
   vertical-align:right;
}

.image{
   vertical-align:left ;
}

/*Font style*/
.chewy-regular {
  font-family: "Chewy", system-ui;
  font-weight: 400;
  font-style: normal;
}

.nunito-uniquifier {
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}

.matemasie-regular {
    font-family: "Matemasie", sans-serif;
    font-weight: 400;
    font-style: normal;
  }


  .noto-serif-ethiopic {
    font-family: "Noto Serif Ethiopic", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
    }

  .shrikhand-regular {
    font-family: "Shrikhand", serif;
    font-weight: 400;
    font-style: normal;
    }

  .suse{
    font-family: "SUSE", sans-serif;
    font-optical-sizing: auto;
    font-weight: 250;
    font-style: normal;
  }

  .space-mono-regular {
    font-family: "Space Mono", monospace;
    font-weight: 400;
    font-style: normal;
  }
  
/*Image Grid*/

body{
    background-color: #ffffff;
    color: #000000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 0;
    margin: 0;

}

section {
    display: grid;
    place-items: center;
    align-content: center;
    min-height: 100vh;
}





.hidden{
    opacity: 0;
    filter:blur(5px);
    transform: translateX(-100%);
    transition: all 1s;
}

.show{
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}

.logos{
    display: flex;
}    

.logos:nth-child(2){
    transition-delay: 100ms;
}
.logos:nth-child(3){
    transition-delay: 200ms;
}
.logos:nth-child(4){
    transition-delay: 300ms;
}
.logos:nth-child(5){
    transition-delay: 400ms;
}
.logos:nth-child(6){
    transition-delay: 500ms;
}

/*Image grid*/
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 10px; /* Space between images */
}

.image-grid img {
    width: 100%; /* Make images responsive */
    height: auto; /* Maintain aspect ratio */
    border-radius: 5px; /* Optional: rounded corners */
}
.footer-container {
    display: flex; /* Use flexbox to align the large image and grid side by side */
}

.large-image {
    width: 310px; /* Set width of the large image container */
    display: flex;
    justify-content: center;
    align-items: center;
}

.large-image img {
    max-height: 310px; /* Match the height of the grid */
    width: auto; /* Maintain aspect ratio */
}
.large-image {
        margin-bottom: 20px; /* Space below the large image */
    }
/*Margin Borders (negative value) unit:rem */
.nmt1{margin-top: -1rem;} .nmt2{margin-top: -2rem;}   .nmt3{margin-top: -3rem;} .nmt4{margin-top: -4rem;} .nmt5{margin-top: -5rem;}
.nml1{margin-left: -1rem;} .nml2{margin-left: -2rem;}  .nml3{margin-left: -3rem;} .nml4{margin-left: -4rem;} .nml5{margin-left: -5rem;}
.nmr1{margin-right:  -1rem;} .nmr2{margin-right: -2rem;}   .nmr3{margin-right: -3rem;} .nmr4{margin-right: -4rem;} .nmr5{margin-right: -5rem;}
.nmb1{margin-bottom: -1rem;} .nmb2{margin-bottom: -2rem;}   .nmb3{margin-bottom: -3rem;} .nmb4{margin-bottom: -4rem;} .nmb5{margin-bottom: -5rem;}
/*Margin Borders unit:pixels*/
.nmlpx3{margin-left: 305px} /*No use :P*/
.nmlpx20{margin-left: 200px}
/*Dotted Border*/
.vertical-dotted-line {
    border-left: 5px dotted #36505b; /* Dotted border on the left */
    height: 350px; /* Adjust height as needed */
    width: 0; /* No width for a vertical line */
}
