:root {
  --color-accent: #0673cc;
  --color-body-bg: #262537;
  --color-secondary: #454462;
  --color-light: #f2f0ef;
  --color-text: #ffffff;
  --color-dark: #18191a;
  --color-black-text: #000000;
}

* {
  padding: 0;
  margin: 0;
}
body {
  font-family: "poppins", serif;
  background-color: var(--color-body-bg);
}


section {
  display: flex;
  width: 100%;
  height: 90vh;
}

.half {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.half::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: 0;
}

.half.left::before {
  background-image: url("../img/particulieren.png");
}

.half.right::before {
  background-image: url("../img/zalmSnijplank.png");
}

.button {
  position: relative;
  z-index: 1;
}

.button a {
  display: block;
  padding: 20px 30px;
  background-color: rgba(255, 255, 255, 0.5);
  color: #000;
  font-size: 30px; 
  font-weight: 600;
  width: 300px;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
  backdrop-filter: blur(5px); 
  -webkit-backdrop-filter: blur(5px); 
  border: 1px solid rgba(255, 255, 255, 0.5); 
  transition: all ease 0.5s;
}

.button a:hover{
  scale: 1.02;
}

/* Show the background when hovering the button */
.half:hover::before {
  opacity: 1;
}
.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -80%);
  z-index: 2; /* Above the background images */
}

.logo img {
  width: 120px;
}
footer {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: calc(50% - 100px);
  background-color: var(--color-light);
  height: 10vh;
}

footer a{
  text-decoration: none;
  color: black;
  font-size: 30px;
  font-weight: 600;
}

@media screen and (max-width: 1024px) {
  .logo{
    transform: translate(-50%, -120%);
  }
  footer {
    font-size: 16px;
  }

  section {
    flex-direction: column;
    height: auto;
  }

  .half {
    flex: none;
    height: 40vh;
  }

  footer{
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 15px 0;
    height: 20vh;
  }
 
}

@media screen and (max-width: 480px) {
  .button a {
    padding: 20px 15px;
    font-size: 16px;
    width: 180px;
  }

  .logo img {
    width: 100px;
  }
  .logo{
    transform: translate(-50%, -135%);
  }
}