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

:root {
  --background: black;
  --color: white;
}

html,
body {
  width: 100%;
  height: 100%;
  font-family: Arial;
}

.container {
  display: flex;
  justify-content: left;
  align-items: left;
  background: var(--background);
}

.container {
  color: var(--color);
  font-size: 1.5rem;
  display: flex;
  flex-direction: column;
}

.right {
  text-align: right;
  width: 100%;
}

.stack {
  display: grid;
  grid-template-columns: 1fr;
}

.stack span {
  font-weight: bold;
  grid-row-start: 1;
  grid-column-start: 1;
  font-size: 2rem;
  --stack-height: calc(100% / var(--stacks) - 1px);
  --inverse-index: calc(calc(var(--stacks) - 1) - var(--index));
  --clip-top: calc(var(--stack-height) * var(--index));
  --clip-bottom: calc(var(--stack-height) * var(--inverse-index));
  clip-path: inset(var(--clip-top) 0 var(--clip-bottom) 0);
  animation: stack 340ms cubic-bezier(.46, .29, 0, 1.24) 1 backwards calc(var(--index) * 120ms), glitch 2s ease infinite 2s alternate-reverse;
}

.stack span:nth-child(odd) {
  --glitch-translate: 8px;
}

.stack span:nth-child(even) {
  --glitch-translate: -8px;
}

@keyframes stack {
  0% {
    opacity: 0;
    transform: translateX(-50%);
    text-shadow: -2px 3px 0 red, 2px -3px 0 blue;
  }

  ;

  60% {
    opacity: 0.5;
    transform: translateX(50%);
  }

  80% {
    transform: none;
    opacity: 1;
    text-shadow: 2px -3px 0 red, -2px 3px 0 blue;
  }

  100% {
    text-shadow: none;
  }
}

@keyframes glitch {
  0% {
    text-shadow: -2px 3px 0 red, 2px -3px 0 blue;
    transform: translate(var(--glitch-translate));
  }

  2% {
    text-shadow: 2px -3px 0 red, -2px 3px 0 blue;
  }

  4%,
  100% {
    text-shadow: none;
    transform: none;
  }
}

#wrapper {
  padding: 1rem;
  /* margin-left: 15px; */
  /* margin-top: 15px; */
  background-color: rgba(0, 0, 0, 90%);
  border-bottom: 1px solid white;
  /* height: 5rem; */
  top: 0%;
  width: 100%;
  position: fixed;
  box-shadow: 0 0 5px 5px rgba(0, 0, 0, 50%);
  z-index: 4;
}

#div1 {
  display: flex;
  flex-direction: row;
  align-items: center;       /* vertically center logo + text */
  gap: 1rem;                 /* space between logo and text */
  padding-top: 0.5rem;
  margin-top: -1rem;
  margin-left: 1rem;
  width: auto;
}

#div2 {
  /* float:left; */
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: -2rem;
  align-self: center;
  /* width: 160px; */
  /* height: 3rem; */
  /* border: 1px solid green; */
}

#about_us_slide {
  /* height: auto; */
  height: 100%;
  /* min-height: 100%; */
  background: linear-gradient(-45deg, #ffffff, #e3f6f5, #bae8e8, #2c698d, #272643);
  /* background: linear-gradient(-45deg, #ff0000, #000000, #000000); */
  background-size: 400% 400%;
  animation: gradient 30s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

#about_us_slide-content-div {
  /* background-color: azure; */
  height: auto;
  width: 50%;
  top: 15%;
  position: relative;
  /* padding: 40% 2em; */
  /* padding-top: 40rem; */
  padding-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#about_us_slide-content-div-left {
  vertical-align: middle;
  height: 10rem;
  width: 60%;
  margin-left: 0;
}

#about_us_slide-content-div-right {
  /* align-self: center; */
  margin-top: -10rem;
  margin-left: 61%;
  display: flex;
}

#product_slide {
  background: linear-gradient(45deg, #ffffff, #e3f6f5, #bae8e8, #2c698d, #272643);
  /* background: linear-gradient(-18deg, #ff0000, #000000, #000000); */
  background-size: 400% 400%;
  animation: gradient 30s ease infinite;
  height: auto;
  min-height: 100%;
  background-color: white;
}

#product_slide_main {
  background: linear-gradient(45deg, #2c698d, #272643, #ff0000, #127009);
  /* background: linear-gradient(-18deg, #ff0000, #000000, #000000); */
  background-size: 400% 400%;
  animation: gradient 30s ease infinite;
  height: auto;
  min-height: 100%;
  background-color: white;
}

#product_slide_slide-content-div {
  height: auto;
  width: 70%;
  top: 15%;
  position: relative;
  padding-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#collaboration_slide {
  height: auto;
  background-color: white;
  min-height: 100%;
  /* background: linear-gradient(-45deg, #ffffff, #e3f6f5, #bae8e8, #2c698d, #272643); */
  /* background: linear-gradient(-45deg, #000000, #15ff00, #15ff00); */
  /* background: linear-gradient(-18deg, #ff0000, #000000, #000000); */
  /* background-size: 400% 400%; */
  /* animation: gradient 30s ease infinite; */
}

#collaboration_slide-content-div {
  height: auto;
  width: 70%;
  top: 15%;
  position: relative;
  padding-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#waitlist_slide {
  height: 100%;
  background-color: green;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  justify-content: center;
  min-height: 750px;
  /* background: linear-gradient(-45deg, #ffffff, #e3f6f5, #bae8e8, #2c698d, #272643); */
  background: linear-gradient(-45deg, #ff0000, #000000, #000000);
  background-size: 400% 400%;
  animation: gradient 30s ease infinite;
}

#waitlist_slide-content-div {
  /* background-color: azure; */
  height: auto;
  width: 70%;
  top: 15%;
  position: relative;
  /* padding: 40% 2em; */
  /* padding-top: 40rem; */
  padding-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#contact_slide {
  text-align: center;
  height: auto;
  background-color: black;
  color: white;
  min-height: 100px;
  box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 50%);
}


/* main top manu */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

.topnav {
  overflow: hidden;
  background-color: #33333300;
  margin-left: auto;
  margin-right: auto;
  margin-top: -2.5rem;
}

.topnav a {
  /* border: 1px solid green; */

  float: left;
  color: white;
  font-weight: bold;
  text-align: center;
  padding: 5px 16px;
  text-decoration: none;
  font-size: 17px;
}


/*

 .topnav a:hover {
    background-color: #ddd;
    color: black;
  }

  .topnav a.active {
    background-color: #04AA6D;
    color: white;
  }*/

/* scroll to section */
html {
  scroll-behavior: smooth;
}


/* contact menu */
.contact_div {
  padding: 1rem;
  position: relative;
}

.contact_div a {
  /* border: 1px solid green; */

  /* float: ; */
  color: #f2f2f2;
  font-weight: bold;
  text-align: center;
  padding: 5px 16px;
  text-decoration: none;
  font-size: 17px;
  font-family: 'Courier New', Courier, monospace;
}


.buttons {
  width: 10%;
  height: 10%;
  /* border-radius: 50px; */
  /* margin: 5rem; */
  margin-top: 5rem;
  margin-bottom: 5rem;
  min-width: 200px;
  min-height: 50px;
  font-size: 1rem;
  font-family: 'Courier New', Courier, monospace;
  z-index: 5;
  /* margin-left: auto; */
  /* margin-right: auto; */
  border: 3px solid black;
}

#titles {
  font-size: 3rem;
  padding-bottom: 2rem;
  font-family: 'Courier New', Courier, monospace;
}

#about_us_slide_texts {
  font-size: 2rem;
  font-family: 'Courier New', Courier, monospace;
  /* text-align: justify !important; */
  text-wrap: pretty;
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: anywhere;
  word-break: normal;
  /* text-align: left !important; */
}


@media (max-width: 900px) {
  #about_us_slide_texts {
    font-size: 1.4rem;
    font-family: 'Courier New', Courier, monospace;
    text-wrap: pretty;
    -webkit-hyphens: auto;
    hyphens: auto;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  #about_us_slide-content-div{
    width: 80%;
  }

}

#texts {
  font-size: 1.4rem;
  font-family: 'Courier New', Courier, monospace;
  text-align: justify !important;
  text-wrap: pretty;
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: anywhere;
  word-break: normal;
  /* text-align: left !important; */
}

.content_page {
  /* background-color: azure; */
  height: auto;
  width: 70%;
  /* top: 30%; */
  position: relative;
  /* padding: 40% 2em; */
  /* padding-top: 40rem; */
  padding-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}


div.gallery {
  margin: 2.5%;
  border: 1px solid #ccc;
  /* float:  */
  width: 25%;
  transition: transform 0.3s ease;
  background-color: white;


}

div.gallery:hover {
  border: 1px solid #777;
  transform: scale(1.2);
}

div.gallery img {
  width: 100%;
  height: auto;
}

div.desc {
  padding: 15px;
  text-align: center;
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  /* Allow items to wrap */
}

/* .image-box {
  position: relative;
  margin: 5px;
} */

/* .image-container img {
  width: 25%;
  height: auto;
  margin: 2.5%;
  transition: transform 0.3s ease;
} */
/* 
.image-container img:hover {
  transform: scale(1.2);
} */

/* .snap-container {
  overflow-y: scroll;
  height: 100vh;
} */

/* .snap-section {
  height: 100vh;
} */

@media (min-width: 900px) {
  .snap-container {
    scroll-snap-type: y mandatory;
    /* 'y' for vertical scrolling, 'mandatory' means it will always snap */
  }

  .snap-section {
    scroll-snap-align: start;
    /* Align the snap point at the start of the section */
  }
}

@media screen and (max-width: 900px) {
  .snap-container {
    /* overflow-y: scroll; */
    /* Enable vertical scrolling */
    height: auto;
    /* Set the height to fill the viewport */
    /* min-height: 100vh; */
  }

  .snap-section {
    height: auto;
    /* Set each section to fill the viewport */
    /* min-height: 100vh; */

    /* Add any additional styling for your sections */
  }


  .image-container {
    flex-direction: column;
    /* Stack images vertically */
  }

  .image-container img:hover {
    transform: scale(1.0);
    /* increase size by 20% */
  }

  .image-container img {
    width: 70%;
    /* or your preferred width */
  }

  div.content_page {
    width: 95%;
    padding-top: 10rem;
    /* top: -50%; */
  }

  div.topnav {
    margin-top: 0rem;
    display: none;
  }

  #mobile_menu_negative {
    display: none;
  }

  #about_us_slide-content-div {
    top: 10%;
    width: 80%;
  }

  #about_us_slide-content-div h1 {
    font-size: 2rem;
    padding-top: 10rem;
  }

  #about_us_slide {
    height: auto;
  }

  #void_slide {
    display: none;
  }

  #div1 {
    margin-left: auto;
    margin-right: auto;
  }

  #product_slide_slide-content-div,
  #collaboration_slide-content-div {
    width: 95%;
  }

  #titles {
    font-size: 2rem;
    padding-bottom: 1rem;
    font-family: 'Courier New', Courier, monospace;
  }

  #texts {
    font-size: 1.0rem;
    font-family: 'Courier New', Courier, monospace;
  }
}

@media (orientation: portrait) {

  /* Styles for screens where the height is greater than the width */
  .snap-container {
    /* overflow-y: scroll; Enable vertical scrolling */
    height: auto;
    /* Set the height to fill the viewport */
    min-height: 100vh;
  }

  .snap-section {
    height: auto;
    /* Set each section to fill the viewport */
    min-height: 100vh;

    /* Add any additional styling for your sections */
  }


  .image-container {
    flex-direction: column;
    /* Stack images vertically */
  }

  .image-container img:hover {
    transform: scale(1.0);
    /* increase size by 20% */
  }

  .image-container img {
    width: 70%;
    /* or your preferred width */
  }

  #about_us_slide {
    /* min-height: 100vh; */
  }

  #first {
    margin-top: 20%;
  }

  #texts {
    font-size: 2.0rem;
    font-family: 'Courier New', Courier, monospace;
  }
}

@media screen and (max-width: 1200px) {
  div.topnav {
    margin-right: 0;
  }
}

@media screen and (min-width: 900px) {
  #mobile_menu {
    display: none;
  }
}



.form-group input {
  margin-bottom: 0.75rem;
  padding: 0.75rem;
  border-radius: 2rem;
  font-size: 1rem;
  /* width: 35%; */
  min-width: 320px;
  font-family: 'Courier New', Courier, monospace;
  border: 2px solid black;
}


.navbar {
  overflow: hidden;
  /* background-color: #333; */
}

.navbar a {
  float: left;
  color: #f2f2f2;
  font-weight: bold;
  text-align: center;
  padding: 5px 16px;
  text-decoration: none;
  font-size: 17px;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  border: none;
  outline: none;
  color: #f2f2f2;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  font-weight: bold;
  text-align: center;
  padding: 5px 16px;
  text-decoration: none;
  font-size: 17px;
}

.navbar a:hover,
.dropdown:hover .dropbtn {
  background-color: linear-gradient(-45deg, #ff0000, #000000, #000000);
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}





/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  /* color: #fff; */
  background: black;
}

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

/* Parallax sections */
.parallax {
  /* font-family: Arial, sans-serif; */
  /* color: #fff; */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Caption styling */
.caption {
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  padding: 20px 40px;
  /* border-radius: 8px; */
  letter-spacing: 6px;
  font-size: 2rem;
}

/* Placeholder parallax backgrounds */
.parallax-1 {
  margin-top: 25vh;
  margin-bottom: 25vh;
  height: 50vh;
  background-image: url('https://picsum.photos/1920/1080?random=1');
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  /* allows wrapping on small screens */
  gap: 2rem;
  /* space between logo and text */
}

/* Logo styling */
.logo {
  width: 10%;
  min-width: 260px;
  background-color: white;
  border-radius: 100%;
  border: 2px solid black;
}

/* Caption styling */
.caption_logo {
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  padding: 20px 40px;
  letter-spacing: 6px;
  font-size: 2rem;
  text-align: center;
}

/* Responsive: stack logo above caption on small screens */
@media screen and (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    /* logo on top, text below */
  }

  .logo {
    margin-right: 0;
    /* remove horizontal spacing */
    margin-bottom: 1rem;
    /* spacing between logo and caption */
    width: 40%;
    /* scale down logo */
    min-width: unset;
    /* optional */
  }

  .caption_logo {
    font-size: 1.5rem;
    /* adjust text size for small screens */
  }
}



.parallax-2 {
  height: 25vh;
  background-image: url('https://picsum.photos/1920/1080?random=2');
}

.parallax-3 {
  height: 25vh;
  background-image: url('https://picsum.photos/1920/1080?random=3');
}

.parallax-4 {
  background-image: url('https://picsum.photos/1920/1080?random=4');
}

.parallax-5 {
  background-image: url('https://picsum.photos/1920/1080?random=5');
}

.parallax-6 {
  background-image: url('https://picsum.photos/1920/1080?random=6');
}

.parallax-7 {
  height: 25vh;
  background-image: url('https://picsum.photos/1920/1080?random=7');
}

/* Non-parallax content section */
.content {
  background: #f8f9fa;
  color: #111;
  padding: 4rem 2rem;
}

.content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.content p {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}





/* zigzag content section */

.zigzag-section {
  width: 60%;
  margin: auto;
  padding: 5rem 0;
}

/* Mobile override */
@media (max-width: 1000px) {
  .zigzag-section {
    width: 95%;
    padding: 2rem 0;
    /* optional: reduce padding on small screens */
  }
}

.zigzag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 4rem 0;
}

.zigzag.reverse {
  flex-direction: row-reverse;
}

.zigzag-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  min-width: 200px;
  /* border: 3px solid #111; */
  background: black;
}

.zigzag-content {
  max-width: 600px;
}

.zigzag-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: white;
}

.zigzag-content p {
  font-size: 1.25rem;
  /* line-height: 1.6; */
  margin-bottom: 1.5rem;
  color: white;

  font-size: 1.4rem;
  font-family: 'Courier New', Courier, monospace;
  text-align: justify !important;
  text-wrap: pretty;
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: anywhere;
  word-break: normal;
}

.zigzag-btn {
  padding: 0.75rem 1.75rem;
  border: 3px solid rgb(255, 255, 255);
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  background: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
}

.zigzag-btn:hover {
  background: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
}

.zigzag-section hr {
  border: none;
  height: 1px;
  background: #333;
  margin: 4rem 0;
}

/* Responsive */
@media (max-width: 1000px) {

  .zigzag,
  .zigzag.reverse {
    flex-direction: column;
    text-align: center;
  }

  .zigzag-image img {
    width: 80%;
  }
}

.zigzag-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s ease;
  /* background: rgba(255, 255, 255, 0.09); */
  /* padding: 0 1rem; */
  border-left: 3px solid #fff;
  /* margin-bottom: 3rem; */
}

/* When active */
.zigzag-details.open {
  max-height: none;
  height: auto;
  /* adjust as needed */
  opacity: 1;
  padding: 1.5rem 1rem;
}

/* zigzag content end section */


/* timeline content section */
.design-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: auto;
  /* background-color: #1f1f1f; */
  /* min-height: 100vh; */
  padding-top: 50px;
  padding-bottom: 100px;
  /* font-family: Jost; */
}

.design {
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline {
  /* width: 80%; */
  height: auto;
  /* max-width: 800px; */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.timeline-content {
  padding: 20px;
  background: #1f1f1f;
  -webkit-box-shadow: 5px 5px 10px #1a1a1a, -5px -5px 10px #242424;
  box-shadow: 5px 5px 10px #1a1a1a, -5px -5px 10px #242424;
  border-radius: 5px;
  color: white;
  padding: 1.75rem;
  transition: 0.4s ease;
  overflow-wrap: break-word !important;
  margin: 1rem;
  margin-bottom: 20px;
  border-radius: 6px;
}

.timeline-content p {
  font-size: 1.25rem;
  /* line-height: 1.6; */
  margin-bottom: 1.5rem;
  color: white;

  font-size: 1.4rem;
  font-family: 'Courier New', Courier, monospace;
  text-align: justify !important;
  text-wrap: pretty;
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: anywhere;
  word-break: normal;
}

.timeline-component {
  margin: 0px 20px 20px 20px;
}

@media screen and (min-width: 600px) {
  .timeline {
    display: grid;
    grid-template-columns: 1fr 3px 1fr;
  }

  .timeline-middle {
    position: relative;
    background-image: linear-gradient(45deg, #F27121, #E94057, #8A2387);
    width: 3px;
    height: 100%;
  }

  .main-middle {
    opacity: 0;
  }

  .timeline-circle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-image: linear-gradient(45deg, #F27121, #E94057, #8A2387);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
}


/* MOBILE: collapse zig-zag into a clean vertical timeline */
@media screen and (max-width: 599px) {

  .timeline {
    display: grid;
    grid-template-columns: 20px 1fr; /* timeline on left, content on right */
  }

  /* Make every timeline-middle stretch the full height of the content item */
  .timeline-middle {
    grid-column: 1;
    position: relative;
    height: 100%;
  }

  /* Vertical line */
  .timeline-middle::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 3px;
    height: 100%;
    transform: translateX(-50%);
    background-image: linear-gradient(45deg, #F27121, #E94057, #8A2387);
  }

  /* The circle stays on top of the line */
  .timeline-circle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 14px;
    height: 14px;
    background-image: linear-gradient(45deg, #F27121, #E94057, #8A2387);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
  }

  /* Content always on the right */
  .timeline-content,
  .timeline-component {
    grid-column: 2;
    text-align: left !important;
    margin-left: 0;
  }

  /* Completely remove empty columns */
  .timeline-empty {
    display: none !important;
  }
}


/* timeline content end section */

.logo {
  width: 10%;
  background-color: white;
  border-radius: 100%;
  margin-bottom: 2rem;
  margin-right: 2rem;
  min-width: 260px;
  border: 2px solid black;
}


@media screen and (max-width: 600px) {
  .logo {
    margin-bottom: 0rem;
    margin-right: 0rem;
    min-width: 200px;

  }
}