@import url('https:/fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    background-color: #0c1022;
    overflow-x: hidden;
    color: #fff;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.introduction {
    margin-top: 100px;
    margin-left: 200px;
}

#Name {
    color: aqua;
    font-family:Georgia, 'Times New Roman', Times, serif
}

#intro {
    color: #989898;
}

#cursor-glow {
    position: fixed;
    width: 0px;
    height: 10px;
    border-radius: 100%;
    pointer-events: none;
    box-shadow: 0 0 500px 40px aqua;
    transform: translate(-50%, -50%);
    z-index: 9999;
    display: none;
    background: transparent;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.navbar a{
    font-size: 20px;
    position: relative;
    top: 300px;
    right: 0px;
    display: block;
    margin: 20px 50px;
    color: aqua;
    position: relative; 
    overflow: hidden; 
    text-decoration: none; 
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0; 
    width: 100%; 
    height: 3px;
    background: aqua; 
    transform: scaleX(0);
    transform-origin: bottom right; 
    transition: transform 0.5s ease-out; 
}

.navbar a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.sidebar {
    max-height: 100vh; /* Ensures the sidebar's height does not exceed the viewport height */
    overflow-y: auto; /* Enables vertical scrolling within the sidebar if content exceeds its height */
    position: fixed; /* Keeps the sidebar at a specific position while scrolling */
    top: 50px; /* Distance from the top when it starts sticking */
    right: 150px; /* Aligns the sidebar to the right side of the viewport; adjust as needed */
    width: 40%; /* Adjust this value to make the sidebar wider or narrower as per your design */
    background-color: #0c1022; /* Sidebar background color */
    padding: 20px;
    z-index: 50; /* Ensures the sidebar is above other content */
    box-sizing: border-box; /* Ensures padding is included in the width calculation */
}

 
.highlighted-sidebar {
    font-weight: bold;
}

#about {
    color: #989898;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

#experience {
    color: #989898;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

#satsExp {
    
}

#unomalyExp {

}

p {
    margin-bottom: 20px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

#projects {
    color: #989898;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

#github-link {
    color: aqua;
    font-size: 20px;
}

#github-link a {
    background: aqua;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-size: 25px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.sidebar-figure {
    display: flex;
    align-items: center; /* Aligns items vertically in the center */
    text-align: left;
}

.sidebar-image {
    margin-left: 20px; /* Adjust spacing between image and text */
    width: 50px; /* Adjust width as necessary */
    height: auto; /* Maintain aspect ratio */
}

.social-icons {
    text-align: center;
    margin: 350px 150px;
    display: flex;
  }
  
  .social-icon {
    margin: 0 10px;
    text-decoration: none;
    color: #ffffff; /* Icon color */
    border: 2px solid aqua; /* Border around the icon */
    border-radius: 50%;
    display: inline-block;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    display: flex;
    position: relative;
    overflow: hidden;
    background-color: #0c1022; /* Adjust based on your preference */
    box-shadow: 0 0 15px 5px aqua;
  }
  
  .social-icon i {
    font-size: 20px; /* Icon size */
  }
  
  .social-icon::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    background-color: aqua;
    left: -10%;
    top: -10%;
    z-index: -1;
    transition: all 0.5s;
    border-radius: 50%;
    opacity: 0.6;
  }
  
  .social-icon:hover::after {
    width: 140%;
    height: 140%;
    left: -20%;
    top: -20%;
    opacity: 0;
  }
  
  .social-icon:focus::after,
  .social-icon:active::after {
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s;
}

#starfield-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1; /* Ensure it's behind other content */
    overflow: hidden;
}

#starfield {
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: aqua;
    border-radius: 50%;
    animation: shoot 2s linear infinite;
}

@keyframes shoot {
    0% {
        transform: translateX(0) translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(-300px) translateY(300px) scale(0);
        opacity: 0;
    }
}


.program {
    margin: 20px;
    padding: 20px;
    border: 1px solid #0c1022;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.program-image {
    width: 50%; /* Adjust this value as needed */
    max-width: 600px; /* Ensures the image is not too large */
    height: auto; /* Keeps the image aspect ratio */
    margin-bottom: 20px; /* Space between image and the text */
}

.glow-wrapper {
    display: inline-block;
    padding: 20px; /* Add padding to prevent clipping of the glow effect */
    margin-top: 10px;
    overflow: visible; /* Ensure the glow effect is not clipped */
}

.animated-path {
    animation: animateStroke 2s linear infinite;
    filter: drop-shadow(0 0 5px aqua) drop-shadow(0 0 10px aqua);
}

@keyframes animateStroke {
    from {
        stroke-dashoffset: var(--path-length);
    }
    to {
        stroke-dashoffset: 0;
    }
}

.program p {
    width: 550px;
    margin: auto;
}

#rocket-container {
    position: fixed;
    top: 50%;
    right: 3%;
    animation: flyInInfinity 5s linear infinite;
}

#rocket {
    width: 80px;
    height: auto;
}

#blast {
    position: absolute;
    bottom: -80px; /* Adjust based on the size of your rocket image */
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 100px;
    background-color: aqua;
    filter: blur(8px);
    border-radius: 50%;
}

#astro1-container {
    display: inline-block;
    /* Ensuring the container fits the image */
    width: fit-content;
    height: fit-content;
}

#astro1 {
    position: fixed;
    top: 30%;
    right: 55%;
    width: 20%;
    height: auto;
    animation: floatAnimation 3s ease-in-out infinite; ;
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(0, 20px); /* Adjust the Y-axis movement to control the float height */
    }
}

@keyframes flyInInfinity {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-250px);
    }
}

@keyframes shoot {
    0% {
        transform: translateX(0) translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(-300px) translateY(300px) scale(0);
        opacity: 0;
    }
}

@keyframes circulatingGlow {
    0% {
        box-shadow: 0 0 20px 10px aqua;
    }
    25% {
        box-shadow: 0 20px 20px 10px aqua;
    }
    50% {
        box-shadow: 20px 0 20px 10px aqua;
    }
    75% {
        box-shadow: 0 -20px 20px 10px aqua;
    }
    100% {
        box-shadow: -20px 0 20px 10px aqua;
    }
}
