_info.scss 1.54 KB
.info {
	position: relative;
	overflow: hidden;
	@media (min-width: $desktop) {
		margin-bottom: -25px;
	}
	&__pic {
		display: none;
		z-index: 1;
		position: absolute;
		top: 0;
		left: 50%;
		height: 100%;
		margin-left: 130px;
		@media (min-width: $laptop) {
			display: block;
		}
		@media (min-width: $desktop) {
			width: 610px;
			height: auto;
			margin-left: 10px;
		}
	}
	&__body {
		z-index: 2;
		position: relative;
		display: flex;
		flex-direction: column;
		@media (min-width: $desktop) {
			padding-top: 100px;
			min-height: 600px;
		}
	}
	&__title {
		@media (min-width: $desktop) {
			max-width: 520px;
			line-height: 1;
		}
	}
	&__item {
		margin-top: 20px;
		display: flex;
		flex-direction: column;
		gap: 20px;
		@media (min-width: $laptop) {
			max-width: 610px;
		}
	}
	&__item + &__item {
		margin-top: 60px;
	}
	&__text {
		color: #6b6c6d;
		font-size: 13px;
		line-height: 1.4;
		@media (min-width: $tablet) {
			font-size: 16px;
		}
		@media (min-width: $desktop) {
			font-size: 18px;
		}
	}
	&__link {
		border-radius: 8px;
		display: flex;
		justify-content: center;
		align-items: center;
		line-height: 1;
		height: 40px;
		font-size: 12px;
		font-weight: 700;
		gap: 8px;
		color: $white;
		background: $green;
		&:hover {
			filter: grayscale(50%);
		}
		@media (min-width: $tablet) {
			height: 44px;
			font-size: 16px;
			gap: 10px;
			max-width: 300px;
		}
		@media (min-width: $laptop) {
			max-width: 210px;
		}
		svg {
			width: 16px;
			height: 16px;
			@media (min-width: $tablet) {
				width: 20px;
				height: 20px;
			}
		}
	}
}