.cardsTogether {
    background-color: rgba(255,255,255,1.00);
  padding: 80px;
  display: flex;

}

.cardsTogether .cards-container {
  margin: auto;
  width: 100%;
  display: flex;
  /* justify-content: space-between; */
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.cardsTogether .card {
  max-width: 300px;
  padding: 25px;
  padding-top: 10px;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cardsTogether .card .info {
font-size: 16px;
}


.cardsTogether .card1 {
  background-color: rgba(236,255,237,1.00);
	border: 1px;
	border-style: solid;
	border-color: rgba(193,224,194,1.00);
}

.cardsTogether .card2 {
  background-color: rgba(236,236,255,1.00);
	border: 1px;
	border-style: solid;
	border-color: rgba(193,193,224,1.00);
}

.cardsTogether .card3 {
  background-color: rgba(255,236,236,1.00);
	border: 1px;
	border-style: solid;
	border-color: rgba(224,193,193,1.00);
}

.cardsTogether .card4 {
  background-color: rgba(236,236,255,1.00);
	border: 1px;
	border-style: solid;
	border-color: rgba(193,193,224,1.00);
}

.cardsTogether .card5 {
  background-color: rgba(236,236,255,1.00);
	border: 1px;
	border-style: solid;
	border-color: rgba(193,193,224,1.00);
}

.cardsTogether .card6 {
  background-color: rgba(236,236,255,1.00);
	border: 1px;
	border-style: solid;
	border-color: rgba(193,193,224,1.00);
}
.cardsTogether .afbeelding {
  border: 0;
	margin-top: -150px;
  border-radius: 15px;
  overflow: hidden;

}

.cardsTogether .afbeelding img {
  width: 100%;
  height: 100%;
  object-fit: cover;
    border-radius: 15px;
	margin-bottom: -30px;
}

.cardsTogether .card1text2 {
  padding-top: 15px;
}

.cardsTogether .leesmeer {
  background-color: rgba(1,13,65,1.00);
  color: rgba(255,255,255,1.00);
  margin-top: 15px;
  width: fit-content;
  font-size: 16px;
  padding: 15px 30px;

  display: flex;
  align-items: center;
  cursor: pointer;
}

.cardsTogether .leesmeer:hover {
    background-color: rgba(0,26,140,1.00);
}

.cardsTogether .leesmeer span {
  padding-left: 10px;
}






/* Modal css  */
.cardsTogether .modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 20px;

  background: rgba(0,0,0,0.5);
  align-items: center;
}

.cardsTogether .modal-content {
  position: relative;
  background: white;
  margin: auto;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  text-align: left;


  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cardsTogether .close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 1px solid rgb(233, 233, 233);
  border-radius: 50%;
  color: rgb(233, 233, 233);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1; 
}

.modal-close-hr {
  margin: 10px 0;
  border: none;
  border-top: 1px solid rgb(231, 231, 231); /* this sets the visible line color */
}


.modal-close-button {
  background-color: rgb(83, 83, 83);
  color: white;
  font-size: 16px;
  padding: 15px 30px;
  width: fit-content;
}

.modal-close-button:hover {
    background-color: rgb(26, 26, 26);
}

.cardsTogether .modal h2 {
  margin-bottom: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgb(225, 225, 225);
}

.cardsTogether .modal-content .text-container {
  height: fit-content;
  max-height: 500px;
  overflow: auto;

  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal_bottom_close_btn {
  width: fit-content;
  background-color: rgb(79, 79, 79);
  color: white;
  padding: 15px 30px;
  font-size: 16px;
}

@media (max-width: 1000px) {
  .cardsTogether {
    padding: 20px;
	  margin-top: 30px;
	  margin-bottom: 30px;
    flex-direction: column;
  }

  .cardsTogether .modal-content .text-container {
  height: 500px;
  }

  .cardsTogether .cards-container {
  gap: 10px;
  }

  .modal_bottom_close_btn {
    width: 100%;
  }
}
