:root {
    scroll-behavior: smooth;
    @media (prefers-reduced-motion: reduce) {
        scroll-behavior: auto;
    }
}
.transform-elements {
    transform: translateZ(0);
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .animation-elements {
        animation: none;
        transition: none;
    }
}
@font-face {
    font-family: 'serveroff';
    src: url('serveroff.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'retro';
    src: url('retro.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'serveroff', system-ui, -apple-system, sans-serif;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a {
    text-decoration: none;
    color: var(--accent-color);
    background-image: 
        linear-gradient(90deg,transparent 10%, var(--accent-color) 50%, transparent 90%);
    background-size: 0% 1px;
    background-repeat: no-repeat;
    background-position: left 1.5em;
    padding-block: .2em;
    touch-action: manipulation;
}
a:hover {
    font-weight: bold;
    background-size: 100% 1px;
    scale: 1.1;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    height: 100%;
}

body {
    background-color: var(--bg-color);
    background-image: var(--bg-image);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
    margin: 0;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizelegibility;
}


#theme-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    z-index: 1000;
}

#theme-toggle:hover {
    transform: scale(1.1);
}

.theme-icon {
    width: 24px;
    height: 24px;
    stroke: var(--icon-color);
    position: absolute;
    opacity: 0;
    transform: rotate(-30deg) scale(0.8);
    transition: all 0.3s ease;
}

html[data-theme="light"] .sun-icon {
    opacity: 0.4;
    transform: rotate(0) scale(1);
}

html[data-theme="light"] .moon-icon {
    opacity: 0;
    transform: rotate(30deg) scale(0.8);
}

html[data-theme="dark"] .moon-icon {
    opacity: 0.4;
    transform: rotate(0) scale(1);
}

html[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(-30deg) scale(0.8);
}

.toast {
    position: fixed;
    top: 1rem;
    right: 2rem;
    transform: translateX(45px);
    color: var(--text-color);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
    white-space: nowrap;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
    z-index: 1000;
}

.nav-bar {
    position: fixed;
    top: -100px;
    left: 0;
    right: 0;
    padding: 0rem 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
    transition: all 0.3s ease-in-out;
}

.nav-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    transition: background-color 0.3s ease-in-out;
}

.nav-bar.visible {
    top: 0;
}

.nav-bar a {
    color: var(--text-color);
    opacity: 0.6;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-bar a svg {
    width: 24px;
    height: 24px;
    display: none;
}

.nav-bar a span {
    display: block;
}

.nav-bar a:hover {
    opacity: 1;
}

.nav-bar a.active {
    color: var(--accent-color);
    font-weight: bold;
    opacity: 1;
}
section {
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all 0.5s ease-in;
}

.container {
    margin: 0 auto;
    text-align: center;
    padding: 0 0rem;
}

#home {
    color: var(--text-color);
    text-align: center;
}
#home p {
    color: var(--text-color);
    font-size: 1.7rem;
    text-align: center;
}
#home p:hover {
    color: var(--text-color);
    font-size: 1.7rem;
    text-align: center;
    scale: 1.1;
}

#home h1 {
    color: #fff;
    font-size: clamp(4rem, 7vw, 7rem);
    line-height: 1.1;
    text-shadow: 1px 1px 1px #919191,
        1px 2px 1px #919191,
        1px 3px 1px #919191,
        1px 4px 1px #919191,
        1px 5px 1px #919191,
        1px 6px 1px #838383,
        1px 7px 1px #757575,
        1px 8px 1px #6b6b6b,
        1px 9px 1px #535353,
        1px 10px 1px #4b4b4b,
    1px 18px 6px rgba(16,16,16,0.4),
    1px 22px 10px rgba(16,16,16,0.2),
    1px 25px 35px rgba(16,16,16,0.2),
    1px 30px 60px rgba(16,16,16,0.4);
}
#home h1 a,
#home h1 a:hover,
#home h1 a:active,
#home h1 a:focus,
#home h1 a::before,
#home h1 a::after {
    background: none !important;
    background-image: none !important;
    background-size: 0 !important;
    scale: 1;
    text-decoration: none;
}
#home h1 a {
    background-image: 
        linear-gradient(90deg,transparent 0%, transparent 0%, transparent 0%) !important;
}

#about {
    color: var(--about-color);
	background: linear-gradient(var(--about-bg) 30%, var(--about-color) 50%, var(--about-color) 50%, var(--about-bg) 80%);
    height: 100vh;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
#about a {
    color: #ff1e02;
    font-weight: bold;
    text-decoration: none;
}
#about .container {
    position: relative;
    z-index: 1;
}

#about p {
    color: var(--about-color);
    font-size: 1.3rem;
    margin: 1rem 0;
}
#home h1 a,
#home h1 a:hover,
#home h1 a:active,
#home h1 a:focus {
    background-image: none !important;
    scale: 1;
}

#about img {
    margin-bottom: 2rem;
    max-width: 200px;
}

#about h2 {
    color: var(--about-color);
    margin-bottom: 1.5rem;
}
.nav-bar[data-current-section="about"] {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.nav-bar[data-current-section="about"] a {
    color: var(--about-color);
}

.nav-bar[data-current-section="about"] a.active {
    color: var(--about-color);
}

.effects-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.8;
}

.license-container {
    position: relative;
  width: 400px;
  cursor: pointer;
  z-index: 2;
}

.license {
    opacity: 0.95;
  background: var(--about-bg);
  border: 4px solid var(--about-color);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.license::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}
.header {
    font-family: 'retro', system-ui, -apple-system, sans-serif;
    text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--about-color);
  text-transform: uppercase;
}

.content {
  display: flex;
  gap: 20px;
}

.profile-pic {
  width: 128px;
  height: 171px;
  background: var(--about-bg);
  flex-shrink: 0;
  filter: hue-rotate(var(--about-hue));
}

.details {
  flex-grow: 1;
}

.detail-row {
  margin-bottom: 10px;
  border-bottom: 1px solid var(--about-color);
  padding-bottom: 5px;
}

.label {
    font-family: 'retro', system-ui, -apple-system, sans-serif;
  font-size: 12px;
  color: var(--about-color);
}

.value {
    font-family: 'retro', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: bold;
}

.value2 {
    font-family: 'retro', system-ui, -apple-system, sans-serif;
  font-size: 21px;
  font-weight: bold;
}

.back-text {
    font-family: 'retro', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  padding: 10px;
}

.hidden {
  display: none;
}
.noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    opacity: 0.5;
    pointer-events: none;
}
.noise:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	pointer-events: none;
    background: url('vhs.png');
    opacity: 0.1;
}
.noise-moving {
	opacity: 0.2;
	z-index: 1;
}
.noise-moving:before {
	will-change: background-position;
	animation: noise 1s infinite alternate;
}
.intro-wrap {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 2rem;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
.intro-wrap .noise:before {
	background-size: 200%;
}

@media (max-width: 760px) {
  .license-container {
    width: 300px;
  }
  
  .content {
    flex-direction: column;
    align-items: center;
  }

  .profile-pic {
    margin-bottom: 20px;
  }

  .back-text {
    font-size: 12px;
  }
}

/* Projects Section */
#projects {
    background: var(--bg-color);
    color: var(--projects-fg);
}
#projects p {
    font-size: 1.2rem;
}
#projects .container {
    padding: 0;
    margin: 0;
    width: 100%;
}
#projects h2 {
    color: #fff;
    padding: 0rem;
    margin: 0px;
    text-decoration: none;
    text-shadow: 1px 1px 1px #919191,
        1px 2px 1px #818181,
        1px 3px 1px #717171,
        1px 4px 1px #616161,
        1px 5px 1px #515151,
    1px 9px 3px rgba(16,16,16,0.4),
    1px 11px 5px rgba(16,16,16,0.2),
    1px 12px 19px rgba(16,16,16,0.2),
    1px 15px 30px rgba(16,16,16,0.4);
}
#projects ul {
    display: flex;
    min-height: 100vh;
    max-height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    list-style-type: none;
    background-image: linear-gradient(to right, #141414, #000000);
    width: 100%;
}
#projects li {
    flex: 1 1 auto;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    display: flex;
    align-items: stretch;
    padding: 0px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    border: none;
}
#projects li:hover {
    scale: 1.1;
    z-index: -1;
}
#projects li.active {
    flex: 8;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background-image: var(--projects-bg-image);
    cursor: default;
    border: none;
}
#projects li.active h2 {
    color: #fff;
}
#projects li.active .section-content {
    flex: 4;
    opacity: 1;
    width: 100%;
    color: var(--text-color);
    z-index: 0;
}
#projects li .section-title {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    margin: 0;
    padding: 0;
    text-align: center;
    transition: width 0.5s ease;
    overflow: hidden;
    z-index: -1;
}
#projects li.active .section-title {
    flex: 0;
    width: 0;
    min-width: 0;
    padding: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
}
#projects li .section-title h2 {
    color: #fff;
    margin: 0;
    transform: rotate(-90deg);
    white-space: nowrap;
    text-shadow: 1px 1px 1px #919191,
        1px 2px 1px #818181,
        1px 3px 1px #717171,
        1px 4px 1px #616161,
        1px 5px 1px #515151,
        1px 6px 1px #414141,
    1px 18px 6px rgba(16,16,16,0.4),
    1px 22px 10px rgba(16,16,16,0.2),
    1px 25px 35px rgba(16,16,16,0.2),
    1px 30px 60px rgba(16,16,16,0.4);
}
#projects li .section-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    opacity: 0;
    width: 0;
    transform: translateX(-20px);
    transition: opacity 0.3s ease-in-out,
                width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

#projects li.active .section-content {
    opacity: 1;
    width: 100%;
    transform: translateX(0);
    transition: opacity 0.4s ease-in-out 0.2s,
                width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#projects li .section-content img {
    width: 0px;
}
#projects li.active .section-content img {
    width: auto;
    min-width: 300px;
    max-width: 90%;
    padding: 1rem;

}

#projects li:nth-child(1) {
    position: relative;
    overflow: hidden;
    z-index: 0;
 }
 #projects li:nth-child(1)::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background-image: url(GruvBit.png);
     background-position: center;
     background-size: cover;
     filter: var(--projects-filter);
     z-index: -1;
     pointer-events: none;
     -webkit-animation:bg-pan-tl 240s infinite alternate both;animation:bg-pan-tl 240s infinite alternate both;
 }
 #projects li.active:nth-child(1) {
    background-image: var(--projects-bg-image);
 }
 #projects li.active:nth-child(1)::before {
    background-image: var(--projects-bg-image);
 }
 
 #projects li:nth-child(2) {
    position: relative;
    overflow: hidden;
    z-index: 0;
 }
 #projects li:nth-child(2)::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background-image: url(EQST.png);
     background-position: center;
     background-size: cover;
     filter: var(--projects-filter);
     z-index: -1;
     pointer-events: none;
     -webkit-animation:bg-pan-br 240s infinite both;animation:bg-pan-br 240s infinite both
 }
 #projects li.active:nth-child(2) {
    background-image: var(--projects-bg-image);
 }
 #projects li.active:nth-child(2)::before {
    background-image: var(--projects-bg-image);
 }

 #projects li:nth-child(3) {
     position: relative;
     overflow: hidden;
     z-index: 0;
  }
  #projects li:nth-child(3)::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: url(NPT.png);
      background-position: center;
      background-size: cover;
      filter: var(--projects-filter);
      z-index: -1;
      pointer-events: none;
      -webkit-animation:bg-pan-tl 240s infinite alternate both;animation:bg-pan-tl 240s infinite alternate both;
  }
  #projects li.active:nth-child(3) {
     background-image: var(--projects-bg-image);
  }
  #projects li.active:nth-child(3)::before {
     background-image: var(--projects-bg-image);
  }

  #projects li:nth-child(4) {
      position: relative;
      overflow: hidden;
      z-index: 0;
   }
   #projects li:nth-child(4)::before {
       content: '';
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       background-image: var(--projects-bg-image);
       filter: var(--projects-filter);
       z-index: -1;
       pointer-events: none;
       -webkit-animation:bg-pan-tl 240s infinite alternate both;animation:bg-pan-tl 240s infinite alternate both;
   }
   #projects li.active:nth-child(4) {
      background-image: var(--projects-bg-image);
   }
   #projects li.active:nth-child(4)::before {
      background-image: var(--projects-bg-image);
   }
   #projects:has(+ section) ~ .nav-bar::before,
   #projects:last-child ~ .nav-bar::before {
       background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.9));
   }
   
   #projects:has(+ section) ~ .nav-bar,
   #projects:last-child ~ .nav-bar {
       backdrop-filter: none;
       -webkit-backdrop-filter: none;
   }
   
   #projects:has(+ section) ~ .nav-bar a,
   #projects:last-child ~ .nav-bar a {
       color: white;
       transition: color 0.3s ease-in-out, opacity 0.3s ease-in-out;
   }
   
   #projects:has(+ section) ~ .nav-bar a.active,
   #projects:last-child ~ .nav-bar a.active {
       color: var(--accent-color);
   }
   .nav-bar[data-current-section="projects"] {
       background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.9));
       backdrop-filter: none;
       -webkit-backdrop-filter: none;
   }
   
   .nav-bar[data-current-section="projects"] a {
       color: white;
   }
   
   .nav-bar[data-current-section="projects"] a.active {
       color: var(--accent-color);
   }




@media (max-width: 1000px) {
    #projects ul {
        flex-direction: column;
        min-height: 100vh;
        max-height: 100vh;
    }
    
    #projects li {
        min-height: 10px;
        transition: all .5s ease;
    }
    
    #projects li.active {
        min-height: auto;
    }
    
    #projects li .section-title h2 {
        transform: none;
        white-space: normal;
    }
    #projects h2 {
        font-size: 1.3rem;
        padding-bottom: 0rem;
        margin: 0px;
        text-decoration: none;
    }
    #projects p {
        padding: 1rem;
    }
    #projects li.active .section-content img {
        width: auto;
        min-width: 200px;
        max-width: 50%;
        padding: 1rem;
    
    }
}

#music {
    background: var(--bg-color);
    background-image: var(--bg-image);
}
#music p {
    font-size: 1.2rem;
}
#music h2 {
    color: #fff;
    padding-bottom: 0.5rem;
    text-shadow: 1px 1px 1px #919191,
        1px 2px 1px #818181,
        1px 3px 1px #717171,
        1px 4px 1px #616161,
        1px 5px 1px #515151,
        1px 6px 1px #414141,
    1px 18px 6px rgba(16,16,16,0.4),
    1px 22px 10px rgba(16,16,16,0.2),
    1px 25px 35px rgba(16,16,16,0.2),
    1px 30px 60px rgba(16,16,16,0.4);
}

#music .logo-youtube {
  background-image: var(--youtube-logo);
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
  width: 200px;
  height: 50px;
}

#music .logo-youtube:hover {
    transform: scale(1.1);
    cursor: pointer;
}

#music .logo-tidal {
  background-image: var(--tidal-logo);
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
  width: 200px;
  height: 50px;
}

#music .logo-tidal:hover {
    transform: scale(1.1);
    cursor: pointer;
}

#music .logo-spotify {
  background-image: url(spotify.png);
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
  width: 200px;
  height: 50px;
}

#music .logo-spotify:hover {
    transform: scale(1.1);
    cursor: pointer;
}

#music .logo-apple {
  background-image: var(--apple-logo);
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
  width: 200px;
  height: 50px;
}
#music .logo-amazon {
  background-image: url(amazon-music.png);
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
  width: 200px;
  height: 50px;
}

#music .logo-amazon:hover {
    transform: scale(1.1);
    cursor: pointer;
}

#music .logo-apple:hover {
    transform: scale(1.1);
    cursor: pointer;
}

#music .Platforms {
    width: 90%;
    padding-top: 2rem;
    margin: auto;
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

#music .Platforms > *:last-child:nth-child(2n + 1) {
    grid-column: 1 / -1;
    justify-self: center;
}

#contact {
    background: var(--bg-image);
    color: white;
}
#contact p {
    color: var(--text-color);
    font-size: 1.2rem;
    padding-bottom: 1rem;
}
#contact h2 {
    color: #fff;
    padding-bottom: 1rem;
    text-shadow: 1px 1px 1px #919191,
        1px 2px 1px #818181,
        1px 3px 1px #717171,
        1px 4px 1px #616161,
        1px 5px 1px #515151,
        1px 6px 1px #414141,
    1px 0px 18px rgba(16,16,16,0.4),
    1px -5px 20px rgba(16,16,16,0.2),
    1px -10px 70px rgba(16,16,16,0.2),
    1px -15px 120px rgba(16,16,16,0.4);
}

.contact-form {
    background: var(--bg-color);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 900px;
}

.contact-form h2 {
    color: var(--text-color);
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    font-size: 1.3rem;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    transition: all 0.2s;
    pointer-events: none;
}

.form-group textarea + label {
    top: 24px;
    font-size: 1.3rem;
}

.form-group.active label {
    top: 0;
    transform: translateY(-50%) scale(1);
    background: var(--bg-color);
    padding: 0 4px;
    color: var(--accent-color);
}

.form-control {
    color: var(--text-color);
    background-color: var(--bg-color);
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    font-size: 1.3rem;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    color: var(--text-color);
    border-color: var(--accent-color);
    background-color: var(--bg-color);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    touch-action: manipulation;
}

.submit-btn:hover {
    background: #801313;
}
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover, 
.form-control:-webkit-autofill:focus {
   -webkit-text-fill-color: var(--text-color);
   -webkit-box-shadow: 0 0 0px 1000px var(--bg-color) inset;
   box-shadow: 0 0 0px 1000px var(--bg-color) inset;
   transition: background-color 5000s ease-in-out 0s;
}

.form-control:autofill,
.form-control:autofill:hover,
.form-control:autofill:focus {
   -webkit-text-fill-color: var(--text-color);
   -webkit-box-shadow: 0 0 0px 1000px var(--bg-color) inset;
   box-shadow: 0 0 0px 1000px var(--bg-color) inset;
   transition: background-color 5000s ease-in-out 0s;
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
}

section h2 {
    font-size: 2.5rem;
    position: relative;
}

.container-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;

}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 1px;
    height: 1px;
    background: var(--particles);
    opacity: 0;
    animation: float 6s ease-in-out infinite;
    filter: blur(0.5px);
}
.wrap {
	width: 100%;
	height: 100%;
	position: absolute;
	margin: 0 auto;
	perspective: 360px;
	perspective-origin: 50% 50%;
    z-index: 0;
}
.top-plane, .bottom-plane {
    content: '';
	width: 200%;
	height: 130%;
	position: absolute;
	bottom: -30%;
	left: -50%;
	background-image: -webkit-linear-gradient(var(--bg2-color) 2px, transparent 2px), -webkit-linear-gradient(left, var(--bg2-color) 2px, transparent 2px);
	background-size: 100px 100px,100px 100px;
	background-position: -1px -1px,-1px -1px;
	transform: rotateX(85deg);
	animation: planeMoveTop 2s infinite linear;
    z-index: 0;
    opacity: 0.2;
}
.bottom-plane {
	transform: rotateX(-85deg);
	top: -30%;
	animation: planeMoveBot 2s infinite linear;
}
.scanlines {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: .2;
    will-change: opacity;
    animation: opacity 3s linear infinite;
}
.scanlines:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	pointer-events: none;
	background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.5) 51%);
	background-size: 100% 4px;
	will-change: background, background-size;
	animation: scanlines .2s linear infinite;
    pointer-events: none;
}

@media (max-width: 900px) {
    .nav-bar {
        top: auto !important;
        bottom: -100px;
        padding: 1rem;
        gap: 0;
        justify-content: space-around;
        backdrop-filter: blur(10px);
    }

    .nav-bar.visible {
        top: auto !important;
        bottom: 0px;
    }

    #contact {
        padding-bottom: calc(2rem + 72px);
    }
    
    .nav-bar a svg {
        width: 20px;
        height: 20px;
        display: block;
    }
    .nav-bar a span {
        display: none;
    }
    
    .nav-bar a.active {
        background: none;
        position: relative;
    }
    #music .Platforms {
        padding-top: 2rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        width: 90%;
        align-content: center;
        align-items: center;
        gap: 1rem;
    }
    
}

@media (max-width: 768px) {
    .nav-bar {
        padding: 0.5rem;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .nav-bar a {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }.nav-bar a svg {
        width: 16px;
        height: 16px;
        display: block;
    }
    #about p {
        font-size: 1rem;
        width: 90vw;
        padding: 0;
    }
    
}