.style{
    border-width: 4px;
    border-style: solid;
    border-color: #fcd03e;
    background-color: 0.2;
    color: white;

}

.subcontainer{
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex:1;
    max-width: 50%;
    margin:10px;
    gap: 3rem;
    z-index: 1;
}


.container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 1.5rem;
}

.container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background-image: url("../images/general/istockphoto-2210890244-1024x1024.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  opacity: 0.4;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.container.no-bg::before {
  background-image: none;
}

.subcontainer img {
    width: 85%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.subcontainer p {
    flex: 1;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
}
.text {
    min-width: 500px;
    display:flex;
    flex-direction: column;
}

.call-button {
  display: inline-block;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

/* Stapelen op kleinere schermen */
@media (max-width: 768px) {
    .subcontainer {
        flex-direction: column;
        gap: 1.5rem;
    }

    .subcontainer img {
        width: 100%;
    }
    .text {
        min-width: unset;
    display:flex;
    flex-direction: column;
}
}
.opener{
    color:white;
    width:100%; 
    justify-content:center; 
    display:flex; 
    flex-direction: column;
     align-items: center;
     padding:40px 40px 40px 40px;
}