:root {
  --primary-color: #343a40;
  --secondary-color: #f8f9fa;
  --accent-color: #007bff;
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

  --transition-duration: 0.3s;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  font-family: var(--font-family);
  color: #555;
  line-height: 1.6;
}

/* Canvas styling */
.network-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background-color: var(--primary-color);
}

.network-animation {
  position: relative;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}
.navbar-container {
  display: flex; /* Use flexbox for horizontal alignment */
  justify-content: space-between; /* Space between brand name and nav links */
  align-items: center; /* Vertically center the items */
  width: 100%;
  padding-left: 2.5%;
  padding-right: 2.5%;
}

.brand-name {
  font-family: 'Courier New', Courier, monospace; /* Use a distinct font */
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin-right: auto; /* Push the brand name to the left side */
}

/* Navigation */
.navbar {
  background-color: var(--primary-color);
  color: #fff;
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.nav-links {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex; /* Use flexbox for horizontal alignment */
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color var(--transition-duration);
}

.nav-links a:hover {
  color: var(--accent-color);
}


/* Sections */
.section {
  padding: 20px 0;
  text-align: center;
}

.content-special {
  font-family: 'Courier New', Courier, monospace; /* Use a distinct font */
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

/* Hero section with background image */
.hero {
  background-image: url('logo.png');
  background-size: cover;
  background-position: center;
  color: #fff;
  height: 100vh; /* viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
}


.light {
  background-color: var(--secondary-color);
}

.dark {
  /* background-color: #555; */
  background-color: var(--primary-color);
}

h2, h3 {
  color: var(--primary-color);
}

.content-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.box {
  width: 100%;
  max-width: 300px;
  margin: 20px;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

#tech {
  background-image: url('Neural-Networks.gif');
  background-size: cover;
  background-position: center;
}

#contact, #contact h2, #about, #about h2, #tech h1, #tech h2 {
  color: #fff;
}

/* Contact section styles */
.contact-links {
  list-style-type: none;
  padding: 0;
  
  display: flex; /* Use flexbox for horizontal alignment */
  justify-content: space-between; /* Space between brand name and nav links */
  align-items: center; /* Vertically center the items */
  /* width: 100%; */
}

.contact-links li {
  margin-bottom: 1rem;
}
.contact-links li:not(:first-child) {
  margin-left: 20px;
}

.linkedin-button {
  display: flex; /* Use flexbox for horizontal alignment */
  align-items: center; /* Vertically center the items */
  text-decoration: none;
  color: #0A66C2; /* LinkedIn brand color */
  font-weight: bold;
}

.linkedin-button .icon {
  width: 24px; /* Adjust size as needed */
  height: 24px; /* Adjust size as needed */
  margin-right: 8px; /* Space between icon and text */
}

/* Responsive design */
@media (min-width: 768px) {
  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .section h2, .section p {
    max-width: 80%;
    margin-bottom: 20px;
  }
}
