* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}
#Layer_1{
  position: fixed;
  z-index: -1;
  bottom: -100px;
  /*width: 99%;*/
}
  body {
    margin: 0;
    background-color: #000000;
    overflow-x: hidden;
    min-height: 4000px;
    font-family: "Share Tech Mono", monospace;
}

header{
text-align: center; 
font-style: normal;
font-family: "Share Tech Mono", monospace;
}

.slide-in{
  animation-duration: 2s;
  animation-name: slide-in;
  color: yellow;
  font-size: 3rem;
  text-align: center;
}

@keyframes slide-in {
  from {
    translate: 10vw 0;
    scale: 100% 1;
  }

  to {
    translate: 0 0;
    scale: 100% 1;
  }
}
.typewriter-content h2 {
  margin: 0 0 10px 0;
}

      /* Base styles for each SVG element */
      .cls-1 {
        fill: none;
        stroke: #00ff54;
        stroke-miterlimit: 10;
      }

      /* Apply slide-up animation to each element */
      line, circle, ellipse {
        opacity: 0;
        transform: translateY(200px); /* Start below the screen */
        animation: slideUp 2s ease-out forwards; /* Apply animation */        
        width: 100%;
        height: 100%;}

      /* Create a delay for each line/circle to animate one after another */
      #line-1, #circle-1 {
        animation-delay: 0.1s;
      }

      #line-2, #circle-2 {
        animation-delay: 0.2s;
      }

      #line-3, #circle-3 {
        animation-delay: 0.3s;
      }

      #line-4, #circle-4 {
        animation-delay: 0.4s;
      }

      #line-5 {
        animation-delay: 0.5s;
      }

      #line-6 {
        animation-delay: 0.6s;
      }

      /* Keyframes for the slide-up effect */
      @keyframes slideUp {
        0% {
          opacity: 0;
          transform: translateY(100px); /* Start below */
        }
        100% {
          opacity: 1;
          transform: translateY(0); /* End at normal position */
        }
      }

.share-tech-mono-regular {
    font-family: "Share Tech Mono", monospace;
    font-weight: 400;
    font-style: normal;
  }
  
  /* Typewriter class for the text */
h2.typewriter {
    background-color:#002aff;
    text-align: center;
    color: #1aff00;
    border-right: 4px solid rgb(0, 255, 4);  /* Cursor effect */
    padding-right: 9px;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    animation: typing 2.2s  1s forwards, blink 0.75s step-end infinite; text-align: center;
    padding: 11px;
    font-size: 4vw;
    font-family: "Share Tech Mono", monospace; 
  }
  
h5{
  background-color: #000000; 
    color: #00ff54; 
    border: 4px solid #0022ff;
    border-radius: 53px;
    font-family: "Share Tech Mono", monospace; 
    margin-bottom: 30px;
}

  /* General link styles */
a {
  color: white;
  text-decoration: none;
  padding: 10px;
  font-size: 4vw;
  transition: color 1s ease, transform 2.3s ease;
  
}
/* Hover effect */
a:hover {
  color: #00ff54;
  transform: scale(1.4);
  text-decoration: underline;
  transform: translateY(30%);
}

a:hover::after {
  width: 100%;
}

  /* Animation for typing effect */
  @keyframes typing {
    from {
      width: 0;
    }
    to {
      width: 100%;
    }
  }
  /* Blinking cursor animation */
  @keyframes blink {
    50% {
      border-color: transparent;
    }
  }

  .fade-in-text {
    opacity: 0;
    animation: fadeIn 3s ease-in forwards;
    font-size: 7vw;
    color: #00ff55;
    font-family: "Share Tech Mono", monospace;
    text-align: center;
    margin-top: 44px;
    background-color: #000000; 
    color: #00ff54; 
    padding: 14px;
    border: 6px solid #fdc200;
    border-radius: 29px;  
  } 
  
  /* Keyframes for fade-in */
  @keyframes fadeIn {
    to {
      opacity: 1;
    }
  }
  
  .image-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
  }
  
  .fade-slide {
    opacity: 0;
    transform: translateY(60px);
    animation: fadeSlideUp 4.5s ease-out forwards;
    font-size: 2.5rem;
    letter-spacing: 1px;
    text-align: center;
    background-color: #13039b; 
    color: #00ff54; 
    padding: 37px;
    border: 6px solid #fd5400;
    border-radius: 53px;
    font-family: "Space Grotesk", sans-serif;
  }
  
  @keyframes fadeSlideUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .space-grotesk-uniquifier {
    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
  }

  figcaption {
    background-color: #0a55ea; 
    color: #00ff54; 
    padding: 14px;
    border: 6px solid #fdc200;
    border-radius: 6px;       
    font-weight: normal;
    font-size: 2rem;
    border-radius: 23px;
  }

.grid-item figure{
  text-align: center;
}
  .grid-item img {
    width: 100%;
    height: 100%;
    /* object-fit: cover;*/ 
    display: inline-block;
    
  }
  
  .image-container {
    overflow: hidden;
    align-content: center;
  }
  
p{
  text-align: center;
  color: rgb(255, 255, 255);
  font-size: 1.6rem;
}
  

 h3{
  background-color: rgb(25, 0, 255);
  color: #ff0000;
  font-size: 3vw;
  text-align: center;
  border: 6px solid #00f7ff;
  border-radius: 6px;       
}

h6{
  color:#00f425;
  text-align: center;
  background-color: rgb(0, 26, 255);
  font-size: 3vw;
  border: 6px solid #ff0000;
  border-radius: 5px;  
}

h4{
  color:coral;
  text-align: center;
  background-color: rgb(72, 60, 48);
  font-size: 4vw;
  border: 6px solid #22ff00;
  border-radius: 5px;   
}
  
  .slide-up-image {
    width: 59%;
    height: auto;
    transform: translateY(100px);
    opacity: 0;
    animation: slideUp 1.5s ease-out forwards;
    align-content: center;
    background-color: #000000; 
    color: #00ff54; 
    padding: 14px;
    border: 6px solid #fdc200;
    border-radius: 19px;
  }


  @keyframes slideUp {
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  /* ✅ Galaxy Z Fold  (Closed & Unfolded)  */
@media screen and (min-width: 904px) {.grid {
      grid-template-columns:  1fr;
    }
     .fade-in-text{
      border-radius: 29px;  
     }
   #products{
  font-size: 3rem;
}
    .grid section {
        border-bottom: 1px solid white;
        border-right: none;
        margin-bottom: 30vw;
        padding-bottom: 20vw;
    }

    h1.title {
        font-size: 26vw;
        color: aqua;
        font-family: "Share Tech Mono", monospace;
    }
  }

h1, h2, h3, h4, h5, h6, section, footer{
  margin-bottom: 40px;
}

.slide-up-image {
  width: 100%;
}
.image-container figure{
  padding: 20px;
}