/* body { padding-top: 56px; } */
.left-aligned { margin-left: auto; }
/* .bg-dark { background-color: #343a40 !important; }
.bg-hero { background-color: #45b06cff; } */

/* 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; } */

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

.footer {
  background-color: #911f18;
  color: white;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  font-size: 14px;
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden; /* Prevent horizontal overflow */
}

.footer .top-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.footer .column {
  display: flex;
  flex-direction: column;
  margin-right: 50px;
  min-width: 150px; /* Ensure columns have a minimum width */
  margin-bottom: 20px; /* Add margin for spacing between columns on smaller screens */
}

.footer .column h3 {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 400;
}

.footer .column a {
  color: white;
  text-decoration: none;
  margin-bottom: 5px;
}

.footer .column a:hover {
  text-decoration: underline;
}

.footer .social-media-column {
  display: flex;
  flex-direction: column;
  margin-right: 50px;
}

.footer .social-media {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer .social-media a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #911f18;
  text-align: center;
  text-decoration: none;
  color: white;
  font-size: 24px; /* Adjust size of icons for scalability */
  line-height: 40px;
}

.footer .social-media img {
  width: 20px;
  height: 20px;
  filter: invert(1);
}

.footer .social-media-column .social-media i {
  font-size: 36px; /* Adjust the size as needed */
  margin: 0 10px; /* Optional: add some space between icons */
}


.footer .contact {
  font-size: 12px;
  margin-top: 10px;
}

.footer .bottom-section {
  margin-top: 20px;
  font-size: 12px;
  text-align: center; /* Ensure text is centered for smaller screens */
}

.footer .bottom-section a {
  color: #cccccc;
  text-decoration: none;
}

.footer .bottom-section a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .footer {
      padding: 30px 15px;
  }

  .footer .top-section {
      flex-direction: column; /* Stack columns vertically on small screens */
      align-items: center;
  }

  .footer .column {
      margin-right: 0;
      margin-bottom: 30px; /* Spacing between columns when stacked */
      align-items: center; /* Center-align column content */
      text-align: center; /* Center text within columns */
  }

  .footer .social-media {
      justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer {
      padding: 20px 10px;
      font-size: 12px; /* Scale down font size on small screens */
  }

  .footer .column h3 {
      font-size: 14px; /* Scale down heading size */
  }

  .footer .social-media a {
      width: 40px;
      height: 40px;
      font-size: 18px; /* Smaller icons */
      line-height: 30px;
  }

  .footer .bottom-section {
      font-size: 10px; /* Scale down footer text size */
  }
}


  /* HP education map css */
  .map-container {
    position: relative;
    width: 90vw; /* Use viewport width to make the container responsive */
    height: calc(90vw * 0.5); /* Maintain a 2:1 aspect ratio */
    max-width: 1440px; /* Limit the max width for very large screens */
    max-height: calc(1440px * 0.5); /* Maintain the aspect ratio at the max size */
    background: url('https://static.igem.wiki/teams/5126/white-map.png') no-repeat center center;
    background-size: contain;
    border: 1px solid #ccc;
}

.pin {
    position: absolute;
    width: 20px; /* Fixed pin size */
    height: 20px; /* Fixed pin size to prevent distortion */
    background-color: red;
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%); /* Center the pin exactly on the coordinates */
}

.popup {
    display: none;
    position: absolute;
    width: 300px;
    padding: 10px;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.popup video {
    width: 100%;
}

.pin:hover .popup {
    display: block;
}

.attribution {
    margin-top: 10px;
    font-size: 12px;
    color: #555;
}
  .center-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
  }
  


 /* Ensure wrapper1 takes full height and manages overflow */
.wrapper1 {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Ensure it takes at least the full viewport height */
    z-index: 1;
    overflow: hidden; 
}

.wrapper1.hidden {
  visibility: hidden; /* Hide the wrapper */
  opacity: 0; /* Set opacity to 0 for fade out */
  transition: visibility 0s 0.5s, opacity 0.5s linear; /* Delay visibility change */
}

.content1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: hidden;
    flex: 1;
    position: relative; /* Ensure this is positioned relative for absolute positioning context */
}

.section1 {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero1 {
     /* Replace with your image URL */
    background-size: cover; /* Ensures the image covers the entire section */
    background-position: center; /* Centers the image */
    height: 100vh; /* Sets the section height to full viewport height */
    width: 100%; /* Ensures it takes the full width */
    overflow: hidden;
    /* display: flex; */
    flex-direction: column; /* Ensures vertical stacking */
    align-items: center; /* Optional: Centers the headings horizontally */
    /* z-index: 100; */
}

.image-container1 {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    perspective: 500px;
    overflow: hidden;
}

.image-container1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Style for additional content */
.additional-content1 {
    padding: 0px;
    background-color: #d9d9d9;
    color: #333;
    font-size: 1.5rem;
    text-align: center;
    margin: 0 auto;
    box-sizing: border-box;
    flex: 1;
    /* position: relative;  */
    justify-content: center;
    align-items: center;
    display: flex; 
}

/* Add media queries for responsiveness */
@media (max-width: 768px) {
  .additional-content1 {
      font-size: 1.2rem; /* Reduce font size on smaller screens */
      padding: 10px; /* Adjust padding for smaller devices */
  }
}

@media (max-width: 480px) {
  .additional-content1 {
      font-size: 1rem; /* Further reduce font size on very small screens */
      flex-direction: column; /* Stack content vertically on small screens */
  }
}

.hero1 h1 {
    margin: 0;
    padding: 0;
    display: block; /* Ensure headings are displayed as block elements */
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background-color: rgba(51, 51, 51, 255);
    /* Remove height: 100% to allow body to grow with content */
}

#cubeContainer {
    display: flex;
    flex-direction: column; /* Ensures content stacks vertically */
    align-items: center;
    justify-content: center;
    padding: 20px;
    width: 100%;
    height: auto; /* Allows it to grow with content */
    overflow: hidden; /* Hide any overflow */
    background-color: black;
}

#cubeWrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto; /* Center horizontally */
    background-color: black;
}

#cubes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    width: 100%;
    padding: 20px 0; /* Adds padding without affecting layout */
    overflow: hidden; /* Ensures no separate scrollbar */
}

.cube {
    height: 200px;
    width: 100%; /* Make the cube take full width of the grid cell */
    background-size: cover;
    background-position: center;
    border: 5px solid #e5e5e5;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3), 0 2px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}


.cube .name {
    position: absolute;
    bottom: 15px;
    left: 15px;
    text-shadow: 0 1px 3px #000;
    z-index: 3;
    transition: opacity .5s ease;
}

.cube .name h1 {
    font-size: 16px;
    color: #fff;
    margin: 0;
    user-select: none;
}

.cube .name p {
    color: #fff;
    margin: 0;
    font-size: 14px;
    user-select: none;
}



.cube .content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    flex-direction: column;
    opacity: 0;
    transition: 0.5s ease;
    z-index: 2;
    padding: 14px;
    text-align: center;
}

.cube .content .bio {
    color: white; /* White text for contrast */
    padding: 2px;
    text-align: center;
    font-size: 13px;
    z-index: 3; /* Ensure it stays above the darken layer */
    position: relative; /* Make sure it is placed correctly */
}

.cube:hover .content {
    opacity: 1;
}

.cube .innerBorder {
    width: 100%;
    height: 100%;
    position: absolute;
    border: 1px solid #fff;
    z-index: 1;
    opacity: 0;
    transition: 0.5s ease;
}

.cube:hover .innerBorder {
    width: 90%;
    height: 90%;
    opacity: 1;
}

.cube .darken {
    background: rgba(0, 0, 0, 0.7); /* Adjust opacity for better contrast */
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0; /* Start hidden */
    transition: 0.3s ease;
    z-index: 2; /* Below the bio text */
}

.cube:hover .darken {
    opacity: 1; /* Show on hover */
}

.cube:hover .name {
    opacity: 0;
}
.head {
    text-align: center; /* Center-aligns the text horizontally */
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}

.navbar {
    position: fixed;
    top: 20px;
    right: 40px;
    z-index: 1000;
}

.menu-icon {
    width: 50px;
    height: 50px;
    background-color: #f3aa19;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
}

.menu-icon .line {
    width: 25px;
    height: 3px;
    background-color: #00101d;
    margin: 4px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-icon.active .line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 7px);
}

.menu-icon.active .line:nth-child(2) {
    opacity: 0;
}

.menu-icon.active .line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -7px);
}

.menu {
    position: absolute;
    top: 60px;
    right: 0;
    width: 250px;
    height: 0;
    background-color: #f3aa19;
    border-radius: 15px;
    overflow: hidden;
    transition: height 0.3s ease, opacity 0.3s ease;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
}

.menu.open {
    height: 250px;
    opacity: 1;
    visibility: visible;
}

.menu-item {
    width: 50px;
    height: 50px;
    background-color: #555;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin: 0px 5px;
    margin-bottom: 10px;
}

.circle {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    line-height: 50px;
    transition: background-color 0.3s ease;
}

.menu-item:hover .circle {
    background-color: #666;
}

.label {
    font-size: 12px;
    margin-top: 5px;
    text-align: center; /* Center the text */
    line-height: 1.2; /* Adjust line-height to control gap between lines */
    word-spacing: 0; /* Set word-spacing to 0 to avoid large gaps */
}

/* Nested menu styles */
.nested-menu {
    position: absolute;
    top: 60px;
    right: 220px; /* Adjust to position correctly */
    width: 250px;
    background-color: #d19215;
    border-radius: 10px;
    display: none;
    flex-direction: column;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateX(20px);
}

.nested-menu.show {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

.nested-menu-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.nested-circle {
    width: 25px;
    height: 25px;
    background-color: #fff;
    border-radius: 50%;
    margin-right: 10px;
}

.nested-menu-title {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

.nested-menu-item {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.nested-menu-item .icon {
    color: #fff;
    font-size: 16px;
    height: 13px;
    width: 13px;
    margin-right: 3px;
    margin-bottom: 5px;
}

/* Team Logo Circle */
.team-logo {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background-color: #f3aa19;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.team-logo img {
    width: 40px; /* Adjust size of the logo image */
    height: auto;
}

@import url(//fonts.googleapis.com/css?family=Lato:300,400,500,700);

html {
  scroll-behavior: smooth !important;
}

body {
  margin: 0 !important;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

h1, h2 {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  letter-spacing: 2px;
  margin: 0;
}

h1 b, h1 strong {
  font-weight: 700; /* Bold weight for text inside h1 */
}

h1 {
  font-size: 4vw; /* Responsive font size */
}

h2 {
  font-size: 2vw; /* Responsive font size */
  margin-top: 1vw;
}

.header {
  position: relative;
  text-align: center;
  background: rgba(0, 16, 29, 255);
  color: white;
  width: 100%;
  z-index: 1; /* The header can be the base layer */
}

.inner-header {
  height: 100vh; /* Full height of the viewport */
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1; /* Ensure text and other content is above the waves */
  position: relative;
}

.inner-header.flex {
  position: relative; /* Allows z-index to take effect */
  z-index: 2; /* Inner header is on top of waves */
}

.container-vfinal {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: black;
}

.row-vfinal {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.center-text-vfinal {
  justify-content: center;
  width: 100%;
  text-align: center;
  position: relative;
  margin-top: 50px; /* Add this line to move the text lower */
}

.text-vfinal {
  width: 50%;
  padding: 20px;
  background-color: #911F18;
  border-radius: 10px;
}

.image-vfinal {
  width: 10%;
}

.image-vfinal.first-image-vfinal,
.image-vfinal.second-image-vfinal {
  position: relative;
  top: 20px; /* Slight downward shift */
}

.image-vfinal img {
  width: 100%;
  height: auto;
}

/* Full-width text div */
.full-width-text-vfinal {
  width: 100%;
  /* padding: 20px; */
  background-color: transparent;
  margin: 0 auto;
}

/* Desktop styles (large screens) */
@media (min-width: 1200px) {
  .image-vfinal.first-image-vfinal {
      left: -460px; /* Move left for large screens */
  }

  .image-vfinal.second-image-vfinal {
      left: 460px; /* Move right for large screens */
  }
}

/* Tablet styles (medium screens) */
@media (min-width: 768px) and (max-width: 1199px) {
  .image-vfinal.first-image-vfinal {
      left: -200px; /* Less shift left on tablets */
  }

  .image-vfinal.second-image-vfinal {
      left: 200px; /* Less shift right on tablets */
  }
}

/* Mobile styles (small screens) */
@media (max-width: 767px) {
  .row-vfinal {
      flex-direction: column; /* Stack text and images on top of each other */
      justify-content: center;
      align-items: center;
  }

  .text-vfinal {
      width: 80%; /* Make text wider */
  }

  .image-vfinal {
      width: 50%; /* Larger images on mobile */
  }

  .image-vfinal.first-image-vfinal,
  .image-vfinal.second-image-vfinal {
      left: 0; /* No left/right movement on small screens */
  }
}

.waves-container {
  position: absolute; /* Set to absolute to ensure it's relative to the header */
  bottom: 0; /* Align to the bottom of the header */
  left: 0;
  width: 100%;
  height: 100%; /* Full height for the container */
  z-index: 1;
  overflow: hidden; /* Hide anything that overflows */
}

.waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Ensure the waves fill the container */
  min-height: 150px;
  max-height: 500px;
  z-index: 1; /* Set lower than the inner-header to make the waves behind the text */
}

.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Lato', sans-serif;
  font-size: 1vw; /* Responsive font size */
  color: white;
  text-align: center;
  cursor: pointer;
  z-index: 3; /* Ensure the button is above everything else */
}

.scroll-down .arrow {
  display: block;
  margin-top: 5px;
  font-size: 2vw; /* Responsive font size */
}

/* Animation */
@keyframes move-forever {
  0% {
    transform: translateY(0); /* Start at original position */
  }
  50% {
    transform: translateY(-20px); /* Move up */
  }
  100% {
    transform: translateY(0); /* Return to original position */
  }
}

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
  z-index: 1; /* Keep wave parts below text */
}

.parallax > image {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
  z-index: 1; /* Keep wave parts below text */
}

.parallax > use:nth-child(1) {
  animation: move-forever 15s cubic-bezier(.55,.5,.45,.5) infinite;
  animation-delay: -2s;
}
.parallax > image:nth-child(2) {
  animation: move-forever 15s cubic-bezier(.55,.5,.45,.5) infinite;
  animation-delay: -2s;
}

.parallax > use:nth-child(3) {
  animation: move-forever 20s cubic-bezier(.55,.5,.45,.5) infinite;
  animation-delay: -3s;
}

.parallax > image:nth-child(4) {
  animation: move-forever 20s cubic-bezier(.55,.5,.45,.5) infinite;
  animation-delay: -3s;
}

.parallax > use:nth-child(5) {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
  animation-delay: -4s;
}

.parallax > image:nth-child(6) {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
  animation-delay: -4s;
}

.parallax > image:nth-child(7) {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
  animation-delay: -4s;
}

.parallax > use:nth-child(8) {
  animation: move-forever 30s cubic-bezier(.55,.5,.45,.5) infinite;
  animation-delay: -5s;
}






/* Responsive Styles */

@media (max-width: 1024px) {
  .content-section, .content-section2, .content-section3 {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .waves {
    height: 30px;
    min-height: 30px;
  }
  .scroll-down {
    font-size: 3vw; /* Adjusted for smaller screens */
  }
  .scroll-down .arrow {
    font-size: 5vw; /* Adjusted for smaller screens */
  }
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 20px;
  }
  h2 {
    font-size: 14px;
  }
  .scroll-down {
    font-size: 4vw;
  }
  .scroll-down .arrow {
    font-size: 6vw;
  }
  .text-content, .graphic-placeholder, .graphic-placeholder2 {
    font-size: 4vw; /* Adjusted font size for very small screens */
  }
}

.content-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100vh;
  padding: 20px;
  box-sizing: border-box;
  background-color: #000000;
}

.content-section-ffff {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: auto;
  box-sizing: border-box;
  background-color: #ffffff;
  flex-direction: column;
  padding-top: 40px;
}
.content-section-fffff {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: auto;
  box-sizing: border-box;
  background-color: #911f18;
  flex-direction: column;
  padding-top: 40px;
}

.content-section2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100vh;
  padding: 40px;
  box-sizing: border-box;
  background-color: #ebebeb;
}

.content-section3 {
  display: flex;
  flex-direction: column; /* Stack content vertically */
  /* min-height: 100vh; */
  padding: 40px;
  box-sizing: border-box;
  background-color: #ebebeb;
}

.content-section5 {
  display: flex;
  flex-direction: column; /* Stack content vertically */
  height: 100vh;
  padding: 40px;
  box-sizing: border-box;
  background-color: #000000;
}

.content-section6 {
  display: flex;
  flex-direction: column; /* Stack content vertically */
  height: 100vh;
  padding: 40px;
  box-sizing: border-box;
  background-color: #911f18;
}


.text-content {
  flex: 1;
  padding-right: 20px;
  background-color: transparent;
}

.text-content-ff {
  flex: 1;
  margin-left: 20px;
  padding: 20px;
  background-color: #911f18;
  border-radius: 15px;
}

.text-content-ffff {
  flex: 1; /* Takes up remaining space */
  padding-bottom: 0px; /* Space between text and placeholder */
  margin-bottom: 10px;
}


.text-content-ahhh {
  flex: 1; /* Takes up remaining space */
  padding: 20px; /* Space between text and placeholder */
  margin-bottom: 10px;
  border-radius: 15px;
}


.text-content h1 {
  font-size: 2.5vw; /* Responsive font size */
  margin-bottom: 20px;
}

.text-content p {
  font-size: 1.5vw; /* Responsive font size */
  line-height: 1.5;
}

.graphic-placeholder {
  width: 30%;
  height: 60%;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 10px;
  font-size: 1.5vw; /* Responsive font size */
  color: #333;
}

.graphic-placeholder55 {
  width: 30%;
  height: 60%;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 10px;
  font-size: 1.5vw; /* Responsive font size */
  color: #333;
}

.graphic-placeholder img {
  width: 400px; /* Adjust the size of the image as needed */
  animation: bob 2s ease-in-out infinite; /* Apply the animation */
}

.graphic-placeholder55 img {
  width: 400px; /* Adjust the size of the image as needed */
}


.graphic-placeholder-ff {
  width: 30%;
  height: 60%;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 10px;
  font-size: 1.5vw; /* Responsive font size */
  color: #333;
}

.graphic-placeholder-ff img {
  width: 350px; /* Adjust the size of the image as needed */
}

/* Keyframes for bobbing effect */
@keyframes bob {
  0%, 100% {
      transform: translateY(0); /* Start and end at original position */
  }
  50% {
      transform: translateY(-15px); /* Move up by 15px */
  }
}

.scroll-down {
  cursor: pointer;
  padding: 10px;
  background: #333;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  z-index: 1000;
}

.content {
  background-color: #000000;
  padding: 10px;
}

.content2 {
  background-color: #ebebeb;
  padding: 20px;
}

.content22 {
  display: flex;
  flex-direction: column; /* Ensure vertical stacking */
  justify-content: space-between; /* Optional: Control content alignment */
  align-items: center; /* Center align content horizontally */
  min-height: 100vh; /* Ensure it takes up at least the full viewport height */
  background-color: #911F18 !important;
  padding: 20px; /* Add some padding for spacing */
}

.content3 {
  background-color: #fff;
}

.content4 {
  background-color: #911f18;
}



@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translate3d(-50%, 0, 0);
  }
  40% {
    transform: translate3d(-50%, -10px, 0);
  }
  60% {
    transform: translate3d(-50%, -5px, 0);
  }
}

.scroll-button {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 30px;
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 3;
  animation: bounce 2s infinite;
  animation-timing-function: ease-in-out;
}




.button-text {
  margin-bottom: 10px; /* Space between text and arrow */
}

.arrow-down svg {
  fill: #fff; /* White arrow to match text */
}

.scroll-button:hover {
  border-color: #f0f0f0; /* Change border color on hover if desired */
}

.graphic-placeholder2 {
  width: 100%; /* Full width */
  height: 60%; /* Bottom half */
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 20px;
  font-size: 1.5vw; /* Responsive font size */
  color: transparent;
  margin-top: 10px;
}

.graphic-placeholder3 {
  width: 60%; /* Set width of the container */
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto; /* Centers the div horizontally */
  padding: 10px;
  border-radius: 20px;
  margin-top: 10px;
}

.graphic-placeholder33 {
  width: 60%; /* Set width of the container */
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto; /* Centers the div horizontally */
  padding: 10px;
  border-radius: 20px;
  margin-top: 10px;
  margin-bottom: 40px;
}

.responsive-image {
  max-width: 100%; /* Ensure the image does not exceed the container */
  height: auto; /* Maintain aspect ratio */
  border-radius: 10px;
}


.text-content2 {
  flex: 1; /* Takes up remaining space */
  padding-bottom: 0px; /* Space between text and placeholder */
  margin-bottom: 10px;
}

.text-content22 {
  flex: 1; /* Takes up remaining space */
  padding-bottom: 0px; /* Space between text and placeholder */
  margin-bottom: 5px;
}

.overflow-div {
  background-color: black;
    /* margin: auto; */
  position: relative;
  left: calc(-50vw + 50%);
  height: 500p;
  margin-bottom: -130px;
  height: auto;
  padding: 10%;
  padding-top: 5%;
  overflow: auto;
  padding-bottom: 15%;
}

.pic {
  width: 100%;
  height: 70vh;
  position: relative;
  display: inline-block;
  overflow: hidden;
  overflow-y: hidden;
  overflow-x: hidden;
}

.my-div {
  background-color: rgba(0, 0, 0, 0.5);
  text-align: center;
  display:block;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 95%;
  padding: 5%;
  transform:translateY(82%);
  transition: transform 0.5s;
}

.pic:hover > .my-div {
  transform: translateY(0);
}

.fade-in {
animation: fadeIn ease 0.5s;
-webkit-animation: fadeIn ease 0.5s;
-moz-animation: fadeIn ease 0.5s;
-o-animation: fadeIn ease 0.5s;
-ms-animation: fadeIn ease 0.5s;
}

@keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}


/* STYLES FOR GRADIENT BUTTON */

.gradient-button {
  margin: auto;
  font-family: "Arial Black", Gadget, sans-serif;
  font-size: 20px;
  padding: 15px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: #FFF;
  box-shadow: 0 0 20px #eee;
  border: none;
  width:200px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  cursor: pointer;
  display: block;
  border-radius: 25px;
  box-sizing: border-box;
}

.gradient-button:hover{
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
  display: block;
  size: 120%;
  width: 210px;
  font-size: 130%;
}
.purple-green-gradient-button {
  background-color: #c0001c;
  background-position: 1% 0%;
}
.purple-green-gradient-button:hover {
background-position: 99% 0%;
}

.bounding-box {
  position: relative;
  margin: auto;
  width: 40vw;
  height: 12vw;
  display: flex;
  align-items:center;
  justify-content:center;
}

.box {
  width: 80%; /* Set width */
  height: auto; /* Auto height */
  padding: 20px; /* Padding inside the box */
  background-color: white; /* Background color */
  border: 1px solid #ffffff; /* Border around the box */
  font-family: Arial, sans-serif;
  border-radius: 25px;
  font-size: 30px;
}

.box2 {
  width: 80%; /* Set width */
  height: auto; /* Auto height */
  padding: 25px; /* Padding inside the box */
  background-color: white; /* Background color */
  border: 1px solid #ffffff; /* Border around the box */
  font-family: Arial, sans-serif;
  border-radius: 25px;
  font-size: 30px;
}

/* HP STYLES */
.timeline {
  position: relative;
}
.timeline::before {
  content: '';
  background: #c5cae9;
  width: 5px;
  height: 95%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.timeline-item {
  width: 100%;
  margin-bottom: 70px;
  position: relative;
}
.timeline-item:nth-child(even) .timeline-content {
  float: right;
  padding: 20px 30px 10px 30px; /* Ensure same padding top as other items */
}
.timeline-item:nth-child(even) .timeline-content .date {
  right: auto;
  left: 0;
}
.timeline-item:nth-child(even) .timeline-content::after {
content: '';
position: absolute;
border-style: solid;
width: 0;
height: 0;
top: 20px; /* Ensures no gap between triangle and box */
left: -15px;
border-width: 10px 15px 10px 0;
border-color: transparent #f5f5f5 transparent transparent;
}
.timeline-item::after {
  content: '';
  display: block;
  clear: both;
}
.timeline-content {
position: relative;
width: 45%;
padding: 20px 30px 10px 30px; /* Consistent padding */
border-radius: 4px;
background: #f5f5f5;
box-shadow: 0 20px 25px -15px rgba(0, 0, 0, .3);
margin-top: 0; /* Remove any unintended margin */
}
.timeline-content::after {
content: '';
position: absolute;
border-style: solid;
width: 0;
height: 0;
top: 20px; /* Aligns the triangle perfectly with the content box */
right: -15px;
border-width: 10px 0 10px 15px;
border-color: transparent transparent transparent #f5f5f5;
}

/* Circle Image Container */
.circle-images {
  display: flex;
  gap: 10px; /* Space between images */
  margin-bottom: 10px; /* Space between images and text */
}
.circle-images img {
  width: 30px; /* Increased size */
  height: 30px; /* Increased size */
  border-radius: 50%;
  object-fit: cover;
}

.timeline-img {
width: 30px;
height: 30px;
background: transparent;
border-radius: 50%;
position: absolute;
left: 50%;
margin-top: -15px; /* Aligns the circle with content */
margin-left: -15px;
}

.timeline-item .timeline-img-header {
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .4)), url('https://picsum.photos/1000/800/?random') center center no-repeat;
  background-size: cover;
}
.timeline-img-header {
  height: 200px;
  position: relative;
  margin-bottom: 20px;
}
.timeline-img-header h2 {
  color: #fff;
  position: absolute;
  bottom: 5px;
  left: 20px;
}
blockquote {
  margin-top: 30px;
  color: #757575;
  border-left: 5px solid #3f51b5;
  padding: 0 20px;
}
.date {
  background: #ff4081;
  display: inline-block;
  color: #fff;
  padding: 10px;
  position: absolute;
  top: 0;
  right: 0;
}
.timeline-card {
  padding: 0 !important;
}
.timeline-card p {
  padding: 0 20px;
}
.timeline-card a {
  margin-left: 20px;
}

/* Modal styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 4px;
  width: 100%;
  max-width: 600px; /* Adjust as needed */
  max-height: 90vh; /* Ensure modal height is no more than 90% of viewport height */
  box-sizing: border-box;
  position: relative;
  overflow-y: auto; /* Allow vertical scrolling */
}

.modal-content h2 {
  margin-top: 0;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}

.modal-close:hover {
  color: red;
}

/* Circle Images for Modal */
.modal .circle-images {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}
.modal .circle-images img {
  width: 50px; /* Increased size */
  height: 50px; /* Increased size */
  border-radius: 50%;
  object-fit: cover;
}

@media screen and (max-width: 768px) {
  .timeline::before {
      left: 50px;
  }
  .timeline .timeline-img {
      left: 50px;
  }
  .timeline .timeline-content {
      max-width: 100%;
      width: auto;
      margin-left: 70px;
  }
  .timeline .timeline-item:nth-child(even) .timeline-content {
      float: none;
  }
  .timeline-item:nth-child(odd) .timeline-content::after {
content: '';
position: relative;
border-style: solid;
width: 0;
height: 0;
top: 0px; /* Ensures no gap between triangle and box */
left: -15px;
border-width: 10px 15px 10px 0;
border-color: transparent #f5f5f5 transparent transparent;
}
}
.timeline-content button {
font-family: 'Roboto', sans-serif; /* Same font as the page */
font-size: 16px; /* Adjust font size if needed */
font-weight: 400;
padding: 10px 20px; /* Padding to make the button more prominent */
border: none; /* Remove default button borders */
border-radius: 25px; /* Rounded edges */
background-color: #F3AA19; /* New background color */
color: white; /* Text color */
cursor: pointer; /* Pointer cursor on hover */
transition: background-color 0.3s ease; /* Smooth transition for background */
}

.timeline-content button:hover {
background-color: #df9d18; /* Slightly darker color on hover */
}

.scroll-button2 {
  position: relative;
  padding: 10px 20px;
  background-color: #F3AA19;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1000;
  transition: background-color 0.3s;
  left: 10%;
  transform: translateX(-50%);
}

.scroll-button2:hover {
  background-color: #df9d18;
}

.top-button {
  top: 0px;
}

.bottom-button {
  bottom: 10px;
}

/* Accordion container */
.accordion-container {
  display: flex;
  gap: 10px;
  padding: 20px;
}

/* Adjust accordion button and content styles */
.custom-accordion-button {
  background-color: #F3AA19;
  color: black;
  cursor: pointer;
  border: none;
  padding: 10px;
  text-align: left;
  width: 100%;
  border-radius: 4px;
  outline: none;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-accordion-button.active {
  background-color: #e7a219;
}

.custom-accordion-collapse {
  overflow: hidden;
  transition: max-height 0.35s ease;
  max-height: 0;
  position: relative;
  z-index: 1000; /* Ensure accordion is above other elements */
  background-color: #FFE3AB;
  border-top: 1px solid #ccc;
}

.custom-accordion-collapse.show {
  max-height: 1000px; /* Or auto if preferred */
}

.custom-accordion-body {
  padding: 10px;
}

.accordion-arrow {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.custom-accordion-button.active .accordion-arrow {
  transform: rotate(90deg); /* Rotate arrow when active */
}

.custom-accordion-item {
  flex: 1; /* Make each accordion item take up equal space */
}


#topBtn {
  position: fixed;
  bottom: 3vh;
  left: 1vw;
  outline: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 15px;
  border-radius: 40%;
  transition: 0.5s;
  z-index: 1000;
}

#topBtn:hover {
  background-color: rgb(255, 255, 255);
  border-radius: 50%;
}

#topBtn > img {
  width: 100px;
  height: 100px;
}

#topBtn.concealed {
  display: block !important;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.3);
}

.section5 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: black;
  /* padding: 20px; */
  margin-bottom: 20px;
  /* border-radius: 10px; */
}

.section5 p {
  margin: 0;
}

.text-box5 {
  width: 45%;
  background-color: #ffffff;
  padding: 10px;
  border-radius: 20px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  left: 10%;
}

.text-box55 {
  width: 45%;
  background-color: #ffffff;
  padding: 10px;
  border-radius: 20px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
}

.graphic-placeholder5 {
  width: 35%;
  height: 240px;
  background-color: #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  font-size: 18px;
  color: #3e3d3d;
  right: 5%;
  position: relative;
}

.graphic-placeholder555 {
  width: 35%;
  height: auto;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  font-size: 18px;
  color: transparent;
  right: 5%;
  position: relative;
  margin-top: 70px;
}

.bubble-section {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  position: relative; /* Add this to position the bubbles relative to their container */
  width: 80%;
  justify-content: center;
  align-items: center;
  left: 10%;
}

[speech-bubble], [speech-bubble] * {
  box-sizing: border-box;
}

[speech-bubble] {
  --bbColor: grey;
  --bbArrowSize: 1.5rem;
  --bbBorderRadius: 0.75rem;
  --bbPadding: 1rem;
  background: var(--bbColor);
  border-radius: var(--bbBorderRadius);
  padding: var(--bbPadding);
  position: relative;
}

[speech-bubble]::before {
  content: ''; 
  position: absolute;
  background: var(--bbColor);
}

/* Center the arrow on the bottom of the bubble */
[speech-bubble][pbottom]::before {
  --width: calc(var(--bbArrowSize) / 2 * 3);
  height: var(--bbArrowSize);
  width: var(--width);
  top: calc(100% - 2px);
  left: calc(50% - var(--width) / 2); /* Center the arrow horizontally */
}

[speech-bubble][pbottom][aleft]::before {
  clip-path: polygon(25% 0, 100% 0, 0% 100%);
}

[speech-bubble][pbottom][aright]::before {
  clip-path: polygon(0 0, 75% 0, 100% 100%);
}

/* Adjust arrow centering for both bubbles */
[speech-bubble][pbottom][aleft]::before,
[speech-bubble][pbottom][aright]::before {
  left: calc(50% - var(--width) / 2); /* Center arrow */
}

/* flip */
[speech-bubble][pbottom][flip]::before {
  transform: scaleX(-1);
}

/* Styling for demo purposes */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: default;
}

.middle {
  text-align: center;
  color: white;
}

[speech-bubble] {
  filter: drop-shadow(0px 0px 0.2rem black);
  transition: transform 0.25s ease;
}

[speech-bubble] .title {
  font-weight: 600;
  color: white;
  text-shadow: 1px 1px 2px black;
  margin-bottom: 0.5rem;
}

[speech-bubble] code {
  background: white;
  margin: 0.125rem;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  font-size: 0.9rem;
}

.middle code {
  font-size: 1rem;
}

.bubble-right {
  position: relative;
/* Moves the entire bubble 20px lower */
}

@media (max-width: 2000px) {
  .bubble-right {
      transform: translate(-80px, 220px); /* Moves more on smaller screens 240 */
  }
}

@media (max-width: 1300px) {
  .bubble-right {
      transform: translate(-80px, 280px); /* Moves more on smaller screens */
  }
}

@media (max-width: 1100px) {
  .bubble-right {
      transform: translate(-80px, 310px); /* Moves more on smaller screens */
  }
}

@media (max-width: 1040px) {
  .bubble-right {
      transform: translate(-80px, 350px); /* Moves more on smaller screens */
  }
}
@media (max-width: 1040px) {
  .bubble-right {
      transform: translate(-80px, 380px); /* Moves more on smaller screens */
  }
}

@media (max-width: 927px) {
  .bubble-right {
      transform: translate(-80px, 420px); /* Moves more on smaller screens */
  }
}

@media (max-width: 884px) {
  .bubble-right {
      transform: translate(-80px, 440px); /* Moves more on smaller screens */
  }
}

@media (max-width: 827px) {
  .bubble-right {
      transform: translate(-80px, 470px); /* Moves more on smaller screens */
  }
}
@media (max-width: 812px) {
  .bubble-right {
      transform: translate(-80px, 490px); /* Moves more on smaller screens */
  }
}

@media (max-width: 800px) {
  .bubble-right {
      transform: translate(-80px, 510px); /* Moves more on smaller screens */
  }
}

/* Container styling */
.container11 {
  display: flex;
  background-color: transparent; /* Dark background */
  padding: 20px;
  border-radius: 15px; /* Rounded corners */
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

/* Instagram Embed div styling */
.embed11 {
  background-color: white;
  width: 300px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  color: black;
  margin-left: 30px;
}

/* Text div styling */
.text11 {
  color: white;
  font-family: Arial, sans-serif;
  /* width: 600px; */
  margin-left: 90px;
}
.text111 {
  color: white;
  font-family: Arial, sans-serif;
  width: 80%;
  margin-left: 40px;
  text-align: left;
}
.container111 {
  display: flex;
  background-color: transparent; /* Dark background */
  padding: 20px;
  border-radius: 15px; /* Rounded corners */
  width: 100%;
  justify-content: center;
  align-items: center;
}

.full-page {
  background-color: white; /* Default background color */
  height: 100vh; /* Full height */
  display: flex; /* Use flexbox for centering */
  justify-content: center;
  align-items: center;
  width: 100vw;
  position: relative; /* Relative positioning for container */
}

.full-page h1 {
  position: absolute; /* Make the h1 positioned relative to .full-page */
  top: 3%; /* Adjust this value to move the text vertically */
  left: 50%;
  transform: translateX(-50%); /* Center the h1 horizontally */
}
.full-page h2 {
  position: absolute; /* Make the h1 positioned relative to .full-page */
  top: 10%; /* Adjust this value to move the text vertically */
  left: 50%;
  transform: translateX(-50%); /* Center the h1 horizontally */
}


.container {
  display: flex; /* Create a horizontal layout */
  margin-left: 50px; /* Move the container to the right */
  justify-content: center;
  align-items: center;
  align-content: center;
}

.circle22 {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  position: relative;
}

.overlay-circle,
.overlay-circle2,
.overlay-circle3,
.overlay-circle4 {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 60px solid transparent;
  position: absolute; /* Ensure it's positioned correctly */
  top: -60px;
  left: -40%;
  transition: box-shadow 0.3s ease, border-color 0.3s ease; /* Smooth transition for glow effect */
  z-index: 1; /* Lower z-index than triangles */
  cursor: pointer; /* Show pointer cursor on hover */
}

.overlay-circle {
  border-color: #F58989; /* Color for overlay-circle */
  clip-path: polygon(0% 0%, 50% 0%, 50% 50%, 0% 50%);
}


.overlay-circle2 {
  border-color: #0D0D0D; /* Color for overlay-circle2 */
  clip-path: polygon(0% 50%, 50% 50%, 50% 100%, 0% 100%);
}

.overlay-circle3 {
  border-color: #911F18; /* Color for overlay-circle3 */
  clip-path: polygon(50% 50%, 100% 50%, 100% 100%, 50% 100%);
}

.overlay-circle4 {
  border-color: #D33838; /* Color for overlay-circle4 */
  clip-path: polygon(50% 0%, 100% 0%, 100% 50%, 50% 50%);
}

/* Triangle positioned on the circle's border */
.triangle {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 60px solid #F58989; /* Arrowhead color */
  position: absolute;
  top: -60px; /* Original position */
  left: 70%;
  transform: translateX(-50%) rotate(90deg);
  z-index: 2; /* Higher z-index to be above overlay circles */
}

.triangle2 {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 60px solid #0D0D0D; /* Arrowhead color */
  position: absolute;
  top: 40px; /* Original position */
  left: -20%;
  transform: translateX(-50%) rotate(0deg); 
  z-index: 2; /* Higher z-index to be above overlay circles */
}

.triangle3 {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 60px solid #911F18; /* Arrowhead color */
  position: absolute;
  bottom: -90px; /* Original position */
  left: 50%;
  transform: translateX(-50%) rotate(-90deg); 
  z-index: 2; /* Higher z-index to be above overlay circles */
}

.triangle4 {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 60px solid #D33838; /* Arrowhead color */
  position: absolute;
  top: 70px; /* Original position */
  left: 140%;
  transform: translateX(-50%) rotate(-180deg); 
  z-index: 2; /* Higher z-index to be above overlay circles */
}

/* Text overlays with higher z-index */
.text-overlay {
  position: absolute;
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%); 
  z-index: 2; 
  font-weight: bold; 
  color: black; /* Default text color */
  transition: color 0.3s ease; /* Smooth color transition */
}

/* Right text box */
.text-box {
  margin-left: 120px; /* Space between circle and text box */
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  display: block; /* Make it visible by default */
  width: 700px; /* Set width of text box */
  font-size: medium;
}


.container-model {
  display: flex;
  /* max-width: 1200px; */
  /* margin: 20px auto; */
  background-color: black;
  align-items: center; 
  align-content: center;
  width: 100%;
}

/* Sidebar */
.sidebar-model {
  background-color: #FFA500;
  width: 230px;
  padding: 10px;
  color: white;
  border-radius: 10px;
  position: fixed; /* Makes the sidebar sticky */
  top: 70px; /* Keeps it at a distance from the top of the viewport */
  height: auto; /* Makes the sidebar full height minus margins */
}


.sidebar-model h2 {
  margin-top: 0;
  font-size: 1em;
  color: #301f00;
}

.sidebar-model ul {
  list-style-type: none;
  padding-left: 0;
}

.sidebar-model li {
  margin: 10px 0;
}

.sidebar-model li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em; /* Adjusted font size for links */
}

.sidebar-model li a:hover {
  text-decoration: underline;
}

/* Main content container */
.content-container {
  display: flex;
  flex-direction: column; /* Stack the content blocks vertically */
  flex-grow: 1;
  margin-left: 100px; /* Adds spacing between sidebar and content */
  width: 100%;
  align-content: center;
  justify-content: center;
  align-items: center;
}

/* Content */
.content-model {
  background-color: white;
  padding: 40px;
  margin-top: 20px; /* Adds margin between content blocks */
  border-radius: 10px;
  flex-grow: 1;
  max-width: 80%;
  text-align: left;
}

.content-model2 {
  background-color: transparent;
  padding: 40px;
  margin-top: 20px; /* Adds margin between content blocks */
  border-radius: 10px;
  flex-grow: 1;
  max-width: 80%;
  text-align: left;
  border: 2px solid #7D3030;
}

.content-model h1 {
  color: #FF4500;
  font-size: 1.4em;
}

.content-model h2 {
  color: #FF6347;
  font-size: 1em;
}

.content-model p {
  font-size: 0.8em;
  color: #333;
  line-height: 1.6em;
}

.image-placeholder-model {             
  justify-content: center;       
  align-items: center;           
  width: 100%;                                    /* Allow the height to adjust */
  background-color: transparent;    
  margin: 20px 0;  
  align-content: center;  
  justify-items: center; 
  display: flex; 
  flex-direction: column;          
}

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner-image {
  width: 500px; /* Adjust the size of the loading image */
  height: 500px; /* Maintain aspect ratio by setting height */
  animation: spin 1s linear infinite; /* Spin animation */
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.pdf {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: 100%;
  margin: 0;
  padding: 0;
}

.container-hp {
  width: 80%;
  padding: 50px 0;
  margin: 50px auto;
  position: relative;
  overflow: hidden;
}

.container-hp:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -1px;
  width: 2px;
  height: 100%;
  background: #CCD1D9;
  z-index: 1
}

.timeline-block-hp {
  width: -webkit-calc(50% + 8px);
  width: -moz-calc(50% + 8px);
  width: calc(50% + 8px);
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -moz-box-pack: justify;
  justify-content: space-between;
  clear: both;
}

.timeline-block-right-hp {
  float: right;
}

.timeline-block-left-hp {
  float: left;
  direction: rtl
}

.marker-hp {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #F5F7FA;
  background: #F3AA19;
  margin-top: 10px;
  z-index: 9999
}

.timeline-content-hp {
  width: 95%;
  padding: 0 15px;
  color: #666
}

.timeline-content-hp h3 {
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 30px;
  font-weight: 500;
  color: white;
}

.timeline-content-hp span {
  font-size: 20px;
  color: #a4a4a4;
}

.timeline-content-hp p {
  font-size: 18px;
  line-height: 1.5em;
  word-spacing: 1px;
  color: white;
}


@media screen and (max-width: 768px) {
  .container-hp:before {
     left: 8px;
     width: 2px;
  }
  .timeline-block-hp {
     width: 100%;
     margin-bottom: 30px;
  }
  .timeline-block-right-hp {
     float: none;
  }

  .timeline-block-left-hp {
     float: none;
     direction: ltr;
  }
}
.open-modal {
  background-color: #F3AA19;
  padding: 10px;
  border-radius: 10px;
  color: white;
}