﻿body {
	margin: 0;
	font-family: Arial, sans-serif;
}

.slider {
	position: relative;
	width: 100%;
	height: 500px;
	overflow: hidden;
}

.slide {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}

	.slide img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

.slide-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: white;
	background: rgba(0, 0, 0, 0.5);
	padding: 20px;
	border-radius: 10px;
}

	.slide-content h2 {
		font-size: 2.5em;
		margin: 0;
	}

	.slide-content p {
		font-size: 1.2em;
	}

	.slide-content button {
		padding: 10px 20px;
		font-size: 1em;
		background-color: #ffcc00;
		border: none;
		border-radius: 5px;
		cursor: pointer;
	}

.dots {
	position: absolute;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
}

.dot {
	height: 10px;
	width: 10px;
	background-color: #bbb;
	border-radius: 50%;
	margin: 0 5px;
	cursor: pointer;
}

	.dot.active {
		background-color: #fff;
	}

/* Animation for active slide */
.slide.active {
	opacity: 1;
}
