/* body { */
    /* background-color: lightblue; */
  /* } */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }

  body {
    background-color: #fdfdfd;
    color: #1f242d;
    line-height: 1.6;
    scroll-behavior: smooth;
  }

.logo {
    font-size: 24px;
    font-weight: 700;
  }


/* a { */
/* color: #1f242d; */
/* text-decoration: none; */
  /* } */


  .nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
  }

  .nav-links li a {
    text-decoration: none;
    font-weight: 500;
    color: #1f242d;
    transition: 0.3s;
  }
  
  .nav-links li a:hover {
    color: #7cf03d;
  }

  .menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
  }


.navbar{
    position: fixed;
    left:0;
    top:0;
    width:100%;
    padding: 25px 10%;
    /* background: yellow; */
    display: flex;
    justify-content:space-between;
    align-items:center ;
    z-index:1000 ;
    visibility: hidden;
    opacity: 0;

    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    animation: show-content 1.5s linear forwards;
    animation-delay: 1.2s;
} 

@keyframes show-content {
    100% {
        visibility: visible;
        opacity: 1;
    }
}





/* .navbar .logo { */
    /* font-size: 30px; */
    /* font-weight: 700; */
/* } */

.navbar ul {
    display: flex;
}

.navbar ul li {
    list-style: none;
    margin-left:35 px ;
}

.navbar ul li a {
    font-size: 20px;
    font-weight:500;
    transition: 0.5s;
}

.navbar ul li:hover a ,
.navbar ul li.active a {

    color:red;
}



.home {
     display: flex ;
     align-items: center;
     gap: 50px;
     height: 100vh;
     padding: 60px 9% 0;
     color:#1f242d;
     visibility: hidden;
     opacity: 0;
     animation: show-content 1.5s linear forwards;
     animation-delay: 1.6s;
}


.home-info h1 {
     font-size: 55px;
}

.home-info h2 {
    display: inline-block;
     font-size: 32px;
     margin-top: -10px;
     /* background: yellow; */
}

.home-info h2 span {
    position: relative;
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: 0.7px  red;
    animation: display-text 16s linear infinite;
    animation-delay: calc(-4s * var(--i));
}


@keyframes display-text {
    25%,
    100% {
        display: none;
    }
}

.home-info h2 span::before {
    content: attr(data-text);
    position: absolute;
    width: 0%;
    border-right: 2px solid red;
    color: red;
    white-space: nowrap;
    overflow: hidden;
    animation: fill-text 4s linear infinite ;
}

@keyframes fill-text {
    10%,
    100%{
        width: 0;

    }
    70%,
    90% {
        width:100%
    }
    
}





.home-info p{
    font-size: 16px;
    margin:10px 0 25px;
}

.home-info .btn-sci {
    display: flex;
    align-items: center;
}

.btn {
    display: inline-block;
    padding: 10px 30px;
    background-color: #7cf03d;
    border: 2px solid #7cf03d;
    border-radius: 40px;
    box-shadow: 0 0 10px #7cf03d;
    font-size: 16px;
    color: #1f242d;
    font-weight: 600;
    transition: 0.5s;
}

.btn:hover {
     background: transparent;
     color: #7cf03d;
     box-shadow: none;
}

.home-info .btn-sci .sci {
    margin-left: 20px ;
}

.home-info .btn-sci .sci a{
     display: inline-flex;
     padding: 8px;
     border: 2px solid #7cf03d;
     border-radius: 50%;
     font-size: 20px;
     color: #7cf03d;
     margin: 0 8px;
     transition: 0.5s;
}

.home-info .btn-sci .sci a:hover {
    background: #7cf03d;
    color: #1f242d;
    box-shadow: 0 0 10px #7cf03d;

}

.home-img .img-box {
    position: relative;
    width: 32vw;
    height: 32vw;
    background: #1f242d;
    border-radius: 50%;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.home-img .img-box::before,
.home-img .img-box::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: conic-gradient(transparent, transparent, transparent,#7cf03d);
    transform: rotate(0deg);
    animation: rotate-border 10s linear infinite;
}


.home-img .img-box::after {
    animation-delay: -5s;
}


@keyframes rotate-border {
    100% {
        transform: rotate(360deg);
    }
}




.home-img .img-box .img-item {
    position: relative;
    width: 100%;
    height: 100%;
    background: #1f242d;
    border-radius: 65%;
    border: 0.1px solid #1f242d;
    display: flex;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
}

.home-img .img-box .img-item img {
      position: absolute;
      /* top: 5px; */
      display: block;
      width: 75%;
      object-fit: cover;
      mix-blend-mode: lighten;
}

.bars-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: -1;
}

.bars-animation .bar {
    width: 100%;
    height: 100%;
    background:lightblue;
    /* border: 2px solid ; */
    transform: translateY(-100%);
    animation: show-bars 0.5s ease-in-out forwards;
    animation-delay: calc(0.1s * var(--i));
}


@keyframes show-bars {
    100% {
        transform: translateY(0%);
    }
}

    /* SECTIONS */
.section {
    padding: 100px 10%;
    background: lightblue;
  }
  
  .section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #1f242d;
  }
  
  .stack-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .stack-grid span {
    background: #7cf03d;
    padding: 8px 15px;
    border-radius: 20px;
    color: #1f242d;
    font-weight: 600;
  }
  
  .project-list {
    display: grid;
    gap: 20px;
  }
  
  .project-item {
    background: #f4f4f4;
    padding: 20px;
    border-left: 4px solid #7cf03d;
  }
  
  footer {
    text-align: center;
    padding: 20px;
    background: #1f242d;
    color: white;
  }

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      right: 10%;
      top: 70px;
      background: #fff;
      padding: 10px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .menu-toggle {
      display: block;
    }
  
    .home {
      flex-direction: column;
      padding: 100px 5%;
      text-align: center;
    }
  
    .home-img .img-box {
      width: 60vw;
      height: 60vw;
    }
  }  
  