.projects{
	padding: 6rem 0;
}

.projects__wrapper{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 3rem;
}

.projects__img{
	width: 100%;
	height: 500px;
	object-fit: cover;
	object-position: center;
}

.projects__descr{
	font-size: 1.7rem;
	font-weight: 500;
}

.projects__title{
	font-size: 4rem;
	font-weight: 600;
	align-self: flex-start;
}


@media (max-width: 419px) {
	.projects__img {
		width: 100%;
		height: 240px;
	}
	.projects__descr {
		font-size: 1.4rem;
		font-weight: 500;
	}
	.projects__title{
		font-size: 2rem;
	}
 }
/* Мобильные устройства (до 576px) */
@media (min-width: 420px) and (max-width: 575px) {
	.projects__img {
		width: 100%;
		height: 300px;
	}
	.projects__descr {
		font-size: 1.4rem;
		font-weight: 500;
	}
	.projects__title{
		font-size: 2rem;
	}
 }

/* Планшеты (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) { 
	.projects__img {
		width: 100%;
		height: 350px;
	}
}

/* Малые ноутбуки / планшеты в альбомной */
@media (min-width: 768px) and (max-width: 991px) { 
	
	.projects__img {
		width: 100%;
		height: 350px;
	}

}

/* Ноутбуки / Десктопы */
@media (min-width: 992px) and (max-width: 1199px) {
	.projects__img {
		width: 100%;
		height: 350px;
	}
}
