.baloo-2 {
  font-family: "Baloo 2", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.arial-mt {
  font-family: "Arial MT", sans-serif;
  font-family: "Arial MT Narrow", sans-serif;
  font-family: "Arial Rounded MT", sans-serif;
  font-family: "Arial Rounded MT Bold", sans-serif;
  font-family: "ArialMT", sans-serif;
  font-family: "Arial MT Black", sans-serif;
}

.patrick-hand-regular {
  font-family: "Patrick Hand", cursive;
  font-weight: 400;
  font-style: normal;
}


* {
  padding: 0;
  margin: 0;
}

body {
  background-color: #EDEDE4;
}

a,
h1,
h2,
h3,
p,
li {
  font-family: helvetica, arial;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home header {
  background-image: url(../images/banner.png);
  background-size: cover;
  background-position: center;
  height: 40vh;
}

.contact header,
.portfolio header,
.aboutme header {
  background-image: url(../images/simple-geometric-line-banner.jpg);
  background-size: cover;
  background-position: center;
  height: 40vh;

  display: flex;
  justify-content: center;
  /* centreert horizontaal */
  align-items: center;
  /* centreert verticaal */
}

.contact header h1,
.portfolio header h1,
.aboutme header h1 {
  font-family: "Arial Rounded MT Bold";
  font-size: 40px;

  margin: 0;
  text-align: center;
}

.menu-mobile {
  position: absolute;
  top: 15px;
  right: 15px;
}

.container {
  padding-top: 200px;
  padding-left: 25px;
}

.container h1 {
  font-family: "Arial Rounded MT";
}

.container h2 {
  font-family: "Patrick Hand";
}


/* START Menu */
.top-nav {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}

.top-nav .menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 60%;
  background: #EDEDE4;
  box-shadow: -8px 0 25px rgba(0, 0, 0, 0.25);
  transform: translateX(100%);
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 999;
  margin: 0;
  padding: 6rem 3rem;
  opacity: 0;
  pointer-events: none;
}

.top-nav .menu li {
  margin: 10px;
}

.top-nav .menu li a {
  text-decoration: none;
  font-size: 1.8rem;
  color: #0d0d0d;
  transition: color 0.3s ease, transform 0.3s ease;
  font-family: "Arial Rounded MT Bold", sans-serif;
}

.top-nav .menu-icon {
  display: inline-block;
  cursor: pointer;
  padding: 28px 20px;
  z-index: 1000;
  position: relative;
}

.top-nav .menu-icon .navicon {
  background: #20232d;
  display: block;
  height: 2px;
  position: relative;
  width: 1.625rem;
  transition: 0.2s ease-out;
}

.top-nav .menu-icon .navicon:before,
.top-nav .menu-icon .navicon:after {
  background-color: #20232d;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all 0.2s ease-out;
  width: 100%;
}

.top-nav .menu-icon .navicon:before {
  top: 7px;
}

.top-nav .menu-icon .navicon:after {
  top: -7px;
}

.top-nav .menu-btn {
  display: none;
}

.top-nav .menu-btn:checked~.menu {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.top-nav .menu-btn:checked~.menu-icon .navicon {
  background: transparent;
}

.top-nav .menu-btn:checked~.menu-icon .navicon:before {
  transform: rotate(-45deg);
  top: 0;
}

.top-nav .menu-btn:checked~.menu-icon .navicon:after {
  transform: rotate(45deg);
  top: 0;
}

/* END MENU */


footer {
  background-color: #748B77;

  color: white;

  padding-top: 40px;
  padding-bottom: 30px;

  margin-top: 40px;
}

footer a {
  color: white;
  text-decoration: none;
  list-style: none;

  font-family: "Arial Rounded MT Bold";

  display: flex;
  justify-content: center;

  font-size: 25px;
}

footer p {
  text-align: center;

  font-family: "Arial Rounded MT Bold";

  padding-top: 15px;
}

.pagina-links {
  padding-bottom: 25px;
}

.lijn-container-footer {
  height: 6px;
  width: 470px;

  border-radius: 12px;
  background-color: #EDEDE4;

  margin: auto;
}

.socials {
  display: flex;
  justify-content: center;
  width: auto;
}

.socials img {
  padding-bottom: 25px;
  padding-top: 15px;

  width: 50px;
  height: auto;
}

.socials img:hover {
  transform: scale(1.1);
}

/* START HOME PAGE */
.services-vakjes {
  display: flex;
  flex-direction: column;

  justify-content: center;
  align-items: center;
}

.service {
  width: 50%;

  margin-bottom: 40px;
}

.service-container img {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.service-container img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

.service-container,
.latestprojects-container {
  padding-left: 50px;
  padding-right: 10px;

  padding-bottom: 100px;
  padding-top: 40px;
}

.service-container li,
.latestprojects-container li {
  font-family: "Baloo 2";
  font-weight: bold;
  font-size: 25px;

  list-style-type: "- ";
}

.service-container p,
.latestprojects-container p {
  font-family: "Baloo 2";
  font-size: 15px;

  padding-bottom: 20px;
}

.home .project img {
  width: 80%;

  margin: auto;
}

.home .project {
  padding-bottom: 50px;
}

/* END HOME PAGE */


/* START PORTFOLIO PAGE */
.project {
  padding-top: 50px;
}

.projecten {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* ⬅️ zorgt dat alles in het midden komt */
  align-items: center;
  padding: 60px 20px;
}

.project img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* END PORTFOLIO PAGE */


/* START ABOUTME PAGE */
.aboutme-table img {
  width: 40%;

  margin: auto;

  margin-top: 50px;
  margin-bottom: 50px;
}

.aboutme-table table {
  margin: auto;

  font-family: helvetica;
}

.aboutme-tekst td {
  padding-left: 30px;
  padding-top: 5px;
}

.long-description {
  padding: 75px 60px;
}

.software-skills,
.personal-skills,
.experience,
.education,
.languages {
  padding: 0 45px;

  padding-bottom: 60px;
}

.software-skills li,
.personal-skills li,
.experience li,
.education li,
.languages li {
  margin: 10px;

  font-size: 16px;
}

.software-skills h2,
.personal-skills h2,
.experience h2,
.education h2,
.languages h2 {
  padding-bottom: 30px;
}

.aboutme img {
  border-radius: 0;
}

.software-skills,
.languages {
  margin-top: 40px;
}

.skill {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.skill img {
  width: 50px;
  object-fit: contain;
}

.skill-info {
  flex: 0.5;
}

.skill-info p {
  font-size: 20px;
  color: black;
  margin-bottom: 7px;
}

.skill-bar {
  position: relative;
  background-color: #B2B4A4;
  border-radius: 12px;
  height: 8px;
  overflow: hidden;
}

.skill-fill {
  background-color: #748B77;
  height: 100%;
  width: 0;
  border-radius: 12px;
  animation: fillAnimation 1.8s ease forwards;
}

.skill-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 14px;
  background-color: #748B77;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: dotMove 1.8s ease forwards;
}

@keyframes fillAnimation {
  from {
    width: 0;
  }
}

.illustrator {
  width: 80%;
}

.photoshop {
  width: 68%;
}

.indesign {
  width: 68%;
}

.premiere {
  width: 55%;
}

.vsc {
  width: 75%;
}

.dutch {
  width: 90%;
}

.french {
  width: 37%;
}

.english {
  width: 50%;
}

.skill-fill,
.skill-dot {
  transition: all 0.5s ease;
}

li::marker {
  color: #748B77;
}

.personal-skills li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 5px;
  margin-left: 25px;
}

.experience li,
.education li {
  line-height: 1.5;
  margin-bottom: 14px;

  margin-left: 25px;
}

.experience a,
.education a {
  color: #748B77;
  text-decoration: none;
}

.experience a:hover,
.education a:hover {
  text-decoration: underline;
}

/* END ABOUTME PAGE */


/* START CONTACT PAGE */
.contact main {
  padding: 45px 20px 80px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 25px;
  border-radius: 16px;
}

label {
  font-size: 20px;
  color: #2E2C2F;
  font-family: impact;
}

input::placeholder,
textarea::placeholder {
  font-family: arial;
  font-size: 12px;
}

input:focus,
textarea:focus {
  outline: none;
}

input,
textarea {
  border: 3px solid #DCDCC5;
  border-radius: 8px;
  padding: 10px;
  font-size: 16px;
  font-family: Arial;
  background-color: #ffffff;
}

textarea {
  height: 120px;
}

.contact button {
  width: 30%;
  background-color: #FFFFFF;

  color: #2E2C2F;
  font-size: 25px;
  font-family: impact;

  border: 3px solid #DCDCC5;
  border-radius: 25px;

  padding: 8px 0;
  margin-top: 10px;

  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact button:hover {
  transform: translateY(-2px);
}

/* END CONTACT PAGE */


/* START PROJECT PAGES */
.link-path ul {
  list-style: none;

  display: flex;
  flex-wrap: wrap;

  gap: 5px;
  padding: 25px;

  font-size: 15px;
}

.link-path a {
  color: black;
  text-decoration: none;
}

.link-path a:hover {
  text-decoration: underline;
}

.projects h1 {
  font-size: 30px;
  color: black;

  padding-left: 25px;
  margin-bottom: 15px;
}

.introductie-tekst-project {
  padding: 25px;
  line-height: 1.5;
  font-size: 15px;
}

.projects video {
  width: 75%;
}

.used-tools-project {
  display: flex;
  flex-direction: column;

  margin-top: 40px;
  padding: 25px;
  padding-bottom: 120px;
}

.used-tools-project img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}

.tools-project h3 {
  color: black;
  margin-bottom: 8px;
  text-align: left;
}

.tools-project {
  margin-left: 25px;
}

.tools-lijn-container {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.tool-lijn-container {
  height: 150px;
  width: 6px;
  background-color: #76C3AB;
  border-radius: 10px;
}

.naam-tools li {
  font-size: 16px;
  line-height: 1.5;
}

.button-website {
  padding-left: 20px;
  padding-top: 50px;
}

.button-website button {
  background-color: #748B77;
  color: white;

  padding: 14px;
  border: 0;
  border-radius: 13px;
}

.button-website button a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

/* END PROJECT PAGES */


/* START LIGHTBOX */
.gallery {
  display: grid;

  gap: 10px;
  margin-top: 15px;

  justify-items: center;
}

/* Desktop: 2x2 */
@media (min-width: 600px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 4 onder elkaar */
@media (max-width: 600px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

.gallery-img {
  width: 75%;
  height: 250px;
  /* grootte van elk vakje */
  background: white;
  object-fit: contain;
  /* afbeelding blijft volledig zichtbaar */
  border-radius: 16px;
  box-sizing: border-box;
  /* zorgt dat padding niet uitrekt */
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.gallery-img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  width: auto;
  height: auto;
  object-fit: contain;
  /* houdt originele verhoudingen */
  background: white;
  border-radius: 8px;
  padding: 10px;
  /* optioneel, geeft lucht rondom */
  box-sizing: border-box;
  display: block;
  margin: 0 auto;
}

.close {
  position: absolute;
  top: 40px;
  right: 30px;
  font-size: 35px;
  color: white;
  cursor: pointer;
}

#counter {
  color: white;
  margin-top: 10px;
}

#prev,
#next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: black;
  font-size: 40px;
  cursor: pointer;
  padding: 10px;
  user-select: none;
}

#prev {
  left: 20px;
}

#next {
  right: 20px;
}

/* END LIGHTBOX */





/* START TEXT ANIMATION */
@import url("https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap");

body {
  margin: 0;
  justify-content: center;
  height: 100vh;
  align-items: center;
}

/* END TEXT ANIMATION */



@media (min-width: 600px) {

  .top-nav {
    justify-content: flex-end;
  }

  .top-nav .menu {
    position: static;
    height: auto;
    width: auto;
    background: none;
    box-shadow: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
  }

  .top-nav .menu li {
    margin: 0 1.5em;
  }

  .top-nav .menu li a {
    font-size: 1rem;
    transform: none;
  }

  .top-nav .menu-icon {
    display: none;
  }

  main {
    max-width: 1200px;
    margin: 0 auto;
  }

  /* HOME */
  .services-vakjes {
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
    gap: 40px;
  }

  .service {
    width: 30%;
    margin-bottom: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .service img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .service-container {
    text-align: left;
    padding-left: 100px;
    padding-right: 100px;
  }

  .service-container p {
    font-size: 18px;
    max-width: 600px;
  }

  .latestprojects-vakjes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 40px;
    justify-items: center;
    align-items: start;
  }

  .project img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .project img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  }

  .latestprojects-container {
    text-align: left;
    padding-left: 100px;
    padding-right: 100px;
  }

  .latestprojects-container p {
    font-size: 18px;
    max-width: 600px;
  }

  .service-container li,
  .latestprojects-container li {
    font-size: 28px;
  }

  .service-container p,
  .latestprojects-container p {
    font-size: 17px;
    line-height: 1.6;
  }

  .service-container,
  .latestprojects-container {
    padding-top: 60px;
    padding-bottom: 120px;
  }

  /* PORTFOLIO */
  .projecten {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 kolommen */
    grid-template-rows: repeat(5, auto);
    /* 5 rijen (1 per projectpaar) */
    gap: 30px;
    /* ruimte tussen de items */
    padding: 40px;
    justify-items: center;
    /* centreert elk project */
  }

  .project img {
    width: 90%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .project img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
  }

  /* ABOUT ME */
  .aboutme-table {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
  }

  .aboutme-table img {
    width: 20%;
    height: auto;
    border-radius: 10px;
    margin: 0;
  }

  .aboutme-tekst table {
    font-size: 18px;
  }

  .aboutme-tekst td {
    padding: 10px 25px;
  }

  .long-description {
    max-width: 950px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
    padding: 60px 0;
  }

  .software-skills h2,
  .languages h2,
  .experience h2,
  .education h2,
  .personal-skills h2 {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .skill img {
    width: 60px;
  }

  .skill-info p {
    font-size: 20px;
  }

  .personal-skills li,
  .experience li,
  .education li {
    font-size: 17px;
  }

  .aboutme img {
    border-radius: 10px;
  }

  .about-me-section {
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding: 60px 25px;
  }

  .about-me-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 100px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
  }

  .left-column,
  .right-column {
    display: flex;
    flex-direction: column;
    gap: 60px;
  }


  .about-me-section h2 {
    font-size: 26px;
    margin-bottom: 25px;
    position: relative;
  }



  .skill {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
  }

  .skill img {
    width: 45px;
    height: 45px;
    object-fit: contain;
  }

  .skill-info {
    flex: 1;
  }

  .skill-info p {
    font-weight: 600;
    margin-bottom: 8px;
  }

  .skill-bar {
    position: relative;
    width: 100%;
    height: 10px;
    border-radius: 10px;
    overflow: hidden;
  }

  .skill-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 10px;
    border-radius: 10px 0 0 10px;
  }

  .personal-skills ul {
    display: flex;
    flex-direction: column;
  }

  .personal-skills li {
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 500;
  }

  .experience ul,
  .education ul {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .experience li,
  .education li {
    font-size: 16px;
    line-height: 1.6;
  }

  /* CONTACT */
  form {
    width: 100%;
    max-width: 600px;
    padding: 40px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    margin: auto;
    gap: 18px;
  }

  label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
  }

  input,
  textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
  }


  button {
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    padding: 14px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
  }

  form {
    padding: 25px;
    border-radius: 14px;
  }

  label {
    font-size: 15px;
  }

  input,
  textarea {
    font-size: 15px;
  }

  button {
    font-size: 16px;
  }


  /* PROJECT PAGES */
  .link-path {
    padding-top: 30px;
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .gallery-img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    border-radius: 16px;
    background: white;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  }

  .gallery-img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .gallery-img,
  .gallery video {
    width: 85%;
    height: 300px;
  }

  .used-tools-project {
    flex-direction: row-reverse;
    align-items: flex-start;
    justify-content: center;
    gap: 50px;
    padding-left: 50px;
    padding-right: 50px;
  }

  .used-tools-project img {
    width: 45%;
    margin-bottom: 0;
    border-radius: 16px;
  }

  .tools-project {
    width: 45%;
    margin-left: 0;
  }

  .tools-project h3 {
    font-size: 22px;
  }

  .naam-tools li {
    font-size: 18px;
  }

  #prev,
  #next {
    font-size: 55px;
    color: white;
    padding: 15px;
  }

  .close {
    font-size: 45px;
    right: 40px;
  }

  .button-website {
    margin-left: 30px;
    padding-top: 10px;
  }

}