#cards {
	display: flex;
	flex-direction: column;
	/* [disabled]width: 100%; */
}

.card-container {
	/* [disabled]display: grid; */
	/* [disabled]flex-direction: column; */
	width: 100%;
}

@container (min-width: 720px) {
  #cards {
    flex-direction: row;
  }
  
  .card__figure {
    height: 100%;
  }
  
  .card__figure::after {
    content: 'horizontal';
  }
  
  .card__image {
    height: 100%;
    aspect-ratio: auto;
  }
}



.card-with-txt h3{
	/* [disabled]margin-top: auto; */
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 0px!important;
	/* [disabled]text-align: center; */
	font-size: 1.2rem;
	font-weight: bold;
	padding: 6px;
	line-height: 1;
	color: #fff;
}
.card-with-txt h5{
	margin-top: 12px;
	margin-right: auto;
	margin-left: auto;
	font-size: 0.8rem;
	color: #fff;
	font-weight: normal;
	margin-bottom: 0px;
}

.card-with-txt p {
	font-size: 0.9rem;
	margin-top: 8px;
	line-height: 1.2;
}


.wrapper{
	display: flex;
	width: 90%;
	justify-content: space-around;
}

.card-with-txt {
	height: 340px;
	/* [disabled]border-radius: 4px; */
	padding: 0px;
	background: white;
	position: relative;
	display: grid;
	align-items: flex-end;
	transition: 0.4s ease-out;
	margin-top: 4px;
	margin-right: 4px;
	margin-left: 4px;
	margin-bottom: 4px;
	overflow: hidden;
	flex-grow: 1;
}

	.card-with-txt:before {
		opacity: 1;
	}

	.card-with-txt:before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		display: block;
		width: 100%;
		height: 100%;
		z-index: 2;
		transition: 0.5s;
		opacity: 0;
	  }
	.card-with-txt img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		position: absolute;
		top: 0;
		left: 0;
		/* [disabled]border-radius: 6px; */
		transition: all 0.4s linear 0s;
	}
	.card-with-txt .header {
	position: absolute;
	top: 0px;
	z-index: 5;
	color: #3E3E3E;
	opacity: 1;
	padding-top: 14px;
	padding-right: 4px;
	padding-left: 4px;
	padding-bottom: 14px;
	/* [disabled]transform: translateY(30px); */
	transition: 0.5s;
	background-color: rgba(255,255,255,0.90);
	/* [disabled]outline: 1px solid rgba(0,0,0,0.80); */
	border-radius: 0px;
	width: 100%;
	text-align: center;
	text-transform: uppercase;
	/* [disabled]letter-spacing: 1px; */
	font-size: 1.1rem;
	font-weight: bold;
	}

	.card-with-txt .info {
	position: relative;
	z-index: 3;
	color: white;
	opacity: 1;
	padding-top: 8px;
	padding-right: 12px;
	padding-left: 12px;
	padding-bottom: 12px;
	background-color: rgba(126,126,126,0.86);
	/* [disabled]outline: 1px solid rgba(0,0,0,0.80); */
	border-radius: 0px;
	width: 100%;
	}

@media only screen and (min-width: 540px) {

	.card-with-txt:hover {
	/*transform: translateY(-6px) translateX(-6px);*/
	/* [disabled]transform: translateY(-6px) translateX(-2px); */
	/* [disabled]box-shadow: rgba(0, 0, 0, 0.2) 6px 8px 8px; */
	/* [disabled]-webkit-box-shadow: 6px 8px 8px rgba(0, 0, 0, 0.2); */
	}
	.card-with-txt:hover img {
		transform: scale(1.1);
		transform-origin: bottom;
	}

	.card-with-txt:hover .header {
	color: #FFFFFF;
	opacity: 0;
	background-color: rgba(0,0,0,0.60);
	}
	.card-with-txt .info {
	opacity: 0;
	transform: translateY(30px);
	transition: 0.5s;
	}
	.card-with-txt:hover .info {
		opacity: 1;
		transform: translateY(0px);
	}
	.card-with-txt h3 {
	font-size: 1.3rem;
	}

}
