body { 
    padding-top: 56px; 
    overflow-x: hidden;
}
p {
    font-size: 18px;
}
.left-aligned { margin-left: auto; }
.bg-dark { background-color: #0076be !important; }
.bg-hero { 
    background-color: #c9e4cf; 
    color: #038346;
    align-items: center;
    align-content: center;
}
.heading-text { color: #038346;}
.leading-text { color: #090c09; width: 40%;}

.logoManual {
    float: right;
    margin-right: 10%;
    width: 250px;
    height: 250px;
}
@media (max-width: 1000px) {
    .logoManual {
      display: none;
    }
  }
  
.team-pictures img {
    height: 300px; width: auto; align-self: center;
}

.group-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 20px;
}

.group-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.group-card:hover {
    transform: scale(1.005);
}

.group-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.group-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    color: black;
    text-align: center;
    padding: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.group-card-info > h4{
    color: grey;
    font-size: 10px;
}

.group-card:hover .group-card-info {
    transform: translateY(-75%);
}

@media (max-width: 768px) {
    .group-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .group-card {
        padding: 20px;
    }

    .group-card h3 {
        font-size: 20px;
    }
}



.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    grid-gap: 20px;
}

.card {
    position: relative; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: white;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card img {
    width: 268px;
    height: 375px;
    object-fit: cover;
    margin-bottom: 10px; 
}

.card h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    z-index: 1;
}

.card-info {
    display: flex; 
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); 
    color: white; 
    text-align: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease; 
}

.card:hover .card-info {
    opacity: 1;
}

@media (max-width: 768px) {
    .card-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    }
}

.rizzgod {
    border: 1px solid transparent;
    border-radius: 1 px;
    border-color: rgba(255,215,0,0.5);
    box-shadow: 0 4px 8px rgba(255,215,0,0.5);
}

.bruhwhere img {
    border: 4px solid transparent;
    border-radius: 1 px;
    border-color: rgba(231, 124, 124, 0.1);
}

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

#overview {
  margin-top: 30%;
  padding: 15px;
  border: 1px solid #ddd;
  background-color: #f9f9f9;
  position: sticky;
  overflow-y: auto; /* Enable vertical scrolling */
  top: 20%;
  transform: translate(-10%, -10%);
  max-height: 600px; /* Limit the height to make it scrollable */
}

#overview h5 {
    margin-bottom: 15px;
}

#overview .nav-link {
    color: #007bff;
    padding: 5px 0;
}

#overview .nav-link:hover {
    color: #0056b3;
    text-decoration: none;
}

/* Indent subheadings */
#overview .nav-item ul {
    margin-left: 15px; /* Adjust this value to increase or decrease the indentation */
}

@media (max-width: 1000px) {
    /* Move overview section to the top on smaller screens */
    #overview {
        margin-bottom: 20px;
        transform: none;
        position: static;
        margin: auto;
    }
}

@media (max-width: 1000px) {
    .overview-section {
      position: static; /* Normal flow of the document */
      transform: none; /* Remove centering */
      margin: 20px auto; /* Center it horizontally */
      width: 90%; /* Full width with some padding */
      text-align: center;
    }
  }

/* Homepage */
  .full-width-gif {
    width: auto;
    height: auto;
    display: block;
    margin: auto;
    border: 5px solid #4db4d7;
    border-radius: 5px;
  }

  .line {
    background-color: #4db4d7;
    margin: 20px 0;
  }

  .section {
    width: fit-content;
    margin: auto;
    height: fit-content;
    margin-top: 50px;
  }

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-section {
    padding: 60px 20px;
    background-color: #4db4d7;
}

.grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-item {
    flex: 1 1 calc(50% - 40px);
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-10px);
}

h1 {
    margin-top: 8%;
    margin-bottom: 8%;
}
h2 {
  margin-top: 6%;
  margin-bottom: 6%;
}
h3 {
  margin-top: 4%;
  margin-bottom: 4%;
}
h4 {
  margin-top: 2%;
  margin-bottom: 2%;
}

table {
  border-collapse: collapse;
  width: 100%;
}

td, th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #dddddd;
}

@media (max-width: 1000px) {
    .grid-item {
        flex: 1 1 100%;
    }
}

.scroll-animation-section {
    padding: 50px 0;
    background-color: #4db4d7; /* Optional: Background color for the section */
  }
  
  .image-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .image-box {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-in-out;
    text-align: center;
    width: 30%;
  }
  
  .image-box img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .image-box p {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
  }
  
  /* Animation trigger */
  .image-box.show {
    opacity: 1;
    transform: translateY(0);
  }
  .hidden {
    display: none;
  }

  .timeline {
    position: relative;
    margin: 0 auto;
    padding: 20px 0;
    width: 90%;
    max-width: 1000px;
  }
  
  .timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #0076be;
    transform: translateX(-50%);
  }
  
  .timeline-start,
  .timeline-end {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 20px;
    background-color: #0076be;
    border-radius: 50%;
    transform: translateX(-50%);
  }
  
  .timeline-start {
    top: 0;
  }
  
  .timeline-end {
    bottom: 0;
  }
  
  .timeline-event {
    position: relative;
    margin: 20px 0;
    width: 45%;
  }
  
  .timeline-event.left {
    left: 0;
    transform: translateX(-55%);
  }
  
  .timeline-event.right {
    left: 55%;
    transform: translateX(-55%);
  }
  
  .date-bubble {
    position: relative;
    top: 0;
    padding: 10px 15px;
    margin-bottom: 5px;
    background-color: #48bf91;
    color: #fff;
    border-radius: 20px;
    width: fit-content;
  }
  
  .timeline-event.left .date-bubble {
    left: calc(0% - 5%);
}

.timeline-event.right .date-bubble {
    right: calc(0% + 5%);
}
  
  .event-content {
    background-color: #4db4d7;
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .event-content img {
    width: 100%;
    height: auto;
    margin-top: 10px;
  }
  
  @media screen and (max-width: 1000px) {
    .timeline-event {
      width: 100%;
      transform: translateX(0) !important;
      margin: 40px 0;
    }
  
    .timeline-event.left .date-bubble,
    .timeline-event.right .date-bubble {
      left: auto;
      right: auto;
      top: -30px;
    }
  }

  .timeline-event {
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.6s ease-in-out;
  }
  
  .timeline-event.in-view {
    opacity: 1;
    transform: translateY(0);
  }
  
  .carousel-container {
    position: relative;
    width: 100%;
    height: 450px; /* Set a fixed height for the carousel */
    margin: auto;
    overflow: hidden;
    background-color: #4db4d7; /* Add a background color for empty spaces */
  }

  .carousel-container-1 {
    position: relative;
    width: 100%;
    height: 450px; /* Set a fixed height for the carousel */
    margin: auto;
    overflow: hidden; /* Add a background color for empty spaces */
  }
  
  .carousel {
    position: relative;
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
  }
  
  .carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
  }
  
  .carousel-slide img {
    margin-top: 50px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensure the image scales to fit within the carousel */
  }
  
  .carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 2;
    width: 50px; /* Set a width for the buttons */
    height: 50px; /* Set a height for the buttons */
    border-radius: 50%; /* Make the buttons circular */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .left-button {
    left: 20%;
  }
  
  .right-button {
    right: 20%;
  }

  @media (max-width: 1500px) {
    .left-button {
      left: 18%;
    }
    
    .right-button {
      right: 18%;
    }
  }

  @media (max-width: 1400px) {
    .left-button {
      left: 5%;
    }
    
    .right-button {
      right: 5%;
    }
  }

  @media (max-width: 900px) {
    .left-button {
      left: 5%;
    }
    
    .right-button {
      right: 5%;
    }
  }
  
  .carousel-text {
    position: absolute;
    top: 10%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    font-size: 20px;
    z-index: 3;
    text-align: center;
    width: 100%;
    height: 100%;
  }
  
  @media (max-width: 1000px) {
    .carousel-text {
      font-size: 16px;
      padding: 5px 10px;
    }
  }

  .no-u {
    text-decoration: none;
    color: black;
  }  

  .containerHP {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

  .snaking-line {
    width: 90%;
    max-width: 1000px;
  }

@media (max-width: 1000px) {
  .snaking-line {
    max-width: 800px;
  }
}

.text-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-block {
    text-align: center;
    background-color: #4db4d7;
    color: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    width: 90%;
}

.line.vertical {
    position: absolute;
    width: 5px;
    background-color: #0076be;
    height: 100%;
}

.line.vertical.left {
    right: calc(99.4%);
}

.line.vertical.right {
    left: calc(99.4%);
}

.line.horizontal {
    width: 100%;
    height: 5px;
    background-color: #0076be;
    margin: 0 auto;
    position: relative;
}

@media (max-width: 768px) {
    .line.vertical.left, .line.vertical.right {
        display: none;
    }

    .line.horizontal {
        display: none;
    }
}

.video-container {
  position: relative;
  margin: auto;
  margin-top: 5%;
  width: 90%;
  height: auto;
  padding-bottom: 56.25%; /* Aspect ratio 16:9 */
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.usm{
  width: 67%;
  height: auto;
}

.horizontal-scroll {
  overflow: hidden;
  overflow-x: auto;
  clear: both;
  width: 100%;
}

.value-table {
  min-width: rem-calc(640);
}

.code-container {
  max-height: 900px; /* Set the maximum height */
  overflow-y: auto;  /* Enable vertical scrolling */
  background-color: #f8f8f8; /* Light background */
  border: 1px solid #ccc; /* Border around the code */
  padding: 10px; /* Padding inside the container */
  font-family: monospace; /* Monospace font for code */
  white-space: pre; /* Preserve whitespace */
}

.big-pie{
  height: 500px;
  width: auto;
}

@media (max-width: 768px) {
  .big-pie{
    height: 250px;
  }
}

.center-img{
  display: block;
  margin: auto;
  width: 50%;
}

.center-txt{
  text-align:center;
}

 /* Popup container */
 #gold-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding: 20px;
  z-index: 1000;
  display: none; /* Hidden by default */
}

#gold-popup h2 {
  color: #FFD700;
  font-size: 24px;
  animation: glow 1.5s infinite;
}

#gold-popup p {
  font-size: 16px;
  color: #444;
  margin: 10px 0;
}

/* Background overlay */
#popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
  display: none; /* Hidden by default */
}

/* Button to close popup */
#close-popup {
  background-color: #FFD700;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
}

#close-popup:hover {
  background-color: #E6B800;
}

/* Glow animation */
@keyframes glow {
  0% {
    text-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700, 0 0 30px #FFD700;
  }
  50% {
    text-shadow: 0 0 20px #FFD700, 0 0 30px #FFD700, 0 0 40px #FFD700;
  }
  100% {
    text-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700, 0 0 30px #FFD700;
  }
}

/* Canvas for confetti */
canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 998;
}