_about.scss 1.42 KB
.about {
	background: $light url("../images/space.svg") no-repeat 0 0;
	background-size: cover;
	padding: 30px 0;
	padding-bottom: 70px;
	@media (min-width: $tablet) {
		padding-top: 40px;
		background-size: auto calc(100% - 10px);
	}
	@media (min-width: $desktop) {
		padding: 100px 0;
	}
	&__wrapper {
		display: flex;
		flex-direction: column;
		position: relative;
	}
	&__title {
		color: $white;
		line-height: 1.2;
		@media (min-width: $desktop) {
			position: absolute;
			top: -45px;
			left: 0;
		}
	}
	&__body {
		display: flex;
		flex-direction: column;
		@media (min-width: $desktop) {
			padding-left: 495px;
		}
	}
	&__line {
		background: $white;
		width: 100%;
		height: 1px;
		max-width: 400px;
		margin-top: 10px;
	}
	&__item {
		display: flex;
		flex-direction: column;
		margin-top: 10px;
		max-width: 600px;
		@media (min-width: $tablet) {
			margin-top: 20px;
		}
		@media (min-width: $desktop) {
			margin-top: 30px;
		}
		b {
			font-size: 20px;
			font-weight: 700;
		}
		span {
			font-size: 13px;
			line-height: 1.4;
			margin-top: 6px;
			@media (min-width: $desktop) {
				font-size: 16px;
				margin-top: 12px;
			}
		}
		a {
			text-decoration: underline;
		}
	}
	&__item + &__item {
		margin-top: 30px;
		@media (min-width: $laptop) {
			margin-top: 40px;
		}
	}
	&__button {
		margin-top: 20px;
		height: 38px;
		padding: 0;
		@media (min-width: $tablet) {
			max-width: 200px;
			height: 42px;
			margin-top: 30px;
		}
	}
}