html {
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

html,
body {
	height: 100%;
}

body {
	font-family: 'Raleway', sans-serif;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.5;
	color: #2c2d35;
	padding: 0;
	margin: 0;
}

h2,
h3,
h4,
p {
	margin: 0;
}

a {
	text-decoration: none;
	color: inherit;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wrapper {
	max-width: 1440px;
	margin: 0 auto;
	min-height: 100%;
	display: flex;
	flex-direction: column;
}

.container {
	padding: 0 165px;

}


/*-------------------------------------------------------*/


.header {
	background-color: #E1EDE6;
}

.header__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 22px 0;
}

.logo {
	display: flex;
	font-size: 20px;
	font-weight: 700;
	color: #598D66;
}

.logo__name {
	display: flex;
	align-items: center;
	margin: 0 0 0 8px;
}

.menu {
	font-size: 20px;
	font-weight: 700;
	color: #2C2D35;
	display: flex;
	gap: 60px;
}

.menu__link:hover {
	color: #598d66;
}

.menu__link:active {
	color: #376844;
}

.menu__link--focus {
	background-color: #d4e8d9;
}

.basket__position {
	position: relative;
}

.basket__sign {
	position: absolute;
	top: 2px;
	left: 2px;
	text-align: center;
	width: 13px;
	height: 13px;
	background-color: #598D66;
	border-radius: 50%;
}

.basket__count {
	font-size: 10px;
	line-height: 12px;
	color: #fff;
}


/*-----------------------------------------*/


.footer {
	background-color: #E1EDE6;
	padding: 23px 0;
}

.footer__inner {
	display: flex
}

.footer__info--position {
	margin-top: 35px;
}

.phone {
	font-size: 20px;
	color: #2C2D35;
}

.workshop {
	color: #86928B;
}

.workshop__position {
	display: block;
	margin-top: 8px;
}

.footer__menu {
	grid-column: 1 / 3;
	display: flex;
	margin-left: 115px;
	gap: 60px;
}

.footer__menu-list {
	font-size: 18px;
	font-weight: 500;
	color: #86928B;
}

.footer__menu-item {
	margin-top: 8px;
}

.footer__social-box {
	margin-left: auto;
}

.footer__social {
	display: flex;
	justify-content: space-between;
}

.footer__social-link {
	font-size: 0;
}

.copyright {
	font-size: 12px;
	color: #86928B;
}

.copyright__text {
	margin-top: 8px;
}


/*------------------------------------------------------*/


.main {
	flex-grow: 1;
}

.promo__position {
	display: flex;
	gap: 30px;
	align-items: center;
}

.promo__info-title {
	font-size: 60px;
	display: inline;
	line-height: 1.1;
}

.promo__info-title--decoration {
	color: #598D66;
}

.promo__info-text {
	margin: 20px 0 60px;
	color: #86928B;
}

.button {
	font-size: 20px;
	color: #598D66;
	line-height: 23px;
	border: 1px solid #598D66;
}

.button__size {
	padding: 21px 105px;
}

.button__size--bigger {
	padding: 21px 60px;
}

.button:hover {
	background-color: #D4E8D9;
}

.button:active {
	background-color: #376B44;
	color: #fff;
}

.new-colection {
	position: relative;
}

.new-colection::after {
	position: absolute;
	content: "";
	background-image: linear-gradient(to left, rgb(21, 21, 21, 0), rgb(21, 21, 21, 0.7));
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
}

.new-colection__content {
	position: relative;
	max-width: 540px;
	padding: 70px 0;
	z-index: 1;
}

.new-colection__logo {
	float: left;
	margin-right: 20px;
}

.new-colection__title {
	color: #F4F6F5;
	line-height: 1;
}

.new-colection__text {
	color: #fff;
	margin-top: 20px;
}

.new-colection__text + .new-colection__text {
	margin-bottom: 60px;
}

.new-colection__button--color {
	color: #2C2D35;
	background-color: #EEDB6D;
	border: 0;
}

.new-colection__button--color:hover {
	background-color: #FAEB97;
}

.new-colection__button--color:active {
	background-color: #D9B949;
}

.section-cards {
	padding-top: 70px;
	padding-bottom: 70px;
}

.section-cards__head {
	display: flex;
	justify-content: space-between;
}
.section__title {
	line-height: 1.1;
}

.section-cards__button-item {
	font-size: 20px;
	line-height: 23px;
	padding: 12px 20px;
	background-color: #D4E8D9;
	border: 0;
	border-radius: 23px;
}

.section-cards__button-item + .section-cards__button-item {
	margin-left: 20px;
}

.section-cards__button-item--active {
	color: #2C2D35;
	background-color: #D4E8D9;
	border: 1px solid #376B44;
}

.section-cards__button-item:hover {
	color: #F4F6F5;
	background-color: #598D66;
}

.section-cards__button-item:active {
	color: #F4F6F5;
	background-color: #376B44;
}

.section-cards__content {
	padding-top: 30px;
}

.cards.cards--activ {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.cards {
	display: none;
}

.card {
	padding: 20px 20px 30px 20px;
	background-color: #E1EDE6;
}

.card__author {
	color: #86928B;
	line-height: 21px;
	margin-top: 20px;
}

.card__name {
	display: block;
	font-size: 30px;
	line-height: 35px;
	margin-top: 10px;
}

.card__property {
	font-size: 20px;
	font-weight: 500;
	line-height: 21px;
	margin-top: 8px;
}

.card__cost {
	font-size: 24px;
	line-height: 28px;
	font-weight: 500;
	color: #598D66;
	margin-top: 30px;
	margin-bottom: 20px;
}

.card__button {
	display: block;
	margin: 0 auto;
}

.team__inner {
	overflow: auto;
	padding-top: 70px;
	padding-bottom: 70px;
}

.team__img {
	float: left;
	overflow: auto;
	padding-right: 30px;
}

.team__content {
	padding-top: 124px;
}

.section__title {
	font-size: 40px;
	font-weight: 500;
}

.team__text {
	color: #2C2D35;
	line-height: 1.1;
	margin: 20px 0;
}

.team__photo {
	display: flex;
}

.team__photo--unit {
	width: 80;
	height: 80px;
	border-radius: 50%;
	margin-right: 30px;
}