*
{
	margin: 0px;
	padding: 0px;
}

.slider {
	width: 500%;
	display: flex;
	position: relative;
	animation-name: image_slider;
	animation-duration: 20s;
	animation-timing-function: linear;
	animation-iteration-count: infinite;

}
.slider:hover {
animation-play-state: paused;
}

.slide {
	width: 100%;
	height: 66%;
	position: relative;
}
.slide img {
	width: 100%;
	
	
}
.slide i{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 30px;
	opacity: 0;
	transition: 0.5s;
	color: white;
}
.slide:hover i{
	opacity: 0.8;
}
.content {
	background: white;
	border-radius: 5px;
	width: 60%;
	position: absolute;
	bottom: 15px;
	left: 15px;
}
.content p {
	margin: 5px;
}
.content a {
text-decoration: none;
color: black;
}

@keyframes image_slider {
	0%{
		left: 0%
	}

	19.9%{
		left: 0%;
	}

	20%{
		left: -100%;
	}

	39.9%{
		left: -100%;
	}

	40%{
		left: -200%;
	}

	59.9%{
		left: -200%;
	}

	60%{
		left: -300%;
	}

	79.9%{
		left: -300%;
	}

	80%{
		left: -400%;
	}

	100%{
		left: -400%;
	}
}
@media only screen and (max-width: 1000px) {

.content p {
	font-size: 12px;
}
}

@media only screen and (max-width: 650px) {

.content p {
	font-size: 10px;
}

}
