/* Custom styles for image */
.carousel-item {
	min-height: 100%;
}

/*.carousel-item img {
            object-fit:100%;
            height:500px;*/
@media (max-width: 567px) {
	.carousel-item img {
		height: auto;
		/* Adjust for mobile */
	}
}

/* Custom description style */
@media (min-width: 567px) {
	.carousel-caption {
		border-radius: 10px;
		text-align: center;
	}

	.carousel-caption P h1 {
		text-align: right;
		color: tomato;
		font-size: 20px;
	}

	.carousel-caption h1 {
		border-radius: 10px;
		text-align: right;
		font-size: 60px;
		color: tomato;
	}

	.carousel-caption h2 {
		border-radius: 10px;
		text-align: right;
		font-size: 40px;
		color: #004071;
	}

	.carousel-caption h3 {
		border-radius: 10px;
		text-align: right;
		font-size: 15px;
		color: #004071;
		margin-bottom: 130px;
	}
}

@media (max-width: 566px) {
	.carousel-caption {
		border-radius: 10px;
		text-align: right;
	}

	.carousel-caption h1 {
		border-radius: 10px;
		text-align: right;
		font-size: 30px;
		color: tomato;
		margin: 0px;
	}

	.carousel-caption h2 {
		border-radius: 10px;
		text-align: right;
		font-size: 20px;
		color: #004071;
		margin: 0px;
	}

	.carousel-caption h3 {
		text-align: right;
		font-size: 15px;
		color: #004071;
	}
}

.carousel-caption {
	position: absolute;
	right: 10%;
	bottom: 13.2rem;
	left: 15%;
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
	color: #fff;
	text-align: center;
}

@media(max-width:500px) {
	.carousel-caption {
		position: absolute;
		right: 10%;
		bottom: 3.25rem;
		left: 15%;
		padding-top: 1.25rem;
		padding-bottom: 1.25rem;
		color: #fff;
		text-align: center;
	}

	.carousel-caption h1 {
		border-radius: 10px;
		text-align: right;
		font-size: 18px;
		color: tomato;
		margin: 0px;
	}

	.carousel-caption h2 {
		border-radius: 10px;
		text-align: right;
		font-size: 12px;
		color: #fff;
		margin: 0px;
	}
}