.logolijst div {
  display: flex;
  gap: 14px;
}
.logolijst a {
  display: block;
  padding: 4px;
  background-color: #ffffff;
  border: 1px solid #bbbbbb;
}
.logolijst a img {
  display: block;
  border: none;
}
@media (max-width: 480px) { /* MINIMAAL */
  .logolijst a {
    width: calc(50% - 5px);
    height: auto;
    margin-right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .logolijst a img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  .logolijst a:nth-child(n + 4) {
    display: none;
  }
}
@media (max-width: 404px) { /* HEEL MINIMAAL */
  .logolijst a:nth-child(n + 3) {
    display: none;
  }
}
@media (min-width: 481px) and (max-width: 768px) { /* MOBIEL */
  .logolijst a {
    float: none;
    width: calc(50% - 5px);
    height: auto;
    margin-right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .logolijst a img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
}
@media (min-width: 481px) and (max-width: 588px) { /* HEEL MOBIEL */
  .logolijst a:nth-child(n + 4) {
    display: none;
  }
}
@media (min-width: 769px) and (max-width: 1280px) { /* BREDER */
  .logolijst div {
    flex-direction: column;
  }
  .logolijst a {
    width: 160px;
    height: 60px;
  }
  .logolijst a img {
    width: 160px;
    height: 60px;
  }
}
@media (min-width: 1281px) { /* BREEDST */
  .logolijst div {
    flex-direction: column;
  }
  .logolijst a {
    width: 160px;
    height: 60px;
  }
  .logolijst a img {
    width: 160px;
    height: 60px;
  }
}