.fade-in-out {
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  
  .fade-in-out.visible {
    opacity: 1;
  }

  .button {
    background: linear-gradient(90deg, #d16ba5, #c777b9, #ba83ca, #aa8fd8, #9a9ae1, #8aa7ec, #79b3f4, #69bff8, #52cffe, #41dfff, #46eefa, #5ffbf1);
    color: white; /* White text */
    font-family: 'Century Gothic', sans-serif;
    background-size: 200% 200%;
    padding: 8px 16px; /* Add some padding */
    font-size: 16px; /* Adjust font size */
    font-weight: bold; /* Make text bold */
    text-decoration: none; /* Remove underline */
    border: none; /* Remove border */
    border-radius: 5px; /* Round corners */
    margin-top: 5rem;
    cursor: pointer; /* Change cursor to pointer on hover */
    transition: background-color 0.3s ease; /* Add a hover transition */
  }
  
  .button:hover {
   animation: blink linear 1s infinite;
  }
  .counter-container {
    display: flex; /* Use flexbox to arrange items side by side */
    justify-content: space-between; /* Add space between the counters */
    gap: 20px; /* Optional: Adds space between each counter */
    margin-top: 2rem;
  }
  .number-container {
    display: flex; /* Use flexbox to arrange items side by side */
    justify-content: space-between; /* Add space between the counters */
    gap: 0px; /* Optional: Adds space between each counter */
    margin-top: 2rem;
  }

  .counter-label-box {
    display: flex; /* Enables flexbox */
    flex-direction: column; /* Stacks the items vertically */
    justify-content: start; /* Aligns items at the start of the container */
    align-items: center;
  }

  .counter {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-top: 2rem;
    overflow: hidden;
    font-family: Verdana, Geneva, sans-serif;
    letter-spacing: -0.09em;
    border-radius: 6px; /* Adjust as needed for roundness */


    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5),
    0 0 10px rgba(255, 255, 255, 0.4),
    0 0 15px rgba(255, 255, 255, 0.3);
    
    width: 104px; /* Set a fixed width */
    height: 104px; /* Set a fixed height */
    
    background: linear-gradient(90deg, #d16ba5, #c777b9, #ba83ca, #aa8fd8, #9a9ae1, #8aa7ec, #79b3f4, #69bff8, #52cffe, #41dfff, #46eefa, #5ffbf1);
    background-size: 400% 400%; /* Make the gradient larger for smooth animation */
    animation: gradientAnimation ease infinite; /* Animation to move the gradient */
    
    display: flex; /* Enable flexbox */
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
  
    color: white; /* Make the text color white */
  
    position: relative;
    overflow: hidden; /* Hide anything outside the boundary */

    /* Use the custom --animation-duration variable */
   animation-duration: var(--animation-duration); 
  }
  
  .counter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit; /* Use the same background gradient */
    filter: blur(20px) contrast(150%) saturate(90%); /* Gooey effect with blur */
    z-index: -1; /* Place behind the text */
    animation: gooeyBackground 10s infinite ease-in-out; /* Optional: Make the gooey effect move */
  }
  
  .counter::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('Web-Noise.jpg');
    background-size: cover;
    mix-blend-mode: overlay;
    opacity: 0.5; /* Adjust opacity to control intensity */
    z-index: -0.5; /* Adjusted z-index */
    animation: jitterEffect 0.8s ease-in-out infinite; /* Jitter effect animation */
  }  

  .counter-label {
    font-size: 14px; /* Smaller font for label */
    color: rgb(0, 0, 0);
    margin-top: 2px; /* Space between counter text and label */
    text-transform: uppercase; /* Optional: for label styling */
    text-align: center;
    justify-content: center; /* Center content horizontally */
    z-index: 30;
  }

  /* Define different animation durations for different counters */
.counter:nth-child(3n+1) {
  --animation-duration: 15s; /* 15 seconds */
}

.counter:nth-child(3n+2) {
  --animation-duration: 20s; /* 25 seconds */
}

.counter:nth-child(3n+3) {
  --animation-duration: 30s; /* 30 seconds */
}
  
.text-container {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center items vertically */
  align-items: center; /* Center items horizontally */
  height: 100vh; /* Full height of the viewport */
  z-index: 10;
}

.text-container h1 {
  background: linear-gradient(50deg, #d16ba5, #c777b9, #ba83ca, #aa8fd8, #9a9ae1, #8aa7ec, #79b3f4, #69bff8, #52cffe, #41dfff, #46eefa, #5ffbf1);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 100%;
  animation: gradientAnimation 30s ease infinite;
  text-align: center;
  line-height: 1; 
  font-weight: bold;
  font-size: 72px;
}
  .text-container h2 {
    color: #000000;
    text-align: center;
    max-width: 90%;
    text-shadow: 0 0 52px rgba(255, 255, 255, 0.9),
                 0 0 10px rgba(255, 255, 255, 0.8),
                 0 0 15px rgba(255, 255, 255, 0.6);

  }

  .text-container .h3 {
    position: relative; /* Allow positioning for the border */
    padding: 1.5rem; /* Padding inside the text */
    border: 4px solid transparent; /* Set a transparent border initially */
    border-image: linear-gradient(50deg, #d16ba5, #c777b9, #ba83ca, #aa8fd8, #9a9ae1, #8aa7ec, #79b3f4, #69bff8, #52cffe, #41dfff, #46eefa, #5ffbf1) 1; /* Gradient border */
    border-radius: 16px; /* Optional: Add border-radius for rounded corners */
    background: linear-gradient(50deg, #d16ba5, #c777b9, #ba83ca, #aa8fd8, #9a9ae1, #8aa7ec, #79b3f4, #69bff8, #52cffe, #41dfff, #46eefa, #5ffbf1);
    background-clip: text; /* Standard property */
    -webkit-background-clip: text; /* Vendor prefix for WebKit browsers */
    -webkit-text-fill-color: transparent; /* Making the text color transparent for WebKit */
    color: transparent; /* Standard property */
    background-size: 300% 300%; /* Ensures enough space for the animation */
    animation: gradientAnimation 30s ease infinite; /* Animation to move the gradient */
    text-align: center;
    font-family: 'Century Gothic', sans-serif;
  }

  .text-container .h3 span {
    display: block; /* Each word is a block element */
}
  
  .text-container .p1 {
    color: #000000; /* Keep the text color constant for the paragraph */
    font-family: 'Andale Mono', monospace;
    font-size: 22px;
    text-align: center; /* Centers the paragraph text */
    margin-top: 3rem; /* Space between the header and paragraph */
    max-width: 80%; /* Optional: limit the width of the paragraph for readability */
    line-height: 1; /* Adjust line height for readability */
    letter-spacing: -0.1em;
    border-color: #000000;
    border-width: 0.8px;
    border-style: solid;
    padding: 16px;
  }
  
  .text-container .p2 {
    color: #000000; /* Keep the text color constant for the paragraph */
    
    font-size: 22px;
    text-align: center; /* Centers the paragraph text */
    margin-top: 2rem; /* Space between the header and paragraph */
    max-width: 80%; /* Optional: limit the width of the paragraph for readability */
    line-height: 1; /* Adjust line height for readability */

  }
  .text-container .p3 {
    color: #000000; /* Keep the text color constant for the paragraph */
    font-family: 'Andale Mono', monospace;
    font-size: 16px;
    text-align: center; /* Centers the paragraph text */
    max-width: 80%; /* Optional: limit the width of the paragraph for readability */
    line-height: 1; /* Adjust line height for readability */
    letter-spacing: -0.1em;
  }
  

  .text-container .names {
    font-size: 48px;
    font-weight: bold;
    background: linear-gradient(50deg, #d16ba5, #c777b9, #ba83ca, #aa8fd8, #9a9ae1, #8aa7ec, #79b3f4, #69bff8, #52cffe, #41dfff, #46eefa, #5ffbf1);
    background-clip: text; /* Standard property */
    -webkit-background-clip: text; /* Vendor prefix for WebKit browsers */
    -webkit-text-fill-color: transparent; /* Making the text color transparent for WebKit */
    color: transparent; /* Standard property */
    background-size: 200% 100%; /* Ensures enough space for the animation */
    animation: gradientAnimation 30s ease infinite; /* Animation to move the gradient */
    text-transform: uppercase; /* Optional: for label styling */
    text-align: center;
    z-index: 30;
    transition: opacity 0.5s ease;
    margin-top: -0.5rem;
  }
  .text-container .number {
    font-size: 64px;
    font-weight: bold;
    background: linear-gradient(50deg, #d16ba5, #c777b9, #ba83ca, #aa8fd8, #9a9ae1, #8aa7ec, #79b3f4, #69bff8, #52cffe, #41dfff, #46eefa, #5ffbf1);
    background-clip: text; /* Standard property */
    -webkit-background-clip: text; /* Vendor prefix for WebKit browsers */
    -webkit-text-fill-color: transparent; /* Making the text color transparent for WebKit */
    color: transparent; /* Standard property */
    background-size: 200% 100%; /* Ensures enough space for the animation */
    animation: gradientAnimation 30s ease infinite; /* Animation to move the gradient */
    margin-top: -0.3rem; /* Space between counter text and label */
    text-transform: uppercase; /* Optional: for label styling */
    text-align: center;
    z-index: 30;
  }
  .text-container .numbersmall {
    font-size: 40px;
    font-weight: bold;
    background: linear-gradient(50deg, #d16ba5, #c777b9, #ba83ca, #aa8fd8, #9a9ae1, #8aa7ec, #79b3f4, #69bff8, #52cffe, #41dfff, #46eefa, #5ffbf1);
    background-clip: text; /* Standard property */
    -webkit-background-clip: text; /* Vendor prefix for WebKit browsers */
    -webkit-text-fill-color: transparent; /* Making the text color transparent for WebKit */
    color: transparent; /* Standard property */
    background-size: 200% 100%; /* Ensures enough space for the animation */
    animation: gradientAnimation 30s ease infinite; /* Animation to move the gradient */
    text-transform: uppercase; /* Optional: for label styling */
    text-align: center;
    z-index: 30;
  }
  .text-container .infinitysign {
    font-size: 80px;
    font-weight: bold;
    background: linear-gradient(50deg, #ff7e5f, #feb47b, #6a11cb, #2575fc);
    background-clip: text; /* Standard property */
    -webkit-background-clip: text; /* Vendor prefix for WebKit browsers */
    -webkit-text-fill-color: transparent; /* Making the text color transparent for WebKit */
    color: transparent; /* Standard property */
    background-size: 200% 100%; /* Ensures enough space for the animation */
    animation: gradientAnimation 30s ease infinite; /* Animation to move the gradient */
    text-transform: uppercase; /* Optional: for label styling */
    text-align: center;
    margin-top: -1.7rem;
    z-index: 30;
  }

  .scroll {
  position: relative;
  font-size: 16px;
  margin-top: 90px;
  font-weight: bold;
  color: #79b3f4;
  animation: blink 1s infinite;
}
  

  @keyframes spin {
    from {
        transform: rotate(0deg); /* Start at 0 degrees */
    }
    to {
        transform: rotate(360deg); /* Spin to 360 degrees */
    }
}

/* Jitter effect for noise layer */
@keyframes jitterEffect {
  0% {
    transform: translate(0, 0); /* No movement */
  }
  10% {
    transform: translate(2px, 2px); /* Slight move down-right */
  }
  20% {
    transform: translate(-3px, 1px); /* Slight move left-up */
  }
  30% {
    transform: translate(1px, -3px); /* Slight move right-up */
  }
  40% {
    transform: translate(-2px, 2px); /* Slight move left-down */
  }
  50% {
    transform: translate(2px, -2px); /* Slight move down-right */
  }
  60% {
    transform: translate(-1px, 3px); /* Slight move left-down */
  }
  70% {
    transform: translate(3px, -1px); /* Slight move right-up */
  }
  80% {
    transform: translate(-2px, -2px); /* Slight move left-up */
  }
  90% {
    transform: translate(1px, 2px); /* Slight move down-right */
  }
  100% {
    transform: translate(0, 0); /* Reset to no movement */
  }
}
@keyframes sweeping-pulsing-shimmer {
  0% {
      text-shadow: 
          0 0 5px rgba(255, 126, 95, 0.2),  /* #ff7e5f */
          -3px 0 8px rgba(255, 126, 95, 0.1), 
          3px 0 10px rgba(255, 126, 95, 0.2);
  }
  25% {
      text-shadow: 
          3px 0 6px rgba(254, 180, 123, 0.3), /* #feb47b */
          -5px 0 10px rgba(254, 180, 123, 0.2), 
          5px 0 12px rgba(254, 180, 123, 0.3);
  }
  50% {
      text-shadow: 
          0 0 8px rgba(106, 17, 203, 0.4), /* #6a11cb */
          5px 0 12px rgba(106, 17, 203, 0.3), 
          -5px 0 15px rgba(106, 17, 203, 0.4);
  }
  75% {
      text-shadow: 
          -3px 0 6px rgba(37, 117, 252, 0.3), /* #2575fc */
          3px 0 10px rgba(37, 117, 252, 0.3), 
          -5px 0 12px rgba(37, 117, 252, 0.3);
  }
  100% {
      text-shadow: 
          0 0 5px rgba(255, 126, 95, 0.2), 
          -3px 0 8px rgba(255, 126, 95, 0.1), 
          3px 0 10px rgba(255, 126, 95, 0.2);
  }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

  @keyframes gooeyBackground {
    0% {
      filter: blur(8px);
    }
    50% {
      filter: blur(12px);
    }
    100% {
      filter: blur(8px);
    }
  }

  @keyframes gradientAnimation {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  @keyframes blink {
    0%, 20% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
    80%, 100% {
        opacity: 1;
    }
}

  @media (min-width: 640px) { /* sm */
    .text-container h1 {
      font-size: 72px;
    }
    .text-container .p1 {
      font-size: 10px; /* Font size for sm screens */
    }
    .text-container .p2 {
      font-size: 22px; /* Font size for sm screens */
    }
    .text-container .p3 {
      font-size: 16px; /* Font size for sm screens */
    }
    .counter {
      font-size: 32px;
      width: 104px; /* Adjust width based on font size */
      height: 104px; /* Adjust height based on font size */
      border-radius: 6px;
    }
    .counter-label{
      font-size: 10px;
    }
    .text-container .names {
    font-size: 48px;
    }
    .text-container .number {
      font-size: 64px;
      }
      .text-container .numbersmall {
        font-size: 40px;
        }
  }
  
  @media (min-width: 768px) { /* md */
    .text-container h1 {
      max-width: 70%;
      font-size: 100px;
    }
    .text-container .p1 {
      font-size: 16px; /* Font size for md screens */
    }
    .text-container .p2 {
      font-size: 26px; /* Font size for md screens */
      max-width: 50%;
    }
    .text-container .p3 {
      font-size: 20px; /* Font size for sm screens */
    }
    .counter {
      font-size: 48px;
      width: 152px; /* Adjust width based on font size */
      height: 152px; /* Adjust height based on font size */
      border-radius: 9px;
    }
    .counter-label{
      font-size: 16px;
    }
    .text-container .names {
      font-size: 56px;
      }
    .text-container .number {
        font-size: 92px;
        }
        .text-container .numbersmall {
          font-size: 56px;
          }

  }
  
  @media (min-width: 1024px) { /* lg */
    .text-container h1 {
      max-width: 65%;
      font-size: 98px;
    }
    .text-container .p1 {
      font-size: 24px; /* Font size for lg screens */
    }
    .text-container .p2 {
      font-size: 28px; /* Font size for lg screens */
      max-width: 50%;
    }
    .text-container .p3 {
      font-size: 22px; /* Font size for sm screens */
    }
    .counter {
      font-size: 64px;
      width: 160px; /* Adjust width based on font size */
      height: 160px; /* Adjust height based on font size */
      border-radius: 12px;
    }
    .counter-label{
      font-size: 18px;
    }
    .text-container .names {
      font-size: 72px;
      } 
      .text-container .number {
        font-size: 112px;
        }
        .text-container .numbersmall {
          font-size: 80px;
          }
  }
  
  @media (min-width: 1280px) { /* xl */

    .text-container h1 {
      max-width: 50%;
      font-size: 124px;
    }
    .text-container .p1 {
      font-size: 32px; 
    }
    .text-container .p2 {
      font-size: 32px; 
      max-width: 60%;
    }
    .text-container .p3 {
      font-size: 22px; /* Font size for sm screens */
    }
    .counter {
      font-size: 80px;
      width: 200px; /* Adjust width based on font size */
      height: 200px; /* Adjust height based on font size */
      border-radius: 15px;
    }
    .counter-label{
      font-size: 26px;
    }
    .text-container .names {
      font-size: 100px;
      }
      .text-container .number {
        font-size: 152px;
        }
        .text-container .numbersmall {
          font-size: 96px;
          }
  }
  