:root {
  --primary-color: #38b000; 
  --secondary-color: #70e000; 
  --accent-color: #007200;
  --accent-color-2: #ccff33;
  --background-color: #0A0A0A; 
  --text-color: #d9dcd6;        
  --card-color: #b3d781; 
  --hover-color: #9ef01a; 
  --success-color: #43A047;
  --danger-color: #dc3545;
  --border-color: #ffffff1a;
  --desc-color: #b0b0b0;
}
.light-mode {
  --primary-color: #1a1a1a;
  --secondary-color: #1a1a1a;
  --background-color: #d9dcd6;
  --card-color: #9ef01a; 
  --text-color: #1a1a1a;
  --desc-color: #414040;
  --border-color: #7a7a7a1a;
}

:root {
  --shape: polygon(10px 0%, 100% 0%, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0% 100%, 0% 10px);
  --shape-large: polygon(
    25px 0%, 100% 0%, 
    100% calc(100% - 25px), calc(100% - 25px) 100%, 
    0% 100%, 0% 25px);
--shape-mid: polygon(
  15px 0%, 100% 0%, 
  100% calc(100% - 15px), calc(100% - 15px) 100%, 
  0% 100%, 0% 15px);
}

body {
  background-color: var(--background-color);
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Space Mono', monospace;
}
section, header, footer, main {
  overflow: hidden;
  background-color: var(--background-color);
}
html a {
  text-decoration: none;
}
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.spinner-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-spinner {
  display: inline-block;
  vertical-align: middle;
  fill: var(--primary-color);
}

.title {
  font-weight: 800;
  font-size: 48px;
  color: var(--text-color);
}
.desc {
  letter-spacing: 1px;
  color: var(--desc-color);
  font-size: 14px;
}

@media(max-width:767px) {
  .title {
    font-size: 38px;
  }
}

/*  Navbar  */

#nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  height: 70px;
  background-color: #00000075;
  color: var(--text-color);
  border-bottom: 1px solid var(--border-color);
  padding: 0 1rem;
}
body.light-mode #nav {
  background-color: #ffffff75;
}
.logo {
  letter-spacing: 1px;
  font-size: 30px;
  font-weight: 900;
  color: var(--primary-color);
  transition: color 0.3s ease;
}
@media(max-width:1025px) {
  .logo {
    font-size: 20px;
    padding-right: 20px;
  }
  .nav-links {
    font-size: 14px;
  }
}
.logo:hover {
  color: var(--secondary-color);
}

.nav-links-container {
  display: flex;
  align-items: center;
}
.nav-links-container * {
  letter-spacing: 1px;
}
.nav-links {
  margin-right: 45px;
  position: relative;
  transition: all 0.3s ease;
  color: var(--text-color);
}
.nav-links:hover, .active:hover {
  color: var(--text-color);
}
.active {
  font-weight: 800;
  font-size: 18px;
  margin-right: 45px;
  position: relative;
  transition: all 0.3s ease;
  color: var(--text-color);
}
.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  height: 2px;
  left: 0;
  right: 0;
  background-color: var(--text-color);
  transition: all 0.3s ease;
}
.active:hover {
  transform: translateY(-2px);
}
.nav-links::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background-color: var(--text-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}


.nav-links:hover::after {
  width: 100%;
}
.glitch-button {
  color: var(--background-color);
  margin-right: 45px;
  padding: 10px 15px;
  background-color: var(--secondary-color);
  position: relative;
  clip-path: var(--shape);
  transition: all 0.3s ease;
  z-index: 1;
}

.glitch-button:hover {
  color: var(--background-color);
  animation: glitch-flicker 0.3s linear;
  }

@keyframes glitch-flicker {
  0%   { opacity: 1; transform: translate(0, 0); }
  15%  { opacity: 0.85; transform: translate(-0.5px, 0.5px); }
  30%  { opacity: 1; transform: translate(0.5px, -0.5px); }
  45%  { opacity: 0.85; transform: translate(-0.5px, 0); }
  60%  { opacity: 1; transform: translate(0.5px, 0.5px); }
  75%  { opacity: 0.9; transfo