body{
	font-family: 'Roboto', sans-serif;
	box-sizing: border-box;
	margin:0;
	padding:0;
}
ul, li, p, h1, h2, h3, h4, h5, h6{
	padding: 0;
	margin: 0;
}
a {
	color: inherit;
}
a:hover{
	text-decoration: none;
}
.card{
	border: none;
	position: relative;
	width: 300px;
	height: 400px;
	transform-style: preserve-3d;
	transform: perspective(1000px);
	box-shadow: 10px  20px 40px rgba(0, 0, 0, 0.25);
	transition: 1s;
	margin: 0 auto;
	border-radius: 0;

}
.card:hover{
	transform: translateX(50%);
}
.card .imgBox{
	position: relative;
	width: 100%;
	height: 100%;
	z-index: 1;
	transform-origin:left;
	transform-style: preserve-3d;
	background: #000;
	transition:1s;
	box-shadow: 10px  20px 40px rgba(0, 0, 0, 0.25);
	border-radius: 15px;
}
.card:hover .imgBox{
	transform: rotateY(-180deg);
}
.card .imgBox img{
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform-style: preserve-3d;
	backface-visibility:hidden;
}
.card .imgBox img:nth-child(2){
	transform: rotateY(180deg);
}
.card1 .card .details{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 20px;
	display: flex;
	justify-content: center;
	align-items: center;

}
.card1 .card .details .content{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.card1 .card .details .content h2{
	text-align: center;
	font-weight:700;
	line-height: 1em;
	font-size: 25px;
}
.card1 .card .details .content h2 span{
	color: #e21212;
	font-size: 18px;
    font-weight: 400;
}
.card1 .card .details .content .social-icons{
	position: relative;
	display: flex;
	margin-top: 10px;
}
.card1 .card .details .content .social-icons a{
	display: inline-block;
	width: 35px;
	height: 35px;
	background: #333;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	margin:5px;
	font-size: 18px;
	text-decoration: none;
	transition: 0.2s;
}
.card1 .card .details .content .social-icons a:hover{
	background: #e21212;

}

.card1{
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
	background-size: 400% 400%;
	animation: gradient 15s ease infinite;
	height: 100vh;
    text-align: center;
}

.image-gallery{
	justify-content: center;
	align-items: center;
	display: flex;
	min-height: 100vh;
	background: #000;
}
.image-gallery .box{
	position: relative;
	height: 300px;
	width: 200px;
	transform-style: preserve-3d;
	animation: animate 22s linear infinite ;
}
@keyframes animate{
	0%{
		transform: perspective(1500px) rotateY(0deg) ;
	}
	100%{
		transform: perspective(1500px) rotateY(360deg);
	}
}
.image-gallery .box div{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	transform-style: preserve-3d;
	transform-origin: center;
	transform: rotateY(calc(var(--v) * 45deg)) translateZ(300px);
    -webkit-box-reflect: below 0px linear-gradient(transparent, transparent, #0004);
}
.image-gallery .box div img{
	position: absolute;
	height: 100%;
	width: 100%;
	object-fit: cover;
}
.spin{
	animation: spin 2s linear infinite;
}

@keyframes spin {
	0%{
		filler: hue-rotate(0deg);
		transform: perspective(1500px) rotateY(0deg);
		-webkit-box-reflect: below 0px linear-gradient(transparent, transparent, #0004);
	}
	100%{
		filler: hue-rotate(360deg);
		transform:  perspective(1500px) rotateY(360deg);
		-webkit-box-reflect: below 0px linear-gradient(transparent, transparent, #0004);
	}
}

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


