.slider-container {

}

.slider-wrapper {
	max-width: 340px;
	margin: 0 auto;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
	position: relative;
}

.slider {
	position: relative;
	height: 255px;
	width: 340px;
	overflow: hidden;
}

.slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.8s ease-in-out;
	background-size: cover;
	background-position: center;
}
.slide {
	pointer-events: none;
}
        
.slide.active {
	opacity: 1;
	pointer-events: auto;
}
.slide-link {
	display: block;
	width: 100%;
	height: 100%;
}

.slide-title {
	background: #2c3e50;
	color: white;
	text-align: center;
	font-size: 12px;
	font-weight: 600;
}

.progress-container {
	height: 4px;
	width: 100%;
	background: #e0e0e0;
}

.progress-bar {
	height: 100%;
	width: 0%;
	background: #e74c3c;
	transition: width 0.1s linear;
}

.info-section {
	padding: 25px;
	background: #fff;
	border-top: 1px solid #eee;
}

.features {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
	margin-top: 20px;
}

.feature {
	background: #f1f2f6;
	padding: 12px 20px;
	border-radius: 6px;
	font-weight: 500;
	display: flex;
	align-items: center;
}

.feature-icon {
	margin-right: 10px;
	color: #e74c3c;
	font-size: 1.2rem;
}

.code-container {
	background: #2c3e50;
	color: #ecf0f1;
	padding: 25px;
	font-family: 'Consolas', monospace;
	border-radius: 0 0 10px 10px;
}

.code-header {
	display: flex;
	justify-content: space-between;
	margin-bottom: 15px;
}

.code-title {
	font-size: 1.2rem;
	font-weight: 600;
}

.copy-btn {
	background: #e74c3c;
	color: white;
	border: none;
	padding: 5px 15px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 0.9rem;
}

pre {
	background: #1a2536;
	padding: 15px;
	border-radius: 6px;
	overflow-x: auto;
	line-height: 1.5;
	font-size: 0.95rem;
}

.highlight {
	color: #3498db;
}

.comment {
	color: #7f8c8d;
}

@media (max-width: 600px) {
	.slider-wrapper, .slider {
		width: 100%;
		max-width: 100%;
	}
	
	.slider {
		height: 200px;
	}
	
	h1 {
		font-size: 2rem;
	}
	
	.features {
		flex-direction: column;
	}
}