* {
  transition: .33s ease all;
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
}
html {
  font-family: 'Open Sans', sans-serif;
  box-sizing: border-box;
  color: #fff;
  background-image:     url(bg-04.jpg);
  background-attachment: fixed;
  background-size: cover;
}
span {
  display: inline-block;
  width: 50px;
  height: 5px;
  background-color: #345dae;
  margin-bottom: 30px;
  transform: rotate(-45deg);
}
div.main {
  min-height: 98vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px;
}

div.container {
  background-color:   rgba(94, 171, 25, 0.96);
  display: flex;
  flex-direction: column; /* afbeelding boven */
  align-items: center;
  justify-content: center;
  margin: 0px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.45);
  border-radius: 15px;

}

@media screen and (max-width: 393px) {
div.container {
  box-shadow:  none;
  width: 96%;
  margin: 0px;
}
}


p {
  font-weight: 300;
  line-height: 24px;
  margin: 0 0 20px 0;
}

strong {
  font-weight: 600;
}

h1 {
  font-family: 'Baloo 2', cursive;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  letter-spacing: 0.5px;
    font-weight: 600;
  font-size: 50px;
  margin-top: 5px;
  margin-bottom: 5px;
}




a {
  text-decoration: none;
  text-transform: none;
  color: #373738;
  font-weight: bold;
  font-size: 18px;
  position: relative;
  display: inline-block;
  z-index: 1;
  /*padding: 5px;
  left: -5px;*/
}
a:hover {
  color:  #000;
}
a::before {
  content: '';
  z-index: -1;
  position: absolute;
  top: calc(50%);
  left: 0;
  width: 100%;
  height: 40%;
  pointer-events: none;
  background:  rgba(78, 204, 24, 1);
  transform: scale3d(0, 1, 1);
  transform-origin: 0% 50%;
  transition: transform 0.33s;
}
a:hover::before {
  transform: scale3d(1, 1, 1);
  transform-origin: 0% 50%;
}

/* ✔️ Afbeelding boven → bovenste hoeken rond */
div.imag {
  height: 550px;
  width: 100%;
  background-image: url(logo.jpg);
  background-position: center;
  background-size: cover;
  background-repeat:  no-repeat;
  border-radius: 15px 15px 0 0; /* aangepast */
}

@media screen and (max-width: 767px) {
div.imag {
  height: 340px;
  background-position: center;
}

h1{
  font-size: 32px;
}

p{
  font-size: 1.2rem;
}

}

@media screen and (max-width: 375px) {
div.imag {
  height: 200px;
  width: 100%;
}
}

div.text-container {
  margin: 14px 14px 14px;
}

/* ✔️ Afbeelding links → linker boven + linker onder rond */
@media screen and (min-width: 1200px) {
  div.container {
    flex-direction: row;
    width: 100%;
  }
  div.imag {
    min-height: 400px;
    min-width: 360px;
    border-radius: 15px 0 0 15px; /* aangepast */
  }
  div.text-container {
    margin: 0 25px;
    max-width: 660px;
  }
}

@media screen and (min-width: 1140px) {
  div.container {
    max-width: 1200px;
  }

}

/* bootstrap styles */
@media (max-width: 506px) {
  .hidden-xxs {
    display: none !important;
  }
}
