.carousel-container {
	width: 1200px;
	margin: auto;
	overflow: hidden;
	position: relative;
}

@media only screen and (max-width: 1280px) {
  .carousel-container {
    width: 720px;
  }
}

@media only screen and (max-width: 768px) {
  .carousel-container {
    width: 480px;
  }
}

@media only screen and (max-width: 512px) {
  .carousel-container {
    width: 240px;
  }
}

.carousel-slide {
	display: flex;
	width: 100%;
	height: 300px;
}

.carousel-overlay {
	transition: .5s ease;
	position: absolute; /* Position the background text */
	bottom: 30px; /* At the bottom. Use top:0 to append it to the top */
	background: #ffffffab; /* Black background with 0.5 opacity */
	color: black; /* Grey text */
	width: 200px; /* Full width */
	padding: 5px; /* Some padding */
	font-size: 12px;
	z-index: 1;
}

.carousel-item:hover .carousel-overlay {
	background: #ff0000ab;
	color: white;
}

.carousel-item {
	transition: .5s ease;
}

.carousel-item:hover {
	z-index: 2;
}

.carousel-item:hover .carousel-image {
	transform: scale(1.1, 1.1);
}

.carousel-image {
	transition: .5s ease;
	opacity: 1;
	max-width: 240px;
	max-height: 300px;
}

#prevBtn {
	transition: .5s ease;
	position: absolute;
	top: 50%;
	z-index: 1;
	left: 10px;
	font-size: 30px;
	opacity: 0.5;
}

#prevBtn:hover {
	opacity: 1;
}

#nextBtn:hover {
	opacity: 1;
}

#nextBtn {
	transition: .5s ease;
	position: absolute;
	top: 50%;
	z-index: 1;
	right: 10px;
	font-size: 30px;
	opacity: 0.5;
}