
section.BDB {
  padding: 40px;
  background-image: linear-gradient(#e8f0ff 0%, white 52.08%);
  color: #0e3481;
  padding-top: 3%;
  padding-bottom:3%;
  clear: both;
}

.tooltiptext {
  visibility: hidden;
  width: 200px;
  background-color: #242526;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  right: 4%;
  top: 30%;
  opacity: 0.8;
}

.tooltiptext.firsT{
	top: 30%;
}

.card:hover .tooltiptext {
  visibility: visible;
}

.wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  overflow: hidden;
  box-shadow: 0px 2px 20px var(--clr-gray-light);
  background: white;
  border-radius: 0.5rem;
  position: relative;
  width: 350px;
  margin: 1rem;
  transition: 250ms all ease-in-out;
  cursor: pointer;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0px 2px 40px var(--clr-gray-light);
}

/*--3 foto banners hebben zelfde hoogte--*/
.banner-img {
  position: absolute;
  object-fit: cover; 
  width: 100%;
  height: 262px;
}

.card-body p{
	font-size: 2.1rem;
	font-weight: 300;
	color: #0e3481;
	line-height: 1.5;
	margin-bottom: 1.5rem !important;
	font-family: 'Quicksand', sans-serif;
	padding: 0 6%;
    text-align: center;
		 }
.category-tag {
    color: white;
    background: red;
    padding: 0.5rem 1.3rem 0.5rem 1rem;
    text-transform: uppercase;
    position: absolute;
    z-index: 1;
    top: 1rem;
    border-radius: 0 2rem 2rem 0;
    font-family: 'Quicksand', sans-serif;
    font-weight: 300;
    line-height: 1.2;
    font-size: 1.8rem;
    letter-spacing: 0.2px;
}   

.card-body {
  margin: 34rem 1rem 1rem 1rem;
}

.blog-hashtag {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-link);
}

.blog-title, .blog-title a {
    color: #0e3481;
    margin: 1rem 0 0.5rem;
	font-weight: 300;
    line-height: 1.2;
    font-size: 2.5rem;
    font-family: 'Quicksand', sans-serif;
    text-align: center;
}

.blog-title a .fa{
	padding-right: 2%;
}

		 
.blog-title a:hover {
  background-size: 4px 50px;
}
		 
.blog-description {
  color: var(--clr-gray-med);
  font-size: 0.9rem;
}

.card-profile {
  display: flex;
  margin-top: 2rem;
  align-items: center;
}

.profile-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
}

.card-profile-info {
  margin-left: 1rem;
}

.profile-name {
  font-size: 1rem;
}

.profile-followers {
  color: var(--clr-gray-med);
  font-size: 0.9rem;
}

@media screen and (max-width: 800px) {
		   .wrapper .card {
				max-height: 100% !important;
				margin-bottom: 7%;
				min-width: 500px;
			}
			 .card-body {
    		margin: 34rem 1rem 1rem 1rem;
			}
 }
			 
@media screen and (max-width: 550px) {
			.card-body {
				margin: 35rem 1rem 1rem 1rem;
			}
			.wrapper .card {
              min-width: 350px;
			}
}
@media screen and (max-width: 360px) {
			.wrapper .card {
				min-width: 280px;
			}
			
}