body {
    font-family: 'Darker Grotesque', sans-serif;
    margin: 0;
    padding: 0;
}

.navbar {
  background-color: black;
  padding: 10px 5%;
  position: sticky;
  top: 0;
  z-index: 999;
  padding-right: 7%;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 50px;
}

#menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: white;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-size: 28px;
  padding: 15px 25px;
  display: block;
  transition: background-color 0.3s ease;
}

.nav-links li a:hover {
  background-color: red;
  color: white;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background-color: black;
    padding: 10px 0;
  }

  #menu-toggle:checked + .hamburger + .nav-links {
    display: flex;
  }

  .nav-links li a {
    font-size: 24px;
    color: white;
    padding: 15px 25px;
    width: 100%;
  }

  .nav-links li a:hover {
    background-color: red;
  }
}

.hero {
    background-image: url('../media/Banner_Web2.jpg');
    background-size: cover;
    background-position: center;
    height: 550px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 60px;
    color: white;
}

.hero-content {
    text-align: right;
    max-width: 600px;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    margin-right: 70px;
}

.header-image h1 {
  font-family: inherit;
}


.hero p {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.hero-btn {
    text-decoration: none;
    background-color: transparent;
    color: rgb(255, 255, 255);
    padding: 5px 20px;
    border: 2px solid white;
    border-radius: 25px;
    font-size: 1.25rem;
    transition: background-color 0.3s ease;
    margin-right: 70px;
}

.hero-btn:hover {
    background-color: white;
    color: black;
}

.werk {
    background-color: black;
    color: white;
    padding: 5px 20px;
    text-align: center;
}

.werk h2 {
    font-size: 7rem;
    font-weight: 900;
    margin-bottom: 60px;
}

.werk-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1600px;
    margin: 0 auto;
}

.werk-item {
    width: 45%;
    max-width: 500px;
    /*of   height: auto; */
    height: 550px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.werk-item a {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}


.werk-item img {
    width: 100%;
    height: 80%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.werk-item img:hover {
    transform: scale(1.1);
}

.werk-ondertitel {
    display: flex;
    align-items: center;
    margin-top: 10px;
    width: 100%;
    gap: 10px;
}

.werk-ondertitel hr {
    flex-grow: 1;
    border: none;
    border-top: 2px solid rgb(255, 255, 255);
}

.werk-ondertitel span {
    white-space: nowrap;
    font-size: 1.5rem;
    color: rgb(255, 255, 255);
}

@media (max-width: 768px) {
    .werk-item {
        width: 100%;
    }
}

.side-logo {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 800px;
  z-index: 1;
  pointer-events: none;
}

.left-logo {
  left: -550px;
}

.right-logo {
  right: -550px;
}

@media (max-width: 768px) {
  .side-logo {
    display: none;
  }
}


.over-mij {
  position: relative;
  overflow: hidden;
  padding: 50px 20px;
  background-image: url('../media/achtergrond.png');
  background-size: cover;
  background-position: center;
  text-align: center;
  color: white;
  z-index: 0;
}


.over-mij h2 {
    font-size: 7rem;
    font-weight: 900;
    color: white;
    margin-bottom: 60px;
    
}

.over-mij-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.profiel-foto {
    width: 100%;
    max-width: 480px;
    height: auto;
    object-fit: cover;
    border: 8px solid red;
    margin-bottom: 10px;
}


.naam {
    font-size: 3.6rem;
    color: red;
    margin-bottom: 10px;
    font-weight: 800;
}

.beschrijving {
    font-size: 1.1rem;
    text-align: left;
    color: white;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 480px;
    padding: 0 20px;
}

.cv-btn {
    text-decoration: none;
    background-color: red;
    color: white;
    padding: 5px 15px;
    border-radius: 999px; 
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.cv-btn:hover {
    background-color: darkred;
}

.skills-section {
    background-color: #2d2d2d;
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.skills-section h2 {
    font-size: 7rem;
    font-weight: 900;
    margin-bottom: 60px;
}

.skills-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.hover-hint {
  display: none;
}

@media screen and (min-width: 768px) {
  .hover-hint {
    display: block;
    text-align: center;
    font-size: 1rem;
    color: #ffffff;
    font-style: italic;
    padding-bottom: 2%;
  }
}

.skill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.bar {
    width: 80px;
    height: 300px;
    background-color: black;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.bar::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: red;
    transition: height 1s ease;
}

.skill:hover .bar::before {
    height: var(--level);
}


@media (max-width: 768px) 
{
  .skills-container {
    flex-wrap: wrap;
    justify-content: center;
  }

   .skill {
    flex: 0 0 20%;
    max-width: 20%;
  }

  .bar::before {
    height: var(--level);
  }
  
}

.skill-icon {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.footer {
    background-color: black;
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 10px 60px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-left {
    flex: 1;
    min-width: 300px;
}

.footer-left h2 {
    font-size: 7rem;
    font-weight: 900;
    margin-bottom: 30px;
}

.footer-left p {
    font-size: 1.5rem;
    line-height: 2.4rem;
}

.telefoon-footer {
    color: red;
    font-weight: bold;
}

.footer-right {
    flex: 1;
    text-align: right;
    min-width: 300px;
}

.footer-logo {
    max-height: 100px;
    margin-bottom: 100px;
}

.socials a {
    margin-left: 20px;
    display: inline-block;
}

.socials img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.socials img:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
  .footer {
    flex-direction: row;
    align-items: flex-start;
    padding: 20px;
  }

  .footer-left {
    flex: 1;
    min-width: 50%;
    text-align: left;
  }

  .footer-right {
    flex: 1;
    min-width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
  }

  .footer-logo {
    max-width: 100px;
    height: auto;
    margin-bottom: 10px;
  }

  .socials {
    display: flex;
    gap: 10px;
  }

  .socials a {
    margin: 0;
  }


  .footer-left p {
    font-size: 1rem;
  }
}

.header-image {
  position: relative;
  height: 550px;
  background-image: url('../media/Banner_Web2.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.header-image h1 {
  font-size: 7rem;
  color: white;
  margin-bottom: 30px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  font-weight: 900;
  text-align: center;
}

.project-content {
    background-image: url('../media/achtergrond.png');
    background-size: cover;
    background-position: center;
    padding: 50px 20px;
    text-align: center;
    color: white;
}

.project-images-container {
  width: 80%;
  margin: 0 auto;
}

.project-main-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-bottom: 40px;
}

.project-video {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 40px auto;
}

.project-thumbnails {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.project-thumbnails img {
  width: calc(33.33% - 13.33px);
  height: 300px;
  object-fit: cover;
}

.project-description {
  font-size: 1.4rem;
  line-height: 1.8;
  max-width: 1000px;
  padding-top: 20px;
  margin: 0 auto;
  text-align: left;
}

@media (max-width: 768px) {
  .project-images-container {
    width: 100%;
    padding: 0 20px;
  }

  .project-main-img {
    height: auto;
  }

  .project-thumbnails {
    flex-direction: column;
    gap: 20px;
  }

  .project-thumbnails img {
    width: 100%;
    height: auto;
  }
}

.meer-werken {
  margin-top: 80px;
  text-align: center;
}

.meer-werken .cv-btn {
  text-decoration: none;
  background-color: #ff0000;
  color: white;
  padding: 12px 30px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 50px;
  transition: background-color 0.3s ease;
}

.meer-werken .cv-btn:hover {
  background-color: darkred;
}

.andere-werken-titel {
  font-size: 3rem;
  color: white;
  font-weight: 900;
  margin-bottom: 40px;
}

.andere-werken-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.andere-werken-grid img {
  width: 400px;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.andere-werken-grid a:hover img {
  transform: scale(1.1);
}

@media (max-width: 850px) {
  .andere-werken-grid {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .andere-werken-grid img {
    width: 90%;
  }
}
