.courses {
	position: relative;
	z-index: 2;
	margin-bottom: 6.25rem;
	margin-bottom: 1.5rem;
}

.courses__title-count{
	display: flex;
	align-items: flex-end;
	display: flex;
    margin-bottom: 1.5rem;
}
.courses__title-count span{
	text-transform: uppercase;
	margin-left: 10px;
    font-size: 18px;
	padding-bottom: 5px;
}

.courses__title {
	font-weight: 600;
	font-size: 2.25rem;
	line-height: 110%;
	color: #4834b4;
}

.courses__row-box {
	margin-bottom: 2.25rem;
}

.courses__btn {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	gap: 1.125rem;
	padding: 0.75rem 1.5rem;
	background-color: #5b5b5b;
	border-radius: 3rem;
	color: #f9fffd;
	max-width: 18.75rem;
	-webkit-transition: background-color 0.3s;
	transition: background-color 0.3s;
	margin: 0 auto;
}

.courses__btn-text {
	font-weight: 800;
	font-size: 1.125rem;
	line-height: 1.3125rem;
}

.courses__navigation-box {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	width: 100%;
}

.courses-box-row {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	gap: 3rem;
}

.courses-box-row__item {
	max-width: 360px;
	-webkit-box-flex: 1;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-transition: -webkit-transform 0.3s;
	transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
	transition:
		transform 0.3s,
		-webkit-transform 0.3s;
}

.courses-box-row__info{
	display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100px;
}

.courses-box-row__image {
	width: 100%;
	max-width: 22.5rem;
	/* height: 100%; */
	border-radius: 1.125rem;
	margin-bottom: 1.125rem;
	height: 270px;
	overflow: hidden;
}

.courses-box-row__image img {
	width: 100%;
	/* height: 100%; */
	/* max-width: 350px;
    max-height: 280px; */
}

.courses-box-row__description {
	font-weight: 400;
	font-size: 1.5rem;
	line-height: 135%;
	color: #5b5b5b;
}

.courses-box-row__price {
	font-weight: 600;
	font-size: 1.5rem;
	line-height: 135%;
	color: #4834b4;
	margin-top: 0.25rem;
}

.navigation-courses {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	background-color: #fff;
	border-radius: 3.75rem;
	padding: 0.625rem 1.5rem;
	gap: 0.5rem;
	-webkit-box-shadow: 0 4px 10px 0 #a198e133;
	box-shadow: 0 4px 10px 0 #a198e133;
}
.navigation-courses__btn-prev.btn_active{
	background-color: #a898ff;
}
.navigation-courses__btn-next.btn_active{
	background-color: #a898ff;
}
.navigation-courses__btn-prev {
	height: 2.875rem;
	width: 2.875rem;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	border-radius: 50%;
	background-color: #ffeada;
	-webkit-transition: background-color 0.3s;
	transition: background-color 0.3s;
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none;   /* Chrome/Safari/Opera */
	-khtml-user-select: none;    /* Konqueror */
	-moz-user-select: none;      /* Firefox */
	-ms-user-select: none;       /* Internet Explorer/Edge */
	user-select: none;
}

.navigation-courses__btn-num-page {
	font-weight: 600;
	font-size: 1.5rem;
	line-height: 2rem;
	color: #a898ff;
	height: 2.875rem;
	width: 2.875rem;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	border-radius: 3rem;
	background-color: #f5f5f6;
	-webkit-transition:
		background-color 0.3s,
		color 0.3s;
	transition:
		background-color 0.3s,
		color 0.3s;
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none;   /* Chrome/Safari/Opera */
	-khtml-user-select: none;    /* Konqueror */
	-moz-user-select: none;      /* Firefox */
	-ms-user-select: none;       /* Internet Explorer/Edge */
	user-select: none;
}

.navigation-courses__btn-num-page.num-page-active {
	color: #ffffff;
	background-color: #a898ff;
}

.navigation-courses__btn-next {
	height: 2.875rem;
	width: 2.875rem;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	border-radius: 50%;
	background-color: #ffeada;
	-webkit-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	transform: rotate(180deg);
	-webkit-transition: background-color 0.3s;
	transition: background-color 0.3s;
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none;   /* Chrome/Safari/Opera */
	-khtml-user-select: none;    /* Konqueror */
	-moz-user-select: none;      /* Firefox */
	-ms-user-select: none;       /* Internet Explorer/Edge */
	user-select: none;
}
.navigation-courses__mobile-btn-list{
	display: none;
}
.navigation-courses__btn-list{
	display: flex;
	gap:0.5rem;
}
@media (max-width: 41.25em) {
	.navigation-courses {
		padding: 0.625rem;
	}
	.navigation-courses__btn-list{
		display: none;
	}
	.navigation-courses__mobile-btn-list{
		display: flex;
	}
	.navigation-courses__btn-num-page {
		width: 2.25rem;
		/* display: none; */
		margin: 0 0.3rem;
	}

	.navigation-courses__btn-num-page.num-page-active {
		display: unset;
	}
}

@media(max-width: 29.9375em) {
    .courses {
		margin-bottom: 3rem;
	}

	.courses__title {
		font-size: 1.5rem;
	}

	.courses-box-row {
		gap: 0.75rem;
	}

	.courses-box-row__item {
		-webkit-box-flex: 1;
		-ms-flex: 1 1 40%;
		flex: 1 1 40%;
	}

	.courses-box-row__image {
		margin-bottom: 0.75rem;
		height: unset;
	}

	.courses-box-row__description {
		font-size: 1rem;
		line-height: 120%;
	}

	.courses-box-row__price {
		font-size: 1rem;
	}

	.courses__title-count{
		align-items: baseline;
	}
	
	.courses__title-count span{
		font-size: 0.875rem;
	}
}
@media(any-hover: hover) {
    .courses__btn:hover {
		background-color: #a5a5a5;
	}

	.courses-box-row__item:hover {
		-webkit-transform: scale(1.03);
		-ms-transform: scale(1.03);
		transform: scale(1.03);
	}

	.navigation-courses__btn-prev:hover {
		background-color: #e6d3c6;
	}

	.navigation-courses__btn-num-page:hover {
		background-color: #d8d8e7;
		color: #4834b4;
	}

	.navigation-courses__btn-num-page.num-page-active:hover {
		background-color: #d8d8e7;
		color: #4834b4;
	}

	.navigation-courses__btn-next:hover {
		background-color: #e6d3c6;
	}
}