:root{
  --width-profile: 55%;
  --width-profile-shrink: 85%;
}

.show {
  opacity: 1 !important;
  filter: blur(0) !important;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.profile-text {
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}
.bot-line {
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.6s;
  opacity: 0;
}
.socials {
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 1s;
  opacity: 0;
}

/* Profile */
.profile {
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  width: var(--width-profile);
  height: 100%;
  margin: 0 auto;
}
.profile-text{
  width: 100%;
  margin-bottom: 0.5rem;
}
    .intro{
      font-size: var(--secondary-font-size);
      font-weight: var(--third-weight);
    }
    .profile .hi, .profile .name{
      font-weight: var(--main-weight);
      letter-spacing: .3rem;
      font-family: 'Space Grotesk', sans-serif;
    }
    .profile-text .hi {
      font-size: 6.5rem;
      text-align: left;
      margin: 0;
      line-height: 1.1;
    }
    .profile-text span{
      color: var(--primary-color);
    }
    .bot-line{
      text-align: left;
      width: 100%;
      margin-top: 1rem;
      margin-bottom: 2.5rem;
    }
    .bot-line .bot {
      font-size: 2.2rem;
      letter-spacing: .15em;
      font-weight: var(--third-weight);
      font-family: 'Space Grotesk', sans-serif;
      text-align: left;
      margin: 0;
      background: linear-gradient(90deg, #cbd5e1, #2a5280, #2a2a2a);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    /* Bottom Row */
    .bottom-row{
      width: 100%;
      display: flex;
      align-items: center;
      gap: 3rem;
    }
    .home-buttons{
      display: flex;
      gap: 30px;
    }
    .button-link,
    .button-hire{
      padding: 15px;
      background-color: var(--button-color);
      color: var(--button-text-color);
      font-size: var(--button-font-size);
      cursor: pointer;
      width: 12rem;
      border-radius: .5rem;
      text-decoration: none;
      text-align: center;
      font-family: var(--button-font);
      transition: transform 0.3s ease;
      cursor: pointer;
      z-index: 1;
    }
  .button-link:hover,
  .button-hire:hover{
    transform: scale(1.05);
    color: var(--button-text-color-hover);
    background-color: var(--button-color-hover);
  }
  .socials{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    font-size: calc(var(--secondary-font-size) *.75);
    margin-right: 10%;
  }
  .socials li{
    list-style-type: none;
  }
  .socials li a i{
    text-decoration: none;
    color: var(--text-color);
    background-color: transparent;
    transition: .3s;
  }

  .socials li a i:hover{
    color: var(--primary-color);
    background-color: transparent;
  }
  .line {
    font-weight: 700;
    color: var(--primary-color);
  }

/* Particle Canvas */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Typewriter cursor */
.cursor {
  display: inline-block;
  font-weight: 300;
  color: rgb(147, 197, 253);
  animation: blink 0.8s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Scroll Indicator */
.scroll-indicator {
  cursor: pointer;
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 1;
}
.scroll-indicator span {
  display: block;
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(255,255,255,0.6);
  border-bottom: 2px solid rgba(255,255,255,0.6);
  transform: rotate(45deg);
  animation: scroll-bounce 1.4s ease infinite;
}
.scroll-indicator span:nth-child(2) { animation-delay: 0.2s; }
.scroll-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes scroll-bounce {
  0% { opacity: 0; transform: rotate(45deg) translate(-4px, -4px); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: rotate(45deg) translate(4px, 4px); }
}

/* Change Navbar Background on Click */
.navbar.black-background {
  background-color: var(--background-color);
}

/* Media Container For Profile  */
@media(max-width:1880px){
  .profile-text .hi{
    font-size: var(--home-font-size);
  }
}
@media(max-width:850px){
    .profile-text .hi{
      font-size: 4.5rem;
    }
    .bot-line .bot{
      font-size: 1.8rem;
    }
    .profile{
      justify-content: center;
      align-items: flex-start;
      width: var(--width-profile-shrink);
    }
    .socials{
      gap: 1.5rem;
    }
    .socials i {
      font-size: 1.5rem;
    }
}
@media(max-width:650px){
  .profile-text .name, 
  .profile-text .hi{
    text-align: left;
  }
  .bot-line .bot{
    font-size: 2rem;
    text-align: left;
  }
  .home-buttons a {
    width: 10rem;
  }
  .home-buttons{
    gap: 10px;
  }
  .socials{
    margin-right: 0%;
    gap: 10px;
  }
}

@media(max-width:475px){
  .profile{
    width: 92%;
    gap: 2px;
    margin: 0 auto;
  }
  .profile-text .name,
  .profile-text .hi{
    font-size: 3.5rem;
  }
  .bot-line .bot{
    font-size: 1.6rem;
  }
  .socials{
    display: flex;
    justify-content: left;
    gap: 25px;
  }
  .socials i{
    font-size: 2.5rem;
  }
  .home-buttons a{
    padding: 15px;
    width: 150px;
  }
 
}