svg {
    position: fixed;
    top: 9%;
    right: 5%;
    margin-top: -50px;
    margin-left: -50px;

    animation: rotate 1s linear infinite;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);

    animation-iteration-count: 1;
    animation-fill-mode: both;
  }

  @keyframes rotate {
    to {
      transform: rotate(360deg);
    }
  }

  body {
    min-height: 500vh;
    text-decoration: none;

  }
  html {
    scroll-behavior: smooth;
    text-decoration: none !important;
    overflow-x: hidden; /* Hide horizontal scrollbar */
    animation: fadeIn 2s ease-in;

  }
  a {
    transition: all .4s ease;
  }

  a:link{
    text-decoration: none!important;
    color: #ffffff;
  }
  a:hover{
    -moz-transition: all .43s ease;
    -o-transition: all .43s ease;
    -webkit-transition: all .43s ease;
    transition: all .43s ease;
    color: #5b5b5b;
    transform: scale(1.6);
  }
  
  

  

  @keyframes gradient {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  html,body {
    width: 100%;
    height: 100%;
    overflow: hidden;

  }

  .colorChange{
    transition: background-color 0.3s ease-in-out;

  }
  #block{
    background-color:black;
    width:100px;
    height:100px;
    margin-top:1300px;
    display:inline-block;
  }
  body {
    animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
  }

  @keyframes fadeInAnimation {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  #content.slide-right {
    transform: translateX(-100%);
  }


  .scroll-box-container {
    position: fixed;
    top: 0px;
    right: 0px;
    bottom: 0px;
    width: 50%; /* Adjust width as needed */
    overflow-y: auto;
    border-radius: 0px; /* Border radius */
    /**background: white;*/

  }

  .scroll-box {
    background-attachment: fixed;
    height: 100%;
    margin: 50px; /* 50px margin on all sides */
    filter: blur(0px);
    /*background: inherit;*/

  }



  .side-box-container {
    position: fixed;
    top: 0;
    right: -400px; /* Initially outside the viewport */
    width: 300px;
    height: 100%;
    background-color: #fff;
    transition: right 0.3s ease; /* Smooth sliding transition */
  }

  .side-box {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 20px;
  }

  #content.slide-right {
    transform: translateX(-100%);
  }




  @keyframes fadeIn {
    from {
      opacity:0;
    }

    to {
      opacity:1;
    }
  }

  .boxbox {
    border-radius: 5px;
    background: white;
    height: auto;
    width: auto;
    padding: 50px;
    margin-bottom: 20px;
  }
  .boxTitle {
    font-size: 500%;
  }

  .project-tag{
    background: white;
    color: rgb(4, 4, 4);
    font-weight: bold;
    padding:0.7rem 1rem;
    margin-right: 7px ;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgb(3, 3, 3);
  }

  .contact-item {
    font-size: 36px;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    color: black;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  
  .contact-item .icon {
    display: inline;
    opacity: 1;
  }
  
  /* Hide email text until hover */
  .contact-item .contact-text {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  /* Show email text on hover */
  .contact-item:hover .contact-text {
    display: inline;
    opacity: 1;
  }
  
  /* OPTIONAL: hide only the envelope icon on hover (for email only) */
  .contact-item.email:hover .fa-envelope {
    display: none;
  }
  
  .contact-item a {
    color: black !important;
    text-decoration: none !important;
    transition: none;
    transform: none;
  }
  
  .contact-item a:hover {
    color: #0077b5 !important; /* LinkedIn blue */
    transform: none;
  }

  @keyframes fadeInBlur {
    0% {
      
      filter: blur(20px);
    }
    100% {
      
      filter: blur(0px);
    }
  }