@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");

body {
	font-family: "Roboto", sans-serif;
	background: #121212;
	color: white;
	margin: 0;
	padding: 2rem;
}

.carousel-container {
	max-width: 900px;
	margin: auto;
	position: relative;
}

.tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.tab {
	background: #333;
	border: none;
	border-radius: 20px;
	padding: 0.5rem 1rem;
	color: white;
	cursor: pointer;
	font-weight: 500;
	transition: background 0.3s ease;
}

.tab.active {
	background: #fff;
	color: #000;
}

.carousel-wrapper {
	position: relative;
	height: 400px;
	overflow: hidden;
}

.carousel-track {
	display: flex;
	flex-direction: column;
	transition: transform 0.5s ease-in-out;
}

.card {
	flex: 0 0 100%;
	height: 400px;
	padding: 1rem 0;
}

.card-content {
	border-radius: 16px;
	height: 368px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	font-weight: bold;
	color: white;
}

.nav-button {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: white;
	font-size: 1.5rem;
	padding: 0.5rem 1rem;
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.3s;
	z-index: 10;
}

.nav-button:hover {
	background: rgba(255, 255, 255, 0.3);
}

.nav-button.up {
	top: 0.5rem;
}

.nav-button.down {
	bottom: 0.5rem;
}