*{
    margin: 0;
    padding: 0;
    box-sizing:border-box;
  
}

body
{
    overflow: hidden;
}

section{
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: black;
   overflow: hidden;
}

span{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1), 0 0 0 8px rgba(255, 255, 255, 0.1), 0 0 20px rgba(255, 255, 255, 1); 
    animation: animate 3s linear infinite;
}
 span::before
 {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 1px;
    background: linear-gradient(90deg, #fff, transparent);
 }
 @keyframes animate
 {
    0%
    {
        transform: rotate(315deg) translateX(0);
    }
    70%
    {
       opacity: 1; 
    }
    100%
    {
        transform: rotate(315deg) translateX(-1000px);
        opacity: 0;
    }
 }
 span:nth-child(1)
 {
    top: 0;
    right: 0;
    left: initial;
    animation-delay: 0;
    animation-duration: 2.6s;
 }
 span:nth-child(2)
 {
    top: 0;
    right: 40px;
    left: initial;
    animation-delay: 0.2s;
    animation-duration: 3s;
 }
 span:nth-child(3)
 {
    top: 100px;
    right: 40px;
    left: initial;
    animation-delay: 0.8s;
    animation-duration: 4s;
 }
 span:nth-child(4)
 {
    top: -200px;
    right: 150px;
    left: initial;
    animation-delay: 0.4s;
    animation-duration: 3.2s;
 }
 span:nth-child(5)
 {
    top: -100px;
    right: 450px;
    left: initial;
    animation-delay: 0.4s;
    animation-duration: 3.2s;
 }
 span:nth-child(6)
 {
    top: -2500px;
    right: 350px;
    left: initial;
    animation-delay: 0.7s;
    animation-duration: 3.6s;
 }
 span:nth-child(7)
 {
    top: 500px;
    right: 150px;
    left: initial;
    animation-delay: 0.4s;
    animation-duration: 3.6s;
 }
 span:nth-child(8)
 {
    top: 0;
    right: 60px;
    left: initial;
    animation-delay: 0.3s;
    animation-duration: 3s;
 }
 span:nth-child(9)
 {
    top: 180px;
    right: 40px;
    left: initial;
    animation-delay: 0.8s;
    animation-duration: 4s;
 }
 span:nth-child(10)
 {
    top: -100px;
    right: 150px;
    left: initial;
    animation-delay: 0.8s;
    animation-duration: 3.2s;
 }
 span:nth-child(11)
 {
    top: -180px;
    right: 450px;
    left: initial;
    animation-delay: 1.1s;
    animation-duration: 3.2s;
 }
 span:nth-child(12)
 {
    top: -3600px;
    right: 350px;
    left: initial;
    animation-delay: 1s;
    animation-duration: 3.6s;
 }
 span:nth-child(13)
 {
    top: -2000px;
    right: 150px;
    left: initial;
    animation-delay: 0.7s;
    animation-duration: 3.6s;
 }

 .stopped-animation {
    animation: none; 
    opacity: 0;      
}

 div{
    color: white;
    font-style:normal;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 120vh;
 }
 h1{
    font-family: 'Courier New', Courier, monospaces;
    font-size: 60px;
    margin-bottom: 18px;
    animation: textanimate 2s ease-in-out ;
 }
 button{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-style: bold;
    font-family: 'Courier New', Courier, monospaces;
    padding: 6px;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 15px;
 }
 button:hover
 {
    padding: 9px;
    padding-left: 33px;
    padding-right: 33px;
    background-color: antiquewhite;
 }

 @keyframes customFadeOut {
    0% {
       opacity: 1;
       transform: translateY(0);
       transform: scale(1);
       padding: 6px;
       padding-left: 30px;
       padding-right: 30px;
    }
    30%
    {
        transform: translateY(-50px);
        transform: scale(0.8);
        padding: 4px;
        padding-left: 20px;
        padding-right: 20px;
    }
    60%
    {
        transform: scale(0.6);
        padding: 2px;
        padding-left: 10px;
        padding-right: 10px;
    }
    100% {
       opacity: 0;
       transform: translateY(-80px);
       transform: scale(0.5);
       padding: 0px;
        padding-left: 0px;
        padding-right: 0px;
    }
}

.animate
{
    animation: customFadeOut 1.5s ease-out;
}

.hidden {
    opacity: 0;
    pointer-events: none; /* Optional: Prevent interaction while hidden */
}

@keyframes fadeout
{
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes fadein
{
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.fade-in
{
    animation: fadein 1.5s ease-out;
}
.fade-out
{
    animation: fadeout 1.5s ease-out;
}