@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
body {
	/* margin: 0;
	background-color: #000;
	color: #eee; */
	
}
a {
	text-decoration: none;
}
/* header {
	width: 1140px;
	max-width: 80%;
	margin: auto;
	height: 50px;
	display: flex;
	align-items: center;
	position: relative;
	z-index: 100;
}
header a {
	color: #eee;
	margin-right: 40px;
} */
/* carousel */
.alien-carousel {
  font-family: Poppins;
	font-size: 12px;
	height: 100vh;
	margin-top: -70px;
	width: 100%;
	overflow: hidden;
	position: relative;
}
.alien-carousel .list .item {
	width: 100%;
	height: 100%;
	position: absolute;
	inset: 0 0 0 0;
}
.alien-carousel .list .item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.alien-carousel .list .item .content {
	position: absolute;
	/* top: 20%; */
	top: 100px;
	width: 1140px;
	max-width: 80%;
	left: 50%;
	transform: translateX(-50%);
	padding-right: 30%;
	box-sizing: border-box;
	color: #fff;
	text-shadow: 0 5px 10px #0004;
}
.alien-carousel .list .item .author {
	font-weight: bold;
	letter-spacing: 10px;
}
.alien-carousel .list .item .title,
.alien-carousel .list .item .topic {
	font-size: 3em;
	font-weight: bold;
	line-height: 1.3em;
	text-transform: uppercase;
}
@media (min-width: 678px) and (max-width: 810px) {
	.alien-carousel .list .item .title,
	.alien-carousel .list .item .topic {
		font-size: 3em;
	}
}
@media (min-width: 811px) {
	.alien-carousel .list .item .title,
	.alien-carousel .list .item .topic {
		font-size: 4em;
	}
}
.alien-carousel .list .item .topic {
	color: #f9bf29;
}
.alien-carousel .list .item .buttons {
	display: grid;
	grid-template-columns: repeat(2, 130px);
	grid-template-rows: 40px;
	gap: 5px;
	margin-top: 20px;
}
.alien-carousel .list .item .buttons button {
	border: none;
	background-color: #f9bf29;
	letter-spacing: 3px;
	font-family: Poppins;
	font-weight: 500;
}
.alien-carousel .list .item .buttons button:nth-child(2) {
	background-color: transparent;
	border: 1px solid #fff;
	color: #eee;
}
/* thumbail */
.alien-thumbnail {
	position: absolute;
	bottom: 50px;
	left: 50%;
	width: max-content;
	z-index: 100;
	display: flex;
	gap: 20px;
}
.alien-thumbnail .item {
	width: 150px;
	height: 220px;
	flex-shrink: 0;
	position: relative;
	cursor: pointer;
	filter: drop-shadow(10px 10px 2px rgba(0, 0, 0, 0.4));
}
.alien-thumbnail .item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 20px;
}
.alien-thumbnail .item .content {
	color: #fff;
	position: absolute;
	bottom: 10px;
	left: 10px;
	right: 10px;
}
.alien-thumbnail .item .content .title {
	font-weight: 500;
}
.alien-thumbnail .item .content .description {
	font-weight: 300;
}
/* arrows */
.alien-arrows {
	position: absolute;
	top: 80%;
	right: 52%;
	z-index: 100;
	width: 300px;
	max-width: 30%;
	display: flex;
	gap: 10px;
	align-items: center;
}
.alien-arrows button {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #eee4;
	border: none;
	color: #fff;
	font-family: monospace;
	font-weight: bold;
	transition: 0.5s;
}
.alien-arrows button:hover {
	background-color: #fff;
	color: #000;
}

/* animation */
.alien-carousel .list .item:nth-child(1) {
	z-index: 1;
}

/* animation text in first item */

.alien-carousel .list .item:nth-child(1) .content .glass-container .author,
.alien-carousel .list .item:nth-child(1) .content .glass-container .title,
.alien-carousel .list .item:nth-child(1) .content .glass-container .topic,
.alien-carousel .list .item:nth-child(1) .content .glass-container .des,
.alien-carousel .list .item:nth-child(1) .content .glass-container .buttons,
.alien-carousel .list .item:nth-child(1) .content .glass-container {
	transform: translateY(50px);
	filter: blur(20px);
	opacity: 0;
	animation: showContent 0.5s 1s linear 1 forwards;
}
@keyframes showContent {
	to {
		transform: translateY(0px);
		filter: blur(0px);
		opacity: 1;
	}
}
.alien-carousel .list .item:nth-child(1) .content .glass-container {
	animation-delay: 1s !important;
}
.alien-carousel .list .item:nth-child(1) .content .glass-container .title {
	animation-delay: 1.2s !important;
}
.alien-carousel .list .item:nth-child(1) .content .glass-container .topic {
	animation-delay: 1.4s !important;
}
.alien-carousel .list .item:nth-child(1) .content .glass-container .des {
	animation-delay: 1.6s !important;
}
.alien-carousel .list .item:nth-child(1) .content .glass-container .buttons {
	animation-delay: 1.8s !important;
}
/* create animation when next click */
.alien-carousel.alien-next .list .item:nth-child(1) img {
	width: 150px;
	height: 220px;
	position: absolute;
	bottom: 50px;
	left: 50%;
	border-radius: 30px;
	animation: showImage 0.5s linear 1 forwards;
}
@keyframes showImage {
	to {
		bottom: 0;
		left: 0;
		width: 100%;
		height: 100%;
		border-radius: 0;
	}
}

.alien-carousel.alien-next .alien-thumbnail .item:nth-last-child(1) {
	overflow: hidden;
	animation: showThumbnail 0.5s linear 1 forwards;
}
.alien-carousel.alien-prev .list .item img {
	z-index: 100;
}
@keyframes showThumbnail {
	from {
		width: 0;
		opacity: 0;
	}
}
.alien-carousel.alien-next .alien-thumbnail {
	animation: effectNext 0.5s linear 1 forwards;
}

@keyframes effectNext {
	from {
		transform: translateX(150px);
	}
}

/* running time */

.alien-carousel .alien-time {
	position: absolute;
	z-index: 1001;
	width: 0%;
	height: 3px;
	background-color: #f9bf29;
	left: 0;
	top: 0;
}

.alien-carousel.alien-next .alien-time,
.alien-carousel.alien-prev .alien-time {
	animation: runningTime 3s linear 1 forwards;
}
@keyframes runningTime {
	from {
		width: 100%;
	}
	to {
		width: 0;
	}
}

/* prev click */

.alien-carousel.alien-prev .list .item:nth-child(2) {
	z-index: 2;
}

.alien-carousel.alien-prev .list .item:nth-child(2) img {
	animation: outFrame 0.5s linear 1 forwards;
	position: absolute;
	bottom: 0;
	left: 0;
}
@keyframes outFrame {
	to {
		width: 150px;
		height: 220px;
		bottom: 50px;
		left: 50%;
		border-radius: 20px;
	}
}

.alien-carousel.alien-prev .alien-thumbnail .item:nth-child(1) {
	overflow: hidden;
	opacity: 0;
	animation: showThumbnail 0.5s linear 1 forwards;
}
.alien-carousel.alien-next .alien-arrows button,
.alien-carousel.alien-prev .alien-arrows button {
	/* pointer-events: none; */
}
.alien-carousel.alien-prev .list .item:nth-child(2) .content .glass-container,
.alien-carousel.alien-prev
	.list
	.item:nth-child(2)
	.content
	.glass-container
	.author,
.alien-carousel.alien-prev
	.list
	.item:nth-child(2)
	.content
	.glass-container
	.title,
.alien-carousel.alien-prev
	.list
	.item:nth-child(2)
	.content
	.glass-container
	.topic,
.alien-carousel.alien-prev
	.list
	.item:nth-child(2)
	.content
	.glass-container
	.des,
.alien-carousel.alien-prev
	.list
	.item:nth-child(2)
	.content
	.glass-container
	.buttons {
	animation: contentOut 1.5s linear 1 forwards !important;
}

@keyframes contentOut {
	to {
		transform: translateY(-150px);
		filter: blur(20px);
		opacity: 0;
	}
}
@media screen and (max-width: 678px) {
	.alien-carousel .list .item .content {
		padding-right: 0;
	}
	.alien-carousel .list .item .content .glass-container .title {
		font-size: 30px;
	}
}

/*mau adds */
.glass-container {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 15px;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	padding: 20px;
	color: #fff;
}
/* arrows */
.alien-arrows button {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #eee4;
	border: none;
	color: #fff;
	font-family: monospace;
	font-weight: bold;
	transition: 0.5s;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px; /* Adjust icon size */
}

.alien-arrows button:hover {
	background-color: #fff;
	color: #000;
}
.alien-carousel .list .item {
	transition: transform 0.5s ease-in-out;
}
