@import url("https://fonts.googleapis.com/css2?family=Jaro:opsz@6..72&display=swap");

* {
  margin: 0;
  padding: 0;
  outline: none;
  border: none;
  box-sizing: border-box;
}

body {
  font-family: "Jaro", sans-serif;
  background: linear-gradient(to bottom, #0f0c29, #302b63, #24243e);
  overflow-x: hidden;
  scroll-behavior: smooth;
  
}

body::-webkit-scrollbar {
  width: 12px; /* Width of the scrollbar */
  border-radius: 5px;
}

/* Track (background) */
body::-webkit-scrollbar-track {
  background: #8400ff; /* Color of the track */
  border-radius: 5px;
}

/* Handle (thumb) */
body::-webkit-scrollbar-thumb {
  background: #b458ff; /* Color of the thumb */
  border-radius: 5px; /* Roundness of the thumb */
}

/* Handle on hover */
body::-webkit-scrollbar-thumb:hover {
  background: #b458ff; /* Color of the thumb on hover */
  border: 1px solid #fff;
}

nav {
  max-width: 1200px;
  margin: auto;
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  z-index: 10000;
}

.nav-logo img {
  max-width: 200px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 5rem;
}

@media screen and (max-width: 768px){
   .nav-links{
        display: none;
    }
}

@media screen and (max-width: 600px){
   .nav-links{
        display: none;
    }
}

.nav-links.hide {
  display: none;
}

.nav-links.show {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #333;
  padding: 1rem;
}

.link a {
  position: relative;
  padding-bottom: 0.75rem;
  color: #fff;
  z-index: 10000;
  text-decoration: none;
}

.link a::after {
  content: "";
  position: absolute;
  height: 2px;
  bottom: 0;
  left: 0;
  width: 0;
  background-color: #8c00ff;
  transform: scaleX(0);
  transform-origin: left;
  transition: all 0.3s ease-in-out;
  z-index: 10000;
  text-decoration: none;
}

.link a:hover::after {
  width: 100%;
  transform: scaleX(1);
  z-index: 10000;
  text-decoration: none;
}

.btn {
  padding: 1rem 2rem;
  font-size: 1rem;
  color: #fff;
  background-color: #8400ff;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10000;
  text-decoration: none;
}

.btn:hover {
  background-color: #8c00ff;
  border: 1px solid #fff;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 5rem 2rem;
}

.blur {
  position: absolute;
  box-shadow: 0 0 1000px 70px #8400ff;
  z-index: -100;
}

header {
  position: relative;
  padding-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 2rem;
}

header .content h4 {
  margin-bottom: 1rem;
  color: #ccc;
  font-size: 1rem;
  font-weight: 300;
}

header .content h1 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: 3rem;
  font-weight: 100;
  line-height: 4rem;
}

header .content h1 span {
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px #fff;
}

section .content h1 {
  color: #fff;
  font-size: 2rem;
}

section .content h1 span {
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px #fff;
}

header .content p {
  margin-bottom: 2rem;
  color: #ccc;
}

header .image {
  position: relative;
}

section .image img {
  position: flex;
  max-width: 350px;
  margin: auto;
}

header .image::before {
  content: "EB";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 42rem;
  font-weight: 400;
  line-height: 20rem;
  color: #8400ff;
  opacity: 0.2;
  z-index: -100;
}

header .image img {
  max-width: 600px;
  margin: auto;
}

@media screen and (max-width: 768px) {
  .header {
    align-items: center;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }

  header .image img{
    display: none;
  }

  header .image::before{
    display: none;
  }

  header .content p{
    text-align: center;
  }
}

section .header {
  margin-top: 5rem;
  margin-bottom: 1rem;
  color: #fff;
  text-align: center;
  font-size: 2.25rem;
  font-weight: 600;
}

.vaardigheden {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media screen and (max-width: 768px) {
  .vaardigheden {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    align-items: start;
  }
}

.vaardigheden .card {
  background-color: #8400ff;
  padding: 1rem;
  border: 2px solid transparent;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.vaardigheden .card:hover {
  background-color: #8c00ff;
  border-color: #fff;
}

.vaardigheden .card span {
  display: flex; /* Gebruik flexbox */
  align-items: center; /* Verticaal centreren */
  justify-content: center; /* Horizontaal centreren */
  background-color: #18181b;
  padding: 2px 9px;
  margin-bottom: 1rem;
  font-size: 1.75rem;
  color: #fff;
  border-radius: 5px;
  border: 1px solid #000;
  text-align: center; /* Optioneel, afhankelijk van de inhoud van de span */
}

.vaardigheden .card span:hover {
  background-color: #000;
  border-color: #fff;
}

.vaardigheden .card h4 {
  margin-bottom: 0.5rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
}

.vaardigheden .card p {
  color: #ccc;
  margin-bottom: 1rem;
}

.vaardigheden .card a {
  color: #000;
  transition: all 0.3 ease;
}

.vaardigheden .card a:hover {
  color: #ccc;
}

.projecten {
  margin-top: 4rem;
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media screen and (max-width: 1500px) {
  .projecten {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(3, 1fr);
  }

  .projecten .card span img{
    width: 400px;
    max-height: 400px;
    border-radius: 10px;
  }
}

@media screen and (max-width: 768px) {
  .projecten {
    display: flex;
    flex-direction: column;
    justify-content: center;
    grid-template-columns: repeat(3, 1fr);
  }

  .projecten .card span img{
    width: 350px;
    max-height: 350px;
    border-radius: 10px;
  }
}

@media screen and (max-width: 600px) {
  .projecten {
    display: flex;
    flex-direction: column;
    justify-content: center;
    grid-template-columns: repeat(3, 1fr);
  }

  .projecten .card span img{
    width: 250px;
    max-height: 350px;
    border-radius: 10px;
  }
}

.projecten .card {
  background-color: #8400ff;
  padding: 1rem;
  border: 2px solid transparent;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.projecten .card:hover {
  background-color: #8c00ff;
  border-color: #fff;
}

.projecten .card span img {
  max-width: 500px;
  max-height: 500px;
  border-radius: 10px;
}

.projecten .card h4 {
  margin-bottom: 0.5rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 100;
  text-align: center;
}

.projecten .card p {
  color: #ccc;
  margin-bottom: 1.75rem;
}

.section-header {
  position: relative;
  padding-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 2rem;
}


@media screen and (max-width: 1500px) {
  .section-header {
    position: relative;
    padding-top: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    max-width: 800px;
    max-height: 750px;
  }

  .section-header .image::before {
    display: none;
  }

  .section-header .image img {
    position: relative;
    left: 30%;
    top: 10%;
    margin: auto;
  }
}
 

@media screen and (max-width: 768px) {
  .section-header {
    position: relative;
    padding-top: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    max-width: 800px;
    max-height: 750px;
  }

  .section-header .image::before {
    display: none;
  }

  .section-header .image img {
    position: relative;
    width: 33%;
    height: 30%;
    left: -8%;
    top: 10%;
    margin: auto;
  }
}

@media screen and (max-width: 600px) {
  .section-header {
    position: relative;
    padding-top: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    max-width: 800px;
    max-height: 750px;
  }

  .section-header .image::before {
    display: none;
  }

  .section-header .image img {
    position: relative;
    width: 33%;
    height: 30%;
    left: -8%;
    top: 10%;
    margin: auto;
  }
}

.section-header .content h4 {
  margin-bottom: 1rem;
  color: #ccc;
  font-size: 1rem;
  font-weight: 600;
}

.section-header .content h1 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: 3rem;
  font-weight: 100;
  line-height: 4rem;
}

.section-header .content h1 span {
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px #fff;
}

.section-header .content p {
  margin-bottom: 2rem;
  color: #ccc;
}

.section-header .image img {
  position: flex;
  max-width: 550px;
  margin: auto;
}

.section-header .image::before {
  content: "50+ projecten";
  position: flex;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18rem;
  font-weight: 400;
  line-height: 20rem;
  color: #8400ff;
  opacity: 0.5;
  z-index: -100;
}


.section-header .blur {
  position: absolute;
  right: 0; /* Position the blur on the right side */
  border-radius: 50%;
  box-shadow: -10px 0 250px 75px #8c00ff; /* Adjust the shadow properties */
  z-index: -100;
}


.card {
  background: #fff;
  padding: 20px;
  margin: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.from-left {
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
}

.from-left.show {
  opacity: 1;
  transform: translateX(0);
}

.from-right {
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
}

.from-right.show {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .from-left,
  .from-right {
    opacity: 1;
    transform: translateX(0);
    transition: none;
  }
}
