* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Tinos", serif;
}

.navbar {
  z-index: 1000;
  top: 0;
  background-color: #333;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  width: 100%;
  height: 96px;
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: space-between;  
}

.left {
  display: flex;
  align-items: center;
  margin-left: 21px;
}

.left .logo {
  color: #fff;
  font-size: 24px;
  font-weight: 700;;
  text-align: center;
  line-height: 20px;
  text-decoration: none;
}

.left .logo span {
  color: #fff;
  font-size: 19px;
  font-weight: 700;
}

.right {
  display: flex;
  align-items: center;
  margin-right: 21px;
}

.right ul {
  display: flex;
  list-style: none;
  width: 308px;
  justify-content: space-evenly
}

.right ul li a{
  color: #fff; 
  font-size: 20px;
  font-weight: 700;  
  text-align: center;
  padding: 10px;
  text-decoration: none;
  transition: 0.3s ease;
}

.right ul li a:hover {
  color: #a9a9a9;
  transition: 0.3s ease;
}

.hamburger-menu {
  margin-right: 21px;
  display: none;
}

.hamburger-menu span {
  color: #fff; 
  font-size: 36px;  
  text-align: center;
  padding: 10px;
}

/*  */
.header {
  height: 80vh;  /* Use full viewport height */
  margin-top: 96px;
  width: 100%;
  display: flex;
  align-items: center;  /* Vertically center */
  justify-content: center;  /* Horizontally center */
  flex-direction: column;
  position: relative;  /* Position relative for the pseudo-element */
}

.header::before {
  content: '';  /* Required for the pseudo-element */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('./Assets/background.jpg');  /* Background image in pseudo-element */
  background-size: cover;
  background-position: center;
  opacity: 0.5;  /* Adjust the opacity here */
  z-index: -1;  /* Places the image behind the text */
}

.header-content {
  text-align: center;  /* Center text within the content */
  z-index: 1;  /* Ensure content is above the background */
}

.header h1 {
  font-size: 48px;
  font-weight: 700;
  color: #000;
  line-height: 36px;
  text-align: center;
  opacity: 1;
}

.header h1 span {
  color: #000;
  font-size: 38px;
}

.header hr {
  justify-self: center;
  width: 150px;
  height: 2px;
  background-color: #000;
  margin-top: 14px;
}

.header p {
  font-size: 24px;
  font-weight: 400;
  color: #000;
  width: 339px;
  text-align: center;
  margin-top: 5px;
}

.header a {
  width: 269px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 15px;
  background-color: #333;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  text-decoration: none;
}

main {
  width: 100%;
}

.diensten__container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 50px;
}

.diensten__container h2 {
  font-size: 40px;
  font-weight: 700;
  color: #000;
  text-align: center;
}

.gyprocwerken-en-gipswerken__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;  
  margin: 34px 210px 0 210px;
  align-items: center;
}

.gyprocwerken-en-gipswerken__container .gyprocwerken-en-gipswerken__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.gyprocwerken-en-gipswerken__container h3 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.72px;
  color: #000;
  width: 100%;
}

.gyprocwerken-en-gipswerken__container p {
  font-size: 16px;
  font-weight: 400;
  color: #000;
  margin-top: 10px;
  letter-spacing: 0.32px;
  line-height: 20px;
}

.gyprocwerken-en-gipswerken__container img {
  max-width: 100%;
  max-height: 100%;
}

.timmerwerken__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 0 210px 0 210px;
  align-items: center;
  background-color: #f7f7f7;
}

.timmerwerken__container .timmerwerken__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.timmerwerken__container h3 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.72px;
  color: #000;
  width: 100%;
}

.timmerwerken__container p {
  font-size: 16px;
  font-weight: 400;
  color: #000;
  margin-top: 10px;
  letter-spacing: 0.32px;
  line-height: 20px;
}

.timmerwerken__container img {
  max-width: 100%;
  max-height: 100%;
}

.over-ons__container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 50px;
}

.over-ons__container h2 {
  font-size: 40px;
  font-weight: 700;
  color: #000;
  text-align: center;
}

.over-ons__container-inhoud {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin: 33px 210px 0 210px;
  align-items: center;
}

.over-ons__container-inhoud .over-ons__text {
  font-size: 16px;
  font-weight: 400;
  color: #000;
  margin-top: 10px;
  letter-spacing: 0.32px;
}

.over-ons__container-inhoud .over-ons__text span {
  font-weight: 700;
}

.over-ons__side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: Arial, Helvetica, sans-serif;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  color: #333;
  text-align: center;
}

.over-ons__side1 span {
  font-size: 20px;
  letter-spacing: 0.32px;  
}

.over-ons__side1 {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 0.96px;
  line-height: 25px;
}

.over-ons__side2 {
  font-size: 16px;
  font-weight: 900;
  line-height: 15px;
  letter-spacing: 0.32px;
  margin-top: 75px;
}

.over-ons__side2 span {
  font-size: 64px;
  letter-spacing: 1.28px;
}

.over-ons__side3 {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 0.96px;
  line-height: 25px;
  margin-top: 39px;
}

.over-ons__side3 span {
  font-size: 18px;
  letter-spacing: 0.32px;
}

.resultaten__container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.resultaten__container h2 {
  font-size: 40px;
  font-weight: 700;
  color: #000;
  text-align: center;
  margin-top: 50px;
}

.row1 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin: 33px 210px 0 210px;
}

.kader1 {
  width: 63%;
}

.kader2 {
  width: 35.45%;
}

.row2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 5px 210px 0 210px;
}

.kader3 {
  width: 35.5%;
}

.kader4 {
  width: 35.5%;
}

.kader5 {
  width: 26.6%;
}


/* .resultaten-flex img {
  width: 100%;
  object-fit: cover;
}

.resultaten-flex .video-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.resultaten-flex .video-wrapper video {
  width: 100%;
  height: auto;
} */






.video-wrapper {
  position: relative;
}

video {
  width: 100%;
  display: block;
  cursor: pointer;
}

.video-wrapper {
  position: relative;
}

video {
  width: 100%;
  display: block;
  cursor: pointer;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.play-button span {
  color: rgba(355, 355, 355, 0.7);
  background-color: transparent;
  border: none;
  font-size: 40px;
  cursor: pointer;
}

.fullscreen-controls {
  display: none;
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px;
  border-radius: 5px;
  z-index: 1000;
}

.fullscreen-controls input[type="range"] {
  width: 100%;
}

.fullscreen-controls.active {
  display: flex;
  flex-direction: column;
}

.contact__container {
  background-color: #333;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 50px;
  border-bottom: #fff 1px solid;
}

.contact__container h2 {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  letter-spacing: 0.8px;
  margin-top: 48px;
}

.contact__container-inhoud {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin: 33px 210px 30px 210px;
}

.contact__text {
  color: #FFF;
}

.contact__text .logo {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 18px;
}

.contact__text .logo span {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.4px;  
}

.contact__text .motivator {
  font-size: 16px;
  font-weight: 700;
  margin-top: 25px;
}

.contact__text .contact__info {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.32px;
  margin-top: 30px;
  line-height: 20px;
}

.contact__form {
  display: flex;
  flex-direction: column;
}

.contact__form h3 {
  color: #FFF;
  font-size: 24px;
  font-weight: 700;}

.contact__form form {
  display: flex;
  flex-direction: column;
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: 4px;
  border: 1px solid #ddd; /* Subtle border */
  border-radius: 5px; /* Rounded corners */
  font-size: 16px;
  outline: none;
  transition: 0.3s ease;
  margin-bottom: 17px;
  background-color: #f7f7f7;
}

.contact__form input {
  margin-top: 17px;
}

.contact__form input:focus,
.contact__form textarea:focus {
  border-color: #007BFF; /* Highlight on focus */
}

.contact__form button {
  width: 140px;
  height: 45px;
  background-color: #f7f7f7; /* Primary button color */
  color: #000;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact__form button:hover {
  background-color: #000; /* Darker shade on hover */
  color: #FFF;
  transition: 0.3s ease;
}

.logo-mobile {
  font-size: 25px;
  font-weight: 700;
  line-height: 18px;
  color: #FFF;
  margin-top: 30px;
  margin-bottom: -25px;
  display: none;
}

.logo-mobile span {
  font-size: 20px;
  font-weight: 700;
}

.contact__info-mobile {
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  display: none;
}

.footer {
  background-color: #333;
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer p {
  color: #FFF;
  font-size: 16px;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .gyprocwerken-en-gipswerken__container {
    margin: 34px 100px 0 100px;
    gap: 50px;
  }
  .timmerwerken__container {
    padding: 0 100px 0 100px;
    gap: 50px;
  }
  .over-ons__container-inhoud {
    margin: 33px 100px 0 100px;
    gap: 50px;
  }
  .row1 {
    margin: 33px 100px 0 100px;
  }
  .row2 {
    margin: 10px 100px 0 100px;
  }
  .contact__container-inhoud {
    margin: 33px 100px 30px 100px;
    gap: 50px;
  }
}

@media (max-width: 768px) {
  .gyprocwerken-en-gipswerken__container h3, .gyprocwerken-en-gipswerken__container p, .timmerwerken__container h3, .timmerwerken__container p, .over-ons__container-inhoud .over-ons__text, .over-ons__side1 span, .over-ons__side1, .over-ons__side2, .over-ons__side2 span, .over-ons__side3, .over-ons__side3 span, .contact__container h2, .contact__text .logo, .contact__text .logo span, .contact__text .contact__info, .gyprocwerken-en-gipswerken__container {
    letter-spacing: 0;
  }
  .gyprocwerken-en-gipswerken__container {
    margin: 34px 27px 0 27px;
    gap: 20px;  
  }
  .timmerwerken__container {
    padding: 0 27px 0 27px;
    gap: 20px;
  }
  .row1 {
    margin: 33px 27px 0 27px;
  }

  .row2 {
    margin: 7px 27px 0 27px;
  }

  .over-ons__container-inhoud {
    margin: 33px 27px 0 27px;
    display: flex;
    flex-direction: column;
  }

  .over-ons__side {
    width: 100%;
    flex-direction: row;
    justify-content: space-evenly;
    margin-top: -60px;
  }

  .over-ons__side1 {
    margin-top: 0;
  }

  .over-ons__side2 {
    margin-top: 34px;
  }

  .over-ons__side3 {
    margin-top: 0;
  }

  .contact__container {
    display: flex;
    flex-direction: row; /* Default layout: side-by-side */
    flex-wrap: wrap;
    gap: 20px;
    margin: 33px 0 30px 0;
  }

  .contact__container-inhoud {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .contact__text .motivator {
    margin-top: -35px;
  }
  
  .contact__text,
  .contact__form {
    flex: 1;
    padding: 10px;
  }

  .contact__form {
    margin-top: -70px;
  }



  .contact__text p {
    margin: 10px 0;
  }

  .contact__form input,
  .contact__form textarea {
    margin-bottom: 10px;
    padding: 8px;
    font-size: 16px;
  }

  .contact__form button {
    width: 50%;
    height: 45px;
  }

  .contact__container-inhoud {
    flex-direction: column; /* Stack all items vertically */
  }

  .contact__text .logo {
    display: none; /* Hide the logo */
  }

  .contact__text .motivator {
    order: 2; /* Motivator appears below the logo */
  }
  .contact__form {
    order: 3; /* Form appears below the text */
  }

  .contact__info {
    display: none; /* Hide contact information */
  }

  .logo-mobile {
    display: block; /* Show the mobile logo */
  }

  .contact__info-mobile {
    display: block; /* Show contact information */
    margin-top: 30px;
    margin-bottom: 20px;
    color: #FFF;
  }

  .footer {
    margin-top: -30px;
  }
}

@media (max-width: 640px) {
  .navbar {
    flex-wrap: wrap;
    height: auto;
    padding: 10px;
  }

  .hamburger-menu {
    display: block;
  }

  .hamburger-menu:hover {
    cursor: pointer;
  }

  .right {
    position: absolute;
    top: 76px;
    right: -230px; /* Hidden off-screen initially */
    width: 200px; /* Width of the slide-in menu */
    flex-direction: column; /* Stack buttons vertically */
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease; /* Smooth slide-in effect */
    background-color: #333; /* Ensure visibility */
    display: flex; /* Hide by default */
    z-index: 1;
    margin: 0;
  }

  .right ul {
    flex-direction: column;
    width: auto;
    align-items: center;
    justify-content: space-evenly;
    height: 100px;
  }

  .right ul li {
    width: 100%;
  }

  .right ul li a {
    font-size: 18px;
  }

  .right.open {
    display: flex; /* Show the menu when open */
    right: 0; /* Slide in to visible area */
  }

  .header {
    margin-top: 76px;
    height: 60vh;
  }

  .header h1 {
    font-size: 36px;
  }

  .header h1 span {
    font-size: 29px;
  }

  .header p {
    font-size: 16px;
  }

  .header a {
    width: auto;
    font-size: 14px;
    padding: 10px 20px;
  }

  .diensten__container h2,
  .over-ons__container h2,
  .contact__container h2 {
    font-size: 28px;
  }

  .over-ons__side1 span {
    font-size: 12px; /* 20px * 0.6 */
    letter-spacing: 0.19px; /* 0.32px * 0.6 */
  }
  
  .over-ons__side1 {
    font-size: 28.8px; /* 48px * 0.6 */
    font-weight: 900; /* unchanged */
    letter-spacing: 0.58px; /* 0.96px * 0.6 */
    line-height: 18px; /* 25px * 0.6 */
  }
  
  .over-ons__side2 {
    font-size: 9.6px; /* 16px * 0.6 */
    font-weight: 900; /* unchanged */
    line-height: 9px; /* 15px * 0.6 */
    letter-spacing: 0.19px; /* 0.32px * 0.6 */
    margin-top: 22px; /* 75px * 0.6 */
  }
  
  .over-ons__side2 span {
    font-size: 38.4px; /* 64px * 0.6 */
    letter-spacing: 0.77px; /* 1.28px * 0.6 */
  }
  
  .over-ons__side3 {
    font-size: 28.8px; /* 48px * 0.6 */
    font-weight: 900; /* unchanged */
    letter-spacing: 0.58px; /* 0.96px * 0.6 */
    line-height: 15px; /* 25px * 0.6 */
  }
  
  .over-ons__side3 span {
    font-size: 10.8px; /* 18px * 0.6 */
    letter-spacing: 0.19px; /* 0.32px * 0.6 */
  }
  
  
  .contact__container h2 {
    margin-top: 30px;
  }

  .gyprocwerken-en-gipswerken__container h3,
  .timmerwerken__container h3 {
    font-size: 20px;
    line-height: 18px;
    margin-top: 15px;
  }

  .gyprocwerken-en-gipswerken__container p,
  .timmerwerken__container p,
  .over-ons__container-inhoud .over-ons__text,
  .contact__text {
    font-size: 14px;
    margin-bottom: 15px;
  }
  
  .contact__container-inhoud {
    margin: 33px 10% 30px 10%;
  }
  
}