.carousel {
	overflow: hidden;
	width: 100%;
	position: relative;
}
.carousel .carousel__item,
.carousel .carousel__item--hidden {
	display: none;
	cursor: pointer;
	position: relative;
}
.carousel .carousel__item--visible {
	display: flex;
	animation: fadeVisibility 0.5s;
	height: 500px;
	background-size: cover;
    background-position: center;
	justify-content: center;
	align-items: center;
}
.carousel .carousel__item img {
	position: absolute;
	z-index: -2;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.carousel .carousel__actions {
	display: flex;
	width: 100%;
	position: absolute;
	z-index: 4;
	top: 50%;
	transform: translateY(-50%);
}
.carousel .carousel__actions .buttons {
    display: flex;
    position: relative;
	top: 235px;
	justify-content: center;
}
.carousel .carousel__actions:first-child {
	justify-content: space-between;
}
.carousel .carousel__actions:last-child {
	justify-content: space-between;
}
.carousel .carousel__actions .buttons__item {
	opacity: 0.6;
	width: 15px;
	height: 15px;
	border-radius: 100px;
	cursor: pointer;
	background-color: #fff;
	margin: 0px 5px;
}
.carousel .carousel__actions .buttons__item--visible {
	opacity: 1;
}
.carousel .carousel__actions button {
	border: 0;
	cursor: pointer;
	background: 0;
	padding: 0 20px;
}
.carousel .carousel__text {
	font-family: Ubuntu;
	font-style: normal;
	color: #fff;
	text-align: center;
	z-index: 1;
	display: flex;
	pointer-events: none;
	align-items: center;
	flex-direction: column;
}
.carousel .carousel__text h2 {
	font-weight: 500;
	font-size: 45px;
	line-height: 53px;
	margin-bottom: 30px;
}
.carousel .carousel__text p {
	font-weight: 400;
	font-size: 21px;
	line-height: 23px;
	width: 780px;
	margin-bottom: 55px;
}
.carousel .carousel__text a {
	width: 145px;
	height: 45px;
	border: 1px solid #fff;
	border-radius: 6px;
	font-weight: 400;
	font-size: 18px;
	line-height: 23px;
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: space-around;
}
.carousel .carousel__actions button[data-js="carousel__button--prev"] {
	margin-left: 20px;
}
.carousel .carousel__actions button[data-js="carousel__button--next"] {
	margin-right: 20px;
}
@keyframes fadeVisibility {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
		transform: opacity linear;
	}
}
@media only screen and (max-width: 500px) {
	.carousel .carousel__text {
		width: 300px;
	}
	.carousel .carousel__text h2 {
		font-size: 28px;
    	line-height: 30px;
	}
	.carousel .carousel__text p {
		width: 100%;
		font-size: 18px;
		line-height: 20px;
		margin-bottom: 30px;
	}
	.carousel .carousel__actions button[data-js="carousel__button--prev"] {
		margin-left: 0px;
	}
	.carousel .carousel__actions button[data-js="carousel__button--next"] {
		margin-right: 0px
	}
}