.card-with-txt h3{
	/* [disabled]margin-top: auto; */
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 10px;
	/* [disabled]text-align: center; */
	font-size: 1.2rem;
	text-transform: uppercase;
	color: #fff;
	font-weight: bolder;
	padding: 6px;
	line-height: 1.2;
}
.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: 1.rem;
	margin-top: 8px;
	line-height: 1.4;
}
.card-with-txt button{
	padding-top: 0.2rem;
	padding-right: 0.6rem;
	padding-left: 0.6rem;
	padding-bottom: 0.2rem;
	outline: none;
	border: none;
	border-radius: 2px;
	background: white;
	color: #000000;
	font-weight: bolder;
	cursor: pointer;
	transition: 0.4s ease;
	width: 100%;
	margin-top: 12px;
	margin-left: auto;
	margin-right: auto;
}
.card-with-txt button:hover {
	color: #fff;
	background-color: #1F6200;
}

.wrapper{
	display: flex;
	width: 90%;
	justify-content: space-around;
}
.card-with-txt {
	height: 360px;
	border-radius: 4px;
	padding: 0px;
	background: white;
	position: relative;
	display: flex;
	align-items: flex-end;
	transition: 0.4s ease-out;
	margin-top: 4px;
	margin-right: 4px;
	margin-left: 4px;
	margin-bottom: 4px;
	overflow: hidden;
}

	.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: white;
	opacity: 1;
	padding-top: 2px;
	padding-right: 10px;
	padding-left: 10px;
	padding-bottom: 0px;
	/* [disabled]transform: translateY(30px); */
	transition: 0.5s;
	background-color: rgba(0,0,0,0.60);
	outline: 1px solid rgba(0,0,0,0.80);
	border-radius: 0px;
	width: 100%;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 1.2rem;
	font-weight: bold;
	}

	.card-with-txt .info {
		position: relative;
		z-index: 3;
		color: white;
		opacity: 1;
		padding: 16px;
		background-color: rgba(0,0,0,0.60);
		outline: 1px solid rgba(0,0,0,0.80);
		border-radius: 0px;
	}

@media only screen and (min-width: 540px) {

	.card-with-txt h3{
		font-size: 1.2rem;
		line-height: 1.2;
	}
	.card-with-txt h5{
		font-size: 0.8rem;
	}

	.card-with-txt p {
		font-size: 0.9rem;
		line-height: 1.2;
	}	
	
	.card-with-txt:hover {
		/*transform: translateY(-6px) translateX(-6px);*/
		transform: translateY(-6px) translateX(-2px);
		box-shadow: rgba(0, 0, 0, 0.2) 6px 8px 8px;
	}
	.card-with-txt:hover img {
		transform: scale(1.1);
		transform-origin: bottom;
	}

	.card-with-txt:hover .header {
		color: white;
		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);
	}

}
