* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: 'Merriweather', sans-serif;
  font-style: normal;
  font-size: 16px;
  line-height: 1;
}

.wrapper {
  width: 1170px;
  margin: 0 auto;
}

.header {
  position: fixed;
  width: 100%;
  background: white;
  top:0;
  left:0;
  z-index: 10000;
}

.header__block {
  display: flex;
  align-items: center;
  background-color: white;
  width: 100%;
  animation: banner;
  animation-duration: 2s;
  z-index: 100;
  justify-content: space-between;
}

@keyframes banner {
  0% {
    transform: translateY(-150%);
  }

  100% {
    transform: translateY(0%);
    }
}

.header .logo {
  font-size: 48px;
  line-height: 56px;
}

.logo {
  display: block;
  text-decoration: none;
  color: black;
}

.logo__title {
  font-weight: bold;
  position: relative;
  z-index: 10;
  color: darkorange;
}

.logo__title::before {
  position: absolute;
  left: 50%;
  content: '';
  height: 40px;
  height: 5px;
  background: #FFD120;
  transition: all 0.5s linear;
  width: 0;
  bottom: 0;
}

.logo__title:hover::before {
  width: 190px;
  margin-left: -95px;
}

.header .menu ul {
  display: flex;
}

.header .menu ul li {
  margin-right: 76px;
}

.header .menu a {
  font-weight: bold;
  font-size: 20px;
  line-height: 23px;
  text-transform: uppercase;
  color: #000000;
  text-decoration: none;
  position: relative;
}

.header .menu a::before, .header .menu a::after {
  content: "";
  display: none;
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: #FED330;
  border-style: solid;
  background-color: transparent;
}

.header .menu a:hover:before {
  content: "";
  display: block;
  left: -25px;
  top: 23px;
  border-width: 0 0 2px 2px;
}

.header .menu a:hover:after{
  content: "";
  display: block;
  right: -25px;
  top: -15px;
  border-width: 2px 2px 0 0;
}

.hamburger {
  display: none;
}

.icons__color {
  color:#000000;
}

.icons__item {
  position: relative;
}

.badge {
  width: 18px;
  height: 16px;
  border-radius: 50%;
  background: #FED330;
  position: absolute;
  top:-15px;
  right: -5px;
  color:#FFFFFF;
  font-weight: bold;
  font-size: 10px;
  line-height: 12px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

/*section categories*/

.categories{
  background:#FAFAFA;
  scroll-margin-top: 56px;
}

.flexbox {
  display: flex;
}

.info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
  padding-top: 130px;
}

.picture {
  padding-top: 100px;
}

@keyframes info {
  100% {
    opacity: 1;
    transform: translateX(0%);
  }
}

.info__title {
  font-weight: bold;
  font-size: 64px;
  line-height: 75px;
  color: #202020;
  opacity: 0;
  transform: translateX(-50px);
  animation: info 2s forwards;
  animation-delay: 1s;
  text-align: left;
}

.info__text {
  font-weight: normal;
  font-size: 18px;
  line-height: 150%;
  color: #777777;
  padding-bottom: 70px;
  padding-top: 25px;
  opacity: 0;
  transform: translateX(-50px);
  animation: info 2s forwards;
  animation-delay: 2s;
}

.info__btn {
  width: 250px;
  height: 60px;
  background: #FED330;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
  font-weight: bold;
  font-size: 18px;
  line-height: 21px;
  text-transform: uppercase;
  color: #FFFFFF;
  border:1px solid #FED330;
  opacity: 0;
  transform: translateX(-50px);
  animation: info 2s forwards;
  animation-delay: 3s;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all .5s ease-in;
}

.info__btn:hover {
  background: white;
  color:#FED330;
}

.info__btn:active {
  background: #FFD120;
  color: black;
}

.picture {
  width: 50%;
}

/* section furniture */

.about-us {
  scroll-margin-top: 56px;
}

.info-1__subtitle {
  font-weight: bold;
  font-size: 48px;
  line-height: 56px;
  text-transform: uppercase;
  color: #202020;
  text-align: center;
  margin-top: 80px;
  margin-bottom: 30px;
}

.info-1__text {
  font-weight: normal;
  font-size: 18px;
  line-height: 150%;
  text-align: center;
  color: #777777;
  padding-bottom: 77px;
}

.decor {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.decor__box {
  margin: 0;
  cursor: pointer;
}

.decor__img {
  position: relative;
}

.decor__img:before {
  position: absolute;
  width: 30px;
  height: 30px;
  content: '';
  z-index: 10;
  border-color: #202020;
  border-style: solid;
  display: block;
  left: 0;
  top: 0;
  border-width: 2px 0 0 2px;
  border-color: transparent;
}

.decor__img:after {
  position: absolute;
  width: 30px;
  height: 30px;
  content: '';
  z-index: 10;
  border-color: #202020;
  border-style: solid;
  display: block;
  right: 0;
  top: 0;
  border-width: 2px 2px 0 0;
  border-color: transparent;
}

.decor__pic:before {
  position: absolute;
  width: 30px;
  height: 30px;
  content: '';
  z-index: 10;
  border-color: #202020;
  border-style: solid;
  display: block;
  right: 0;
  bottom: 0;
  border-width: 0 2px 2px 0;
  border-color: transparent;
}

.decor__pic:after {
  position: absolute;
  width: 30px;
  height: 30px;
  content: '';
  z-index: 10;
  border-color: #202020;
  border-style: solid;
  display: block;
  left: 0;
  bottom: 0;
  border-width: 0 0 2px 2px;
  border-color: transparent;
}


.decor__img:hover::before {
  transition: all .8s ease-in;
  transform: translate(-15px, -15px);
  border-color: #202020;
}

.decor__img:hover::after {
  transition: all .8s ease-in;
  transform: translate(15px, -15px);
  border-color: #202020;
}

.decor__pic:hover::before {
  transition: all .8s ease-in;
  transform: translate(15px, 15px);
  border-color: #202020;

}

.decor__pic:hover::after {
  transition: all .8s ease-in;
  transform: translate(-15px, 15px);
  border-color: #202020;

}

.decor__text {
  font-weight: bold;
  font-size: 24px;
  line-height: 150%;
  text-align: center;
  text-transform: uppercase;
  color: #202020;
  padding-top: 25px;
}

.decor__box:hover .decor__text {
  transform: translateY(15px);
  transition: all .8s ease-in;
}

.grid{
  display: grid;
  grid-template-columns: 1fr 458px;
  grid-gap: 30px;
  margin-top: 100px;
  margin-bottom: 10px;
}

.link {
  background: #F5F5F5;
  text-decoration: none;
}

.link__one {
  grid-row: 1/3;
  position: relative;
}

.link-wrap {
  position: absolute;
  bottom: 28px;
  right: 15px;
}
.link__img {
  padding-top: 10px;
  padding-left: 5px;
}

.link__text {
  font-weight: bold;
  font-size: 24px;
  line-height: 130%;
  text-transform: uppercase;
  color: #202020;
}

.link__btn {
  width: 200px;
  height: 54px;
  font-weight: bold;
  font-size: 20px;
  line-height: 130%;
  text-transform: uppercase;
  color: #FFFFFF;
  background: #000000;
  border:1px solid #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all .4s ease-in;
}

.link__btn:hover {
  background: white;
  color:#000000;
}

.link__btn:active {
  background:#424242;
}

.link__two {
  position: relative;
  height: 200px;
}

.link__wrap-1 {
  position: absolute;
  right: 20px;
  bottom:28px;
}

.link__img-1 {
  padding-top:37px;
  padding-left: 27px;
}

.link__text-1 {
  font-weight: bold;
  font-size: 24px;
  line-height: 130%;
  text-transform: uppercase;
  color: #202020;
  padding-top: 34px;
  padding-bottom:20px;
}

.link__img-2 {
  padding-left: 56px;
}

/* section Products */

.products {
  scroll-margin-top: 56px;
}

.info-2__subtitle {
  font-weight: bold;
  font-size: 48px;
  line-height: 56px;
  text-transform: uppercase;
  color: #202020;
  text-align: center;
  margin-top: 100px;
  margin-bottom: 30px;
}

.info-2__text {
  font-weight: normal;
  font-size: 18px;
  line-height: 150%;
  text-align: center;
  color: #777777;
  padding-bottom: 53px;
}

.flexbox-1 {
  display: flex;
  flex-wrap:wrap;
  justify-content: space-around;
}

.item {
  text-decoration: none;
  position: relative;
}

.item:nth-child(1) {
  margin-bottom: 80px;
}

.item__discount {
  width: 60px;
  height: 25px;
  background: black;
  color: white;
  position: absolute;
  top: 16px;
  right: 27px;
}

.item__total {
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  line-height: 150%;
}

.item__picture {
  position: relative;
}

.item:hover .item__picture:after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border: 1px solid black;
  background: rgba(0, 0, 0, 0.1);
}

.item__bottom-text {
  font-weight: bold;
  font-size: 20px;
  line-height: 150%;
  text-align: center;
  text-transform: uppercase;
  color: #000000;
  padding-top: 20px;
  padding-bottom: 15px;
}

.item__price {
  font-weight: bold;
  font-size: 24px;
  line-height: 150%;
  text-align: center;
  text-transform: uppercase;
  color: #FED330;
  padding-bottom: 30px;
  width: 100%;
}

.price__sale {
  font-weight: bold;
  font-size: 24px;
  line-height: 150%;
  text-align: center;
  text-decoration-line: line-through;
  text-transform: uppercase;
  color: #999999;
}

.item__btn {
  font-weight: bold;
  font-size: 18px;
  line-height: 21px;
  color: #202020;
  width: 262px;
  height: 60px;
  background: #FED330;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
  border:1px solid  #FED330;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all .4s ease-in;
}

.item:hover .item__btn {
  background: white;
  color:#FED330;
}

/* last-section */

.contacts {
  scroll-margin-top: 56px;
}

.info-3__subtitle {
  font-weight: bold;
  font-size: 48px;
  line-height: 56px;
  text-transform: uppercase;
  color: #202020;
  text-align: center;
  margin-top: 150px;
  margin-bottom: 30px;
}
.info-3__text {
  font-weight: normal;
  font-size: 18px;
  line-height: 150%;
  text-align: center;
  color: #777777;
  padding-bottom: 70px;
}

.flexbox-2 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.input {
  margin-bottom: 30px;
  margin-right: 30px;
}

.input__name, .input__phone, .input__email {
  width: 360px;
  height: 50px;
  border: 1px solid #DDDDDD;
  box-sizing: border-box;
  font-weight: normal;
  font-size: 18px;
  line-height: 21px;
  color: #CCCCCC;
  padding-left: 20px;
}

.input__name:focus, .input__phone:focus, .input__email:focus {
  border: 1px solid #202020;
  outline: none;
}

.textarea__message {
  width: 360px;
  height: 210px;
  border: 1px solid #DDDDDD;
  box-sizing: border-box;
  font-weight: normal;
  font-size: 18px;
  line-height: 21px;
  color: #CCCCCC;
  padding-left: 20px;
  padding-top: 15px;
  resize: none;
}

.textarea__message:focus {
  border: 1px solid #202020;
  outline: none;
}

.send {
  text-align: center;
}

.send__submit {
  width: 200px;
  height: 50px;
  font-family: "Merriweather", sans-serif;
  font-size: 20px;
  line-height: 130%;
  text-transform: uppercase;
  color: #FFFFFF;
  background: #202020;
  border: 1px solid  #202020;
  margin-bottom: 147px;
  margin-top: 50px;
  cursor: pointer;
  transition: all .4s ease-in;
}

.send__submit:hover {
  color: black;
  background: white;
}

.footer {
  height: 100px;
  background: #202020;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__text {
  width: 100%;
  font-weight: bold;
  font-size: 20px;
  color: #FFFFFF;
  text-align: center;
  line-height: 48px;
}

.footer__heart {
  padding: 14px 10px 0 10px;
}
