.slider{
	position: relative;
	width: 100%;
	margin: auto;
	background: #000;
	height: 350px;
	overflow: hidden;
}
.myslide{
	height: 350px;
	display: none;
	overflow: hidden;
}

.prev, .next{
	position: absolute;
	top: 50%;
	transform: translate(0, -50%);
	font-size: 30px;
	padding: 10px;
	cursor: pointer;
	color: #eee;
	transition: 0.1s;
	user-select: none;
}
.prev:hover, .next:hover{
	color: #EE1B24;
}
.next{
	right: 0;
}
.dotsbox{
	position: absolute;
	left: 50%;
	transform: translate(-50%);
	bottom: 20px;
	cursor: pointer;
}
.dot{
	display: inline-block;
	width: 15px;
	height: 15px;
	border: 3px solid #fff;
	border-radius: 50%;
	margin: 0 10px;
	cursor: pointer;
}

.active, .dot:hover{
	border-color: #EE1B24;
}

.fade {
  animation-name: fade;
  animation-duration: 1.1s;
}

@keyframes fade {
  from {opacity: 0.5}
  to {opacity: 1}
}

.txt{
	width: 80%;
	position: absolute;
	text-align: center;
	color: #fff;
  top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	animation-name: posi;
	animation-duration: 1.1s;
	z-index: 1;
}

@keyframes posi {
  from {top: 25%;}
  to {left: 50%;}
}

.txt h1{
font-family: "Poppins", sans-serif;
}
.txt p{
	font-family: "Poppins", sans-serif;
}

.slider img{
	transform: scale(1.5, 1.5);
 	animation-name: zoomin;
  animation-duration: 10s;
	object-fit: cover;
	height: 100%;
}

@keyframes zoomin {
  from {
		transform: scale(1, 1);
		opacity: 0.5;
	}
  to {
		transform: scale(1.3, 1.3);
		opacity: 1;
	}
}

/*  RESPONSIVE */
@media (min-width: 360px){
	.txt h1{
		font-size: 1.5em;
	}
	.txt p{
		font-size: 1em;
	}
}

@media (min-width: 768px){
	.txt h1{
		font-size: 2em;
	}
	.txt p{
		font-size: 1em;
	}
}

@media (min-width: 1024px){
	.slider{
		height: 650px;
	}
	.myslide{
		height: 650px;
	}
	.txt h1{
		font-size: 4em;
	}
	.txt p{
		font-size: 2em;
	}
}


















