body {
  text-align: center;
  font-size: 1.5em;
  line-height: 30px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  background-image: url("../images/sjorcaféLogo.webp"), url("../images/oranje.webp");
  background-repeat: no-repeat, repeat;
  background-size: 20%, 50%;
  background-position: center top, center;
  color: white;
}


.chiro_logo {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 120px;
  height: 100px;  
}

ul {
  display: inline-block;
  text-align: left;
}


.kindernamiddag_fotos_1, .kindernamiddag_fotos_2 {
  display: flex;
  flex-wrap: wrap;
  /* justify-content: center; */
  align-items: center;
  gap: 0px;
  flex-direction: column;
}

.kindernamiddag_fotos_1 img, .kindernamiddag_fotos_2 img {
  max-width: 15rem;
  margin: 0;
  padding: 0;
}

.kindernamiddag_fotos_1 {
  grid-column: 1/2;
}

.kindernamiddag_fotos_2 {
  grid-column: 3/4;
}

.kindernamiddag_fotos_3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: row;
  width: auto;
  grid-column: 1/4;
  grid-row: 2/3;
}

.kindernamiddag_fotos_3 > img {
  max-width: 15rem;
  margin: 0;
  padding: 0;
}


.kindernamiddag_grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto;
}

.kindernamiddag_text {
  grid-column: 2/3;
  width: 100%; /* Let it fill the grid area */
  max-width: 500px; /* Adjust this for better width */
  text-align: center; /* Center text */
  justify-self: center;;
  line-height: 1.5; /* Improve readability */
  /* margin: auto; */
}

#logos{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    border: 10px solid black;
    overflow: auto;
}

.logo{
  width: 15%;  
  min-width: 100px; 
  aspect-ratio: 3 / 2; 
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Zorgt ervoor dat het hele logo zichtbaar blijft */
  }
  #sponsors{
    text-align: center;
    
  }

@media only screen and (min-width: 601px) {
  #kindernamiddag6g, #kindernamiddag7g, #kindernamiddag8g, #kindernamiddag16g, #kindernamiddag17g {
    display: none;
  }
}

@media only screen and (max-width: 600px) {


  .kindernamiddag_fotos_3 {
    display:none;
  }

  body > h1 {
    margin-top: 130px;
  }

  #intro {
    margin-top: 0px;
  }

  #logos {
    flex-direction: column;
    align-items: center;
    width: 80%
  }
  .logo {
    width: 50%; /* Adjust width to fit nicely on smaller screens */
  }

  body {
    font-size: 1em;
    line-height: 20px;
  }

  h1 {
    font-size: 3em;
  }

  h2 {
    font-size: 2em;
  }

  body > div:not(.kindernamiddag) {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .kindernamiddag_fotos_1 > img, .kindernamiddag_fotos_2 > img{
    max-width: 8rem;
  }
}