@font-face {
  font-family: 'timeroman';
  src: url('TimesRoman/TimesRoman.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'rock';
  src: url('chrusty_rock/Chrusty Rock d.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

   
/* Make sure HTML and body fill the screen */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  


  
}

/* Star animation full screen and behind */
#stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
   pointer-events: none;       /* Allows clicking/scrolling over it */
  background: black;          /* Optional fallback color */
  
}

/* Portfolio content on top */
#main-content {
  position: relative;
   padding-top: 20px;/* Adjust the padding as needed */
  z-index: 1;

  

}






   

body {
  
  background: rgb(0, 0, 0);
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  min-height: 100vh;
  margin: 0;
   padding: 20px;  /* Adjust the padding for general layout */
  /* Prevents scrolling */

}

canvas {
  position: fixed; /* Ensures the canvas stays behind everything */
  top: 0;
  left: 0;
  width: 100vw; /* Full screen width */
  height: 100vh; /* Full screen height */
  z-index: -1; /* Keeps the canvas behind the content */
  pointer-events: none;
}



   





    .container {
      display: flex;
      align-items: center;
      gap: 40px;
      flex-wrap: wrap;
      justify-content: center;
     
    }

    /* Left Side */
    .text-section {
      max-width: 600px;
     
      
    }

    .glow-name {
      font-family: 'Orbitron', sans-serif;
      font-size: 3rem;
      font-weight: 700;
      color: white;
      text-shadow: 0 0 10px rgba(0,255,255,0.7),
                   0 0 20px rgba(0,255,255,0.9),
                   0 0 40px rgba(0,255,255,1);
      margin-bottom: 40px;
      
    }

    .role-wrap {
      display: flex;
      align-items: center;
      gap: 15px;
      margin-bottom: 30px;
    }

    .static-text {
      font-size: 1.8rem;
      font-weight: 500;
    }

    .cube-container {
      perspective: 1200px;
      width: 250px;
      height: 80px;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
    }

    .cube {
      position: relative;
      width: 100%;
      height: 100%;
      transform-style: preserve-3d;
      transition: transform 1s ease-in-out;
      border: 3px solid #00f7ff;
      box-shadow: 0 0 15px #00f7ff, 0 0 30px #00f7ff;
      animation: glow 1.5s infinite alternate;
    }

    .face {
      position: absolute;
      width: 100%;
      height: 100%;
      background: #1e1e1e;
      color: #00f7ff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      font-weight: bold;
      border-radius: 8px;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    }

    .front  { transform: rotateX(0deg) translateZ(50px); }
    .back   { transform: rotateX(180deg) translateZ(50px); }
    .top    { transform: rotateX(90deg) translateZ(50px); }
    .bottom { transform: rotateX(-90deg) translateZ(50px); }

    @keyframes glow {
      0% { box-shadow: 0 0 15px rgba(0, 255, 255, 0.6); }
      100% { box-shadow: 0 0 30px rgba(0, 255, 255, 1); }
    }

    /* Right Side - Image */
    .home-img .img-box {
      position: relative;
      width: 20vw;
      aspect-ratio: 1;
      clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0% 50%);
      padding: .5rem;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
      border: 2px solid #00f7ff;
      box-shadow: 0 0 15px #00f7ff, 0 0 30px #00f7ff;
    }

    .home-img .img-box .img-item {
      position: relative;
      width: 100%;
      height: 100%;
      background: var(--bg-color, #121212);
      clip-path: inherit;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1;
      overflow: hidden;
      animation: float 3s ease-in-out infinite;
    }

    .home-img .img-box::before,
    .home-img .img-box::after {
      content: '';
      position: absolute;
      width: 50rem;
      height: 50rem;
      background: conic-gradient(transparent, transparent, transparent, #00f7ff);
      transform: rotate(0deg);
      animation: rotate-border 10s linear infinite;
      clip-path: inherit;
      z-index: 0;
    }

    .home-img .img-box::after {
      animation-delay: -5s;
    }

    @keyframes rotate-border {
      100% { transform: rotate(360deg); }
    }

    @keyframes float {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-20px); }
    }

    .home-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      clip-path: inherit;
    }

    /* About Section inside text-section */
    .about {
      margin-top: 40px;
    }

    .about h1 {
      font-size: 2rem;
      margin-bottom: 0.5em;
    }

    .about p {
      color: #ccc;
      font-size: 1rem;
      margin-bottom: 1.5em;
      line-height: 1.6;
      font-family: 'timeroman';
    }

    .download {
      padding: 12px 24px;
      border-radius: 25px;
      background: #00f7ff;
      color: #000;
      font-weight: bold;
      border: none;
      cursor: pointer;
      transition: 0.3s;
      display: inline-block;
      margin-bottom: 20px;




    }

    .download:hover {
      background: transparent;
      color: #00f7ff;
      border: 2px solid #00f7ff;
    }

    /* Social Media Icons */
    .social-icons {
      display: flex;
      justify-content: flex-start; /* Align icons to the left */
      gap: 15px;
      flex-wrap: wrap;
      margin-top: 20px;
    }

    .icon-btn {
      width: 42px;
      height: 42px;
      border: 2px solid #00f7ff;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      color: white;
      text-decoration: none;
      transition: 0.3s;
      font-size: 1rem;
    }

    .icon-btn:hover {
      background: #00f7ff;
      color: #000;
    }

    /* Responsive */
    @media (max-width: 1200px) {
      .home-img .img-box {
        width: 25vw;
      }
    }

    @media (max-width: 768px) {
      .home-img .img-box {
        width: 40vw;
      }

      .glow-name {
        font-size: 2.2rem;
        margin-bottom: 30px;
      }

      .static-text {
        font-size: 1.5rem;
      }

      .cube-container {
        width: 200px;
        height: 70px;
      }

      .face {
        font-size: 1.2rem;
      }
    }

    @media (max-width: 480px) {
      .home-img .img-box {
        width: 60vw;
      }

      .glow-name {
        font-size: 1.8rem;
        margin-bottom: 25px;
      }

      .static-text {
        font-size: 1.2rem;
      }

      .cube-container {
        width: 150px;
        height: 60px;
      }

      .face {
        font-size: 1rem;
      }

      .about h1 { font-size: 1.5rem; }
      .about p { font-size: 0.95rem; }
    }


    
    @media (max-width: 768px) {
  #main-content {
    padding: 10px;  /* Reduced padding for mobile */
  }

  body {
    padding: 10px;  /* Reduced padding for mobile */
  }
}
