@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,600,700');
body
{
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	min-height: 100vh;
	background: linear-gradient(-45deg, #EE7752, #E73C7E, #23A6D5, #23D5AB);
	background-size: 400% 400%;
	position: relative;
	animation: change 7s ease-in-out infinite;
	font-family: 'Poppins', sans-serif;
}
.container
{
	position: relative;
	width: 1200px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.container .cardhome
{
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
}
.container .cardhome:nth-child(even)
{
	flex-direction: column-reverse;
}
.container .cardhome .imgBx
{
	position: relative;
	width: 300px;
	height: 300px;
	background: #000
}
.container .cardhome .imgBx img
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.container .cardhome .contenthome
{
	position: relative;
	width: 300px;
	height: 300px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.container .cardhome .contenthome div
{
	padding: 20px;
	text-align: center;
}
.card
{
	position: relative;
	background: #fff;
	width: 400px;
	height: 515px;
	margin: 0 auto;	
}
.card .content
{
	width: 400px;
	padding: 30px;
	box-sizing: border-box;
	background-image: url("bg11.png");
}
.card .sliderText
{
	position: relative;
	width: 100%;
	height: 200px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #4285F4;
}
.card .sliderText h3
{
	color: #fff;
	font-size: 2.4em;
	text-align: center;
}

.card1
{
	position: relative;
	background: #fff;
	width: 400px;
	height: 570px;
	margin: 0 auto;	
}
.card1 .content
{
	width: 400px;
	padding: 30px;
	box-sizing: border-box;
	background-image: url("bg11.png");
}

.card1 .sliderText
{
	position: relative;
	width: 100%;
	height: 200px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #4285F4;
}
.card1 .sliderText h3
{
	color: #fff;
	font-size: 2.4em;
	text-align: center;
}

  
.swiper-slide
{
	width: 400px;
}

.swiper-slide:nth-child(1) .sliderText
{
	background: #009B77
}

.swiper-slide:nth-child(2) .sliderText
{
	background: #FF6F61
}

.swiper-slide:nth-child(3) .sliderText
{
	background: #88B04B
}

.swiper-slide:nth-child(4) .sliderText
{
	background: #4285F4
}

.swiper-slide:nth-child(5) .sliderText
{
	background: #DB4437
}

.swiper-slide:nth-child(6) .sliderText
{
	background: #F4B400
}

.swiper-slide:nth-child(7) .sliderText
{
	background: #0F9D58
}

.swiper-slide:nth-child(8) .sliderText
{
	background: #955251
}

.swiper-slide:nth-child(9) .sliderText
{
	background: #DB4437
}
.swiper-slide:nth-child(10) .sliderText
{
	background: #B565A7
}
.swiper-slide:nth-child(11) .sliderText
{
	background: #DD4124
}

.swiper-slide:nth-child(12) .sliderText
{
	background: #F4B400
}

.swiper-slide:nth-child(13) .sliderText
{
	background: #D65076
}

.swiper-slide:nth-child(14) .sliderText
{
	background: #4285F4
}

.swiper-slide:nth-child(15) .sliderText
{
	background: #009B77
}

.swiper-slide:nth-child(16) .sliderText
{
	background: #F4B400
}

.swiper-slide:nth-child(17) .sliderText
{
	background: #0F9D58
}

.swiper-slide:nth-child(18) .sliderText
{
	background: #4285F4
}

.swiper-slide:nth-child(19) .sliderText
{
	background: #DB4437
}
.swiper-slide:nth-child(20) .sliderText
{
	background: #DD4124
}
.swiper-slide:nth-child(21) .sliderText
{
	background: #D65076
}

.swiper-slide:nth-child(22) .sliderText
{
	background: #F4B400
}

.swiper-slide:nth-child(23) .sliderText
{
	background: #0F9D58
}

.swiper-slide:nth-child(24) .sliderText
{
	background: #4285F4
}

.swiper-slide:nth-child(25) .sliderText
{
	background: #5B5EA6
}

.swiper-slide:nth-child(26) .sliderText
{
	background: #F4B400
}

.swiper-slide:nth-child(27) .sliderText
{
	background: #EFC050
}

.swiper-slide:nth-child(28) .sliderText
{
	background: #4285F4
}

.swiper-slide:nth-child(29) .sliderText
{
	background: #C3447A
}
.swiper-slide:nth-child(30) .sliderText
{
	background: #F4B400
}
.swiper-slide:nth-child(31) .sliderText
{
	background: #0F9D58
}

.swiper-slide:nth-child(32) .sliderText
{
	background: #4285F4
}

.swiper-slide:nth-child(33) .sliderText
{
	background: #5B5EA6
}

@keyframes change {
	0%{
		background-position: 0 50%;
	}
	50%{
		background-position: 100% 50%;
	}
	100%{
		background-position: 0 50%;
	}
}

@media (max-width: 1000px)
{
	.container
	{
	grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
	margin: 50px;
	}
	.container .cardhome
	{
	flex-direction: row;
	margin: 10px 0;
	}
	.container .cardhome:nth-child(even)
	{
	flex-direction: row-reverse;
	}	
	.container .cardhome .imgBx	
	.container .cardhome .contenthome
	{
		width: 50%;
	}
}

@media (max-width: 600px)
{
	.container .cardhome
	{
	flex-direction: column;
	margin: 10px 0;
	}
	.container .cardhome:nth-child(even)
	{
	flex-direction: column;	
	}
	.container .cardhome .imgBx	
	{
		width: 100%;
	}
	.container .cardhome .contenthome
	{
		width: 100%;
	}
}