/* General styles */
body {
    padding-top: 60px;
    font-family: 'Inria Sans', sans-serif;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    margin: 0;
    padding: 0;
    position: relative;
    /* cursor: url('/assets/cursorhomepage.png'), auto; */
    cursor: none;
    overflow-x: hidden;
}

/* .maharshi {
    width: auto;
    background: white;
    border-radius: 8px;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
    color: black;
    line-height: 52px;
   
    text-align: center;
} */

main {
    padding: 0 21.8%;
}

@media (max-width: 768px) {
  main {
    font-size: 16px; /* Smaller font size for mobile devices */
    padding: 16px 10%;
  }
}

section {
    margin-bottom: 64px;
}



/* Navigation styles */
nav {
    display: flex;
    justify-content: space-between;
    padding: 16px 21.8%;
    align-items: center;
}

@media (max-width: 768px) {
  nav {
    font-size: 16px; /* Smaller font size for mobile devices */
    padding: 16px 10%;
  }
}


.nav-left a {
    cursor: pointer;
    color: white;
    font-size: 16px;
    padding-right: 8px;
    text-decoration: none;
}



.nav-right .cta {
    color: black;
    margin-top: 16px;
    font-size: 16px;
    padding-left: 16px;
    padding-right: 16px;    
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 24px;
    background-color: white;
    text-decoration: none;
    cursor: pointer;
}

/* Introductory Section */
#intro h1 {
    font-size: 16px;
    margin-bottom: 16px;
    margin-top: 16px;
}



#intro p {
    font-size: 16px;
    line-height: 32px;
    font-weight: light;
}



/* Projects Section */
#projects h2 {
    font-size: 20px;
    margin-bottom: 32px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: black; /* Adjust to your design */
  z-index: 1000; /* Ensures the header stays above other content */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: adds a subtle shadow for better visibility */
}
    

.image {
    cursor: none;
    display: flex;
    justify-content: space-between;
    gap: 32px;
    background-color: #333;
    height: 242px;
    width: 242px;
    border-radius: 8px;
}

@media (max-width: 768px) {
  .image {
      width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  cursor: none;
}
}


.project-title h3 {
    width: 242px; /* Fixed width for larger screens */
    margin: 0;
    cursor: pointer;
    font-size: 16px;
}

/* For smaller screen sizes */
@media (max-width: 768px) {
    .project-title h3 {
        width: 100%; /* Full width for smaller screens */
    }
}

.project-title {
    height: auto;
    width: fit-content;
}

#wrap {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap if there's not enough space */
    gap: 32px; /* Space between the items */
}



/* Fun Section */
#fun h2 {
    font-size: 16px;
    margin-bottom: 32px;
}

.fun-tile {
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

.fun-tile div {
    background-color: #333;
    width: 520px;
    height: 520px;
    padding: 16px;
    border-radius: 8px;
}

.tile {
    display: flex;
    flex-direction: column;
    gap: 16px;
}



.fun-name {
    font-size: 16px;
    margin-top: 8px;
    text-align: left;
    width: 520px;
}

/* Connect Section */
#connect h2 {
    font-size: 20px;
    margin-bottom: 16px;
}

.social-links a {
    margin-right: 16px;
}

.social-links img {
    width: 32px;
    height: 32px;
}

#insta {
    cursor: pointer;
}

#linked {
    cursor: pointer;
}

.tile .image {
    display: block;
    overflow: hidden;
}


.confetti-container {
    pointer-events: none; /* Prevent interaction interference */
    position: absolute;
  }
  
  .confetti {
    width: 10px;
    height: 10px;
    position: absolute;
    border-radius: 50%; /* Circular confetti */
    transform-origin: center;
    will-change: transform, opacity; /* Optimize performance */
  }

  
  .finesse {
    background: linear-gradient(45deg, #ff7eb3, #ff758c, #42a5f5);;
    color: black;
    /* border-radius: 16px; */
    padding-left: 8px;
    padding-right: 8px;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    position: relative;
    text-align: center;
  }
  
 


  .motion {
    background-color: linear-gradient(90deg, #ff7eb3, #ff758c, #42a5f5);
    color: rgb(0, 0, 0);
    border-radius: 16px;
    display: inline-block;
    font-weight: bold;
  }

 


  .circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 69, 0, 1), rgba(255, 140, 0, 1), rgba(255, 255, 0, 0));
    pointer-events: none;
    will-change: transform;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.8), 0 0 20px rgba(255, 140, 0, 0.7), 0 0 30px rgba(255, 255, 0, 0.5);
    opacity: 0.8;
    transition: all 0.1s ease-out;
}



  /* Add a slight glow effect */
  .fire.glow {
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.7), 0 0 20px rgba(255, 69, 0, 0.5);
  }

  .smoke {
    position: absolute;
    width: 15px;
    height: 15px;
    background: radial-gradient(circle, rgba(200, 200, 200, 0.5), rgba(0, 0, 0, 0));
    border-radius: 50%;
    opacity: 1;
    pointer-events: none;
    transform: translate(-50%, -50%);
  }

 
