h2 {
    margin: 0px;
}

.herocontainer {
    background: url(../images/Fiets2.png);
    /* filter: var(--invert); */
    background-size: 49em;
    background-position: center;
    background-repeat: space;
    height: 55vh;
    display: flex;
    justify-content: start;
    align-items: center;
    color: var(--white);
    text-align: center;
    /* border-radius: 100% 100% 100% 0% / 4% 88% 12% 96%; */
    overflow: hidden; /* Ensure the bicycle doesn't overflow the container */
    position: relative; /* Needed for absolute positioning of the bicycle */
    border: var(--border);
    box-shadow: var(--box-shadow);
    /* animation: zoomInOut 5s 3s ease-in-out; */
    /* animation: slideInFromRight 2s ease-in-out forwards; */
}

@keyframes zoomInOut {
  0%, 100% {
    background-size: 49em;
  }
  50% {
    background-size: 35em;
  }
}

@keyframes slideInFromRight {
  0% {
      background-position: 200% center; /* Start position off-screen to the left */
  }
  100% {
      background-position: center; /* End position in the center */
  }
}

.buttonplaats {
    display: flex;
    justify-content: start;
    align-items: start;
    transform: rotate(-25deg); /* Rotate the button */
    
}


  

.intro {  
    background-color: var(--background);
    padding: 2em;
    height: 100%;

}


.introcontainer {
    background-color: var(--background);
    padding: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1em;
    font-size: var(--font-size);
    color: var(--text-color); /* Use a contrasting color */
    line-height: 1.5; /* Adjust line height for readability */
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1); */
    border-radius: var(--border-radius);/* 125% 8% 92% 8% / 4% 88% 12% 96% ; */
    border: var(--border);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    
}

@media screen and (max-width: 768px) {
    .introcontainer {
        font-size: var(--font-size-small);
    }


    .cta-button {
        padding: 12px 24px; /* Slightly reduced padding for tablets */
        font-size: var(--font-size-small); /* Slightly smaller font size */
      }

      .herocontainer{
        height: 30vh;
        background-size: 20em;
        background-repeat: no-repeat;
        animation: none;
      }
      .vak-links {
        margin-left: 15vw;
      }
    
}

.vak-rechts {
    display: flex;
    justify-content: end;
    align-items: start;
    width: 51vw;
    margin-left: 20vw;
    padding: 10px;
    background-color: var(--green);
    color: var(--white);
    border-radius: 25px;opacity: 0;
    transform: translateX(100%);
    animation: appearFromRight 2s forwards;
}

@keyframes appearFromRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.vak-links {
    display: flex;
    justify-content: start;
    align-items: start;
    width: 66vw;
    margin-right: 20vw;
    padding: 10px;
    background-color: var(--red);
    color: var(--black);
    border-radius: 25px;
    transform: translateX(-100%);
    animation: appearFromLeft 2s forwards;
}

@keyframes appearFromLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
        
}