
body, html {
  margin: 0;
  padding: 0;
  background-color: rgb(47, 42, 54);
  font-family: 'Segoe UI', sans-serif;
  overflow-x: hidden;
  color: white;
  height: 1300px;
  padding-top:0;
  overflow-y: scroll;

}


.mainbody {
  display: inline-flex;
  width: 100%;
  overflow-x: hidden;

}


.button{
  transition: font-size 0.3s ease;
}

.button:hover{
  font-size: 25px;
}

.navbar {
  position: relative;
  height: 100px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px 0 40px;
  clip-path: inset(0 100% 0 0);
  animation: revealNavbar 2s forwards ease-in-out;
  animation-delay: 0.2s;
  z-index: 1;
}

.leftnav {

  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  
}

.rightnav {

  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  margin-left: auto;
  margin-right: 50px;
  margin-left: 10px;
}

.leftnav li a{
  font-size: 25px;
}

.mainbody {
  position: relative;
  display: inline-flex;
  width: 100%;
  overflow-x: hidden;
}


.leftbody{
  display: inline-flex;
  width: 100%;
  justify-content: center;
  margin-top: 2%;
  overflow-x: hidden;
}



.leftbodytxt{
  display: inline-block;
  justify-content: center;
  height: 50%;
  width: 50%;
  opacity: 0;
  animation: fadeIn 1.5s ease-in-out forwards;
  animation-delay: 3s;
  margin: 0 auto;
  padding: 40px;
  left: 0;
  z-index: 1;
  position: relative;
  
}

.rightbody{
  display: inline-flex;
  width: 100%;
  justify-content: center;
  padding-left: 40px;
}


*{
  box-sizing: border-box;
}


.navbar li a {
  color: white;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
}

.hello {
  position: relative;
  top: 20px; /* Adjust as needed */
  width: 100%;
  text-align: center;
  font-size: 40px;
  opacity: 0;
  animation: fadeIn 1.5s forwards;
  animation-delay: 2.2s;
  z-index: 1;
}

.laser {
  position: absolute;
  top: 75px;
  left: 0;
  width: 100vw;
  height: 4px;
  background-color: red;
  box-shadow: 0 0 10px red;
  z-index: 2;
  animation: laserMove 2s forwards ease-in-out;
  transform: translateX(0);
  pointer-events: none;
}

@keyframes laserMove {
  0% {
    transform: translateX(-100%);
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(0);
    opacity: 0;
    width: 100%;
  }
}

@keyframes revealNavbar {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.delayed-image {
  position: absolute;
  top: 95px;
  right: 210px;
  width: 300px;
  height: 370px;
  opacity: 0;
  animation: fadeIn 1.5s ease-in-out forwards;
  animation-delay: 3s;
  z-index: 1;
  background-color: rgb(47, 42, 54);
  border: 3px solid rgb(180, 88, 88);
  box-shadow: 10px 10px 0 rgb(180, 88, 88);
  border-radius: 0px; /* Optional: adds rounded corners */
  
}

.ball1 {
  
  aspect-ratio:1;
  width:calc( 75% * var(--size) );
  
  background: linear-gradient(259.53deg, rgb(230, 139, 139) 6.53%, rgb(230, 139, 139) 95.34%);
  filter:blur( 10vw );
  
  border-radius:50%;
  
  position:absolute;
  top:230px;
  left: 50px;
  
  opacity: 0;
  animation: fadeIn 1.5s ease-in-out forwards;
  animation-delay: 3s;
  z-index: 1;
}



.ball2 {
  
  aspect-ratio:1;
  width:calc( 75% * var(--size) );
  
  background: linear-gradient(259.53deg, rgb(120, 6, 6) 6.53%, rgb(120, 6, 6) 95.34%);
  filter:blur( 10vw );
  
  border-radius:50%;
  
  position:absolute;
  top:180px;
  right: 150px;
  
  opacity: 0;
  animation: fadeIn 1.5s ease-in-out forwards;
  animation-delay: 3s;
  z-index: 1;
}


.glow-container {
  position: relative; /* or absolute, if needed */
  overflow-x: hidden;
  overflow-y: hidden;
  width: 100%;
  height: 700px;
  justify-content: center;
}

@media (max-width: 1048px) {

  html{
    width: 100%;
    overflow-x: hidden;
  }

  .laser{
    position: absolute;
    top: 95px;
    left: 0;
    width: 100vw;
    height: 4px;
    background-color: red;
    box-shadow: 0 0 10px red;
    z-index: 2;
    animation: laserMove 2s forwards ease-in-out;
    transform: translateX(100vw);
    pointer-events: none;
  }
  
  .leftbody{
    height: 400px;
  }

  .mainbody{
    display: block;
    overflow: hidden;
  }



  .leftnav{
    margin-left: 0px;
    padding-left: 0px;    
    width: 100%;
    height: 50px;
    justify-content: center;

  }

  .leftnav li a{

    font-size: 25px;

  }

  .rightnav{
    gap: 14px;
    margin-right: 0px;
    margin-left: 0px;
    width: 100%;
    justify-content: center;
    padding-left: 10px;
  }

  .rightnav li a{
    font-size: 15px;
  }

  .navbar{
    gap: 5px;
    margin-top: 18px;
    width: 100%;
    display: block;

  }
  
  #2{
    width: 100%;
    justify-content: center;
  }

  #1{
    height: 500px;
    overflow:hidden;
  }

  .delayed-image{
    width: 80%;
    left: 10%;
    top: 0px;
  }

  .leftbody{
    width: 100%;
    height: 400px;
    overflow: hidden;
  }

  .leftbodytxt{
    width: 100%;
  }
  .leftbodytxt h2{
    margin-top: 10px;
    width: 100%;
    font-size: 15px;
    line-height: 2;
  }
  
  
    
  
  
    
}