/* Basic reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body styling */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #98d9fc;
}

/* Header styling */
header {
  width: 100%;
  text-align: center;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

nav ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #333;
}

/* Standaard stijl voor navigatielinks */
nav a {
  text-decoration: none;
  color: #333;
  padding: 5px 10px;
  transition: all 0.3s ease;
  position: relative;
}

/* Hover-effect */
nav a:hover {
  color: #98d9fc; /* Tekstkleur verandert naar licht blauw */
  background-color: #333; /* Achtergrondkleur verandert naar zwart */
  border-radius: 5px; /* Ronde hoeken toegevoegd */
}

/* Onderstreep-effect bij hover */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #98d9fc; /* Lichtblauwe onderstreep */
  transform: scaleX(0); /* Start met een onderstreep die niet zichtbaar is */
  transform-origin: right; /* Begint aan de rechterkant */
  transition: transform 0.3s ease;
}

nav a:hover::after {
  transform: scaleX(1); /* Vergroot de onderstreep bij hover */
  transform-origin: left; /* Loopt naar links */
}


header h1 {
  font-size: 2rem;
  margin-top: 10px;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
}

.nav-item {
  margin: 0 10px;
}

.nav-link {
  font-size: 1.15rem;
  font-family: sans-serif;
  text-decoration: none;
  background-image: linear-gradient(black 50%, #98d9fc 500%);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  background-size: 100% 200%;
  transition: all 550ms ease-in-out;
}

@media (hover: hover) {
  .nav-link:hover {
    background-position: 0 100%;
  }
}

.HeaderLogo img {
  width: 40px; /* Gelijke waarde als in je HTML */
  margin: 10px;
}

/* Section styling */
section {
  width: 90%;
  max-width: 800px;
  margin: 20px 0;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

section h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* Skills and Tools layout */
.skills-tools-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.skills-list, .tools-list {
  flex: 1 1 45%;
}

.skills-list h3, .tools-list h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.skills-list ul, .tools-list ul {
  list-style-type: none;
  padding: 0;
}

.skills-list ul li, .tools-list ul li {
  margin-bottom: 15px;
}

.skills-list ul li span, .tools-list ul li span {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

/* Progress bar */
.skills-list ul li .progress, .tools-list ul li .progress {
  position: relative;
  display: block;
  width: 100%;
  height: 4px;
  background: #d8dbe2;
}

.skills-list ul li .progress .percentage, .tools-list ul li .progress .percentage {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: rgb(69, 3, 113);
  transition: all 0.3s ease;
}

/* Project gallery styling */
.project-gallery {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.project-item {
  background-color: #eaeaea;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
}

.project-item img {
  width: 100%;
  border-radius: 8px;
}

/* Footer styling */
footer {
  width: 100%;
  text-align: center;
  padding: 10px;
  background-color: #333;
  color: #fff;
}

footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
}

footer a:hover {
  color: #98d9fc;
}

/* Formulier container */
form {
  width: 100%;
  max-width: 500px;
  margin: 20px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Formulier velden */
form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

/* Bij focus op veld */
form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
  border-color: #98d9fc;
  outline: none;
}

/* Tekstarea */
form textarea {
  height: 100px;
  resize: none;
}

/* Submit-knop */
form button[type="submit"] {
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Submit-knop hover-effect */
form button[type="submit"]:hover {
  background-color: #555;
}

/* Verborgen checkbox */
form input.hidden {
  display: none;
}

/* Vraaglabels */
form label {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
  color: #333;
}

/* Responsive design */
@media (max-width: 600px) {
  .skills-tools-container {
      flex-direction: column;
  }

  header h1 {
      font-size: 1.5rem;
  }

  nav ul {
      flex-direction: column;
  }

  section h2 {
      font-size: 1.2rem;
  }
}

.bx {
  color: white;
}

.elementor-icon {
  color: gray;
  text-decoration: none;
}
