/* Set Color Variables */
:root {

  /* Font Style */
  --primary-font: 'Montserrat', sans-serif;
  --heading-font: 'Space Grotesk', sans-serif;
  --button-font: 'Montserrat', sans-serif;

  /* Font Size */
  --home-font-size: 6.2rem;
  --primary-font-size: 3.8rem;
  --secondary-font-size: 1.7rem;
  --third-font-size: 1.1rem;
  --button-font-size:1.4rem;

  /* Font Size - Shrink*/
  --home-font-size-shrink: 5rem;
  --primary-font-size-shrink: 2.9rem;
  --secondary-font-size-shrink: 1.3rem;
  --third-font-size-shrink: 1rem;
  --button-font-size-shrink:1rem;

  /* Colors */
  --primary-color: #282859;
  --primary-color: rgba(61, 61, 231, 0.7);
  --primary-color: rgba(192, 192, 195, 0.7);
  --secondary-color: #F4F3EE;
  --text-color: #ffffff;
  --background-color: #0d0d0d;
  --section-bg: linear-gradient(135deg, #000000 0%, #0d0d0d 50%, #1a1a1a 100%);
  --box-color: rgb(21, 21, 145, .4);
  --box-color: rgba(62, 62, 71, 0.4);
  /* --name-color: rgb(255, 255, 2555, .7); */
  /* --resume-color:rgb(21, 233, 106); */
  --resume-color: var(--primary-color);

  /* Buttons */
  --button-color: #ffffff;
  --button-text-color: rgb(0, 0, 0);
  --button-color-hover: var(--primary-color);
  --button-text-color-hover: rgb(255, 255, 255);

  /* Font Weights */
  --main-weight: 800;
  --second-weight: 500;
  --third-weight: 300;

  /* Other */
  --max-width: 650px;
  --border-radius: .2rem;
}


/* Section Background */
/* .section-background{
  opacity: 0;
  filter: blur(5px);
  transform: translateX(-100%);
  transition: all 1s;
}
.show {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
} */


/* HOME Background */
#Home.section-background {
  position: relative;
  background: transparent;
  width: auto;
  z-index: 1;
  height: 100vh;
} 

/* Home Section Name
.profile-text .name span {
  background-image: 
    linear-gradient(to right, var(--primary-color), var(--text-color)); 
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;  
  background-position: 0; 
} */

/* Body */
html {
  background-color: #000000;
}

body {
  background: linear-gradient(135deg, #000000 0%, #0d0d0d 50%, #1a1a1a 100%);
  background-attachment: fixed;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: var(--primary-font);
  color: var(--text-color);
  max-width: 100%;
  max-height: 100%;
}

h1, h2, h3 {
  font-family: var(--heading-font);
}

/* Gradient Overlay */
.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1; 
}

/* width */
::-webkit-scrollbar {
  width: .3rem;
  height: 0rem;
  overflow:wrap;
}
/* Track */
::-webkit-scrollbar-track {
  border-radius: 20rem;
  background-color: transparent;
}
/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 2rem;
}

/* NAV BAR */
.navbar {
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--button-font);
  font-family: var(--primary-font);
  color: var(--text-color);
  width: 100%;
  z-index: 999;
  height: 60px;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 20;
  /* font-size: 1.5rem; */
  transition: transform 0.3s ease-out;
  }
  .navbar .nav-name::first-letter{
    color: var(--primary-color);
  }
 .navbar-links ul {
    margin: 0;
    padding: 0;
    display: flex;
  }
  .navbar-links li {
    list-style: none;
  }
  .navbar-links li a, .name {
    color: var(--text-color);
    text-decoration: none;
    font-size: 25px;
    padding: 1rem;
    display: block;
    transition: .3s;
    position: relative;
  }
  .navbar-links li a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--text-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }
  .navbar-links li a:hover::after {
    transform: scaleX(1);
  }
  .nav-name{
    padding: 5rem;
    font-size: 35px;
  }
  .navbar-links a:hover,
  .navbar-links a.active {
    text-decoration: none;
    display: block;
    color: var(--primary-color);
    cursor: pointer;
  }
 

/* Toggle Button */
.toggle-button {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  margin-right: 1.2rem;
  cursor: pointer;
  flex-shrink: 0;
}
.toggle-button .bar {
  height: 2px;
  width: 100%;
  background-color: var(--text-color);
  border-radius: 2rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
/* Animate to X */
.toggle-button.open .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.toggle-button.open .bar:nth-child(2) {
  opacity: 0;
}
.toggle-button.open .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* SECTION */
  section {
    padding: 90px 0;
  }
  section h1 {
    text-align: center;
    font-size: var(--primary-font-size);
    margin-bottom: 1%;
    margin-top: 0;
    font-weight: var(--main-weight);
  }
  section h2{
    text-align: center;
    margin-top: 0%;
    margin-bottom: 3%;
    font-size: var(--secondary-font-size);
    font-weight: var(--third-weight);
  }

/* Media Container for NAV bar and Body Text */
@media(max-width:850px){
  /* Nav Bar Styling */
  .toggle-button {
    display: flex;
  }
  .navbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    z-index: 99999;
    background: transparent;
    transition: background 0.3s ease;
  }
  .navbar.nav-open {
    background: rgba(0, 0, 0, 0.92);
  }
  .navbar .nav-name {
    font-size: 1.3rem;
    margin-left: 1.2rem;
    padding: 0;
  }
  .navbar-links {
    display: block;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.92);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    z-index: 99998;
  }
  .navbar-links.active {
    max-height: 300px;
    padding-bottom: 1rem;
  }
  .navbar-links ul {
    width: 100%;
    flex-direction: column;
    padding: 0.5rem 0;
  }
  .navbar-links li {
    text-align: center;
  }
  .navbar-links li a {
    font-size: 1.1rem;
    padding: 0.85rem 1rem;
    letter-spacing: 0.1em;
  }
  .navbar-links li a::after {
    display: none;
  }
  /* Body Styling */
  section h1 {
    margin-top: 2%;
    margin-bottom: 3%;
    font-size: var(--primary-font-size-shrink);
  }
  section h2 {
    margin-bottom: 4%;
    font-size: var(--secondary-font-size-shrink);
  }
}