/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #121212;
  color: #F5F5F5;
  line-height: 1.6;
  padding: 0 5%;
}

/* Navbar */


/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 5%;
  position: sticky;
  top: 0;
  background-color: #121212;
  z-index: 100;
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.navbar.scrolled {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.navbar .logo {
  font-size: 2rem;
  color: #64FFDA;
}

.navbar nav a {
  margin-left: 2rem;
  text-decoration: none;
  color: #F5F5F5;
  font-weight: bold;
  transition: color 0.2s ease-in-out;
}

.navbar nav a:hover {
  color: #BB86FC;
}


/* Hero Section */
/* Hero Section */
.hero {
  display: flex;
  justify-content: center; /* Center content horizontally */
  align-items: center; /* Center content vertically */
  min-height: 100vh; /* Make hero take full viewport height */
  padding: 2rem 5%;
  text-align: center; /* Center text within content */
  flex-direction: column; /* Stack content vertically */
}

.content {
  /* Removed max-width to allow full width */
}

h1 {
  font-size: 3rem; /* Reduced font size */
  font-weight: bold;
  line-height: 1.1;
  font-family: 'Roboto Mono', monospace;
  margin-bottom: 0.5rem; /* Reduce space to title */
}

h1 span {
  display: block;
  font-size: 2.5rem; /* Reduced font size for the span */
}

h2 {
  color: #64FFDA;
  margin-top: 0; /* Remove default top margin */
  font-size: 2rem; /* Make the title slightly larger */
  margin-bottom: 2rem; /* Add space below title for other elements */
}

p {
  margin: 1.5rem auto; /* Center and add vertical space */
  color: #ccc;
  max-width: 700px; /* Limit paragraph width for readability */
  font-size: 1.1rem;
  margin-bottom: 1rem; /* Reduce space above buttons */
}

.cta {
  margin-top: 1rem; /* Adjust spacing */
  margin-bottom: 0.5rem; /* Adjust spacing */
}

.socials {
  display: flex;
  justify-content: center; /* Center the buttons horizontally */
  margin-top: 1rem; /* Add some space above the social buttons */
}

/* Hide the paragraph initially if you want a super clean "test 4" look */
/* .content p {
  display: none;
} */

.button-primary {
  background-color: #64FFDA;
  color: #121212;
  padding: 1rem 1.5rem;
  text-decoration: none;
  display: inline-block;
  border-radius: 20px 20px 0px 20px;
  font-weight: bold;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.button-primary:hover {
  background-color: #000000;
  color: #fff;
}

.button-primary small {
  display: block;
  font-weight: normal;
  font-size: 0.75rem;
}

.button-secondary {
  background-color: #333;
  color: #F5F5F5;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 20px 20px 0px 20px;
  margin-right: 0.5rem;
  transition: background-color 0.2s ease-in-out;
}

.button-secondary:hover {
  background-color: #64FFDA;
  color:black;
}

.hero-image {
  display: none; /* Hide the image for this full-screen text layout */
}

.layer {
  display: none; /* Hide the layered backgrounds as well */
}

/* Skills Section */
.skills-section {
  background-color: #1E1E1E;
  color: #F5F5F5;
  padding: 4rem 5%;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: bold;
  font-family: 'Roboto Mono', monospace;
}

.section-title .dash {
  font-weight: normal;
  margin-right: 0.5rem;
  color: #64FFDA;
}

.section-title .highlight {
  color: #64FFDA;
}

.skills-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.skills-left {
  flex: 1;
  min-width: 300px;
  max-width: 65%;
}

.skills-left h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.underline {
  height: 3px;
  width: 80px;
  background-color: #64FFDA;
  margin-bottom: 2rem;
}

.skill-group {
  margin-bottom: 2rem;
}

.skill-group p {
  margin: 0.25rem 0;
}

.skill-details {
  color: #aaa;
  font-size: 0.95rem;
}

.badge {
  color: #64FFDA;
  margin-right: 0.5rem;
}

.skills-level {
  flex: 1;
  max-width: 30%;
  min-width: 250px;
  display: flex;
  justify-content: center;
  align-items: start;
}

.level-card {
  background-color: #272727;
  padding: 2rem 1.5rem;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.level-card p b {
 color:#64FFDA;
}

.level-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(100, 255, 218, 0.2);
}

/* Media Queries */

@media (max-width: 768px) {
  .hero {
    min-height: auto; /* Adjust height for smaller screens */
    padding: 4rem 5%;
  }

 

  h1 {
    font-size: 3rem;
  }

  h1 span {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  p {
    font-size: 1rem;
  }

  .socials {
    flex-direction: column;
    align-items: center;
  }

  .button-secondary {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
}


/* Tech Stack Section (within Skills) */
.tech-stack-section {
  margin-top: 2rem; /* Add space above the tech stack */
  margin-bottom: 2rem; /* Add space below the tech stack */
}

.tech-stack-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #64FFDA /* Accent color */
}

.tech-stack-container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.tech-stack-column {
  flex: 1;
  min-width: 300px;
}

.tech-stack-column h4 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #fff; /* White color */
}

.tech-item {
  margin-bottom: 1rem;
}
.tech-item b {
  color: #64FFDA;
}



.tech-item strong {
  font-weight: bold;
  color: #fff; /* White color */
  display: block;
  margin-bottom: 0.25rem;
}

.tech-item p {
  color: #555;
  font-size: 0.9rem;
}

/* Media Queries (adjust as needed) */
@media (max-width: 768px) {
  .tech-stack-container {
    flex-direction: column;
  }

  .tech-stack-column {
    min-width: auto;
  }
}


/* Work Section */
canvas {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -10;
}

#matrixRainCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1; /* Zorg dat canvas achter content zit */
  pointer-events: none; /* voorkomt interactieproblemen */
}



.work-section {
  background-color: #fff; /* White background */
  color: #121212; /* Black text */
  padding: 4rem 5%;
  position: relative;
}

.work-title {
  color: #121212; /* Black title */
}

.work-underline {
  background-color: #64FFDA; /* Cyan underline */
}

.work-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 3rem; /* Space between projects */
}

.work-left h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.work-left p {
  color: #333; /* Darker text for descriptions */
  margin-bottom: 1rem;
}

.work-details {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.work-links a {
  color: #0a0a0a; /* Cyan links */
  text-decoration: none;
  margin-right: 1rem;
  transition: color 0.2s ease-in-out;
}

.work-links a:hover {
  color: #008ba3; /* Darker cyan on hover */
}

.work-level {
  flex: 1;
  max-width: 30%;
  min-width: 250px;
  display: flex;
  justify-content: center;
  align-items: start;
}

.work-level-card {
  background-color: #f0f0f0; /* Light grey card background */
  color: #121212; /* Black text on card */
  padding: 2rem 1.5rem;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); /* Subtle shadow */
  font-size: 0.95rem;
}

.work-level-card p {
  margin-bottom: 1rem;
}

.work-level-card strong {
  display: inline-block;
  margin-bottom: 0.25rem;
}

/* Media Queries for Work Section */
@media (max-width: 768px) {
  .work-content {
    flex-direction: column;
  }

  .work-left {
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .work-level {
    max-width: 100%;
    align-items: center;
  }
}


/* Media Queries for Smartphone Sizes */
@media (max-width: 600px) { /* Adjust 600px to your preferred breakpoint */

  .navbar {
    display: none; /* Hide the navbar */
  }

  body {
    position: relative;
    min-height: 100vh; /* Ensure body is at least the viewport height */
   /* Prevent body from expanding with content */
  }

  body::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    z-index: 10000;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), transparent);
    pointer-events: none;
  }
}
