@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;700&display=swap');

html {
	font-size: 62.5%;
}

:root {
	--font-family: 'Hind Siliguri', sans-serif;
	--col-dark: #222831;
	--col-light: #e8e8e8;
	--col-red: #f05454;
	--col-blue: #30475e;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-size: 1.6rem;
	font-family: var(--font-family);
	background-color: var(--col-dark);
	color: var(--col-light);
}

.carousel {
	width: 100%;
	height: 100vh;
	position: relative;
}
.control-left,
.control-right {
	position: absolute;
	width: 4rem;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	z-index: 1;
	transition: background linear 0.3s;
}
.control-right:hover,
.control-left:hover {
	background-color: rgba(48, 71, 94, 0.5);
}
.control-left {
	top: 0;
	left: 0;
}
.control-right {
	top: 0;
	right: 0;
}
.carousel-item {
	height: 100%;
	height: 100vh;
	position: relative;
	display: none;
}
.carousel-item.active {
	display: flex;
	animation: showSlider 1s ease-in;
}
@keyframes showSlider {
	from {
		opacity: 0;
		clip-path: circle(10% at 50% 50%);
	}
	80% {
		opacity: 1;
	}
	to {
		clip-path: circle(150% at 50% 50%);
	}
}
.carousel-item img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}
.carousel-item .description {
	position: absolute;
	padding: 2rem 4rem;
	bottom: 4rem;
	width: 100%;
	text-align: center;
	background-color: var(--col-red);
	font-size: 2rem;
	text-transform: uppercase;
	font-weight: 900;
	letter-spacing: 0.2rem;
}

@media screen and (min-width: 768px) {
	.control-left,
	.control-right {
		width: 6rem;
		font-size: 2rem;
	}
	.carousel-item .description {
		background-color: rgba(240, 84, 84, 0.5);
		color: var(--col-dark);
		text-shadow: 0 0 0.3rem var(--col-light);
		font-size: 3.5rem;
	}
}
