/* Basic Reset */
* {
    cursor: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Body Styling */
  @font-face {
    font-family: 'SourceCodePro';
    src: url('fonts/SourceCodePro-VariableFont_wght.ttf') format('truetype');
  }

  @font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
  }
  
  /* Body Styling */
  body {
    margin: 0;
    font-family: 'SourceCodePro', sans-serif;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    padding-bottom: 0; /* Remove any additional padding */
}
  
  /* Canvas Styling */
  canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }

  .circle {
    height: 16px;
    width: 16px;
    border-radius: 24px;
    background-color: black;
    position: fixed; 
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999999; /* so that it stays on top of all other elements */
  }

  @media (max-width: 768px) {
    .circle {
      display: none;
    }
  }
  
/* Navbar Styles */
.navbar {
  display: flex;
  position: sticky;
  top: 0;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.800); /* Semi-transparent black */
  padding: 10px 20px;
  z-index: 1000;
  width: 100%; /* Ensure navbar takes full width */
}

.logo {
  color: #008000;
  font-size: 1.5em;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 5vw;
  margin: 0; /* Remove default margin */
  padding: 0; /* Remove default padding */
}

.nav-links li {
  padding: 5px 0;
}

.nav-links a {
  font-weight: bold;
  color: #008000;
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}

.nav-links a:hover {
  color: #800000;
  text-shadow: 0 0 5px #800000, 0 0 10px #800000, 0 0 15px #800000; /* Glow effect */
  transform: scale(1.1); /* Scale up on hover */
}

/* Burger Menu */
.burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #008000;
  transition: all 0.3s ease;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
  .navbar{
    background-color: #000000;
  }
  .nav-links {
    position: fixed; /* Change to fixed positioning */
    top: 50px;
    right: 0;
    height: calc(100vh - 60px); /* Full height minus navbar */
    width: 100%; /* Full width to cover the screen */
    background-color: rgba(0, 0, 0, 0.8);  /* Semi-transparent background */
    flex-direction: column;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out; /* Combine transitions */
    opacity: 0; /* Hidden initially */
    overflow: hidden; /* Prevent overflow */
  }

  .nav-links li {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
  }

  .nav-active {
    transform: translateX(0); /* Show the menu */
    opacity: 1; /* Show opacity */
  }

  .nav-active li {
    opacity: 1;
    transition: opacity 0.5s ease-in-out 0.3s;
  }

  .burger {
    display: flex; /* Show burger menu on smaller screens */
  }

  /* Animation for Burger Menu */
  .burger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .burger.toggle .line2 {
    opacity: 0;
  }

  .burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}


/* Blog Section Styles */
#blog {
    width: 100%;
    padding: 10vh 5%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8),#000,#000,#000,#000,#000,#000,#000, rgba(0, 0, 0, 0.8)); /* Gradient with transparency */
    background-size: cover; /* Ensure the background covers the entire area */
    color: #008000;
}

#blog h1{
    font-size: 5em;
    line-height: 0.8;
    text-align: center;
    padding-bottom: 1em;
    padding-top: 1em;
}

.blog-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog-post {
    background-color: none;
    padding: 20px;
    border: 1px solid #008000; /* Border thickness and color */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(21, 156, 41, 0.4); /* Subtle light shadow */
    color: #008000; /* Text color */
}

.blog-post p{
    font-family: 'Montserrat';
}

.blog-post h2 {
    font-family: 'Montserrat';
    margin: 0 0 10px;
    color: #008000; /* Heading color */
}

.blog-date {
    font-weight: bold;
    font-size: 14px;
    color: #800000; /* Date color */
}

/* Button Styles */
.button {
    display: inline-block;
    padding: 5px 5px;
    background-color: none;
    color: #800000; /* Button text color */
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease; /* Added transition */
}

.button:hover {
    background-color: none;
    color: #800000; /* Change text color on hover */
    text-shadow: 0 0 5px #800000, 0 0 10px #800000, 0 0 15px #800000; /* Glow effect */
    transform: scale(1.1); /* Scale up on hover */
}

/* Footer Styling */
.footer {
  background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
  position: relative;
  width: 100%;
  padding: 40px 10vw; /* Increased padding for more space */
  margin-top: auto; /* Stick to the bottom */
  text-align: center;
  color: #008000; /* Text color */
}

.footer-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px; /* Space between columns */
}

.footer-col {
  flex-basis: calc(33.33% - 20px); /* Three columns */
  min-width: 280px; /* Minimum width for each column */
  text-align: left;
}

.footer-col h4 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #008000; /* Heading color */
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #008000; /* Link color */
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}

.footer-col ul li a:hover {
  color: #800000; /* Hover color */
  text-shadow: 0 0 5px #800000, 0 0 10px #800000, 0 0 15px #800000; /* Glow effect */
  transform: scale(1.1);
}

/* Newsletter Styles */
.footer-col p {
  color: #008000; /* Text color for newsletter */
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-col form {
  display: block;
  gap: 10px; /* Space between input and button */
  margin-bottom: 20px;
}

.footer-col input[type="text"] {
  flex: 1;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #008000;
  background-color: transparent;
  color: #008000;
  font-family: 'SourceCodePro';
}

.footer-col button {
  padding: 10px 20px;
  border-radius: 5px;
  border: none;
  background: none;
  color: #008000;
  cursor: pointer;
  font-family: 'SourceCodePro';
  transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
  font-size: 1rem;
}

.footer-col button:hover {
  color: #800000;
  text-shadow: 0 0 5px #800000, 0 0 10px #800000, 0 0 15px #800000; /* Glow effect */
  transform: scale(1.1);
}

/* Social Media Icons */
.footer-col .icons {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.footer-col .icons i {
  color: #008000;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.footer-col .icons i:hover {
  color: #008000;
}

/* Default image size */
li img {
  width: 25px;
  height: 25px;
  transition: text-shadow 0.3s ease, transform 0.3s ease;
}

li img:hover {
  filter: drop-shadow(0 0 3px rgba(128, 0, 0, 0.6)) 
            drop-shadow(0 0 6px rgba(128, 0, 0, 0.4)) 
            drop-shadow(0 0 9px rgba(128, 0, 0, 0.3));
  transition: 0.3s ease;
}

/* Change image on hover */
#insta:hover {
  content: url('assets/instagram_iconR.svg');
}

#discord:hover{
  content: url('assets/discord_iconR.svg');
}

#github:hover {
  content: url('assets/github_iconR.svg');
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-col {
    flex-basis: 100%; /* Full-width columns */
    margin-bottom: 20px;
  }

  .footer-col ul {
    text-align: center; /* Center align lists on smaller screens */
  }

  .footer-col input[type="text"] {
    width: 100%;
  }

  .footer-col button {
    width: 100%;
  }

  li img {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .footer-col h4 {
    font-size: 1.2rem;
  }

  .footer-col ul li a {
    font-size: 1rem; /* Adjust font size */
  }

  li img {
    width: 20px;
    height: 20px;
  }
}