@font-face {
  font-family: "Manrope";
  src: url(../fonts/Manrope-VariableFont_wght.ttf) format("truetype");
  font-weight: 50 900;
}

@font-face {
  font-family: "Exo2";
  src: url(../fonts/Exo2-VariableFont_wght.ttf) format("truetype");
  font-weight: 50 900;
}

@font-face {
  font-family: "IBM";
  src: url(../fonts/IBMPlexSans-VariableFont_wdth-wght.ttf) format("truetype");
  font-weight: 50 900;
  font-style: normal;
}

@font-face {
  font-family: "IBM";
  src: url(../fonts/IBMPlexSans-Italic-VariableFont_wdth-wght.ttf)
    format("truetype");
  font-weight: 50 900;
  font-style: italic;
}

@font-face {
  font-family: "Titillium";
  src: url(../fonts/TitilliumWeb-Black.ttf) format("truetype");
  font-weight: 50 900;
  font-style: bold;
}

@font-face {
  font-family: "Titillium";
  src: url(../fonts/TitilliumWeb-Bold.ttf) format("truetype");
  font-weight: 50 900;
  font-style: bold;
}

:root {
  --primary-blue: #101d42;
  --highlight-blue: #00c1d9;
  --dark-blue: #0c1226;
  --light-gray: #f5f5f5;

  --font-size-base: clamp(0.875rem, 0.7434rem + 0.5263vw, 1.375rem);
  --font-size-h1: clamp(1.5rem, 0.7434rem + 3.0263vw, 4.375rem);
  --font-size-h2: clamp(1.625rem, 1.1316rem + 1.9737vw, 3.5rem);
  --font-size-button: clamp(0.75rem, 0.6vw + 0.4rem, 0.875rem);
  --font-size-small: clamp(0.75rem, 0.7rem + 0.2vw, 0.875rem);
  --font-size-small-md: clamp(0.875rem, 0.8rem + 0.3vw, 1rem);

  --border-radius-sm: 4px;
  --border-radius-md: 6px;
  --border-radius-lg: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.project-content-tekst p {
  font-family: "IBM", sans-serif;
  font-weight: 300;
  font-size: var(--font-size-base);
  color: var(--primary-blue);
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0;
  gap: 1rem;
  transition: background-color 0.3s ease;
  font-family: "IBM", sans-serif;
  font-size: var(--font-size-small);
}

.projecting {
  padding: 0 7vw 2rem;
  font-family: "IBM", sans-serif;
}

.projecting-projectknop {
  display: block;
  width: fit-content;
  margin-right: auto;
  font-family: "IBM", sans-serif;
  font-weight: 500;
  font-size: var(--font-size-button);
  padding: 0.7rem 1.4rem;
  color: var(--highlight-blue);
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--highlight-blue);
}

.projecting-projectknop:hover {
  background-color: var(--highlight-blue);
  color: var(--light-gray);
}

.projecting-alles-button:hover .projecting-allesknop::after {
  transform: scaleX(1);
}

.projecting-allesknop {
  position: relative;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: 0.5rem;
  font-family: "IBM", sans-serif;
  font-size: var(--font-size-button);
  padding: 0.7rem 0rem;
  color: var(--dark-blue);
  text-decoration: none;
  transition: all 0.3s ease;
}

.projecting-allesknop::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.projecting-allesknop:hover::after {
  transform: scaleX(1);
}

.projecting-alles-button:hover svg {
  animation: rotate 0.4s ease forwards;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-48deg);
  }
}

.projecting-wrapper {
  display: flex;

  align-items: stretch;
  justify-content: space-between;
  gap: 2rem;
}

.projecting-wrapper div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.projecting-wrapper img {
  width: 100%;
  max-width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: var(--border-radius-md);
}

.projecting h2 {
  justify-self: left;
  font-weight: 500;
  color: var(--dark-blue);
  font-family: "Exo2", sans-serif;
  font-size: var(--font-size-h2);
}

.projecting-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.6rem;
}

.projecting-alles-button {
  display: flex;
  transition: transform 0.4s ease;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  margin-right: 1rem;
  width: max-content;
}

.projecting-alles-button-mobile {
  display: flex;
  transition: transform 0.4s ease;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  margin-right: 1rem;
  width: max-content;
  opacity: 0;
}

.projecting-alles-button svg {
  color: var(--primary-blue);
}

.projecting-wrapper small {
  padding: 0.6rem;
  border: 0.4px solid var(--dark-blue);
  letter-spacing: 1.6px;
  font-weight: 300;
  width: max-content;
  border-radius: var(--border-radius-md);
}

.erkend-leerbedrijf img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: var(--border-radius-md);
}

.erkend-leerbedrijf {
  display: flex;
  align-items: center;
  padding: 2rem 7vw;
  background-color: var(--light-gray);
  gap: 3rem;
  font-family: "IBM", sans-serif;
}

.erkend-leerbedrijf p {
  font-size: var(--font-size-base);
  color: var(--dark-blue);
  font-weight: 300;
}

.overons-content1 {
  padding: 2rem 7vw;
  border-right: var(--primary-blue) dashed 1px;
  max-width: 86vw;
  display: flex;
  flex-direction: column;
  gap: 1rem;

  & ul {
    font-family: "IBM", sans-serif;
    line-height: 1.6;
    font-weight: 300;
    font-size: var(--font-size-base);
    margin-left: 40px;
  }

  & hr {
    width: 39vw;
    border-color: var(--light-gray);
    margin: 1rem 0;
    border-radius: 999px;
  }

  & h2 {
    color: var(--dark-blue);
    font-family: "Exo2", sans-serif;
    font-size: var(--font-size-h2);
  }

  & p {
    font-family: "IBM", sans-serif;
    line-height: 1.6;
    font-weight: 300;
    font-size: var(--font-size-base);
    color: var(--dark-blue);
  }
}

.overons-buttons a {
  all: unset;
  text-decoration: none;
  background-color: var(--highlight-blue);
  width: max-content;
  font-family: "IBM";
  color: var(--dark-blue);
  font-weight: 500;
  font-size: var(--font-size-button);
  padding: 0.7rem 1.4rem;
  border-radius: var(--border-radius-md);
  transition: 0.3s ease;
  border: 1px solid transparent;
}

.overons-buttons {
  display: flex;
  gap: 1rem;
  padding: 2rem 7vw 4rem;
  max-width: 86vw;
  border-right: var(--primary-blue) dashed 1px;
}

.overons-buttons a:hover {
  cursor: pointer;
  background-color: var(--primary-blue);
  color: var(--highlight-blue);
  border: 1px solid var(--highlight-blue);
}

.overons-content2 {
  padding: 2rem 7vw;
  max-width: 86vw;
  display: flex;
  border-right: var(--primary-blue) dashed 1px;
  flex-direction: column;
  gap: 1rem;

  & p {
    font-family: "IBM", sans-serif;
    line-height: 1.6;
    font-weight: 300;
    font-size: var(--font-size-base);
    color: var(--dark-blue);
  }
}

.uitlichting1 {
  display: flex;
  box-sizing: border-box;
  background-color: var(--light-gray);
  position: relative;
}

.uitlichting1-links {
  position: relative;
  padding: 2rem 5rem 2rem 7vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.3rem;

  & b {
    font-weight: 600;
  }
}

.uitlichting1-links small,
.uitlichting1-links p,
.uitlichting1-links button {
  font-family: "IBM", sans-serif;
  color: var(--dark-blue);
}

.uitlichting1-links h2 {
  font-family: "Exo2";
  font-size: var(--font-size-h2);
  color: var(--dark-blue);
}

.uitlichting1-links p {
  font-size: var(--font-size-base);
  line-height: 1.6;
  font-weight: 300;
}

.uitlichting1-links small {
  font-weight: 300;
  letter-spacing: 1.6px;
  border: solid 0.4px var(--dark-blue);
  border-radius: var(--border-radius-md);
  padding: 0.6rem;
  width: max-content;
}

.uitlichting1-links button {
  all: unset;
  text-decoration: none;
  background-color: var(--highlight-blue);
  width: max-content;
  font-family: "IBM";
  margin-top: auto;
  color: var(--dark-blue);
  font-weight: 500;
  font-size: var(--font-size-button);
  padding: 0.7rem 1.4rem;
  border-radius: var(--border-radius-md);
  transition: 0.3s ease;
  border: 1px solid transparent;
}

.uitlichting1-links button:hover {
  background-color: var(--primary-blue);
  color: var(--highlight-blue);
  border: 1px solid var(--highlight-blue);
}

.uitlichting1-links,
.uitlichting1-rechts {
  flex: 1;
  overflow: hidden;
}

.uitlichting1-rechts img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {
  .projecting-alles-button-mobile {
    opacity: 1;
  }

  .smart-home,
  .duurzame-energie,
  .thuisbatterij,
  .klimaatbeheersystemen,
  .elektrotechniek {
    flex-direction: column;
  }

  .diensten-verborgen-img {
    width: 100%;
    height: auto;
  }

  .overons-content1 {
    border-right: none;
    max-width: 100vw;
  }

  .uitlichting1-links {
    padding: 2rem 7vw;
  }

  .overons-content2,
  .overons-buttons {
    max-width: 100vw;
    border-right: none;
  }

  .uitlichting1 {
    flex-direction: column;
  }

  .overons-buttons {
    flex-direction: column;
    align-items: center;
  }

  .projecting-alles-button {
    display: none;
  }
}
