.embla {
	overflow-x: clip;
	cursor: grab;
	--slide-size: 70%;
	width: 100%;
	position: relative;
}

.embla__container {
	display: flex;
	touch-action: pan-y pinch-zoom;
	gap: 13px;
	padding-left: 13px;
	border-radius: 1rem;
}

.embla__slide {
	flex: 0 0 var(--slide-size);
	transition: opacity 0.5s var(--ease), filter 0.5s var(--ease)!important;
	height: 20rem;
	filter: blur(0px);
}
.embla .embla__slide::after { filter: blur(0px); }

/* Carousel content (title, description) styling */
.carouselContent {
	position: absolute;
	width: 75%;
	left: 12.5%;
	backdrop-filter: blur(2rem);
	-webkit-backdrop-filter: blur(2rem);
	border: 3px solid #ffffff3b;
	bottom: 1rem;
	padding-top: 1rem;
	text-align: center;
	box-shadow: 0px 10px 15px #ffffff4a;
	border-radius: 0.5rem;
}

.carouselContent:not(.lightBackground) {
	backdrop-filter: blur(2rem) brightness(0.8);
	-webkit-backdrop-filter: blur(2rem) brightness(0.8);
}

.carouselContent h4 {
	text-shadow: 0 0 1rem white;
	margin: 0;
	position: relative;
}

.carouselContent .name {
	position: absolute;
	width: 100%;
	top: -1rem;
}

.carouselContent p {
	padding: 1rem;
}

.carouselContent h6 {
	font-size: 1.1rem;
}

.carouselContent.lightBackground {
	color: var(--darkest1);
}

.carouselContent.lightBackground h4,
.carouselContent.lightBackground h6,
.carouselContent.lightBackground p {
	color: revert;
}

.embla__slide a {
	justify-content: center;
	display: flex;
	width: 100%;
	height: 100%;
}

@media (max-width: 900px) {
	.carouselContent {
		width: calc(100% - 10px);
		left: 5px;
		bottom: 5px;
		box-shadow: none;
		border-radius: 0 0 0.5rem 0.5rem;
	}
}

/* Embla left/right arrows */
.embla button {
	position: absolute;
	top: 40%;
	min-width: revert;
	background: transparent;
	backdrop-filter: blur(2rem) brightness(0.8);
	border-radius: 10px;
	border: 3px solid #fff3;
	box-shadow: 0 0 10px 0 var(--darkest1) !important;
	z-index: 2;
}
button.embla__next { right: 1rem; }
button.embla__prev { left: 1rem; }
