
:root {
  --design-dark: rgba(54, 56, 56, 1);
  --design-light: rgba(223, 223, 223, 1);
  --text-dark: rgba(54, 56, 56, 1);
  --text-light: rgba(90, 90, 90, 1);

  --black: rgb(0, 0, 0);
  --white: rgb(255, 255, 255);
  --btn-dark: rgb(54, 56, 56, 1);
  --btn-light: rgb(255, 113, 113);
  --btn-hover: rgb(141, 64, 64);
}

*, *::before, *::after {
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Gilroy', sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.75;
  font-weight: 400;
  overflow-x: hidden;
}
html,
body {
  height: 100%;
}
p, h1, h2, h3, h4 {
  margin: 0;
  padding: 0;
}
h1{
  font-weight: 700;
  font-size: 110px;
  line-height: 1.3;
}
h2{
  font-weight: 700;
  font-size: 60px;
  line-height: 1.33;
}
h3{
  font-weight: 700;
  font-size: 36px;
  line-height: 1.4;

  text-align: center;
}
h4{
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
}
h5{
  font-weight: 700;
  font-size: 16px;
  line-height: 1.44;
}
p{
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
}
a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

ul, ol, li {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul[class] {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
input,
button,
textarea,
select {
  font: inherit;
}
button {
  display: inline-block;
  cursor: pointer;
  border: none;
}

 /* //конец общих стилей */


ul[class] {
  list-style: none;
}
/* *** stili dlja pustoj stranicy *** */
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.main {
  flex: 1 0 auto;
}
.footer {
  flex: 0 0 auto;
}
/* *** // stili dlja pustoj stranicy *** */

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}
.header__menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0 23px;
}
.header__logo{
  margin: 0 auto;
}
.header__btn{
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.menu__list{
  display: flex;
  justify-content: space-between;
}
.menu__item{
  padding: 0 40px 0 35px;
}
.menu__link--active.menu__link::before,
.menu__link:hover.menu__link::before {
  width: 100%;
}
.menu__link::before {
  content: '';
  position: relative;
  display: block;
  width: 0;
  height: 3px;
  border-radius: 1.5px;
  top: 1.7em;
  background-color: var(--text-dark);
  transition: width 0.2s ease-in;
}
 /* ***** bokovaja panelj ****** */
 .side__menu {
  position: absolute;
  display: flex;
  top: 0;left: 0;
  height: 100%;
  width: 100%;
  transition: transform 0.25s ease-out;
  z-index: 100;
}
.side__menu--hidden{
  transform: translateX(-100%);
}
.side__menu-left {
  color: var(--design-light);
  flex: 1 0 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--design-dark);
}
/* navigation v bokovoj paneli */
.menu__list-side {
  display: flex;
  justify-content: center;
}
.menu__list-side a{
  font-size: 35px;
}
.header__logo-side img {
  margin: 30px auto;
}
.menu__list-side .menu__link::before{
  background-color: var(--design-light);
}
.header__logo-side img{
  box-shadow: 0 0 5px var(--design-light);
}

.side__menu-right {
  flex: 1 0 40%;
  padding: 41px 47px;
  background-color: var(--white);
}
.side__menu-close {
  cursor: pointer;
  background: transparent;
  border: none;
}
.side__menu-content {
  text-align: center;

}
.side__logo img{
  margin: 57px auto 41px;
}
/* line - common style */
.bottom__line {
  display: block;
  height: 2px;
  border-radius: 1px;
  background-color: var(--design-light);
  margin: 20px auto;
  width: 252px;
}
.side__menu-line {
  width: 252px;
}
.side__menu-img {
  margin: 75px auto;
}
 /* ** // bokovaja panelj ****** */

 /* ******* intro slider *******  */
 /* .intro {
  background-image: url(../img/slider-intro/head1.webp);
  background-position-y: 125%;
  background-repeat: no-repeat;
  background-size: 100%;
} */
/* .intro__slider {
} */
.slider__wrapper {
  position: relative;
  width: 100vw;
  overflow: hidden;
}
.slider__wrapper::after {
  content: '';
  position: absolute;
  top: 0;left: 0;right: 0;bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}
.slider__wrapper-bg1 {
  background-image: url(../img/slider-intro/head1.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  /* background-size: 100%; */
}
.slider__wrapper-bg2 {
  background-image: url(../img/slider-intro/head2.webp);
  background-repeat: no-repeat;
  background-size: cover;
  /* background-size: 100%; */
}
.slider__wrapper-bg3 {
  background-image: url(../img/slider-intro/head3.webp);
  background-repeat: no-repeat;
  background-size: cover;
  /* background-size: 100%; */
}
.intro__slider-item {
  position: relative;
  display: flex;
  justify-content: space-between;
  z-index: 1;
}
.intro__slider-img {
  max-width: 37%;
  margin: 25px 0 25px 9%;
  /* margin-left: 9%; */
  object-fit: contain;
  background-image: url(../img/slider-intro/mask.png);
  background-size: 67%;
  background-repeat: no-repeat;
  background-position: center;
}
.intro__slider-content {
  margin-right: auto;
  max-width: 645px;
  padding-top: 9%;
  padding-left: 20px;
  padding-right: 25px;
  color: var(--white);
}
.intro__slider-title {
  line-height: 1.1;
}
.intro__slider-line {
  width: 185px;
  margin-left:inherit
}

 /* **** // intro slider *******  */

 /* ****** collection slider ******* */
 .collection {
  margin: 133px 0 104px;
  text-align: center;
 }
 .collection__title{
  padding-bottom: 50px;
 }
 .collection__list{
  width: 100vw;
 }
 .collection__img{
  width: 100%;
}
.collection__item:hover .collection__item-fade {
  opacity: 1;
}
.collection__item {
position: relative;
padding: 7px;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.collection__item-fade {
position: absolute;
text-align: center;
top: 7px; bottom: 7px;
left: 7px; right: 7px;
padding-top: 30%;
background-color: rgba(223, 223, 223, .7);
opacity: 0;
transition: all 0.15s ease-in;
}
.line__collection {
width: 185px;
background-color: var(--text-light);
}
/* *** // collection slider ******* */

/* ********** add ******* */
.add {
  position: relative;
  background-image: url(../img/main/add-bg.webp);
  padding: 172px 0 156px;
  z-index: 0;
}
.add::after {
  content: '';
  position: absolute;
  top: 0;bottom: 0;left: 0;right: 0;
  background-color: rgba(223, 223, 223, .7);
  z-index: 0;
}
.add__content {
  position: relative;
  text-align: left;
  z-index: 1;
}
.line__add{
  background-color: var(--text-light);
  margin-left: 0;
}
/* ******* // add ******* */

/* *********  work ******* */
.work {
  margin-top: 79px;
  margin-bottom: 100px;
}
.work__content {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.work__content::after {
  content: '';
  position: absolute;
  display: block;
  height: 2px;
  border-radius: 1px;
  background-color: var(--design-light);
  margin: 220px auto;
  width: 100%;
}
.work__block h5 {
  position: relative;
  padding-left: 53px;
}
/* .work__block-name1{
  position: relative;
  padding-left: 53px;
} */
.work__block-name1::before {
  content: '';
  position: absolute;
  left: 0;
  top: -8px;
  background-image: url(../img/icon/003-tool.svg);
  background-repeat: no-repeat;
  width: 41px;
  height: 42px;
}
.work__block-name2::before {
  content: '';
  position: absolute;
  left: 0;
  top: -2px;
  background-image: url(../img/icon/028-measuring.svg);
  background-repeat: no-repeat;
  width: 42px;
  height: 29px;
}
.work__block-name3::before {
  content: '';
  position: absolute;
  left: 0;
  top: -6px;
  background-image: url(../img/icon/002-sofa.svg);
  background-repeat: no-repeat;
  width: 41px;
  height: 34px;
}
.work__block-name4::before {
  content: '';
  position: absolute;
  left: 0;
  top: -6px;
  background-image: url(../img/icon/002-sofa.svg);
  background-repeat: no-repeat;
  width: 41px;
  height: 34px;
}
.work__bottom{
  margin-top: 220px;
}
/* ******* // work ******* */

/* ******* select galery ****** */
.select__btn {
  margin: 0 auto 40px;
}
.slick-current button,
.select__btn-nav:active,
.select__btn-nav:focus {
  color: var(--text-dark);
  background-color: yellow;
}
.slick-slide {
  margin-right: 10px;
  margin-left: 10px;
}
.select__btn-nav {
  display: inline-block;
  width: max-content;
  padding: 8px 25px;
  border-radius: 2px;
  border:1px solid var(--text-light);
  color: var(--text-light);
  background-color: transparent;
}
.select__slide-galery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  /* grid-gap: 30px 35px; */
  padding: 7px;
  row-gap: 25px;
  column-gap: 25px;
  /* height: 700px; */
}
.select__slide-img:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.select__slide-img,
.select__slide-img-r {
  object-fit: cover;
  width: 100%;
  height: -webkit-fill-available;
  /* height: 100%; */
}
.select__slide-galery-r {
  display: grid;
  gap: 25px;
  /* height: 100%; */
  margin: 15px 0 60px;

  /* ! */
  grid-template-areas:
    "b b b  c c c  a a a a"
    "d d d  e e e  a a a a";
}
.a{grid-area: a;}
.b{grid-area: b;}
.c{grid-area: c;}
.d{grid-area: d;}
.e{grid-area: e;}
/* **** // select galery ****** */

/* **** main-blog section ***** */
.main-blog {
  margin-bottom: 99px;
}
.main-blog h3 {
  margin: 88px auto 33px;
  max-width: 720px;
}
.main-blog__wrapper {
  display: flex;
  justify-content: space-between;
}
.blog-items__link {
  margin-top: 22px;
  margin-bottom: 7px;
}
.v-line {
  border-right: 1px solid;
  margin: 0 5px 0 5px;
}
/* ** // main-blog section ***** */

/* ******************** about ************************** */

.add__about {
  background-image: url(../img/about/about-header.webp);
  padding: 150px 0 160px;
  z-index: 0;
  margin-bottom: 90px;
}
.add__about::after {
  content: '';
  position: absolute;
  top: 0;bottom: 0;left: 0;right: 0;
  background-color: rgba(223, 223, 223, .4);
  z-index: 0;
}
.nav__about {
  position: absolute;
  top: 15px;
  z-index: 5;
}
.about__link {
  color: var(--text-dark);
}
.about__current {
  color: var(--text-light);
}
.about__title {
  text-align: left;
  max-width: 820px;
}
.about-line {
  text-align: left;
  margin: 25px 0;
}
.about__content {
  margin-left: 30%;
  padding-bottom: 40px;
}
.video {
  background-image: url(../img/about/video-bg.webp);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 20px 0 20px;
  z-index: 0;
  margin-bottom: 90px;
}
.video__frame{
  margin: 20px 0;
  text-align: center;
}
.video__pleer {
  cursor: pointer;
  margin: 0 auto;
}
.w360, .w640{
  display: none;
}

.inspiration {
  background-image: url(../img/slider-intro/slide-bg.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position-y: 100px;
  padding: 20px 0 20px;
  margin-bottom: 90px;
}
.container__inspiration{
  display: flex;
}
.inspiration__img{
  max-width: 33%;
  object-fit: scale-down;
  align-self:baseline;
}
.inspiration__wrapper {
  padding-left: 25px;
}
.inspiration__title {
  text-align: left;
}
.inspiration__percent {
  margin-top: 35px;
}
/* ***************** // about ************************** */

/* ***************** galery ************************** */
.add__galery {
  background: var(--design-light);
  padding: 14px;
  margin-bottom: 83px;
}
/* ************** // galery ************************** */

/* ************** blog ************************** */
.container__blog{
  display: flex;
  flex-direction: row-reverse;
  column-gap: 15px;
  margin-bottom: 60px;
}
.blog__search {
  flex: 0 0 30%;
}
.blog__list {
  flex: 1 0 67%;
}
.search__input{
  width: 100% !important;
  margin-bottom: 10px;
}

.main-blog__items {
  margin-bottom: 45px;
}
.blog__items-img img {
  object-fit: cover;
  width: -webkit-fill-available;
}
.blog__slogan{
  text-align: center;
  margin: 70px auto 70px;
  padding: 54px 14px;
  background-color: var(--design-light);
}
.slogan__qute {
  text-align: center;
  font-family: 'OpenSans';
  font-size: 24px;
  font-weight: 300;
  font-style: italic;
  max-width: 550px;
  margin: 0 auto;
}
.blog__line {
  background-color: var(--text-light);
}
.slogan__autor {
  font-weight: 700;
}
/* ************** // blog ************************** */

/* ********** contact ******* */
.nav__contact {
  padding: 10px;
  background: rgba(255, 255, 255, 0.74);
  top: 0;left: 0;right: 0;

}
.contact__map {
  position: relative;
  height: 670px;
  overflow: hidden;
}
.contact__map h3 {
  position: relative;
  background-image: url(../img/icon/loading-25.gif);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30px;
  padding-top: 55px;
  color: var(--text-light);
  top: 30%;
  z-index: 1;
}
.contact__map h3::before {
  content: '';
  background-image: url(../img/icon/loading-25.gif);
  position: absolute;
  width: 20px;
  height: 20px;
  left: 0;
  vertical-align: middle;
}
.map {
  position: absolute;
  top: -40px;left: 0;right: 0;
  height: 650px;
  /* background: #9fdba2; */
  z-index: 5;
}

.contact__social {
  margin-left: 30%;

}
.contact__social-list {
  display: flex;
  justify-content: start;
  margin-bottom: 15px;
}
.contact__social-item {
  margin-right: 25px;
}

/* ** forma mail-otpravki */
.contacts__form {
  margin-top: 40px;
  width: 100%;
}
.form-contacts__row {
  display: flex;
  justify-content: space-between;
}
.form-contacts__dat {
  position: relative;
  width: 100%;
  margin-right: 20px;
}
.input {
  outline: 0;
  border: 0;
  border-bottom: 1px solid #000;
  background-color: transparent;
  margin-bottom: 35px;
  margin-right: 10px;
  width: 100%;
}
.form-contacts__message {
  outline: 0;
  border: 0;
  border-bottom: 1px solid #000;
  background-color: transparent;
  margin-bottom: 35px;
  margin-right: 10px;
  width: 97%;
  min-height: 130px;
  /* width: 440px !important; */
  resize: vertical;
}

.label {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;

  position: absolute;
  top: -5px;
  left: 0;
  pointer-events: none;

  margin-bottom: 45px;

  letter-spacing: 0.15em;
  /* color: rgba(255, 255, 255, 0.644); */

  transition: all 0.15s ease-in;
}
.input:focus + .label {
  transform: translateY(-15px);
  font-size: 14px;
}
input:not(:placeholder-shown) + .label {
  transform: translateY(-15px);
  font-size: 14px;
}

.form-contacts__message:focus + .label {
  transform: translateY(-15px);
  font-size: 14px;
}
.form-contacts__message:not(:placeholder-shown) + .label {
  transform: translateY(-15px);
  font-size: 14px;
}
.btn__form {
  padding: 8px 55px;
  border-radius: 2px;
  border: 1px solid var(--text-light);
  color: var(--design-light);
  background-color: var(--btn-dark);
}


/* // forma mail-otpravki */
/* ******* // contact ******* */


/* ********** footer ******* */
.footer {
  background: var(--design-light);
}
.footer__content {
  display: flex;
  justify-content: space-between;
  padding: 61px 0 80px;
  font-size: 14px;
  color: var(--text-light);
}
.footer__col, .footer__social-list, .footer__menu-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}
.footer__col h4{
  padding-bottom: 14px;
}
.footer__col p{
  margin-bottom: 16px;
}
.footer__mail {
  margin-bottom: 22px;
  padding-left: 30px;
  margin-right: auto;
  position: relative;
}
.footer__mail::before {
  content: '';
  background-image: url(../img/icon/envelope.png);
  position: absolute;
  top: 8px;
  left: 0;
  width: 16px;
  height: 12px;
}
/* .footer__form {} */
.footer__input {
  width: 394px;
  margin-right: 5px;
  padding: 8px 15px;
  background-color: transparent;
  border-radius: 2px;
  border:1px solid var(--text-light);
}
.form__descript {
  position: absolute; 
  width: 1px; 
  opacity: 0; 
  visibility: hidden;
}
.footer__btn {
  padding: 8px 55px;
  border-radius: 2px;
  border:1px solid var(--text-light);
  color: var(--design-light);
  background-color: var(--btn-dark);
}
.footer__social-item img {
  display: inline-block;
  vertical-align: text-bottom;
  margin-right: 14px;
}
/* .footer__social-link {
} */
.footer__copyright {
  text-align: center;
  padding: 42px 0;
  color: var(--design-light);
  background: var(--design-dark);
}

/* ********** // footer ******* */
